merge from gcc
[binutils.git] / Makefile.in
blob1c3917db50eb7f2c0c81539ccbacdafe4812f413
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 gcc driver likes to know the arguments it was configured with.
76 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
78 tooldir = @tooldir@
79 build_tooldir = @build_tooldir@
81 GDB_NLM_DEPS =
83 # This is the name of the environment variable used for the path to
84 # the libraries.
85 RPATH_ENVVAR = @RPATH_ENVVAR@
87 # This is the list of directories to be built for the build system.
88 BUILD_CONFIGDIRS = libiberty
89 # Build programs are put under this directory.
90 BUILD_SUBDIR = @build_subdir@
91 # This is set by the configure script to the arguments to use when configuring
92 # directories built for the build system.
93 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
95 # This is the list of variables to export in the environment when
96 # configuring any subdirectory. It must also be exported whenever
97 # recursing into a build directory in case that directory's Makefile
98 # re-runs configure.
99 BASE_EXPORTS = \
100 FLEX="$(FLEX)"; export FLEX; \
101 LEX="$(LEX)"; export LEX; \
102 BISON="$(BISON)"; export BISON; \
103 YACC="$(YACC)"; export YACC; \
104 M4="$(M4)"; export M4; \
105 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
107 # This is the list of variables to export in the environment when
108 # configuring subdirectories for the build system.
109 BUILD_EXPORTS = \
110 $(BASE_EXPORTS) \
111 AR="$(AR_FOR_BUILD)"; export AR; \
112 AS="$(AS_FOR_BUILD)"; export AS; \
113 CC="$(CC_FOR_BUILD)"; export CC; \
114 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
115 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
116 CXX="$(CXX_FOR_BUILD)"; export CXX; \
117 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
118 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
119 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
120 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
121 LD="$(LD_FOR_BUILD)"; export LD; \
122 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
123 NM="$(NM_FOR_BUILD)"; export NM; \
124 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
125 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
127 # This is the list of directories to built for the host system.
128 SUBDIRS = @configdirs@
129 # This is set by the configure script to the arguments to use when configuring
130 # directories built for the host system.
131 HOST_CONFIGARGS = @host_configargs@
132 # Host programs are put under this directory, which is . except if building
133 # with srcdir=..
134 HOST_SUBDIR = @host_subdir@
135 # This is the list of variables to export in the environment when
136 # configuring subdirectories for the host system.
137 HOST_EXPORTS = \
138 $(BASE_EXPORTS) \
139 CC="$(CC)"; export CC; \
140 CFLAGS="$(CFLAGS)"; export CFLAGS; \
141 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
142 CXX="$(CXX)"; export CXX; \
143 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
144 AR="$(AR)"; export AR; \
145 AS="$(AS)"; export AS; \
146 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
147 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
148 LD="$(LD)"; export LD; \
149 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
150 NM="$(NM)"; export NM; \
151 RANLIB="$(RANLIB)"; export RANLIB; \
152 WINDRES="$(WINDRES)"; export WINDRES; \
153 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
154 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
155 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
156 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
157 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
158 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
160 # Similar, for later GCC stages.
161 STAGE_HOST_EXPORTS = \
162 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
163 $(HOST_EXPORTS) \
164 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
165 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
166 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
167 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
168 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
169 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
171 # This is set by the configure script to the list of directories which
172 # should be built using the target tools.
173 TARGET_CONFIGDIRS = @target_configdirs@
174 # Target libraries are put under this directory:
175 TARGET_SUBDIR = @target_subdir@
176 # This is set by the configure script to the arguments to use when configuring
177 # directories built for the target.
178 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
179 # This is the list of variables to export in the environment when
180 # configuring subdirectories for the host system.
181 BASE_TARGET_EXPORTS = \
182 $(BASE_EXPORTS) \
183 AR="$(AR_FOR_TARGET)"; export AR; \
184 AS="$(AS_FOR_TARGET)"; export AS; \
185 CC="$(CC_FOR_TARGET)"; export CC; \
186 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
187 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
188 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
189 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
190 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
191 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
192 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
193 LD="$(LD_FOR_TARGET)"; export LD; \
194 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
195 NM="$(NM_FOR_TARGET)"; export NM; \
196 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
197 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
198 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
200 RAW_CXX_TARGET_EXPORTS = \
201 $(BASE_TARGET_EXPORTS) \
202 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
203 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
205 NORMAL_TARGET_EXPORTS = \
206 $(BASE_TARGET_EXPORTS) \
207 CXX="$(CXX_FOR_TARGET)"; export CXX;
209 # Where to find GMP
210 HOST_GMPLIBS = @gmplibs@
211 HOST_GMPINC = @gmpinc@
213 # ----------------------------------------------
214 # Programs producing files for the BUILD machine
215 # ----------------------------------------------
217 SHELL = @config_shell@
219 # pwd command to use. Allow user to override default by setting PWDCMD in
220 # the environment to account for automounters. The make variable must not
221 # be called PWDCMD, otherwise the value set here is passed to make
222 # subprocesses and overrides the setting from the user's environment.
223 # Don't use PWD since it is a common shell environment variable and we
224 # don't want to corrupt it.
225 PWD_COMMAND = $${PWDCMD-pwd}
227 # compilers to use to create programs which must be run in the build
228 # environment.
229 CC_FOR_BUILD = @CC_FOR_BUILD@
230 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
232 CXX_FOR_BUILD = $(CXX)
234 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
235 # here so that they can be overridden by Makefile fragments.
236 BUILD_PREFIX = @BUILD_PREFIX@
237 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
239 # Flags to pass to stage2 and later makes. They are defined
240 # here so that they can be overridden by Makefile fragments.
241 BOOT_CFLAGS= -g -O2
243 CONFIGURED_BISON = @CONFIGURED_BISON@
244 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
245 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
246 else \
247 echo ${CONFIGURED_BISON} ; \
250 CONFIGURED_YACC = @CONFIGURED_YACC@
251 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
252 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
253 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
254 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
255 else \
256 echo ${CONFIGURED_YACC} ; \
259 CONFIGURED_FLEX = @CONFIGURED_FLEX@
260 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
261 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
262 else echo ${CONFIGURED_FLEX} ; fi`
264 CONFIGURED_LEX = @CONFIGURED_LEX@
265 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
266 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
267 else echo ${CONFIGURED_LEX} ; fi`
269 CONFIGURED_M4 = @CONFIGURED_M4@
270 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
271 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
272 else echo ${CONFIGURED_M4} ; fi`
274 # For an installed makeinfo, we require it to be from texinfo 4.2 or
275 # higher, else we use the "missing" dummy. We also pass the subdirectory
276 # makeinfo even if only the Makefile is there, because Texinfo builds its
277 # manual when made, and it requires its own version.
278 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
279 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
280 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
281 else if (${CONFIGURED_MAKEINFO} --version \
282 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
283 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
285 # This just becomes part of the MAKEINFO definition passed down to
286 # sub-makes. It lets flags be given on the command line while still
287 # using the makeinfo from the object tree.
288 # (Default to avoid splitting info files by setting the threshold high.)
289 MAKEINFOFLAGS = --split-size=5000000
291 # FIXME: expect may become a build tool?
292 EXPECT = `if [ -f $$r/$(HOST_SUBDIR)/expect/expect ] ; \
293 then echo $$r/$(HOST_SUBDIR)/expect/expect ; \
294 else echo expect ; fi`
296 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
297 then echo $$s/dejagnu/runtest ; \
298 else echo runtest ; fi`
300 # ---------------------------------------------
301 # Programs producing files for the HOST machine
302 # ---------------------------------------------
304 AS = @AS@
306 AR = @AR@
307 AR_FLAGS = rc
309 CC = @CC@
310 CFLAGS = @CFLAGS@
311 LIBCFLAGS = $(CFLAGS)
313 CXX = @CXX@
314 CXXFLAGS = @CXXFLAGS@
315 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
317 DLLTOOL = @DLLTOOL@
319 NM = @NM@
321 LD = @LD@
322 LDFLAGS =
324 RANLIB = @RANLIB@
326 WINDRES = @WINDRES@
328 PICFLAG =
330 # -----------------------------------------------
331 # Programs producing files for the TARGET machine
332 # -----------------------------------------------
334 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
336 AR_FOR_TARGET=@AR_FOR_TARGET@
337 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
338 USUAL_AR_FOR_TARGET = ` \
339 if [ -f $$r/$(HOST_SUBDIR)/binutils/ar ] ; then \
340 echo $$r/$(HOST_SUBDIR)/binutils/ar ; \
341 else \
342 if [ '$(host)' = '$(target)' ] ; then \
343 echo $(AR); \
344 else \
345 echo $(CONFIGURED_AR_FOR_TARGET) ; \
346 fi; \
349 AS_FOR_TARGET=@AS_FOR_TARGET@
350 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
351 USUAL_AS_FOR_TARGET = ` \
352 if [ -f $$r/$(HOST_SUBDIR)/gas/as-new ] ; then \
353 echo $$r/$(HOST_SUBDIR)/gas/as-new ; \
354 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
355 $(CC_FOR_TARGET) -print-prog-name=as ; \
356 else \
357 if [ '$(host)' = '$(target)' ] ; then \
358 echo $(AS); \
359 else \
360 echo $(CONFIGURED_AS_FOR_TARGET) ; \
361 fi; \
364 CC_FOR_TARGET = @CC_FOR_TARGET@
365 # During gcc bootstrap, if we use some random cc for stage1 then
366 # CFLAGS will be just -g. We want to ensure that TARGET libraries
367 # (which we know are built with gcc) are built with optimizations so
368 # prepend -O2 when setting CFLAGS_FOR_TARGET.
369 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
370 # If GCC_FOR_TARGET is not overriden on the command line, then this
371 # variable is passed down to the gcc Makefile, where it is used to
372 # build libgcc2.a. We define it here so that it can itself be
373 # overridden on the command line.
374 GCC_FOR_TARGET=@GCC_FOR_TARGET@
375 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) \
376 $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ $(FLAGS_FOR_TARGET)
377 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
379 CXX_FOR_TARGET = @CXX_FOR_TARGET@
380 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
381 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
382 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
383 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
384 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
386 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
387 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
388 USUAL_DLLTOOL_FOR_TARGET = ` \
389 if [ -f $$r/$(HOST_SUBDIR)/binutils/dlltool ] ; then \
390 echo $$r/$(HOST_SUBDIR)/binutils/dlltool ; \
391 else \
392 if [ '$(host)' = '$(target)' ] ; then \
393 echo $(DLLTOOL); \
394 else \
395 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
396 fi; \
399 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
400 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
402 LD_FOR_TARGET=@LD_FOR_TARGET@
403 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
404 USUAL_LD_FOR_TARGET = ` \
405 if [ -f $$r/$(HOST_SUBDIR)/ld/ld-new ] ; then \
406 echo $$r/$(HOST_SUBDIR)/ld/ld-new ; \
407 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
408 $(CC_FOR_TARGET) -print-prog-name=ld ; \
409 else \
410 if [ '$(host)' = '$(target)' ] ; then \
411 echo $(LD); \
412 else \
413 echo $(CONFIGURED_LD_FOR_TARGET) ; \
414 fi; \
417 LDFLAGS_FOR_TARGET =
419 NM_FOR_TARGET=@NM_FOR_TARGET@
420 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
421 USUAL_NM_FOR_TARGET = ` \
422 if [ -f $$r/$(HOST_SUBDIR)/binutils/nm-new ] ; then \
423 echo $$r/$(HOST_SUBDIR)/binutils/nm-new ; \
424 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
425 $(CC_FOR_TARGET) -print-prog-name=nm ; \
426 else \
427 if [ '$(host)' = '$(target)' ] ; then \
428 echo $(NM); \
429 else \
430 echo $(CONFIGURED_NM_FOR_TARGET) ; \
431 fi; \
434 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
435 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
436 USUAL_RANLIB_FOR_TARGET = ` \
437 if [ -f $$r/$(HOST_SUBDIR)/binutils/ranlib ] ; then \
438 echo $$r/$(HOST_SUBDIR)/binutils/ranlib ; \
439 else \
440 if [ '$(host)' = '$(target)' ] ; then \
441 if [ x'$(RANLIB)' != x ]; then \
442 echo $(RANLIB); \
443 else \
444 echo ranlib; \
445 fi; \
446 else \
447 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
448 fi; \
451 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
452 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
453 USUAL_WINDRES_FOR_TARGET = ` \
454 if [ -f $$r/$(HOST_SUBDIR)/binutils/windres ] ; then \
455 echo $$r/$(HOST_SUBDIR)/binutils/windres ; \
456 else \
457 if [ '$(host)' = '$(target)' ] ; then \
458 echo $(WINDRES); \
459 else \
460 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
461 fi; \
464 PICFLAG_FOR_TARGET =
466 # ------------------------------------
467 # Miscellaneous targets and flag lists
468 # ------------------------------------
470 # The first rule in the file had better be this one. Don't put any above it.
471 # This lives here to allow makefile fragments to contain dependencies.
472 @default_target@:
474 #### host and target specific makefile fragments come in here.
475 @target_makefile_frag@
476 @alphaieee_frag@
477 @ospace_frag@
478 @host_makefile_frag@
481 # This is the list of directories that may be needed in RPATH_ENVVAR
482 # so that prorgams built for the target machine work.
483 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(HOST_LIB_PATH_gcc)
485 @if target-libstdc++-v3
486 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
487 @endif target-libstdc++-v3
489 @if target-libmudflap
490 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
491 @endif target-libmudflap
495 # This is the list of directories that may be needed in RPATH_ENVVAR
496 # so that programs built for the host machine work.
497 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
499 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
500 @if gcc
501 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
502 @endif gcc
505 @if bfd
506 HOST_LIB_PATH_bfd = \
507 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
508 @endif bfd
510 @if opcodes
511 HOST_LIB_PATH_opcodes = \
512 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
513 @endif opcodes
516 # Flags to pass down to all sub-makes.
517 BASE_FLAGS_TO_PASS = \
518 "DESTDIR=$(DESTDIR)" \
519 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
520 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
521 "bindir=$(bindir)" \
522 "datadir=$(datadir)" \
523 "exec_prefix=$(exec_prefix)" \
524 "includedir=$(includedir)" \
525 "infodir=$(infodir)" \
526 "libdir=$(libdir)" \
527 "libexecdir=$(libexecdir)" \
528 "lispdir=$(lispdir)" \
529 "localstatedir=$(localstatedir)" \
530 "mandir=$(mandir)" \
531 "oldincludedir=$(oldincludedir)" \
532 "prefix=$(prefix)" \
533 "sbindir=$(sbindir)" \
534 "sharedstatedir=$(sharedstatedir)" \
535 "sysconfdir=$(sysconfdir)" \
536 "tooldir=$(tooldir)" \
537 "build_tooldir=$(build_tooldir)" \
538 "target_alias=$(target_alias)" \
539 "BISON=$(BISON)" \
540 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
541 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
542 "EXPECT=$(EXPECT)" \
543 "FLEX=$(FLEX)" \
544 "INSTALL=$(INSTALL)" \
545 "INSTALL_DATA=$(INSTALL_DATA)" \
546 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
547 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
548 "LEX=$(LEX)" \
549 "M4=$(M4)" \
550 "MAKE=$(MAKE)" \
551 "RUNTEST=$(RUNTEST)" \
552 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
553 "SHELL=$(SHELL)" \
554 "YACC=$(YACC)" \
555 "AR_FLAGS=$(AR_FLAGS)" \
556 "CFLAGS=$(CFLAGS)" \
557 "CXXFLAGS=$(CXXFLAGS)" \
558 "LDFLAGS=$(LDFLAGS)" \
559 "LIBCFLAGS=$(LIBCFLAGS)" \
560 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
561 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
562 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
563 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
564 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
565 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
566 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
567 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
568 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
569 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
570 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
571 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
572 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
573 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
574 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
575 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
576 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
577 "CONFIG_SHELL=$(SHELL)" \
578 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
580 # For any flags above that may contain shell code that varies from one
581 # target library to another. When doing recursive invocations of the
582 # top-level Makefile, we don't want the outer make to evaluate them,
583 # so we pass these variables down unchanged. They must not contain
584 # single nor double quotes.
585 RECURSE_FLAGS = \
586 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
587 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
589 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
591 # Flags to pass down to most sub-makes, in which we're building with
592 # the host environment.
593 EXTRA_HOST_FLAGS = \
594 'AR=$(AR)' \
595 'AS=$(AS)' \
596 'CC=$(CC)' \
597 'CXX=$(CXX)' \
598 'DLLTOOL=$(DLLTOOL)' \
599 'LD=$(LD)' \
600 'NM=$(NM)' \
601 'RANLIB=$(RANLIB)' \
602 'WINDRES=$(WINDRES)'
604 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
606 # Flags that are concerned with the location of the X11 include files
607 # and library files
609 # NOTE: until the top-level is getting the values via autoconf, it only
610 # causes problems to have this top-level Makefile overriding the autoconf-set
611 # values in child directories. Only variables that don't conflict with
612 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
614 X11_FLAGS_TO_PASS = \
615 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
616 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
618 # Flags to pass down to makes which are built with the target environment.
619 # The double $ decreases the length of the command line; the variables
620 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
621 EXTRA_TARGET_FLAGS = \
622 'AR=$$(AR_FOR_TARGET)' \
623 'AS=$$(AS_FOR_TARGET)' \
624 'CC=$$(CC_FOR_TARGET)' \
625 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
626 'CXX=$$(CXX_FOR_TARGET)' \
627 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
628 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
629 'LD=$$(LD_FOR_TARGET)' \
630 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
631 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
632 'NM=$$(NM_FOR_TARGET)' \
633 'RANLIB=$$(RANLIB_FOR_TARGET)' \
634 'WINDRES=$$(WINDRES_FOR_TARGET)'
636 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
638 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
639 # unfortunately needs the native compiler and the target ar and
640 # ranlib.
641 # If any variables are added here, they must be added to do-*, below.
642 # The BUILD_* variables are a special case, which are used for the gcc
643 # cross-building scheme.
644 EXTRA_GCC_FLAGS = \
645 'BUILD_PREFIX=$(BUILD_PREFIX)' \
646 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
647 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
648 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
649 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
650 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
651 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
652 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
653 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
654 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
655 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
656 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
657 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
659 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
661 .PHONY: configure-host
662 configure-host: \
663 maybe-configure-ash \
664 maybe-configure-autoconf \
665 maybe-configure-automake \
666 maybe-configure-bash \
667 maybe-configure-bfd \
668 maybe-configure-opcodes \
669 maybe-configure-binutils \
670 maybe-configure-bison \
671 maybe-configure-byacc \
672 maybe-configure-bzip2 \
673 maybe-configure-dejagnu \
674 maybe-configure-diff \
675 maybe-configure-dosutils \
676 maybe-configure-etc \
677 maybe-configure-fastjar \
678 maybe-configure-fileutils \
679 maybe-configure-findutils \
680 maybe-configure-find \
681 maybe-configure-fixincludes \
682 maybe-configure-flex \
683 maybe-configure-gas \
684 maybe-configure-gcc \
685 maybe-configure-gawk \
686 maybe-configure-gettext \
687 maybe-configure-gnuserv \
688 maybe-configure-gprof \
689 maybe-configure-gzip \
690 maybe-configure-hello \
691 maybe-configure-indent \
692 maybe-configure-intl \
693 maybe-configure-tcl \
694 maybe-configure-itcl \
695 maybe-configure-ld \
696 maybe-configure-libcpp \
697 maybe-configure-libgui \
698 maybe-configure-libiberty \
699 maybe-configure-libtool \
700 maybe-configure-m4 \
701 maybe-configure-make \
702 maybe-configure-mmalloc \
703 maybe-configure-patch \
704 maybe-configure-perl \
705 maybe-configure-prms \
706 maybe-configure-rcs \
707 maybe-configure-readline \
708 maybe-configure-release \
709 maybe-configure-recode \
710 maybe-configure-sed \
711 maybe-configure-send-pr \
712 maybe-configure-shellutils \
713 maybe-configure-sid \
714 maybe-configure-sim \
715 maybe-configure-tar \
716 maybe-configure-texinfo \
717 maybe-configure-textutils \
718 maybe-configure-time \
719 maybe-configure-uudecode \
720 maybe-configure-wdiff \
721 maybe-configure-zip \
722 maybe-configure-zlib \
723 maybe-configure-gdb \
724 maybe-configure-expect \
725 maybe-configure-guile \
726 maybe-configure-tk \
727 maybe-configure-libtermcap \
728 maybe-configure-utils \
729 maybe-configure-gnattools
730 .PHONY: configure-target
731 configure-target: \
732 maybe-configure-target-libstdc++-v3 \
733 maybe-configure-target-libmudflap \
734 maybe-configure-target-newlib \
735 maybe-configure-target-libgfortran \
736 maybe-configure-target-libobjc \
737 maybe-configure-target-libtermcap \
738 maybe-configure-target-winsup \
739 maybe-configure-target-libgloss \
740 maybe-configure-target-libiberty \
741 maybe-configure-target-gperf \
742 maybe-configure-target-examples \
743 maybe-configure-target-libffi \
744 maybe-configure-target-libjava \
745 maybe-configure-target-zlib \
746 maybe-configure-target-boehm-gc \
747 maybe-configure-target-qthreads \
748 maybe-configure-target-rda \
749 maybe-configure-target-libada
751 # The target built for a native non-bootstrap build.
752 .PHONY: all
753 all: unstage all-host all-target stage
755 .PHONY: all-build
756 all-build: \
757 maybe-all-build-libiberty \
758 maybe-all-build-bison \
759 maybe-all-build-byacc \
760 maybe-all-build-flex \
761 maybe-all-build-m4 \
762 maybe-all-build-texinfo \
763 maybe-all-build-fixincludes
764 .PHONY: all-host
765 all-host: \
766 maybe-all-ash \
767 maybe-all-autoconf \
768 maybe-all-automake \
769 maybe-all-bash \
770 maybe-all-bfd \
771 maybe-all-opcodes \
772 maybe-all-binutils \
773 maybe-all-bison \
774 maybe-all-byacc \
775 maybe-all-bzip2 \
776 maybe-all-dejagnu \
777 maybe-all-diff \
778 maybe-all-dosutils \
779 maybe-all-etc \
780 maybe-all-fastjar \
781 maybe-all-fileutils \
782 maybe-all-findutils \
783 maybe-all-find \
784 maybe-all-fixincludes \
785 maybe-all-flex \
786 maybe-all-gas \
787 maybe-all-gcc \
788 maybe-all-gawk \
789 maybe-all-gettext \
790 maybe-all-gnuserv \
791 maybe-all-gprof \
792 maybe-all-gzip \
793 maybe-all-hello \
794 maybe-all-indent \
795 maybe-all-intl \
796 maybe-all-tcl \
797 maybe-all-itcl \
798 maybe-all-ld \
799 maybe-all-libcpp \
800 maybe-all-libgui \
801 maybe-all-libiberty \
802 maybe-all-libtool \
803 maybe-all-m4 \
804 maybe-all-make \
805 maybe-all-mmalloc \
806 maybe-all-patch \
807 maybe-all-perl \
808 maybe-all-prms \
809 maybe-all-rcs \
810 maybe-all-readline \
811 maybe-all-release \
812 maybe-all-recode \
813 maybe-all-sed \
814 maybe-all-send-pr \
815 maybe-all-shellutils \
816 maybe-all-sid \
817 maybe-all-sim \
818 maybe-all-tar \
819 maybe-all-texinfo \
820 maybe-all-textutils \
821 maybe-all-time \
822 maybe-all-uudecode \
823 maybe-all-wdiff \
824 maybe-all-zip \
825 maybe-all-zlib \
826 maybe-all-gdb \
827 maybe-all-expect \
828 maybe-all-guile \
829 maybe-all-tk \
830 maybe-all-libtermcap \
831 maybe-all-utils \
832 maybe-all-gnattools
833 .PHONY: all-target
834 all-target: \
835 maybe-all-target-libstdc++-v3 \
836 maybe-all-target-libmudflap \
837 maybe-all-target-newlib \
838 maybe-all-target-libgfortran \
839 maybe-all-target-libobjc \
840 maybe-all-target-libtermcap \
841 maybe-all-target-winsup \
842 maybe-all-target-libgloss \
843 maybe-all-target-libiberty \
844 maybe-all-target-gperf \
845 maybe-all-target-examples \
846 maybe-all-target-libffi \
847 maybe-all-target-libjava \
848 maybe-all-target-zlib \
849 maybe-all-target-boehm-gc \
850 maybe-all-target-qthreads \
851 maybe-all-target-rda \
852 maybe-all-target-libada
854 # Do a target for all the subdirectories. A ``make do-X'' will do a
855 # ``make X'' in all subdirectories (because, in general, there is a
856 # dependency (below) of X upon do-X, a ``make X'' will also do this,
857 # but it may do additional work as well).
859 .PHONY: do-info
860 do-info: unstage info-host info-target stage
862 .PHONY: info-host
863 info-host: \
864 maybe-info-ash \
865 maybe-info-autoconf \
866 maybe-info-automake \
867 maybe-info-bash \
868 maybe-info-bfd \
869 maybe-info-opcodes \
870 maybe-info-binutils \
871 maybe-info-bison \
872 maybe-info-byacc \
873 maybe-info-bzip2 \
874 maybe-info-dejagnu \
875 maybe-info-diff \
876 maybe-info-dosutils \
877 maybe-info-etc \
878 maybe-info-fastjar \
879 maybe-info-fileutils \
880 maybe-info-findutils \
881 maybe-info-find \
882 maybe-info-fixincludes \
883 maybe-info-flex \
884 maybe-info-gas \
885 maybe-info-gcc \
886 maybe-info-gawk \
887 maybe-info-gettext \
888 maybe-info-gnuserv \
889 maybe-info-gprof \
890 maybe-info-gzip \
891 maybe-info-hello \
892 maybe-info-indent \
893 maybe-info-intl \
894 maybe-info-tcl \
895 maybe-info-itcl \
896 maybe-info-ld \
897 maybe-info-libcpp \
898 maybe-info-libgui \
899 maybe-info-libiberty \
900 maybe-info-libtool \
901 maybe-info-m4 \
902 maybe-info-make \
903 maybe-info-mmalloc \
904 maybe-info-patch \
905 maybe-info-perl \
906 maybe-info-prms \
907 maybe-info-rcs \
908 maybe-info-readline \
909 maybe-info-release \
910 maybe-info-recode \
911 maybe-info-sed \
912 maybe-info-send-pr \
913 maybe-info-shellutils \
914 maybe-info-sid \
915 maybe-info-sim \
916 maybe-info-tar \
917 maybe-info-texinfo \
918 maybe-info-textutils \
919 maybe-info-time \
920 maybe-info-uudecode \
921 maybe-info-wdiff \
922 maybe-info-zip \
923 maybe-info-zlib \
924 maybe-info-gdb \
925 maybe-info-expect \
926 maybe-info-guile \
927 maybe-info-tk \
928 maybe-info-libtermcap \
929 maybe-info-utils \
930 maybe-info-gnattools
932 .PHONY: info-target
933 info-target: \
934 maybe-info-target-libstdc++-v3 \
935 maybe-info-target-libmudflap \
936 maybe-info-target-newlib \
937 maybe-info-target-libgfortran \
938 maybe-info-target-libobjc \
939 maybe-info-target-libtermcap \
940 maybe-info-target-winsup \
941 maybe-info-target-libgloss \
942 maybe-info-target-libiberty \
943 maybe-info-target-gperf \
944 maybe-info-target-examples \
945 maybe-info-target-libffi \
946 maybe-info-target-libjava \
947 maybe-info-target-zlib \
948 maybe-info-target-boehm-gc \
949 maybe-info-target-qthreads \
950 maybe-info-target-rda \
951 maybe-info-target-libada
953 .PHONY: do-dvi
954 do-dvi: unstage dvi-host dvi-target stage
956 .PHONY: dvi-host
957 dvi-host: \
958 maybe-dvi-ash \
959 maybe-dvi-autoconf \
960 maybe-dvi-automake \
961 maybe-dvi-bash \
962 maybe-dvi-bfd \
963 maybe-dvi-opcodes \
964 maybe-dvi-binutils \
965 maybe-dvi-bison \
966 maybe-dvi-byacc \
967 maybe-dvi-bzip2 \
968 maybe-dvi-dejagnu \
969 maybe-dvi-diff \
970 maybe-dvi-dosutils \
971 maybe-dvi-etc \
972 maybe-dvi-fastjar \
973 maybe-dvi-fileutils \
974 maybe-dvi-findutils \
975 maybe-dvi-find \
976 maybe-dvi-fixincludes \
977 maybe-dvi-flex \
978 maybe-dvi-gas \
979 maybe-dvi-gcc \
980 maybe-dvi-gawk \
981 maybe-dvi-gettext \
982 maybe-dvi-gnuserv \
983 maybe-dvi-gprof \
984 maybe-dvi-gzip \
985 maybe-dvi-hello \
986 maybe-dvi-indent \
987 maybe-dvi-intl \
988 maybe-dvi-tcl \
989 maybe-dvi-itcl \
990 maybe-dvi-ld \
991 maybe-dvi-libcpp \
992 maybe-dvi-libgui \
993 maybe-dvi-libiberty \
994 maybe-dvi-libtool \
995 maybe-dvi-m4 \
996 maybe-dvi-make \
997 maybe-dvi-mmalloc \
998 maybe-dvi-patch \
999 maybe-dvi-perl \
1000 maybe-dvi-prms \
1001 maybe-dvi-rcs \
1002 maybe-dvi-readline \
1003 maybe-dvi-release \
1004 maybe-dvi-recode \
1005 maybe-dvi-sed \
1006 maybe-dvi-send-pr \
1007 maybe-dvi-shellutils \
1008 maybe-dvi-sid \
1009 maybe-dvi-sim \
1010 maybe-dvi-tar \
1011 maybe-dvi-texinfo \
1012 maybe-dvi-textutils \
1013 maybe-dvi-time \
1014 maybe-dvi-uudecode \
1015 maybe-dvi-wdiff \
1016 maybe-dvi-zip \
1017 maybe-dvi-zlib \
1018 maybe-dvi-gdb \
1019 maybe-dvi-expect \
1020 maybe-dvi-guile \
1021 maybe-dvi-tk \
1022 maybe-dvi-libtermcap \
1023 maybe-dvi-utils \
1024 maybe-dvi-gnattools
1026 .PHONY: dvi-target
1027 dvi-target: \
1028 maybe-dvi-target-libstdc++-v3 \
1029 maybe-dvi-target-libmudflap \
1030 maybe-dvi-target-newlib \
1031 maybe-dvi-target-libgfortran \
1032 maybe-dvi-target-libobjc \
1033 maybe-dvi-target-libtermcap \
1034 maybe-dvi-target-winsup \
1035 maybe-dvi-target-libgloss \
1036 maybe-dvi-target-libiberty \
1037 maybe-dvi-target-gperf \
1038 maybe-dvi-target-examples \
1039 maybe-dvi-target-libffi \
1040 maybe-dvi-target-libjava \
1041 maybe-dvi-target-zlib \
1042 maybe-dvi-target-boehm-gc \
1043 maybe-dvi-target-qthreads \
1044 maybe-dvi-target-rda \
1045 maybe-dvi-target-libada
1047 .PHONY: do-html
1048 do-html: unstage html-host html-target stage
1050 .PHONY: html-host
1051 html-host: \
1052 maybe-html-ash \
1053 maybe-html-autoconf \
1054 maybe-html-automake \
1055 maybe-html-bash \
1056 maybe-html-bfd \
1057 maybe-html-opcodes \
1058 maybe-html-binutils \
1059 maybe-html-bison \
1060 maybe-html-byacc \
1061 maybe-html-bzip2 \
1062 maybe-html-dejagnu \
1063 maybe-html-diff \
1064 maybe-html-dosutils \
1065 maybe-html-etc \
1066 maybe-html-fastjar \
1067 maybe-html-fileutils \
1068 maybe-html-findutils \
1069 maybe-html-find \
1070 maybe-html-fixincludes \
1071 maybe-html-flex \
1072 maybe-html-gas \
1073 maybe-html-gcc \
1074 maybe-html-gawk \
1075 maybe-html-gettext \
1076 maybe-html-gnuserv \
1077 maybe-html-gprof \
1078 maybe-html-gzip \
1079 maybe-html-hello \
1080 maybe-html-indent \
1081 maybe-html-intl \
1082 maybe-html-tcl \
1083 maybe-html-itcl \
1084 maybe-html-ld \
1085 maybe-html-libcpp \
1086 maybe-html-libgui \
1087 maybe-html-libiberty \
1088 maybe-html-libtool \
1089 maybe-html-m4 \
1090 maybe-html-make \
1091 maybe-html-mmalloc \
1092 maybe-html-patch \
1093 maybe-html-perl \
1094 maybe-html-prms \
1095 maybe-html-rcs \
1096 maybe-html-readline \
1097 maybe-html-release \
1098 maybe-html-recode \
1099 maybe-html-sed \
1100 maybe-html-send-pr \
1101 maybe-html-shellutils \
1102 maybe-html-sid \
1103 maybe-html-sim \
1104 maybe-html-tar \
1105 maybe-html-texinfo \
1106 maybe-html-textutils \
1107 maybe-html-time \
1108 maybe-html-uudecode \
1109 maybe-html-wdiff \
1110 maybe-html-zip \
1111 maybe-html-zlib \
1112 maybe-html-gdb \
1113 maybe-html-expect \
1114 maybe-html-guile \
1115 maybe-html-tk \
1116 maybe-html-libtermcap \
1117 maybe-html-utils \
1118 maybe-html-gnattools
1120 .PHONY: html-target
1121 html-target: \
1122 maybe-html-target-libstdc++-v3 \
1123 maybe-html-target-libmudflap \
1124 maybe-html-target-newlib \
1125 maybe-html-target-libgfortran \
1126 maybe-html-target-libobjc \
1127 maybe-html-target-libtermcap \
1128 maybe-html-target-winsup \
1129 maybe-html-target-libgloss \
1130 maybe-html-target-libiberty \
1131 maybe-html-target-gperf \
1132 maybe-html-target-examples \
1133 maybe-html-target-libffi \
1134 maybe-html-target-libjava \
1135 maybe-html-target-zlib \
1136 maybe-html-target-boehm-gc \
1137 maybe-html-target-qthreads \
1138 maybe-html-target-rda \
1139 maybe-html-target-libada
1141 .PHONY: do-TAGS
1142 do-TAGS: unstage TAGS-host TAGS-target stage
1144 .PHONY: TAGS-host
1145 TAGS-host: \
1146 maybe-TAGS-ash \
1147 maybe-TAGS-autoconf \
1148 maybe-TAGS-automake \
1149 maybe-TAGS-bash \
1150 maybe-TAGS-bfd \
1151 maybe-TAGS-opcodes \
1152 maybe-TAGS-binutils \
1153 maybe-TAGS-bison \
1154 maybe-TAGS-byacc \
1155 maybe-TAGS-bzip2 \
1156 maybe-TAGS-dejagnu \
1157 maybe-TAGS-diff \
1158 maybe-TAGS-dosutils \
1159 maybe-TAGS-etc \
1160 maybe-TAGS-fastjar \
1161 maybe-TAGS-fileutils \
1162 maybe-TAGS-findutils \
1163 maybe-TAGS-find \
1164 maybe-TAGS-fixincludes \
1165 maybe-TAGS-flex \
1166 maybe-TAGS-gas \
1167 maybe-TAGS-gcc \
1168 maybe-TAGS-gawk \
1169 maybe-TAGS-gettext \
1170 maybe-TAGS-gnuserv \
1171 maybe-TAGS-gprof \
1172 maybe-TAGS-gzip \
1173 maybe-TAGS-hello \
1174 maybe-TAGS-indent \
1175 maybe-TAGS-intl \
1176 maybe-TAGS-tcl \
1177 maybe-TAGS-itcl \
1178 maybe-TAGS-ld \
1179 maybe-TAGS-libcpp \
1180 maybe-TAGS-libgui \
1181 maybe-TAGS-libiberty \
1182 maybe-TAGS-libtool \
1183 maybe-TAGS-m4 \
1184 maybe-TAGS-make \
1185 maybe-TAGS-mmalloc \
1186 maybe-TAGS-patch \
1187 maybe-TAGS-perl \
1188 maybe-TAGS-prms \
1189 maybe-TAGS-rcs \
1190 maybe-TAGS-readline \
1191 maybe-TAGS-release \
1192 maybe-TAGS-recode \
1193 maybe-TAGS-sed \
1194 maybe-TAGS-send-pr \
1195 maybe-TAGS-shellutils \
1196 maybe-TAGS-sid \
1197 maybe-TAGS-sim \
1198 maybe-TAGS-tar \
1199 maybe-TAGS-texinfo \
1200 maybe-TAGS-textutils \
1201 maybe-TAGS-time \
1202 maybe-TAGS-uudecode \
1203 maybe-TAGS-wdiff \
1204 maybe-TAGS-zip \
1205 maybe-TAGS-zlib \
1206 maybe-TAGS-gdb \
1207 maybe-TAGS-expect \
1208 maybe-TAGS-guile \
1209 maybe-TAGS-tk \
1210 maybe-TAGS-libtermcap \
1211 maybe-TAGS-utils \
1212 maybe-TAGS-gnattools
1214 .PHONY: TAGS-target
1215 TAGS-target: \
1216 maybe-TAGS-target-libstdc++-v3 \
1217 maybe-TAGS-target-libmudflap \
1218 maybe-TAGS-target-newlib \
1219 maybe-TAGS-target-libgfortran \
1220 maybe-TAGS-target-libobjc \
1221 maybe-TAGS-target-libtermcap \
1222 maybe-TAGS-target-winsup \
1223 maybe-TAGS-target-libgloss \
1224 maybe-TAGS-target-libiberty \
1225 maybe-TAGS-target-gperf \
1226 maybe-TAGS-target-examples \
1227 maybe-TAGS-target-libffi \
1228 maybe-TAGS-target-libjava \
1229 maybe-TAGS-target-zlib \
1230 maybe-TAGS-target-boehm-gc \
1231 maybe-TAGS-target-qthreads \
1232 maybe-TAGS-target-rda \
1233 maybe-TAGS-target-libada
1235 .PHONY: do-install-info
1236 do-install-info: unstage install-info-host install-info-target stage
1238 .PHONY: install-info-host
1239 install-info-host: \
1240 maybe-install-info-ash \
1241 maybe-install-info-autoconf \
1242 maybe-install-info-automake \
1243 maybe-install-info-bash \
1244 maybe-install-info-bfd \
1245 maybe-install-info-opcodes \
1246 maybe-install-info-binutils \
1247 maybe-install-info-bison \
1248 maybe-install-info-byacc \
1249 maybe-install-info-bzip2 \
1250 maybe-install-info-dejagnu \
1251 maybe-install-info-diff \
1252 maybe-install-info-dosutils \
1253 maybe-install-info-etc \
1254 maybe-install-info-fastjar \
1255 maybe-install-info-fileutils \
1256 maybe-install-info-findutils \
1257 maybe-install-info-find \
1258 maybe-install-info-fixincludes \
1259 maybe-install-info-flex \
1260 maybe-install-info-gas \
1261 maybe-install-info-gcc \
1262 maybe-install-info-gawk \
1263 maybe-install-info-gettext \
1264 maybe-install-info-gnuserv \
1265 maybe-install-info-gprof \
1266 maybe-install-info-gzip \
1267 maybe-install-info-hello \
1268 maybe-install-info-indent \
1269 maybe-install-info-intl \
1270 maybe-install-info-tcl \
1271 maybe-install-info-itcl \
1272 maybe-install-info-ld \
1273 maybe-install-info-libcpp \
1274 maybe-install-info-libgui \
1275 maybe-install-info-libiberty \
1276 maybe-install-info-libtool \
1277 maybe-install-info-m4 \
1278 maybe-install-info-make \
1279 maybe-install-info-mmalloc \
1280 maybe-install-info-patch \
1281 maybe-install-info-perl \
1282 maybe-install-info-prms \
1283 maybe-install-info-rcs \
1284 maybe-install-info-readline \
1285 maybe-install-info-release \
1286 maybe-install-info-recode \
1287 maybe-install-info-sed \
1288 maybe-install-info-send-pr \
1289 maybe-install-info-shellutils \
1290 maybe-install-info-sid \
1291 maybe-install-info-sim \
1292 maybe-install-info-tar \
1293 maybe-install-info-texinfo \
1294 maybe-install-info-textutils \
1295 maybe-install-info-time \
1296 maybe-install-info-uudecode \
1297 maybe-install-info-wdiff \
1298 maybe-install-info-zip \
1299 maybe-install-info-zlib \
1300 maybe-install-info-gdb \
1301 maybe-install-info-expect \
1302 maybe-install-info-guile \
1303 maybe-install-info-tk \
1304 maybe-install-info-libtermcap \
1305 maybe-install-info-utils \
1306 maybe-install-info-gnattools
1308 .PHONY: install-info-target
1309 install-info-target: \
1310 maybe-install-info-target-libstdc++-v3 \
1311 maybe-install-info-target-libmudflap \
1312 maybe-install-info-target-newlib \
1313 maybe-install-info-target-libgfortran \
1314 maybe-install-info-target-libobjc \
1315 maybe-install-info-target-libtermcap \
1316 maybe-install-info-target-winsup \
1317 maybe-install-info-target-libgloss \
1318 maybe-install-info-target-libiberty \
1319 maybe-install-info-target-gperf \
1320 maybe-install-info-target-examples \
1321 maybe-install-info-target-libffi \
1322 maybe-install-info-target-libjava \
1323 maybe-install-info-target-zlib \
1324 maybe-install-info-target-boehm-gc \
1325 maybe-install-info-target-qthreads \
1326 maybe-install-info-target-rda \
1327 maybe-install-info-target-libada
1329 .PHONY: do-installcheck
1330 do-installcheck: unstage installcheck-host installcheck-target stage
1332 .PHONY: installcheck-host
1333 installcheck-host: \
1334 maybe-installcheck-ash \
1335 maybe-installcheck-autoconf \
1336 maybe-installcheck-automake \
1337 maybe-installcheck-bash \
1338 maybe-installcheck-bfd \
1339 maybe-installcheck-opcodes \
1340 maybe-installcheck-binutils \
1341 maybe-installcheck-bison \
1342 maybe-installcheck-byacc \
1343 maybe-installcheck-bzip2 \
1344 maybe-installcheck-dejagnu \
1345 maybe-installcheck-diff \
1346 maybe-installcheck-dosutils \
1347 maybe-installcheck-etc \
1348 maybe-installcheck-fastjar \
1349 maybe-installcheck-fileutils \
1350 maybe-installcheck-findutils \
1351 maybe-installcheck-find \
1352 maybe-installcheck-fixincludes \
1353 maybe-installcheck-flex \
1354 maybe-installcheck-gas \
1355 maybe-installcheck-gcc \
1356 maybe-installcheck-gawk \
1357 maybe-installcheck-gettext \
1358 maybe-installcheck-gnuserv \
1359 maybe-installcheck-gprof \
1360 maybe-installcheck-gzip \
1361 maybe-installcheck-hello \
1362 maybe-installcheck-indent \
1363 maybe-installcheck-intl \
1364 maybe-installcheck-tcl \
1365 maybe-installcheck-itcl \
1366 maybe-installcheck-ld \
1367 maybe-installcheck-libcpp \
1368 maybe-installcheck-libgui \
1369 maybe-installcheck-libiberty \
1370 maybe-installcheck-libtool \
1371 maybe-installcheck-m4 \
1372 maybe-installcheck-make \
1373 maybe-installcheck-mmalloc \
1374 maybe-installcheck-patch \
1375 maybe-installcheck-perl \
1376 maybe-installcheck-prms \
1377 maybe-installcheck-rcs \
1378 maybe-installcheck-readline \
1379 maybe-installcheck-release \
1380 maybe-installcheck-recode \
1381 maybe-installcheck-sed \
1382 maybe-installcheck-send-pr \
1383 maybe-installcheck-shellutils \
1384 maybe-installcheck-sid \
1385 maybe-installcheck-sim \
1386 maybe-installcheck-tar \
1387 maybe-installcheck-texinfo \
1388 maybe-installcheck-textutils \
1389 maybe-installcheck-time \
1390 maybe-installcheck-uudecode \
1391 maybe-installcheck-wdiff \
1392 maybe-installcheck-zip \
1393 maybe-installcheck-zlib \
1394 maybe-installcheck-gdb \
1395 maybe-installcheck-expect \
1396 maybe-installcheck-guile \
1397 maybe-installcheck-tk \
1398 maybe-installcheck-libtermcap \
1399 maybe-installcheck-utils \
1400 maybe-installcheck-gnattools
1402 .PHONY: installcheck-target
1403 installcheck-target: \
1404 maybe-installcheck-target-libstdc++-v3 \
1405 maybe-installcheck-target-libmudflap \
1406 maybe-installcheck-target-newlib \
1407 maybe-installcheck-target-libgfortran \
1408 maybe-installcheck-target-libobjc \
1409 maybe-installcheck-target-libtermcap \
1410 maybe-installcheck-target-winsup \
1411 maybe-installcheck-target-libgloss \
1412 maybe-installcheck-target-libiberty \
1413 maybe-installcheck-target-gperf \
1414 maybe-installcheck-target-examples \
1415 maybe-installcheck-target-libffi \
1416 maybe-installcheck-target-libjava \
1417 maybe-installcheck-target-zlib \
1418 maybe-installcheck-target-boehm-gc \
1419 maybe-installcheck-target-qthreads \
1420 maybe-installcheck-target-rda \
1421 maybe-installcheck-target-libada
1423 .PHONY: do-mostlyclean
1424 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1426 .PHONY: mostlyclean-host
1427 mostlyclean-host: \
1428 maybe-mostlyclean-ash \
1429 maybe-mostlyclean-autoconf \
1430 maybe-mostlyclean-automake \
1431 maybe-mostlyclean-bash \
1432 maybe-mostlyclean-bfd \
1433 maybe-mostlyclean-opcodes \
1434 maybe-mostlyclean-binutils \
1435 maybe-mostlyclean-bison \
1436 maybe-mostlyclean-byacc \
1437 maybe-mostlyclean-bzip2 \
1438 maybe-mostlyclean-dejagnu \
1439 maybe-mostlyclean-diff \
1440 maybe-mostlyclean-dosutils \
1441 maybe-mostlyclean-etc \
1442 maybe-mostlyclean-fastjar \
1443 maybe-mostlyclean-fileutils \
1444 maybe-mostlyclean-findutils \
1445 maybe-mostlyclean-find \
1446 maybe-mostlyclean-fixincludes \
1447 maybe-mostlyclean-flex \
1448 maybe-mostlyclean-gas \
1449 maybe-mostlyclean-gcc \
1450 maybe-mostlyclean-gawk \
1451 maybe-mostlyclean-gettext \
1452 maybe-mostlyclean-gnuserv \
1453 maybe-mostlyclean-gprof \
1454 maybe-mostlyclean-gzip \
1455 maybe-mostlyclean-hello \
1456 maybe-mostlyclean-indent \
1457 maybe-mostlyclean-intl \
1458 maybe-mostlyclean-tcl \
1459 maybe-mostlyclean-itcl \
1460 maybe-mostlyclean-ld \
1461 maybe-mostlyclean-libcpp \
1462 maybe-mostlyclean-libgui \
1463 maybe-mostlyclean-libiberty \
1464 maybe-mostlyclean-libtool \
1465 maybe-mostlyclean-m4 \
1466 maybe-mostlyclean-make \
1467 maybe-mostlyclean-mmalloc \
1468 maybe-mostlyclean-patch \
1469 maybe-mostlyclean-perl \
1470 maybe-mostlyclean-prms \
1471 maybe-mostlyclean-rcs \
1472 maybe-mostlyclean-readline \
1473 maybe-mostlyclean-release \
1474 maybe-mostlyclean-recode \
1475 maybe-mostlyclean-sed \
1476 maybe-mostlyclean-send-pr \
1477 maybe-mostlyclean-shellutils \
1478 maybe-mostlyclean-sid \
1479 maybe-mostlyclean-sim \
1480 maybe-mostlyclean-tar \
1481 maybe-mostlyclean-texinfo \
1482 maybe-mostlyclean-textutils \
1483 maybe-mostlyclean-time \
1484 maybe-mostlyclean-uudecode \
1485 maybe-mostlyclean-wdiff \
1486 maybe-mostlyclean-zip \
1487 maybe-mostlyclean-zlib \
1488 maybe-mostlyclean-gdb \
1489 maybe-mostlyclean-expect \
1490 maybe-mostlyclean-guile \
1491 maybe-mostlyclean-tk \
1492 maybe-mostlyclean-libtermcap \
1493 maybe-mostlyclean-utils \
1494 maybe-mostlyclean-gnattools
1496 .PHONY: mostlyclean-target
1497 mostlyclean-target: \
1498 maybe-mostlyclean-target-libstdc++-v3 \
1499 maybe-mostlyclean-target-libmudflap \
1500 maybe-mostlyclean-target-newlib \
1501 maybe-mostlyclean-target-libgfortran \
1502 maybe-mostlyclean-target-libobjc \
1503 maybe-mostlyclean-target-libtermcap \
1504 maybe-mostlyclean-target-winsup \
1505 maybe-mostlyclean-target-libgloss \
1506 maybe-mostlyclean-target-libiberty \
1507 maybe-mostlyclean-target-gperf \
1508 maybe-mostlyclean-target-examples \
1509 maybe-mostlyclean-target-libffi \
1510 maybe-mostlyclean-target-libjava \
1511 maybe-mostlyclean-target-zlib \
1512 maybe-mostlyclean-target-boehm-gc \
1513 maybe-mostlyclean-target-qthreads \
1514 maybe-mostlyclean-target-rda \
1515 maybe-mostlyclean-target-libada
1517 .PHONY: do-clean
1518 do-clean: unstage clean-host clean-target stage
1520 .PHONY: clean-host
1521 clean-host: \
1522 maybe-clean-ash \
1523 maybe-clean-autoconf \
1524 maybe-clean-automake \
1525 maybe-clean-bash \
1526 maybe-clean-bfd \
1527 maybe-clean-opcodes \
1528 maybe-clean-binutils \
1529 maybe-clean-bison \
1530 maybe-clean-byacc \
1531 maybe-clean-bzip2 \
1532 maybe-clean-dejagnu \
1533 maybe-clean-diff \
1534 maybe-clean-dosutils \
1535 maybe-clean-etc \
1536 maybe-clean-fastjar \
1537 maybe-clean-fileutils \
1538 maybe-clean-findutils \
1539 maybe-clean-find \
1540 maybe-clean-fixincludes \
1541 maybe-clean-flex \
1542 maybe-clean-gas \
1543 maybe-clean-gcc \
1544 maybe-clean-gawk \
1545 maybe-clean-gettext \
1546 maybe-clean-gnuserv \
1547 maybe-clean-gprof \
1548 maybe-clean-gzip \
1549 maybe-clean-hello \
1550 maybe-clean-indent \
1551 maybe-clean-intl \
1552 maybe-clean-tcl \
1553 maybe-clean-itcl \
1554 maybe-clean-ld \
1555 maybe-clean-libcpp \
1556 maybe-clean-libgui \
1557 maybe-clean-libiberty \
1558 maybe-clean-libtool \
1559 maybe-clean-m4 \
1560 maybe-clean-make \
1561 maybe-clean-mmalloc \
1562 maybe-clean-patch \
1563 maybe-clean-perl \
1564 maybe-clean-prms \
1565 maybe-clean-rcs \
1566 maybe-clean-readline \
1567 maybe-clean-release \
1568 maybe-clean-recode \
1569 maybe-clean-sed \
1570 maybe-clean-send-pr \
1571 maybe-clean-shellutils \
1572 maybe-clean-sid \
1573 maybe-clean-sim \
1574 maybe-clean-tar \
1575 maybe-clean-texinfo \
1576 maybe-clean-textutils \
1577 maybe-clean-time \
1578 maybe-clean-uudecode \
1579 maybe-clean-wdiff \
1580 maybe-clean-zip \
1581 maybe-clean-zlib \
1582 maybe-clean-gdb \
1583 maybe-clean-expect \
1584 maybe-clean-guile \
1585 maybe-clean-tk \
1586 maybe-clean-libtermcap \
1587 maybe-clean-utils \
1588 maybe-clean-gnattools
1590 .PHONY: clean-target
1591 clean-target: \
1592 maybe-clean-target-libstdc++-v3 \
1593 maybe-clean-target-libmudflap \
1594 maybe-clean-target-newlib \
1595 maybe-clean-target-libgfortran \
1596 maybe-clean-target-libobjc \
1597 maybe-clean-target-libtermcap \
1598 maybe-clean-target-winsup \
1599 maybe-clean-target-libgloss \
1600 maybe-clean-target-libiberty \
1601 maybe-clean-target-gperf \
1602 maybe-clean-target-examples \
1603 maybe-clean-target-libffi \
1604 maybe-clean-target-libjava \
1605 maybe-clean-target-zlib \
1606 maybe-clean-target-boehm-gc \
1607 maybe-clean-target-qthreads \
1608 maybe-clean-target-rda \
1609 maybe-clean-target-libada
1611 .PHONY: do-distclean
1612 do-distclean: unstage distclean-host distclean-target stage
1614 .PHONY: distclean-host
1615 distclean-host: \
1616 maybe-distclean-ash \
1617 maybe-distclean-autoconf \
1618 maybe-distclean-automake \
1619 maybe-distclean-bash \
1620 maybe-distclean-bfd \
1621 maybe-distclean-opcodes \
1622 maybe-distclean-binutils \
1623 maybe-distclean-bison \
1624 maybe-distclean-byacc \
1625 maybe-distclean-bzip2 \
1626 maybe-distclean-dejagnu \
1627 maybe-distclean-diff \
1628 maybe-distclean-dosutils \
1629 maybe-distclean-etc \
1630 maybe-distclean-fastjar \
1631 maybe-distclean-fileutils \
1632 maybe-distclean-findutils \
1633 maybe-distclean-find \
1634 maybe-distclean-fixincludes \
1635 maybe-distclean-flex \
1636 maybe-distclean-gas \
1637 maybe-distclean-gcc \
1638 maybe-distclean-gawk \
1639 maybe-distclean-gettext \
1640 maybe-distclean-gnuserv \
1641 maybe-distclean-gprof \
1642 maybe-distclean-gzip \
1643 maybe-distclean-hello \
1644 maybe-distclean-indent \
1645 maybe-distclean-intl \
1646 maybe-distclean-tcl \
1647 maybe-distclean-itcl \
1648 maybe-distclean-ld \
1649 maybe-distclean-libcpp \
1650 maybe-distclean-libgui \
1651 maybe-distclean-libiberty \
1652 maybe-distclean-libtool \
1653 maybe-distclean-m4 \
1654 maybe-distclean-make \
1655 maybe-distclean-mmalloc \
1656 maybe-distclean-patch \
1657 maybe-distclean-perl \
1658 maybe-distclean-prms \
1659 maybe-distclean-rcs \
1660 maybe-distclean-readline \
1661 maybe-distclean-release \
1662 maybe-distclean-recode \
1663 maybe-distclean-sed \
1664 maybe-distclean-send-pr \
1665 maybe-distclean-shellutils \
1666 maybe-distclean-sid \
1667 maybe-distclean-sim \
1668 maybe-distclean-tar \
1669 maybe-distclean-texinfo \
1670 maybe-distclean-textutils \
1671 maybe-distclean-time \
1672 maybe-distclean-uudecode \
1673 maybe-distclean-wdiff \
1674 maybe-distclean-zip \
1675 maybe-distclean-zlib \
1676 maybe-distclean-gdb \
1677 maybe-distclean-expect \
1678 maybe-distclean-guile \
1679 maybe-distclean-tk \
1680 maybe-distclean-libtermcap \
1681 maybe-distclean-utils \
1682 maybe-distclean-gnattools
1684 .PHONY: distclean-target
1685 distclean-target: \
1686 maybe-distclean-target-libstdc++-v3 \
1687 maybe-distclean-target-libmudflap \
1688 maybe-distclean-target-newlib \
1689 maybe-distclean-target-libgfortran \
1690 maybe-distclean-target-libobjc \
1691 maybe-distclean-target-libtermcap \
1692 maybe-distclean-target-winsup \
1693 maybe-distclean-target-libgloss \
1694 maybe-distclean-target-libiberty \
1695 maybe-distclean-target-gperf \
1696 maybe-distclean-target-examples \
1697 maybe-distclean-target-libffi \
1698 maybe-distclean-target-libjava \
1699 maybe-distclean-target-zlib \
1700 maybe-distclean-target-boehm-gc \
1701 maybe-distclean-target-qthreads \
1702 maybe-distclean-target-rda \
1703 maybe-distclean-target-libada
1705 .PHONY: do-maintainer-clean
1706 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1708 .PHONY: maintainer-clean-host
1709 maintainer-clean-host: \
1710 maybe-maintainer-clean-ash \
1711 maybe-maintainer-clean-autoconf \
1712 maybe-maintainer-clean-automake \
1713 maybe-maintainer-clean-bash \
1714 maybe-maintainer-clean-bfd \
1715 maybe-maintainer-clean-opcodes \
1716 maybe-maintainer-clean-binutils \
1717 maybe-maintainer-clean-bison \
1718 maybe-maintainer-clean-byacc \
1719 maybe-maintainer-clean-bzip2 \
1720 maybe-maintainer-clean-dejagnu \
1721 maybe-maintainer-clean-diff \
1722 maybe-maintainer-clean-dosutils \
1723 maybe-maintainer-clean-etc \
1724 maybe-maintainer-clean-fastjar \
1725 maybe-maintainer-clean-fileutils \
1726 maybe-maintainer-clean-findutils \
1727 maybe-maintainer-clean-find \
1728 maybe-maintainer-clean-fixincludes \
1729 maybe-maintainer-clean-flex \
1730 maybe-maintainer-clean-gas \
1731 maybe-maintainer-clean-gcc \
1732 maybe-maintainer-clean-gawk \
1733 maybe-maintainer-clean-gettext \
1734 maybe-maintainer-clean-gnuserv \
1735 maybe-maintainer-clean-gprof \
1736 maybe-maintainer-clean-gzip \
1737 maybe-maintainer-clean-hello \
1738 maybe-maintainer-clean-indent \
1739 maybe-maintainer-clean-intl \
1740 maybe-maintainer-clean-tcl \
1741 maybe-maintainer-clean-itcl \
1742 maybe-maintainer-clean-ld \
1743 maybe-maintainer-clean-libcpp \
1744 maybe-maintainer-clean-libgui \
1745 maybe-maintainer-clean-libiberty \
1746 maybe-maintainer-clean-libtool \
1747 maybe-maintainer-clean-m4 \
1748 maybe-maintainer-clean-make \
1749 maybe-maintainer-clean-mmalloc \
1750 maybe-maintainer-clean-patch \
1751 maybe-maintainer-clean-perl \
1752 maybe-maintainer-clean-prms \
1753 maybe-maintainer-clean-rcs \
1754 maybe-maintainer-clean-readline \
1755 maybe-maintainer-clean-release \
1756 maybe-maintainer-clean-recode \
1757 maybe-maintainer-clean-sed \
1758 maybe-maintainer-clean-send-pr \
1759 maybe-maintainer-clean-shellutils \
1760 maybe-maintainer-clean-sid \
1761 maybe-maintainer-clean-sim \
1762 maybe-maintainer-clean-tar \
1763 maybe-maintainer-clean-texinfo \
1764 maybe-maintainer-clean-textutils \
1765 maybe-maintainer-clean-time \
1766 maybe-maintainer-clean-uudecode \
1767 maybe-maintainer-clean-wdiff \
1768 maybe-maintainer-clean-zip \
1769 maybe-maintainer-clean-zlib \
1770 maybe-maintainer-clean-gdb \
1771 maybe-maintainer-clean-expect \
1772 maybe-maintainer-clean-guile \
1773 maybe-maintainer-clean-tk \
1774 maybe-maintainer-clean-libtermcap \
1775 maybe-maintainer-clean-utils \
1776 maybe-maintainer-clean-gnattools
1778 .PHONY: maintainer-clean-target
1779 maintainer-clean-target: \
1780 maybe-maintainer-clean-target-libstdc++-v3 \
1781 maybe-maintainer-clean-target-libmudflap \
1782 maybe-maintainer-clean-target-newlib \
1783 maybe-maintainer-clean-target-libgfortran \
1784 maybe-maintainer-clean-target-libobjc \
1785 maybe-maintainer-clean-target-libtermcap \
1786 maybe-maintainer-clean-target-winsup \
1787 maybe-maintainer-clean-target-libgloss \
1788 maybe-maintainer-clean-target-libiberty \
1789 maybe-maintainer-clean-target-gperf \
1790 maybe-maintainer-clean-target-examples \
1791 maybe-maintainer-clean-target-libffi \
1792 maybe-maintainer-clean-target-libjava \
1793 maybe-maintainer-clean-target-zlib \
1794 maybe-maintainer-clean-target-boehm-gc \
1795 maybe-maintainer-clean-target-qthreads \
1796 maybe-maintainer-clean-target-rda \
1797 maybe-maintainer-clean-target-libada
1800 # Here are the targets which correspond to the do-X targets.
1802 .PHONY: info installcheck dvi html install-info
1803 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1804 .PHONY: local-clean local-distclean local-maintainer-clean
1805 info: do-info
1806 installcheck: do-installcheck
1807 dvi: do-dvi
1808 html: do-html
1810 # Make sure makeinfo is built before we do a `make info', if we're
1811 # in fact building texinfo.
1812 do-info: maybe-all-texinfo
1814 install-info: do-install-info dir.info
1815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1816 if [ -f dir.info ] ; then \
1817 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1818 else true ; fi
1820 local-clean:
1821 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1823 local-distclean:
1824 -rm -f Makefile config.status config.cache mh-frag mt-frag
1825 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1826 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1827 rm -rf $(TARGET_SUBDIR); \
1828 else true; fi
1829 -rm -rf $(BUILD_SUBDIR)
1830 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1831 rm -rf $(HOST_SUBDIR); \
1832 else true; fi
1833 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1834 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1835 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1836 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1837 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1839 local-maintainer-clean:
1840 @echo "This command is intended for maintainers to use;"
1841 @echo "it deletes files that may require special tools to rebuild."
1843 clean: do-clean local-clean
1844 mostlyclean: do-mostlyclean local-clean
1845 distclean: do-distclean local-clean local-distclean
1846 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1847 maintainer-clean: local-distclean
1848 realclean: maintainer-clean
1850 # Extra dependency for clean-target, owing to the mixed nature of gcc
1851 clean-target: clean-target-libgcc
1852 clean-target-libgcc:
1853 test ! -d gcc/libgcc || \
1854 (cd gcc/libgcc && find . -type d -print) | \
1855 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1856 -rm -rf gcc/libgcc
1857 -rm -f gcc/stmp-dirs
1859 # Check target.
1861 .PHONY: check do-check
1862 check: do-check
1864 # Only include modules actually being configured and built.
1865 do-check: unstage \
1866 maybe-check-ash \
1867 maybe-check-autoconf \
1868 maybe-check-automake \
1869 maybe-check-bash \
1870 maybe-check-bfd \
1871 maybe-check-opcodes \
1872 maybe-check-binutils \
1873 maybe-check-bison \
1874 maybe-check-byacc \
1875 maybe-check-bzip2 \
1876 maybe-check-dejagnu \
1877 maybe-check-diff \
1878 maybe-check-dosutils \
1879 maybe-check-etc \
1880 maybe-check-fastjar \
1881 maybe-check-fileutils \
1882 maybe-check-findutils \
1883 maybe-check-find \
1884 maybe-check-fixincludes \
1885 maybe-check-flex \
1886 maybe-check-gas \
1887 maybe-check-gcc \
1888 maybe-check-gawk \
1889 maybe-check-gettext \
1890 maybe-check-gnuserv \
1891 maybe-check-gprof \
1892 maybe-check-gzip \
1893 maybe-check-hello \
1894 maybe-check-indent \
1895 maybe-check-intl \
1896 maybe-check-tcl \
1897 maybe-check-itcl \
1898 maybe-check-ld \
1899 maybe-check-libcpp \
1900 maybe-check-libgui \
1901 maybe-check-libiberty \
1902 maybe-check-libtool \
1903 maybe-check-m4 \
1904 maybe-check-make \
1905 maybe-check-mmalloc \
1906 maybe-check-patch \
1907 maybe-check-perl \
1908 maybe-check-prms \
1909 maybe-check-rcs \
1910 maybe-check-readline \
1911 maybe-check-release \
1912 maybe-check-recode \
1913 maybe-check-sed \
1914 maybe-check-send-pr \
1915 maybe-check-shellutils \
1916 maybe-check-sid \
1917 maybe-check-sim \
1918 maybe-check-tar \
1919 maybe-check-texinfo \
1920 maybe-check-textutils \
1921 maybe-check-time \
1922 maybe-check-uudecode \
1923 maybe-check-wdiff \
1924 maybe-check-zip \
1925 maybe-check-zlib \
1926 maybe-check-gdb \
1927 maybe-check-expect \
1928 maybe-check-guile \
1929 maybe-check-tk \
1930 maybe-check-libtermcap \
1931 maybe-check-utils \
1932 maybe-check-gnattools \
1933 maybe-check-target-libstdc++-v3 \
1934 maybe-check-target-libmudflap \
1935 maybe-check-target-newlib \
1936 maybe-check-target-libgfortran \
1937 maybe-check-target-libobjc \
1938 maybe-check-target-libtermcap \
1939 maybe-check-target-winsup \
1940 maybe-check-target-libgloss \
1941 maybe-check-target-libiberty \
1942 maybe-check-target-gperf \
1943 maybe-check-target-examples \
1944 maybe-check-target-libffi \
1945 maybe-check-target-libjava \
1946 maybe-check-target-zlib \
1947 maybe-check-target-boehm-gc \
1948 maybe-check-target-qthreads \
1949 maybe-check-target-rda \
1950 maybe-check-target-libada stage
1952 # Automated reporting of test results.
1954 warning.log: build.log
1955 $(srcdir)/contrib/warn_summary build.log > $@
1957 mail-report.log:
1958 if test x'$(BOOT_CFLAGS)' != x''; then \
1959 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1960 fi; \
1961 $(srcdir)/contrib/test_summary -t >$@
1962 chmod +x $@
1963 echo If you really want to send e-mail, run ./$@ now
1965 mail-report-with-warnings.log: warning.log
1966 if test x'$(BOOT_CFLAGS)' != x''; then \
1967 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1968 fi; \
1969 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1970 chmod +x $@
1971 echo If you really want to send e-mail, run ./$@ now
1973 # Installation targets.
1975 .PHONY: install uninstall
1976 install: installdirs install-host install-target
1978 .PHONY: install-host-nogcc
1979 install-host-nogcc: \
1980 maybe-install-ash \
1981 maybe-install-autoconf \
1982 maybe-install-automake \
1983 maybe-install-bash \
1984 maybe-install-bfd \
1985 maybe-install-opcodes \
1986 maybe-install-binutils \
1987 maybe-install-bison \
1988 maybe-install-byacc \
1989 maybe-install-bzip2 \
1990 maybe-install-dejagnu \
1991 maybe-install-diff \
1992 maybe-install-dosutils \
1993 maybe-install-etc \
1994 maybe-install-fastjar \
1995 maybe-install-fileutils \
1996 maybe-install-findutils \
1997 maybe-install-find \
1998 maybe-install-fixincludes \
1999 maybe-install-flex \
2000 maybe-install-gas \
2001 maybe-install-gawk \
2002 maybe-install-gettext \
2003 maybe-install-gnuserv \
2004 maybe-install-gprof \
2005 maybe-install-gzip \
2006 maybe-install-hello \
2007 maybe-install-indent \
2008 maybe-install-intl \
2009 maybe-install-tcl \
2010 maybe-install-itcl \
2011 maybe-install-ld \
2012 maybe-install-libcpp \
2013 maybe-install-libgui \
2014 maybe-install-libiberty \
2015 maybe-install-libtool \
2016 maybe-install-m4 \
2017 maybe-install-make \
2018 maybe-install-mmalloc \
2019 maybe-install-patch \
2020 maybe-install-perl \
2021 maybe-install-prms \
2022 maybe-install-rcs \
2023 maybe-install-readline \
2024 maybe-install-release \
2025 maybe-install-recode \
2026 maybe-install-sed \
2027 maybe-install-send-pr \
2028 maybe-install-shellutils \
2029 maybe-install-sid \
2030 maybe-install-sim \
2031 maybe-install-tar \
2032 maybe-install-texinfo \
2033 maybe-install-textutils \
2034 maybe-install-time \
2035 maybe-install-uudecode \
2036 maybe-install-wdiff \
2037 maybe-install-zip \
2038 maybe-install-zlib \
2039 maybe-install-gdb \
2040 maybe-install-expect \
2041 maybe-install-guile \
2042 maybe-install-tk \
2043 maybe-install-libtermcap \
2044 maybe-install-utils \
2045 maybe-install-gnattools
2047 .PHONY: install-host
2048 install-host: \
2049 maybe-install-ash \
2050 maybe-install-autoconf \
2051 maybe-install-automake \
2052 maybe-install-bash \
2053 maybe-install-bfd \
2054 maybe-install-opcodes \
2055 maybe-install-binutils \
2056 maybe-install-bison \
2057 maybe-install-byacc \
2058 maybe-install-bzip2 \
2059 maybe-install-dejagnu \
2060 maybe-install-diff \
2061 maybe-install-dosutils \
2062 maybe-install-etc \
2063 maybe-install-fastjar \
2064 maybe-install-fileutils \
2065 maybe-install-findutils \
2066 maybe-install-find \
2067 maybe-install-fixincludes \
2068 maybe-install-flex \
2069 maybe-install-gas \
2070 maybe-install-gcc \
2071 maybe-install-gawk \
2072 maybe-install-gettext \
2073 maybe-install-gnuserv \
2074 maybe-install-gprof \
2075 maybe-install-gzip \
2076 maybe-install-hello \
2077 maybe-install-indent \
2078 maybe-install-intl \
2079 maybe-install-tcl \
2080 maybe-install-itcl \
2081 maybe-install-ld \
2082 maybe-install-libcpp \
2083 maybe-install-libgui \
2084 maybe-install-libiberty \
2085 maybe-install-libtool \
2086 maybe-install-m4 \
2087 maybe-install-make \
2088 maybe-install-mmalloc \
2089 maybe-install-patch \
2090 maybe-install-perl \
2091 maybe-install-prms \
2092 maybe-install-rcs \
2093 maybe-install-readline \
2094 maybe-install-release \
2095 maybe-install-recode \
2096 maybe-install-sed \
2097 maybe-install-send-pr \
2098 maybe-install-shellutils \
2099 maybe-install-sid \
2100 maybe-install-sim \
2101 maybe-install-tar \
2102 maybe-install-texinfo \
2103 maybe-install-textutils \
2104 maybe-install-time \
2105 maybe-install-uudecode \
2106 maybe-install-wdiff \
2107 maybe-install-zip \
2108 maybe-install-zlib \
2109 maybe-install-gdb \
2110 maybe-install-expect \
2111 maybe-install-guile \
2112 maybe-install-tk \
2113 maybe-install-libtermcap \
2114 maybe-install-utils \
2115 maybe-install-gnattools
2117 .PHONY: install-target
2118 install-target: \
2119 maybe-install-target-libstdc++-v3 \
2120 maybe-install-target-libmudflap \
2121 maybe-install-target-newlib \
2122 maybe-install-target-libgfortran \
2123 maybe-install-target-libobjc \
2124 maybe-install-target-libtermcap \
2125 maybe-install-target-winsup \
2126 maybe-install-target-libgloss \
2127 maybe-install-target-libiberty \
2128 maybe-install-target-gperf \
2129 maybe-install-target-examples \
2130 maybe-install-target-libffi \
2131 maybe-install-target-libjava \
2132 maybe-install-target-zlib \
2133 maybe-install-target-boehm-gc \
2134 maybe-install-target-qthreads \
2135 maybe-install-target-rda \
2136 maybe-install-target-libada
2138 uninstall:
2139 @echo "the uninstall target is not supported in this tree"
2141 .PHONY: install.all
2142 install.all: install-no-fixedincludes
2143 @if [ -f ./gcc/Makefile ] ; then \
2144 r=`${PWD_COMMAND}` ; export r ; \
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 # Macros for configure and all targets
2190 # ------------------------------------
2196 # --------------------------------------
2197 # Modules which run on the build machine
2198 # --------------------------------------
2201 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2202 maybe-configure-build-libiberty:
2203 @if build-libiberty
2204 maybe-configure-build-libiberty: configure-build-libiberty
2205 configure-build-libiberty:
2206 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2207 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2208 r=`${PWD_COMMAND}`; export r; \
2209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2210 $(BUILD_EXPORTS) \
2211 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2212 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2213 case $(srcdir) in \
2214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2215 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2217 esac; \
2218 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2219 libsrcdir="$$s/libiberty"; \
2220 rm -f no-such-file || : ; \
2221 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2222 $(BUILD_CONFIGARGS) $${srcdiroption} \
2223 || exit 1
2224 @endif build-libiberty
2228 .PHONY: all-build-libiberty maybe-all-build-libiberty
2229 maybe-all-build-libiberty:
2230 @if build-libiberty
2231 TARGET-build-libiberty=all
2232 maybe-all-build-libiberty: all-build-libiberty
2233 all-build-libiberty: configure-build-libiberty
2234 @r=`${PWD_COMMAND}`; export r; \
2235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2236 $(BUILD_EXPORTS) \
2237 (cd $(BUILD_SUBDIR)/libiberty && \
2238 $(MAKE) $(TARGET-build-libiberty))
2239 @endif build-libiberty
2243 .PHONY: configure-build-bison maybe-configure-build-bison
2244 maybe-configure-build-bison:
2245 @if build-bison
2246 maybe-configure-build-bison: configure-build-bison
2247 configure-build-bison:
2248 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2249 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2250 r=`${PWD_COMMAND}`; export r; \
2251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2252 $(BUILD_EXPORTS) \
2253 echo Configuring in $(BUILD_SUBDIR)/bison; \
2254 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2255 case $(srcdir) in \
2256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2257 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2259 esac; \
2260 srcdiroption="--srcdir=$${topdir}/bison"; \
2261 libsrcdir="$$s/bison"; \
2262 rm -f no-such-file || : ; \
2263 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2264 $(BUILD_CONFIGARGS) $${srcdiroption} \
2265 || exit 1
2266 @endif build-bison
2270 .PHONY: all-build-bison maybe-all-build-bison
2271 maybe-all-build-bison:
2272 @if build-bison
2273 TARGET-build-bison=all
2274 maybe-all-build-bison: all-build-bison
2275 all-build-bison: configure-build-bison
2276 @r=`${PWD_COMMAND}`; export r; \
2277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2278 $(BUILD_EXPORTS) \
2279 (cd $(BUILD_SUBDIR)/bison && \
2280 $(MAKE) $(TARGET-build-bison))
2281 @endif build-bison
2285 .PHONY: configure-build-byacc maybe-configure-build-byacc
2286 maybe-configure-build-byacc:
2287 @if build-byacc
2288 maybe-configure-build-byacc: configure-build-byacc
2289 configure-build-byacc:
2290 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2291 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2292 r=`${PWD_COMMAND}`; export r; \
2293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2294 $(BUILD_EXPORTS) \
2295 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2296 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2297 case $(srcdir) in \
2298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2299 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2301 esac; \
2302 srcdiroption="--srcdir=$${topdir}/byacc"; \
2303 libsrcdir="$$s/byacc"; \
2304 rm -f no-such-file || : ; \
2305 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2306 $(BUILD_CONFIGARGS) $${srcdiroption} \
2307 || exit 1
2308 @endif build-byacc
2312 .PHONY: all-build-byacc maybe-all-build-byacc
2313 maybe-all-build-byacc:
2314 @if build-byacc
2315 TARGET-build-byacc=all
2316 maybe-all-build-byacc: all-build-byacc
2317 all-build-byacc: configure-build-byacc
2318 @r=`${PWD_COMMAND}`; export r; \
2319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2320 $(BUILD_EXPORTS) \
2321 (cd $(BUILD_SUBDIR)/byacc && \
2322 $(MAKE) $(TARGET-build-byacc))
2323 @endif build-byacc
2327 .PHONY: configure-build-flex maybe-configure-build-flex
2328 maybe-configure-build-flex:
2329 @if build-flex
2330 maybe-configure-build-flex: configure-build-flex
2331 configure-build-flex:
2332 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2333 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2334 r=`${PWD_COMMAND}`; export r; \
2335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2336 $(BUILD_EXPORTS) \
2337 echo Configuring in $(BUILD_SUBDIR)/flex; \
2338 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2339 case $(srcdir) in \
2340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2341 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2343 esac; \
2344 srcdiroption="--srcdir=$${topdir}/flex"; \
2345 libsrcdir="$$s/flex"; \
2346 rm -f no-such-file || : ; \
2347 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2348 $(BUILD_CONFIGARGS) $${srcdiroption} \
2349 || exit 1
2350 @endif build-flex
2354 .PHONY: all-build-flex maybe-all-build-flex
2355 maybe-all-build-flex:
2356 @if build-flex
2357 TARGET-build-flex=all
2358 maybe-all-build-flex: all-build-flex
2359 all-build-flex: configure-build-flex
2360 @r=`${PWD_COMMAND}`; export r; \
2361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2362 $(BUILD_EXPORTS) \
2363 (cd $(BUILD_SUBDIR)/flex && \
2364 $(MAKE) $(TARGET-build-flex))
2365 @endif build-flex
2369 .PHONY: configure-build-m4 maybe-configure-build-m4
2370 maybe-configure-build-m4:
2371 @if build-m4
2372 maybe-configure-build-m4: configure-build-m4
2373 configure-build-m4:
2374 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2375 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2376 r=`${PWD_COMMAND}`; export r; \
2377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2378 $(BUILD_EXPORTS) \
2379 echo Configuring in $(BUILD_SUBDIR)/m4; \
2380 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2381 case $(srcdir) in \
2382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2383 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2385 esac; \
2386 srcdiroption="--srcdir=$${topdir}/m4"; \
2387 libsrcdir="$$s/m4"; \
2388 rm -f no-such-file || : ; \
2389 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2390 $(BUILD_CONFIGARGS) $${srcdiroption} \
2391 || exit 1
2392 @endif build-m4
2396 .PHONY: all-build-m4 maybe-all-build-m4
2397 maybe-all-build-m4:
2398 @if build-m4
2399 TARGET-build-m4=all
2400 maybe-all-build-m4: all-build-m4
2401 all-build-m4: configure-build-m4
2402 @r=`${PWD_COMMAND}`; export r; \
2403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2404 $(BUILD_EXPORTS) \
2405 (cd $(BUILD_SUBDIR)/m4 && \
2406 $(MAKE) $(TARGET-build-m4))
2407 @endif build-m4
2411 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2412 maybe-configure-build-texinfo:
2413 @if build-texinfo
2414 maybe-configure-build-texinfo: configure-build-texinfo
2415 configure-build-texinfo:
2416 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2417 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2418 r=`${PWD_COMMAND}`; export r; \
2419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2420 $(BUILD_EXPORTS) \
2421 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2422 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2423 case $(srcdir) in \
2424 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2425 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2426 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2427 esac; \
2428 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2429 libsrcdir="$$s/texinfo"; \
2430 rm -f no-such-file || : ; \
2431 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2432 $(BUILD_CONFIGARGS) $${srcdiroption} \
2433 || exit 1
2434 @endif build-texinfo
2438 .PHONY: all-build-texinfo maybe-all-build-texinfo
2439 maybe-all-build-texinfo:
2440 @if build-texinfo
2441 TARGET-build-texinfo=all
2442 maybe-all-build-texinfo: all-build-texinfo
2443 all-build-texinfo: configure-build-texinfo
2444 @r=`${PWD_COMMAND}`; export r; \
2445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2446 $(BUILD_EXPORTS) \
2447 (cd $(BUILD_SUBDIR)/texinfo && \
2448 $(MAKE) $(TARGET-build-texinfo))
2449 @endif build-texinfo
2453 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2454 maybe-configure-build-fixincludes:
2455 @if build-fixincludes
2456 maybe-configure-build-fixincludes: configure-build-fixincludes
2457 configure-build-fixincludes:
2458 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2459 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2460 r=`${PWD_COMMAND}`; export r; \
2461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2462 $(BUILD_EXPORTS) \
2463 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2464 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2465 case $(srcdir) in \
2466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2467 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2469 esac; \
2470 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2471 libsrcdir="$$s/fixincludes"; \
2472 rm -f no-such-file || : ; \
2473 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2474 $(BUILD_CONFIGARGS) $${srcdiroption} \
2475 || exit 1
2476 @endif build-fixincludes
2480 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2481 maybe-all-build-fixincludes:
2482 @if build-fixincludes
2483 TARGET-build-fixincludes=all
2484 maybe-all-build-fixincludes: all-build-fixincludes
2485 all-build-fixincludes: configure-build-fixincludes
2486 @r=`${PWD_COMMAND}`; export r; \
2487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2488 $(BUILD_EXPORTS) \
2489 (cd $(BUILD_SUBDIR)/fixincludes && \
2490 $(MAKE) $(TARGET-build-fixincludes))
2491 @endif build-fixincludes
2495 # --------------------------------------
2496 # Modules which run on the host machine
2497 # --------------------------------------
2500 .PHONY: configure-ash maybe-configure-ash
2501 maybe-configure-ash:
2502 @if ash
2503 maybe-configure-ash: configure-ash
2504 configure-ash:
2505 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2506 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2507 r=`${PWD_COMMAND}`; export r; \
2508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2509 $(HOST_EXPORTS) \
2510 echo Configuring in $(HOST_SUBDIR)/ash; \
2511 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2512 case $(srcdir) in \
2513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2514 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2516 esac; \
2517 srcdiroption="--srcdir=$${topdir}/ash"; \
2518 libsrcdir="$$s/ash"; \
2519 $(SHELL) $${libsrcdir}/configure \
2520 $(HOST_CONFIGARGS) $${srcdiroption} \
2521 || exit 1
2522 @endif ash
2526 .PHONY: all-ash maybe-all-ash
2527 maybe-all-ash:
2528 @if ash
2529 TARGET-ash=all
2530 maybe-all-ash: all-ash
2531 all-ash: configure-ash
2532 @r=`${PWD_COMMAND}`; export r; \
2533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2534 $(HOST_EXPORTS) \
2535 (cd $(HOST_SUBDIR)/ash && \
2536 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2537 @endif ash
2540 .PHONY: check-ash maybe-check-ash
2541 maybe-check-ash:
2542 @if ash
2543 maybe-check-ash: check-ash
2545 check-ash:
2546 @r=`${PWD_COMMAND}`; export r; \
2547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2548 $(HOST_EXPORTS) \
2549 (cd $(HOST_SUBDIR)/ash && \
2550 $(MAKE) $(FLAGS_TO_PASS) check)
2552 @endif ash
2554 .PHONY: install-ash maybe-install-ash
2555 maybe-install-ash:
2556 @if ash
2557 maybe-install-ash: install-ash
2559 install-ash: installdirs
2560 @r=`${PWD_COMMAND}`; export r; \
2561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2562 $(HOST_EXPORTS) \
2563 (cd $(HOST_SUBDIR)/ash && \
2564 $(MAKE) $(FLAGS_TO_PASS) install)
2566 @endif ash
2568 # Other targets (info, dvi, etc.)
2570 .PHONY: maybe-info-ash info-ash
2571 maybe-info-ash:
2572 @if ash
2573 maybe-info-ash: info-ash
2575 info-ash: \
2576 configure-ash
2577 @[ -f ./ash/Makefile ] || exit 0; \
2578 r=`${PWD_COMMAND}`; export r; \
2579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2580 $(HOST_EXPORTS) \
2581 for flag in $(EXTRA_HOST_FLAGS) ; do \
2582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2583 done; \
2584 echo "Doing info in ash" ; \
2585 (cd $(HOST_SUBDIR)/ash && \
2586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2588 "RANLIB=$${RANLIB}" \
2589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2590 info) \
2591 || exit 1
2593 @endif ash
2595 .PHONY: maybe-dvi-ash dvi-ash
2596 maybe-dvi-ash:
2597 @if ash
2598 maybe-dvi-ash: dvi-ash
2600 dvi-ash: \
2601 configure-ash
2602 @[ -f ./ash/Makefile ] || exit 0; \
2603 r=`${PWD_COMMAND}`; export r; \
2604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2605 $(HOST_EXPORTS) \
2606 for flag in $(EXTRA_HOST_FLAGS) ; do \
2607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2608 done; \
2609 echo "Doing dvi in ash" ; \
2610 (cd $(HOST_SUBDIR)/ash && \
2611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2613 "RANLIB=$${RANLIB}" \
2614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2615 dvi) \
2616 || exit 1
2618 @endif ash
2620 .PHONY: maybe-html-ash html-ash
2621 maybe-html-ash:
2622 @if ash
2623 maybe-html-ash: html-ash
2625 html-ash: \
2626 configure-ash
2627 @[ -f ./ash/Makefile ] || exit 0; \
2628 r=`${PWD_COMMAND}`; export r; \
2629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2630 $(HOST_EXPORTS) \
2631 for flag in $(EXTRA_HOST_FLAGS) ; do \
2632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2633 done; \
2634 echo "Doing html in ash" ; \
2635 (cd $(HOST_SUBDIR)/ash && \
2636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2638 "RANLIB=$${RANLIB}" \
2639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2640 html) \
2641 || exit 1
2643 @endif ash
2645 .PHONY: maybe-TAGS-ash TAGS-ash
2646 maybe-TAGS-ash:
2647 @if ash
2648 maybe-TAGS-ash: TAGS-ash
2650 TAGS-ash: \
2651 configure-ash
2652 @[ -f ./ash/Makefile ] || exit 0; \
2653 r=`${PWD_COMMAND}`; export r; \
2654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2655 $(HOST_EXPORTS) \
2656 for flag in $(EXTRA_HOST_FLAGS) ; do \
2657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2658 done; \
2659 echo "Doing TAGS in ash" ; \
2660 (cd $(HOST_SUBDIR)/ash && \
2661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2663 "RANLIB=$${RANLIB}" \
2664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2665 TAGS) \
2666 || exit 1
2668 @endif ash
2670 .PHONY: maybe-install-info-ash install-info-ash
2671 maybe-install-info-ash:
2672 @if ash
2673 maybe-install-info-ash: install-info-ash
2675 install-info-ash: \
2676 configure-ash \
2677 info-ash
2678 @[ -f ./ash/Makefile ] || exit 0; \
2679 r=`${PWD_COMMAND}`; export r; \
2680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2681 $(HOST_EXPORTS) \
2682 for flag in $(EXTRA_HOST_FLAGS) ; do \
2683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2684 done; \
2685 echo "Doing install-info in ash" ; \
2686 (cd $(HOST_SUBDIR)/ash && \
2687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2689 "RANLIB=$${RANLIB}" \
2690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2691 install-info) \
2692 || exit 1
2694 @endif ash
2696 .PHONY: maybe-installcheck-ash installcheck-ash
2697 maybe-installcheck-ash:
2698 @if ash
2699 maybe-installcheck-ash: installcheck-ash
2701 installcheck-ash: \
2702 configure-ash
2703 @[ -f ./ash/Makefile ] || exit 0; \
2704 r=`${PWD_COMMAND}`; export r; \
2705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2706 $(HOST_EXPORTS) \
2707 for flag in $(EXTRA_HOST_FLAGS) ; do \
2708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2709 done; \
2710 echo "Doing installcheck in ash" ; \
2711 (cd $(HOST_SUBDIR)/ash && \
2712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2714 "RANLIB=$${RANLIB}" \
2715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2716 installcheck) \
2717 || exit 1
2719 @endif ash
2721 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2722 maybe-mostlyclean-ash:
2723 @if ash
2724 maybe-mostlyclean-ash: mostlyclean-ash
2726 mostlyclean-ash:
2727 @[ -f ./ash/Makefile ] || exit 0; \
2728 r=`${PWD_COMMAND}`; export r; \
2729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2730 $(HOST_EXPORTS) \
2731 for flag in $(EXTRA_HOST_FLAGS) ; do \
2732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2733 done; \
2734 echo "Doing mostlyclean in ash" ; \
2735 (cd $(HOST_SUBDIR)/ash && \
2736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2738 "RANLIB=$${RANLIB}" \
2739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2740 mostlyclean) \
2741 || exit 1
2743 @endif ash
2745 .PHONY: maybe-clean-ash clean-ash
2746 maybe-clean-ash:
2747 @if ash
2748 maybe-clean-ash: clean-ash
2750 clean-ash:
2751 @[ -f ./ash/Makefile ] || exit 0; \
2752 r=`${PWD_COMMAND}`; export r; \
2753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2754 $(HOST_EXPORTS) \
2755 for flag in $(EXTRA_HOST_FLAGS) ; do \
2756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2757 done; \
2758 echo "Doing clean in ash" ; \
2759 (cd $(HOST_SUBDIR)/ash && \
2760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2762 "RANLIB=$${RANLIB}" \
2763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2764 clean) \
2765 || exit 1
2767 @endif ash
2769 .PHONY: maybe-distclean-ash distclean-ash
2770 maybe-distclean-ash:
2771 @if ash
2772 maybe-distclean-ash: distclean-ash
2774 distclean-ash:
2775 @[ -f ./ash/Makefile ] || exit 0; \
2776 r=`${PWD_COMMAND}`; export r; \
2777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2778 $(HOST_EXPORTS) \
2779 for flag in $(EXTRA_HOST_FLAGS) ; do \
2780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2781 done; \
2782 echo "Doing distclean in ash" ; \
2783 (cd $(HOST_SUBDIR)/ash && \
2784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2786 "RANLIB=$${RANLIB}" \
2787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2788 distclean) \
2789 || exit 1
2791 @endif ash
2793 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2794 maybe-maintainer-clean-ash:
2795 @if ash
2796 maybe-maintainer-clean-ash: maintainer-clean-ash
2798 maintainer-clean-ash:
2799 @[ -f ./ash/Makefile ] || exit 0; \
2800 r=`${PWD_COMMAND}`; export r; \
2801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2802 $(HOST_EXPORTS) \
2803 for flag in $(EXTRA_HOST_FLAGS) ; do \
2804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2805 done; \
2806 echo "Doing maintainer-clean in ash" ; \
2807 (cd $(HOST_SUBDIR)/ash && \
2808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2810 "RANLIB=$${RANLIB}" \
2811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2812 maintainer-clean) \
2813 || exit 1
2815 @endif ash
2819 .PHONY: configure-autoconf maybe-configure-autoconf
2820 maybe-configure-autoconf:
2821 @if autoconf
2822 maybe-configure-autoconf: configure-autoconf
2823 configure-autoconf:
2824 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2826 r=`${PWD_COMMAND}`; export r; \
2827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2828 $(HOST_EXPORTS) \
2829 echo Configuring in $(HOST_SUBDIR)/autoconf; \
2830 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
2831 case $(srcdir) in \
2832 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2833 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2834 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2835 esac; \
2836 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2837 libsrcdir="$$s/autoconf"; \
2838 $(SHELL) $${libsrcdir}/configure \
2839 $(HOST_CONFIGARGS) $${srcdiroption} \
2840 || exit 1
2841 @endif autoconf
2845 .PHONY: all-autoconf maybe-all-autoconf
2846 maybe-all-autoconf:
2847 @if autoconf
2848 TARGET-autoconf=all
2849 maybe-all-autoconf: all-autoconf
2850 all-autoconf: configure-autoconf
2851 @r=`${PWD_COMMAND}`; export r; \
2852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2853 $(HOST_EXPORTS) \
2854 (cd $(HOST_SUBDIR)/autoconf && \
2855 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2856 @endif autoconf
2859 .PHONY: check-autoconf maybe-check-autoconf
2860 maybe-check-autoconf:
2861 @if autoconf
2862 maybe-check-autoconf: check-autoconf
2864 check-autoconf:
2865 @r=`${PWD_COMMAND}`; export r; \
2866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2867 $(HOST_EXPORTS) \
2868 (cd $(HOST_SUBDIR)/autoconf && \
2869 $(MAKE) $(FLAGS_TO_PASS) check)
2871 @endif autoconf
2873 .PHONY: install-autoconf maybe-install-autoconf
2874 maybe-install-autoconf:
2875 @if autoconf
2876 maybe-install-autoconf: install-autoconf
2878 install-autoconf: installdirs
2879 @r=`${PWD_COMMAND}`; export r; \
2880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2881 $(HOST_EXPORTS) \
2882 (cd $(HOST_SUBDIR)/autoconf && \
2883 $(MAKE) $(FLAGS_TO_PASS) install)
2885 @endif autoconf
2887 # Other targets (info, dvi, etc.)
2889 .PHONY: maybe-info-autoconf info-autoconf
2890 maybe-info-autoconf:
2891 @if autoconf
2892 maybe-info-autoconf: info-autoconf
2894 info-autoconf: \
2895 configure-autoconf
2896 @[ -f ./autoconf/Makefile ] || exit 0; \
2897 r=`${PWD_COMMAND}`; export r; \
2898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2899 $(HOST_EXPORTS) \
2900 for flag in $(EXTRA_HOST_FLAGS) ; do \
2901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2902 done; \
2903 echo "Doing info in autoconf" ; \
2904 (cd $(HOST_SUBDIR)/autoconf && \
2905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2907 "RANLIB=$${RANLIB}" \
2908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2909 info) \
2910 || exit 1
2912 @endif autoconf
2914 .PHONY: maybe-dvi-autoconf dvi-autoconf
2915 maybe-dvi-autoconf:
2916 @if autoconf
2917 maybe-dvi-autoconf: dvi-autoconf
2919 dvi-autoconf: \
2920 configure-autoconf
2921 @[ -f ./autoconf/Makefile ] || exit 0; \
2922 r=`${PWD_COMMAND}`; export r; \
2923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2924 $(HOST_EXPORTS) \
2925 for flag in $(EXTRA_HOST_FLAGS) ; do \
2926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2927 done; \
2928 echo "Doing dvi in autoconf" ; \
2929 (cd $(HOST_SUBDIR)/autoconf && \
2930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2932 "RANLIB=$${RANLIB}" \
2933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2934 dvi) \
2935 || exit 1
2937 @endif autoconf
2939 .PHONY: maybe-html-autoconf html-autoconf
2940 maybe-html-autoconf:
2941 @if autoconf
2942 maybe-html-autoconf: html-autoconf
2944 html-autoconf: \
2945 configure-autoconf
2946 @[ -f ./autoconf/Makefile ] || exit 0; \
2947 r=`${PWD_COMMAND}`; export r; \
2948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2949 $(HOST_EXPORTS) \
2950 for flag in $(EXTRA_HOST_FLAGS) ; do \
2951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2952 done; \
2953 echo "Doing html in autoconf" ; \
2954 (cd $(HOST_SUBDIR)/autoconf && \
2955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2957 "RANLIB=$${RANLIB}" \
2958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2959 html) \
2960 || exit 1
2962 @endif autoconf
2964 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2965 maybe-TAGS-autoconf:
2966 @if autoconf
2967 maybe-TAGS-autoconf: TAGS-autoconf
2969 TAGS-autoconf: \
2970 configure-autoconf
2971 @[ -f ./autoconf/Makefile ] || exit 0; \
2972 r=`${PWD_COMMAND}`; export r; \
2973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2974 $(HOST_EXPORTS) \
2975 for flag in $(EXTRA_HOST_FLAGS) ; do \
2976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2977 done; \
2978 echo "Doing TAGS in autoconf" ; \
2979 (cd $(HOST_SUBDIR)/autoconf && \
2980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2982 "RANLIB=$${RANLIB}" \
2983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2984 TAGS) \
2985 || exit 1
2987 @endif autoconf
2989 .PHONY: maybe-install-info-autoconf install-info-autoconf
2990 maybe-install-info-autoconf:
2991 @if autoconf
2992 maybe-install-info-autoconf: install-info-autoconf
2994 install-info-autoconf: \
2995 configure-autoconf \
2996 info-autoconf
2997 @[ -f ./autoconf/Makefile ] || exit 0; \
2998 r=`${PWD_COMMAND}`; export r; \
2999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3000 $(HOST_EXPORTS) \
3001 for flag in $(EXTRA_HOST_FLAGS) ; do \
3002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3003 done; \
3004 echo "Doing install-info in autoconf" ; \
3005 (cd $(HOST_SUBDIR)/autoconf && \
3006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3008 "RANLIB=$${RANLIB}" \
3009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3010 install-info) \
3011 || exit 1
3013 @endif autoconf
3015 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3016 maybe-installcheck-autoconf:
3017 @if autoconf
3018 maybe-installcheck-autoconf: installcheck-autoconf
3020 installcheck-autoconf: \
3021 configure-autoconf
3022 @[ -f ./autoconf/Makefile ] || exit 0; \
3023 r=`${PWD_COMMAND}`; export r; \
3024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3025 $(HOST_EXPORTS) \
3026 for flag in $(EXTRA_HOST_FLAGS) ; do \
3027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3028 done; \
3029 echo "Doing installcheck in autoconf" ; \
3030 (cd $(HOST_SUBDIR)/autoconf && \
3031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3033 "RANLIB=$${RANLIB}" \
3034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3035 installcheck) \
3036 || exit 1
3038 @endif autoconf
3040 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3041 maybe-mostlyclean-autoconf:
3042 @if autoconf
3043 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3045 mostlyclean-autoconf:
3046 @[ -f ./autoconf/Makefile ] || exit 0; \
3047 r=`${PWD_COMMAND}`; export r; \
3048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3049 $(HOST_EXPORTS) \
3050 for flag in $(EXTRA_HOST_FLAGS) ; do \
3051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3052 done; \
3053 echo "Doing mostlyclean in autoconf" ; \
3054 (cd $(HOST_SUBDIR)/autoconf && \
3055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3057 "RANLIB=$${RANLIB}" \
3058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3059 mostlyclean) \
3060 || exit 1
3062 @endif autoconf
3064 .PHONY: maybe-clean-autoconf clean-autoconf
3065 maybe-clean-autoconf:
3066 @if autoconf
3067 maybe-clean-autoconf: clean-autoconf
3069 clean-autoconf:
3070 @[ -f ./autoconf/Makefile ] || exit 0; \
3071 r=`${PWD_COMMAND}`; export r; \
3072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3073 $(HOST_EXPORTS) \
3074 for flag in $(EXTRA_HOST_FLAGS) ; do \
3075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3076 done; \
3077 echo "Doing clean in autoconf" ; \
3078 (cd $(HOST_SUBDIR)/autoconf && \
3079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3081 "RANLIB=$${RANLIB}" \
3082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3083 clean) \
3084 || exit 1
3086 @endif autoconf
3088 .PHONY: maybe-distclean-autoconf distclean-autoconf
3089 maybe-distclean-autoconf:
3090 @if autoconf
3091 maybe-distclean-autoconf: distclean-autoconf
3093 distclean-autoconf:
3094 @[ -f ./autoconf/Makefile ] || exit 0; \
3095 r=`${PWD_COMMAND}`; export r; \
3096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3097 $(HOST_EXPORTS) \
3098 for flag in $(EXTRA_HOST_FLAGS) ; do \
3099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3100 done; \
3101 echo "Doing distclean in autoconf" ; \
3102 (cd $(HOST_SUBDIR)/autoconf && \
3103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3105 "RANLIB=$${RANLIB}" \
3106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3107 distclean) \
3108 || exit 1
3110 @endif autoconf
3112 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3113 maybe-maintainer-clean-autoconf:
3114 @if autoconf
3115 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3117 maintainer-clean-autoconf:
3118 @[ -f ./autoconf/Makefile ] || exit 0; \
3119 r=`${PWD_COMMAND}`; export r; \
3120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3121 $(HOST_EXPORTS) \
3122 for flag in $(EXTRA_HOST_FLAGS) ; do \
3123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3124 done; \
3125 echo "Doing maintainer-clean in autoconf" ; \
3126 (cd $(HOST_SUBDIR)/autoconf && \
3127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3129 "RANLIB=$${RANLIB}" \
3130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3131 maintainer-clean) \
3132 || exit 1
3134 @endif autoconf
3138 .PHONY: configure-automake maybe-configure-automake
3139 maybe-configure-automake:
3140 @if automake
3141 maybe-configure-automake: configure-automake
3142 configure-automake:
3143 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3145 r=`${PWD_COMMAND}`; export r; \
3146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3147 $(HOST_EXPORTS) \
3148 echo Configuring in $(HOST_SUBDIR)/automake; \
3149 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3150 case $(srcdir) in \
3151 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3152 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3153 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3154 esac; \
3155 srcdiroption="--srcdir=$${topdir}/automake"; \
3156 libsrcdir="$$s/automake"; \
3157 $(SHELL) $${libsrcdir}/configure \
3158 $(HOST_CONFIGARGS) $${srcdiroption} \
3159 || exit 1
3160 @endif automake
3164 .PHONY: all-automake maybe-all-automake
3165 maybe-all-automake:
3166 @if automake
3167 TARGET-automake=all
3168 maybe-all-automake: all-automake
3169 all-automake: configure-automake
3170 @r=`${PWD_COMMAND}`; export r; \
3171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3172 $(HOST_EXPORTS) \
3173 (cd $(HOST_SUBDIR)/automake && \
3174 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3175 @endif automake
3178 .PHONY: check-automake maybe-check-automake
3179 maybe-check-automake:
3180 @if automake
3181 maybe-check-automake: check-automake
3183 check-automake:
3184 @r=`${PWD_COMMAND}`; export r; \
3185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3186 $(HOST_EXPORTS) \
3187 (cd $(HOST_SUBDIR)/automake && \
3188 $(MAKE) $(FLAGS_TO_PASS) check)
3190 @endif automake
3192 .PHONY: install-automake maybe-install-automake
3193 maybe-install-automake:
3194 @if automake
3195 maybe-install-automake: install-automake
3197 install-automake: installdirs
3198 @r=`${PWD_COMMAND}`; export r; \
3199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3200 $(HOST_EXPORTS) \
3201 (cd $(HOST_SUBDIR)/automake && \
3202 $(MAKE) $(FLAGS_TO_PASS) install)
3204 @endif automake
3206 # Other targets (info, dvi, etc.)
3208 .PHONY: maybe-info-automake info-automake
3209 maybe-info-automake:
3210 @if automake
3211 maybe-info-automake: info-automake
3213 info-automake: \
3214 configure-automake
3215 @[ -f ./automake/Makefile ] || exit 0; \
3216 r=`${PWD_COMMAND}`; export r; \
3217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3218 $(HOST_EXPORTS) \
3219 for flag in $(EXTRA_HOST_FLAGS) ; do \
3220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3221 done; \
3222 echo "Doing info in automake" ; \
3223 (cd $(HOST_SUBDIR)/automake && \
3224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3226 "RANLIB=$${RANLIB}" \
3227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3228 info) \
3229 || exit 1
3231 @endif automake
3233 .PHONY: maybe-dvi-automake dvi-automake
3234 maybe-dvi-automake:
3235 @if automake
3236 maybe-dvi-automake: dvi-automake
3238 dvi-automake: \
3239 configure-automake
3240 @[ -f ./automake/Makefile ] || exit 0; \
3241 r=`${PWD_COMMAND}`; export r; \
3242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3243 $(HOST_EXPORTS) \
3244 for flag in $(EXTRA_HOST_FLAGS) ; do \
3245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3246 done; \
3247 echo "Doing dvi in automake" ; \
3248 (cd $(HOST_SUBDIR)/automake && \
3249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3251 "RANLIB=$${RANLIB}" \
3252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3253 dvi) \
3254 || exit 1
3256 @endif automake
3258 .PHONY: maybe-html-automake html-automake
3259 maybe-html-automake:
3260 @if automake
3261 maybe-html-automake: html-automake
3263 html-automake: \
3264 configure-automake
3265 @[ -f ./automake/Makefile ] || exit 0; \
3266 r=`${PWD_COMMAND}`; export r; \
3267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3268 $(HOST_EXPORTS) \
3269 for flag in $(EXTRA_HOST_FLAGS) ; do \
3270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3271 done; \
3272 echo "Doing html in automake" ; \
3273 (cd $(HOST_SUBDIR)/automake && \
3274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3276 "RANLIB=$${RANLIB}" \
3277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3278 html) \
3279 || exit 1
3281 @endif automake
3283 .PHONY: maybe-TAGS-automake TAGS-automake
3284 maybe-TAGS-automake:
3285 @if automake
3286 maybe-TAGS-automake: TAGS-automake
3288 TAGS-automake: \
3289 configure-automake
3290 @[ -f ./automake/Makefile ] || exit 0; \
3291 r=`${PWD_COMMAND}`; export r; \
3292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3293 $(HOST_EXPORTS) \
3294 for flag in $(EXTRA_HOST_FLAGS) ; do \
3295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3296 done; \
3297 echo "Doing TAGS in automake" ; \
3298 (cd $(HOST_SUBDIR)/automake && \
3299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3301 "RANLIB=$${RANLIB}" \
3302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3303 TAGS) \
3304 || exit 1
3306 @endif automake
3308 .PHONY: maybe-install-info-automake install-info-automake
3309 maybe-install-info-automake:
3310 @if automake
3311 maybe-install-info-automake: install-info-automake
3313 install-info-automake: \
3314 configure-automake \
3315 info-automake
3316 @[ -f ./automake/Makefile ] || exit 0; \
3317 r=`${PWD_COMMAND}`; export r; \
3318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3319 $(HOST_EXPORTS) \
3320 for flag in $(EXTRA_HOST_FLAGS) ; do \
3321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3322 done; \
3323 echo "Doing install-info in automake" ; \
3324 (cd $(HOST_SUBDIR)/automake && \
3325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3327 "RANLIB=$${RANLIB}" \
3328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3329 install-info) \
3330 || exit 1
3332 @endif automake
3334 .PHONY: maybe-installcheck-automake installcheck-automake
3335 maybe-installcheck-automake:
3336 @if automake
3337 maybe-installcheck-automake: installcheck-automake
3339 installcheck-automake: \
3340 configure-automake
3341 @[ -f ./automake/Makefile ] || exit 0; \
3342 r=`${PWD_COMMAND}`; export r; \
3343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3344 $(HOST_EXPORTS) \
3345 for flag in $(EXTRA_HOST_FLAGS) ; do \
3346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3347 done; \
3348 echo "Doing installcheck in automake" ; \
3349 (cd $(HOST_SUBDIR)/automake && \
3350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3352 "RANLIB=$${RANLIB}" \
3353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3354 installcheck) \
3355 || exit 1
3357 @endif automake
3359 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3360 maybe-mostlyclean-automake:
3361 @if automake
3362 maybe-mostlyclean-automake: mostlyclean-automake
3364 mostlyclean-automake:
3365 @[ -f ./automake/Makefile ] || exit 0; \
3366 r=`${PWD_COMMAND}`; export r; \
3367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3368 $(HOST_EXPORTS) \
3369 for flag in $(EXTRA_HOST_FLAGS) ; do \
3370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3371 done; \
3372 echo "Doing mostlyclean in automake" ; \
3373 (cd $(HOST_SUBDIR)/automake && \
3374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3376 "RANLIB=$${RANLIB}" \
3377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3378 mostlyclean) \
3379 || exit 1
3381 @endif automake
3383 .PHONY: maybe-clean-automake clean-automake
3384 maybe-clean-automake:
3385 @if automake
3386 maybe-clean-automake: clean-automake
3388 clean-automake:
3389 @[ -f ./automake/Makefile ] || exit 0; \
3390 r=`${PWD_COMMAND}`; export r; \
3391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3392 $(HOST_EXPORTS) \
3393 for flag in $(EXTRA_HOST_FLAGS) ; do \
3394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3395 done; \
3396 echo "Doing clean in automake" ; \
3397 (cd $(HOST_SUBDIR)/automake && \
3398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3400 "RANLIB=$${RANLIB}" \
3401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3402 clean) \
3403 || exit 1
3405 @endif automake
3407 .PHONY: maybe-distclean-automake distclean-automake
3408 maybe-distclean-automake:
3409 @if automake
3410 maybe-distclean-automake: distclean-automake
3412 distclean-automake:
3413 @[ -f ./automake/Makefile ] || exit 0; \
3414 r=`${PWD_COMMAND}`; export r; \
3415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3416 $(HOST_EXPORTS) \
3417 for flag in $(EXTRA_HOST_FLAGS) ; do \
3418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3419 done; \
3420 echo "Doing distclean in automake" ; \
3421 (cd $(HOST_SUBDIR)/automake && \
3422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3424 "RANLIB=$${RANLIB}" \
3425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3426 distclean) \
3427 || exit 1
3429 @endif automake
3431 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3432 maybe-maintainer-clean-automake:
3433 @if automake
3434 maybe-maintainer-clean-automake: maintainer-clean-automake
3436 maintainer-clean-automake:
3437 @[ -f ./automake/Makefile ] || exit 0; \
3438 r=`${PWD_COMMAND}`; export r; \
3439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3440 $(HOST_EXPORTS) \
3441 for flag in $(EXTRA_HOST_FLAGS) ; do \
3442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3443 done; \
3444 echo "Doing maintainer-clean in automake" ; \
3445 (cd $(HOST_SUBDIR)/automake && \
3446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3448 "RANLIB=$${RANLIB}" \
3449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3450 maintainer-clean) \
3451 || exit 1
3453 @endif automake
3457 .PHONY: configure-bash maybe-configure-bash
3458 maybe-configure-bash:
3459 @if bash
3460 maybe-configure-bash: configure-bash
3461 configure-bash:
3462 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3464 r=`${PWD_COMMAND}`; export r; \
3465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3466 $(HOST_EXPORTS) \
3467 echo Configuring in $(HOST_SUBDIR)/bash; \
3468 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3469 case $(srcdir) in \
3470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3471 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3473 esac; \
3474 srcdiroption="--srcdir=$${topdir}/bash"; \
3475 libsrcdir="$$s/bash"; \
3476 $(SHELL) $${libsrcdir}/configure \
3477 $(HOST_CONFIGARGS) $${srcdiroption} \
3478 || exit 1
3479 @endif bash
3483 .PHONY: all-bash maybe-all-bash
3484 maybe-all-bash:
3485 @if bash
3486 TARGET-bash=all
3487 maybe-all-bash: all-bash
3488 all-bash: configure-bash
3489 @r=`${PWD_COMMAND}`; export r; \
3490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3491 $(HOST_EXPORTS) \
3492 (cd $(HOST_SUBDIR)/bash && \
3493 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3494 @endif bash
3497 .PHONY: check-bash maybe-check-bash
3498 maybe-check-bash:
3499 @if bash
3500 maybe-check-bash: check-bash
3502 check-bash:
3503 @r=`${PWD_COMMAND}`; export r; \
3504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3505 $(HOST_EXPORTS) \
3506 (cd $(HOST_SUBDIR)/bash && \
3507 $(MAKE) $(FLAGS_TO_PASS) check)
3509 @endif bash
3511 .PHONY: install-bash maybe-install-bash
3512 maybe-install-bash:
3513 @if bash
3514 maybe-install-bash: install-bash
3516 install-bash: installdirs
3517 @r=`${PWD_COMMAND}`; export r; \
3518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3519 $(HOST_EXPORTS) \
3520 (cd $(HOST_SUBDIR)/bash && \
3521 $(MAKE) $(FLAGS_TO_PASS) install)
3523 @endif bash
3525 # Other targets (info, dvi, etc.)
3527 .PHONY: maybe-info-bash info-bash
3528 maybe-info-bash:
3529 @if bash
3530 maybe-info-bash: info-bash
3532 info-bash: \
3533 configure-bash
3534 @[ -f ./bash/Makefile ] || exit 0; \
3535 r=`${PWD_COMMAND}`; export r; \
3536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3537 $(HOST_EXPORTS) \
3538 for flag in $(EXTRA_HOST_FLAGS) ; do \
3539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3540 done; \
3541 echo "Doing info in bash" ; \
3542 (cd $(HOST_SUBDIR)/bash && \
3543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3545 "RANLIB=$${RANLIB}" \
3546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3547 info) \
3548 || exit 1
3550 @endif bash
3552 .PHONY: maybe-dvi-bash dvi-bash
3553 maybe-dvi-bash:
3554 @if bash
3555 maybe-dvi-bash: dvi-bash
3557 dvi-bash: \
3558 configure-bash
3559 @[ -f ./bash/Makefile ] || exit 0; \
3560 r=`${PWD_COMMAND}`; export r; \
3561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3562 $(HOST_EXPORTS) \
3563 for flag in $(EXTRA_HOST_FLAGS) ; do \
3564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3565 done; \
3566 echo "Doing dvi in bash" ; \
3567 (cd $(HOST_SUBDIR)/bash && \
3568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3570 "RANLIB=$${RANLIB}" \
3571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3572 dvi) \
3573 || exit 1
3575 @endif bash
3577 .PHONY: maybe-html-bash html-bash
3578 maybe-html-bash:
3579 @if bash
3580 maybe-html-bash: html-bash
3582 html-bash: \
3583 configure-bash
3584 @[ -f ./bash/Makefile ] || exit 0; \
3585 r=`${PWD_COMMAND}`; export r; \
3586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 $(HOST_EXPORTS) \
3613 for flag in $(EXTRA_HOST_FLAGS) ; do \
3614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3615 done; \
3616 echo "Doing TAGS in bash" ; \
3617 (cd $(HOST_SUBDIR)/bash && \
3618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3620 "RANLIB=$${RANLIB}" \
3621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3622 TAGS) \
3623 || exit 1
3625 @endif bash
3627 .PHONY: maybe-install-info-bash install-info-bash
3628 maybe-install-info-bash:
3629 @if bash
3630 maybe-install-info-bash: install-info-bash
3632 install-info-bash: \
3633 configure-bash \
3634 info-bash
3635 @[ -f ./bash/Makefile ] || exit 0; \
3636 r=`${PWD_COMMAND}`; export r; \
3637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3638 $(HOST_EXPORTS) \
3639 for flag in $(EXTRA_HOST_FLAGS) ; do \
3640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3641 done; \
3642 echo "Doing install-info in bash" ; \
3643 (cd $(HOST_SUBDIR)/bash && \
3644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3646 "RANLIB=$${RANLIB}" \
3647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3648 install-info) \
3649 || exit 1
3651 @endif bash
3653 .PHONY: maybe-installcheck-bash installcheck-bash
3654 maybe-installcheck-bash:
3655 @if bash
3656 maybe-installcheck-bash: installcheck-bash
3658 installcheck-bash: \
3659 configure-bash
3660 @[ -f ./bash/Makefile ] || exit 0; \
3661 r=`${PWD_COMMAND}`; export r; \
3662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3663 $(HOST_EXPORTS) \
3664 for flag in $(EXTRA_HOST_FLAGS) ; do \
3665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3666 done; \
3667 echo "Doing installcheck in bash" ; \
3668 (cd $(HOST_SUBDIR)/bash && \
3669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3671 "RANLIB=$${RANLIB}" \
3672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3673 installcheck) \
3674 || exit 1
3676 @endif bash
3678 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3679 maybe-mostlyclean-bash:
3680 @if bash
3681 maybe-mostlyclean-bash: mostlyclean-bash
3683 mostlyclean-bash:
3684 @[ -f ./bash/Makefile ] || exit 0; \
3685 r=`${PWD_COMMAND}`; export r; \
3686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3687 $(HOST_EXPORTS) \
3688 for flag in $(EXTRA_HOST_FLAGS) ; do \
3689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3690 done; \
3691 echo "Doing mostlyclean in bash" ; \
3692 (cd $(HOST_SUBDIR)/bash && \
3693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3695 "RANLIB=$${RANLIB}" \
3696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3697 mostlyclean) \
3698 || exit 1
3700 @endif bash
3702 .PHONY: maybe-clean-bash clean-bash
3703 maybe-clean-bash:
3704 @if bash
3705 maybe-clean-bash: clean-bash
3707 clean-bash:
3708 @[ -f ./bash/Makefile ] || exit 0; \
3709 r=`${PWD_COMMAND}`; export r; \
3710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3711 $(HOST_EXPORTS) \
3712 for flag in $(EXTRA_HOST_FLAGS) ; do \
3713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3714 done; \
3715 echo "Doing clean in bash" ; \
3716 (cd $(HOST_SUBDIR)/bash && \
3717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3719 "RANLIB=$${RANLIB}" \
3720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3721 clean) \
3722 || exit 1
3724 @endif bash
3726 .PHONY: maybe-distclean-bash distclean-bash
3727 maybe-distclean-bash:
3728 @if bash
3729 maybe-distclean-bash: distclean-bash
3731 distclean-bash:
3732 @[ -f ./bash/Makefile ] || exit 0; \
3733 r=`${PWD_COMMAND}`; export r; \
3734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3735 $(HOST_EXPORTS) \
3736 for flag in $(EXTRA_HOST_FLAGS) ; do \
3737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3738 done; \
3739 echo "Doing distclean in bash" ; \
3740 (cd $(HOST_SUBDIR)/bash && \
3741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3743 "RANLIB=$${RANLIB}" \
3744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3745 distclean) \
3746 || exit 1
3748 @endif bash
3750 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3751 maybe-maintainer-clean-bash:
3752 @if bash
3753 maybe-maintainer-clean-bash: maintainer-clean-bash
3755 maintainer-clean-bash:
3756 @[ -f ./bash/Makefile ] || exit 0; \
3757 r=`${PWD_COMMAND}`; export r; \
3758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3759 $(HOST_EXPORTS) \
3760 for flag in $(EXTRA_HOST_FLAGS) ; do \
3761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3762 done; \
3763 echo "Doing maintainer-clean in bash" ; \
3764 (cd $(HOST_SUBDIR)/bash && \
3765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3767 "RANLIB=$${RANLIB}" \
3768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3769 maintainer-clean) \
3770 || exit 1
3772 @endif bash
3776 .PHONY: configure-bfd maybe-configure-bfd
3777 maybe-configure-bfd:
3778 @if bfd
3779 maybe-configure-bfd: configure-bfd
3780 configure-bfd:
3781 @test -f stage_last && exit 0; \
3782 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3783 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3784 r=`${PWD_COMMAND}`; export r; \
3785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3786 $(HOST_EXPORTS) \
3787 echo Configuring in $(HOST_SUBDIR)/bfd; \
3788 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3789 case $(srcdir) in \
3790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3791 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3793 esac; \
3794 srcdiroption="--srcdir=$${topdir}/bfd"; \
3795 libsrcdir="$$s/bfd"; \
3796 $(SHELL) $${libsrcdir}/configure \
3797 $(HOST_CONFIGARGS) $${srcdiroption} \
3798 || exit 1
3799 @endif bfd
3803 .PHONY: all-bfd maybe-all-bfd
3804 maybe-all-bfd:
3805 @if bfd
3806 TARGET-bfd=all
3807 maybe-all-bfd: all-bfd
3808 all-bfd: configure-bfd
3809 @test -f stage_last && exit 0; \
3810 r=`${PWD_COMMAND}`; export r; \
3811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3812 $(HOST_EXPORTS) \
3813 (cd $(HOST_SUBDIR)/bfd && \
3814 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
3815 @endif bfd
3818 .PHONY: check-bfd maybe-check-bfd
3819 maybe-check-bfd:
3820 @if bfd
3821 maybe-check-bfd: check-bfd
3823 check-bfd:
3824 @r=`${PWD_COMMAND}`; export r; \
3825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3826 $(HOST_EXPORTS) \
3827 (cd $(HOST_SUBDIR)/bfd && \
3828 $(MAKE) $(FLAGS_TO_PASS) check)
3830 @endif bfd
3832 .PHONY: install-bfd maybe-install-bfd
3833 maybe-install-bfd:
3834 @if bfd
3835 maybe-install-bfd: install-bfd
3837 install-bfd: installdirs
3838 @r=`${PWD_COMMAND}`; export r; \
3839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3840 $(HOST_EXPORTS) \
3841 (cd $(HOST_SUBDIR)/bfd && \
3842 $(MAKE) $(FLAGS_TO_PASS) install)
3844 @endif bfd
3846 # Other targets (info, dvi, etc.)
3848 .PHONY: maybe-info-bfd info-bfd
3849 maybe-info-bfd:
3850 @if bfd
3851 maybe-info-bfd: info-bfd
3853 info-bfd: \
3854 configure-bfd
3855 @[ -f ./bfd/Makefile ] || exit 0; \
3856 r=`${PWD_COMMAND}`; export r; \
3857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3858 $(HOST_EXPORTS) \
3859 for flag in $(EXTRA_HOST_FLAGS) ; do \
3860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3861 done; \
3862 echo "Doing info in bfd" ; \
3863 (cd $(HOST_SUBDIR)/bfd && \
3864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3866 "RANLIB=$${RANLIB}" \
3867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3868 info) \
3869 || exit 1
3871 @endif bfd
3873 .PHONY: maybe-dvi-bfd dvi-bfd
3874 maybe-dvi-bfd:
3875 @if bfd
3876 maybe-dvi-bfd: dvi-bfd
3878 dvi-bfd: \
3879 configure-bfd
3880 @[ -f ./bfd/Makefile ] || exit 0; \
3881 r=`${PWD_COMMAND}`; export r; \
3882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3883 $(HOST_EXPORTS) \
3884 for flag in $(EXTRA_HOST_FLAGS) ; do \
3885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3886 done; \
3887 echo "Doing dvi in bfd" ; \
3888 (cd $(HOST_SUBDIR)/bfd && \
3889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3891 "RANLIB=$${RANLIB}" \
3892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3893 dvi) \
3894 || exit 1
3896 @endif bfd
3898 .PHONY: maybe-html-bfd html-bfd
3899 maybe-html-bfd:
3900 @if bfd
3901 maybe-html-bfd: html-bfd
3903 html-bfd: \
3904 configure-bfd
3905 @[ -f ./bfd/Makefile ] || exit 0; \
3906 r=`${PWD_COMMAND}`; export r; \
3907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3908 $(HOST_EXPORTS) \
3909 for flag in $(EXTRA_HOST_FLAGS) ; do \
3910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3911 done; \
3912 echo "Doing html in bfd" ; \
3913 (cd $(HOST_SUBDIR)/bfd && \
3914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3916 "RANLIB=$${RANLIB}" \
3917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3918 html) \
3919 || exit 1
3921 @endif bfd
3923 .PHONY: maybe-TAGS-bfd TAGS-bfd
3924 maybe-TAGS-bfd:
3925 @if bfd
3926 maybe-TAGS-bfd: TAGS-bfd
3928 TAGS-bfd: \
3929 configure-bfd
3930 @[ -f ./bfd/Makefile ] || exit 0; \
3931 r=`${PWD_COMMAND}`; export r; \
3932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3933 $(HOST_EXPORTS) \
3934 for flag in $(EXTRA_HOST_FLAGS) ; do \
3935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3936 done; \
3937 echo "Doing TAGS in bfd" ; \
3938 (cd $(HOST_SUBDIR)/bfd && \
3939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3941 "RANLIB=$${RANLIB}" \
3942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3943 TAGS) \
3944 || exit 1
3946 @endif bfd
3948 .PHONY: maybe-install-info-bfd install-info-bfd
3949 maybe-install-info-bfd:
3950 @if bfd
3951 maybe-install-info-bfd: install-info-bfd
3953 install-info-bfd: \
3954 configure-bfd \
3955 info-bfd
3956 @[ -f ./bfd/Makefile ] || exit 0; \
3957 r=`${PWD_COMMAND}`; export r; \
3958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3959 $(HOST_EXPORTS) \
3960 for flag in $(EXTRA_HOST_FLAGS) ; do \
3961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3962 done; \
3963 echo "Doing install-info in bfd" ; \
3964 (cd $(HOST_SUBDIR)/bfd && \
3965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3967 "RANLIB=$${RANLIB}" \
3968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3969 install-info) \
3970 || exit 1
3972 @endif bfd
3974 .PHONY: maybe-installcheck-bfd installcheck-bfd
3975 maybe-installcheck-bfd:
3976 @if bfd
3977 maybe-installcheck-bfd: installcheck-bfd
3979 installcheck-bfd: \
3980 configure-bfd
3981 @[ -f ./bfd/Makefile ] || exit 0; \
3982 r=`${PWD_COMMAND}`; export r; \
3983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3984 $(HOST_EXPORTS) \
3985 for flag in $(EXTRA_HOST_FLAGS) ; do \
3986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3987 done; \
3988 echo "Doing installcheck in bfd" ; \
3989 (cd $(HOST_SUBDIR)/bfd && \
3990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3992 "RANLIB=$${RANLIB}" \
3993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3994 installcheck) \
3995 || exit 1
3997 @endif bfd
3999 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4000 maybe-mostlyclean-bfd:
4001 @if bfd
4002 maybe-mostlyclean-bfd: mostlyclean-bfd
4004 mostlyclean-bfd:
4005 @[ -f ./bfd/Makefile ] || exit 0; \
4006 r=`${PWD_COMMAND}`; export r; \
4007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4008 $(HOST_EXPORTS) \
4009 for flag in $(EXTRA_HOST_FLAGS) ; do \
4010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4011 done; \
4012 echo "Doing mostlyclean in bfd" ; \
4013 (cd $(HOST_SUBDIR)/bfd && \
4014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4016 "RANLIB=$${RANLIB}" \
4017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4018 mostlyclean) \
4019 || exit 1
4021 @endif bfd
4023 .PHONY: maybe-clean-bfd clean-bfd
4024 maybe-clean-bfd:
4025 @if bfd
4026 maybe-clean-bfd: clean-bfd
4028 clean-bfd:
4029 @[ -f ./bfd/Makefile ] || exit 0; \
4030 r=`${PWD_COMMAND}`; export r; \
4031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4032 $(HOST_EXPORTS) \
4033 for flag in $(EXTRA_HOST_FLAGS) ; do \
4034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4035 done; \
4036 echo "Doing clean in bfd" ; \
4037 (cd $(HOST_SUBDIR)/bfd && \
4038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4040 "RANLIB=$${RANLIB}" \
4041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4042 clean) \
4043 || exit 1
4045 @endif bfd
4047 .PHONY: maybe-distclean-bfd distclean-bfd
4048 maybe-distclean-bfd:
4049 @if bfd
4050 maybe-distclean-bfd: distclean-bfd
4052 distclean-bfd:
4053 @[ -f ./bfd/Makefile ] || exit 0; \
4054 r=`${PWD_COMMAND}`; export r; \
4055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4056 $(HOST_EXPORTS) \
4057 for flag in $(EXTRA_HOST_FLAGS) ; do \
4058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4059 done; \
4060 echo "Doing distclean in bfd" ; \
4061 (cd $(HOST_SUBDIR)/bfd && \
4062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4064 "RANLIB=$${RANLIB}" \
4065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4066 distclean) \
4067 || exit 1
4069 @endif bfd
4071 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4072 maybe-maintainer-clean-bfd:
4073 @if bfd
4074 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4076 maintainer-clean-bfd:
4077 @[ -f ./bfd/Makefile ] || exit 0; \
4078 r=`${PWD_COMMAND}`; export r; \
4079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4080 $(HOST_EXPORTS) \
4081 for flag in $(EXTRA_HOST_FLAGS) ; do \
4082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4083 done; \
4084 echo "Doing maintainer-clean in bfd" ; \
4085 (cd $(HOST_SUBDIR)/bfd && \
4086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4088 "RANLIB=$${RANLIB}" \
4089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4090 maintainer-clean) \
4091 || exit 1
4093 @endif bfd
4097 .PHONY: configure-opcodes maybe-configure-opcodes
4098 maybe-configure-opcodes:
4099 @if opcodes
4100 maybe-configure-opcodes: configure-opcodes
4101 configure-opcodes:
4102 @test -f stage_last && exit 0; \
4103 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4104 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4105 r=`${PWD_COMMAND}`; export r; \
4106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4107 $(HOST_EXPORTS) \
4108 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4109 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4110 case $(srcdir) in \
4111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4112 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4114 esac; \
4115 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4116 libsrcdir="$$s/opcodes"; \
4117 $(SHELL) $${libsrcdir}/configure \
4118 $(HOST_CONFIGARGS) $${srcdiroption} \
4119 || exit 1
4120 @endif opcodes
4124 .PHONY: all-opcodes maybe-all-opcodes
4125 maybe-all-opcodes:
4126 @if opcodes
4127 TARGET-opcodes=all
4128 maybe-all-opcodes: all-opcodes
4129 all-opcodes: configure-opcodes
4130 @test -f stage_last && exit 0; \
4131 r=`${PWD_COMMAND}`; export r; \
4132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4133 $(HOST_EXPORTS) \
4134 (cd $(HOST_SUBDIR)/opcodes && \
4135 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4136 @endif opcodes
4139 .PHONY: check-opcodes maybe-check-opcodes
4140 maybe-check-opcodes:
4141 @if opcodes
4142 maybe-check-opcodes: check-opcodes
4144 check-opcodes:
4145 @r=`${PWD_COMMAND}`; export r; \
4146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4147 $(HOST_EXPORTS) \
4148 (cd $(HOST_SUBDIR)/opcodes && \
4149 $(MAKE) $(FLAGS_TO_PASS) check)
4151 @endif opcodes
4153 .PHONY: install-opcodes maybe-install-opcodes
4154 maybe-install-opcodes:
4155 @if opcodes
4156 maybe-install-opcodes: install-opcodes
4158 install-opcodes: installdirs
4159 @r=`${PWD_COMMAND}`; export r; \
4160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4161 $(HOST_EXPORTS) \
4162 (cd $(HOST_SUBDIR)/opcodes && \
4163 $(MAKE) $(FLAGS_TO_PASS) install)
4165 @endif opcodes
4167 # Other targets (info, dvi, etc.)
4169 .PHONY: maybe-info-opcodes info-opcodes
4170 maybe-info-opcodes:
4171 @if opcodes
4172 maybe-info-opcodes: info-opcodes
4174 info-opcodes: \
4175 configure-opcodes
4176 @[ -f ./opcodes/Makefile ] || exit 0; \
4177 r=`${PWD_COMMAND}`; export r; \
4178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4179 $(HOST_EXPORTS) \
4180 for flag in $(EXTRA_HOST_FLAGS) ; do \
4181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4182 done; \
4183 echo "Doing info in opcodes" ; \
4184 (cd $(HOST_SUBDIR)/opcodes && \
4185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4187 "RANLIB=$${RANLIB}" \
4188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4189 info) \
4190 || exit 1
4192 @endif opcodes
4194 .PHONY: maybe-dvi-opcodes dvi-opcodes
4195 maybe-dvi-opcodes:
4196 @if opcodes
4197 maybe-dvi-opcodes: dvi-opcodes
4199 dvi-opcodes: \
4200 configure-opcodes
4201 @[ -f ./opcodes/Makefile ] || exit 0; \
4202 r=`${PWD_COMMAND}`; export r; \
4203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4204 $(HOST_EXPORTS) \
4205 for flag in $(EXTRA_HOST_FLAGS) ; do \
4206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4207 done; \
4208 echo "Doing dvi in opcodes" ; \
4209 (cd $(HOST_SUBDIR)/opcodes && \
4210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4212 "RANLIB=$${RANLIB}" \
4213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4214 dvi) \
4215 || exit 1
4217 @endif opcodes
4219 .PHONY: maybe-html-opcodes html-opcodes
4220 maybe-html-opcodes:
4221 @if opcodes
4222 maybe-html-opcodes: html-opcodes
4224 html-opcodes: \
4225 configure-opcodes
4226 @[ -f ./opcodes/Makefile ] || exit 0; \
4227 r=`${PWD_COMMAND}`; export r; \
4228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4229 $(HOST_EXPORTS) \
4230 for flag in $(EXTRA_HOST_FLAGS) ; do \
4231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4232 done; \
4233 echo "Doing html in opcodes" ; \
4234 (cd $(HOST_SUBDIR)/opcodes && \
4235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4237 "RANLIB=$${RANLIB}" \
4238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4239 html) \
4240 || exit 1
4242 @endif opcodes
4244 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4245 maybe-TAGS-opcodes:
4246 @if opcodes
4247 maybe-TAGS-opcodes: TAGS-opcodes
4249 TAGS-opcodes: \
4250 configure-opcodes
4251 @[ -f ./opcodes/Makefile ] || exit 0; \
4252 r=`${PWD_COMMAND}`; export r; \
4253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4254 $(HOST_EXPORTS) \
4255 for flag in $(EXTRA_HOST_FLAGS) ; do \
4256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4257 done; \
4258 echo "Doing TAGS in opcodes" ; \
4259 (cd $(HOST_SUBDIR)/opcodes && \
4260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4262 "RANLIB=$${RANLIB}" \
4263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4264 TAGS) \
4265 || exit 1
4267 @endif opcodes
4269 .PHONY: maybe-install-info-opcodes install-info-opcodes
4270 maybe-install-info-opcodes:
4271 @if opcodes
4272 maybe-install-info-opcodes: install-info-opcodes
4274 install-info-opcodes: \
4275 configure-opcodes \
4276 info-opcodes
4277 @[ -f ./opcodes/Makefile ] || exit 0; \
4278 r=`${PWD_COMMAND}`; export r; \
4279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4280 $(HOST_EXPORTS) \
4281 for flag in $(EXTRA_HOST_FLAGS) ; do \
4282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4283 done; \
4284 echo "Doing install-info in opcodes" ; \
4285 (cd $(HOST_SUBDIR)/opcodes && \
4286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4288 "RANLIB=$${RANLIB}" \
4289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4290 install-info) \
4291 || exit 1
4293 @endif opcodes
4295 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4296 maybe-installcheck-opcodes:
4297 @if opcodes
4298 maybe-installcheck-opcodes: installcheck-opcodes
4300 installcheck-opcodes: \
4301 configure-opcodes
4302 @[ -f ./opcodes/Makefile ] || exit 0; \
4303 r=`${PWD_COMMAND}`; export r; \
4304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4305 $(HOST_EXPORTS) \
4306 for flag in $(EXTRA_HOST_FLAGS) ; do \
4307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4308 done; \
4309 echo "Doing installcheck in opcodes" ; \
4310 (cd $(HOST_SUBDIR)/opcodes && \
4311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4313 "RANLIB=$${RANLIB}" \
4314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4315 installcheck) \
4316 || exit 1
4318 @endif opcodes
4320 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4321 maybe-mostlyclean-opcodes:
4322 @if opcodes
4323 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4325 mostlyclean-opcodes:
4326 @[ -f ./opcodes/Makefile ] || exit 0; \
4327 r=`${PWD_COMMAND}`; export r; \
4328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4329 $(HOST_EXPORTS) \
4330 for flag in $(EXTRA_HOST_FLAGS) ; do \
4331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4332 done; \
4333 echo "Doing mostlyclean in opcodes" ; \
4334 (cd $(HOST_SUBDIR)/opcodes && \
4335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4337 "RANLIB=$${RANLIB}" \
4338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4339 mostlyclean) \
4340 || exit 1
4342 @endif opcodes
4344 .PHONY: maybe-clean-opcodes clean-opcodes
4345 maybe-clean-opcodes:
4346 @if opcodes
4347 maybe-clean-opcodes: clean-opcodes
4349 clean-opcodes:
4350 @[ -f ./opcodes/Makefile ] || exit 0; \
4351 r=`${PWD_COMMAND}`; export r; \
4352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4353 $(HOST_EXPORTS) \
4354 for flag in $(EXTRA_HOST_FLAGS) ; do \
4355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4356 done; \
4357 echo "Doing clean in opcodes" ; \
4358 (cd $(HOST_SUBDIR)/opcodes && \
4359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4361 "RANLIB=$${RANLIB}" \
4362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4363 clean) \
4364 || exit 1
4366 @endif opcodes
4368 .PHONY: maybe-distclean-opcodes distclean-opcodes
4369 maybe-distclean-opcodes:
4370 @if opcodes
4371 maybe-distclean-opcodes: distclean-opcodes
4373 distclean-opcodes:
4374 @[ -f ./opcodes/Makefile ] || exit 0; \
4375 r=`${PWD_COMMAND}`; export r; \
4376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4377 $(HOST_EXPORTS) \
4378 for flag in $(EXTRA_HOST_FLAGS) ; do \
4379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4380 done; \
4381 echo "Doing distclean in opcodes" ; \
4382 (cd $(HOST_SUBDIR)/opcodes && \
4383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4385 "RANLIB=$${RANLIB}" \
4386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4387 distclean) \
4388 || exit 1
4390 @endif opcodes
4392 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4393 maybe-maintainer-clean-opcodes:
4394 @if opcodes
4395 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4397 maintainer-clean-opcodes:
4398 @[ -f ./opcodes/Makefile ] || exit 0; \
4399 r=`${PWD_COMMAND}`; export r; \
4400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 maintainer-clean 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 maintainer-clean) \
4412 || exit 1
4414 @endif opcodes
4418 .PHONY: configure-binutils maybe-configure-binutils
4419 maybe-configure-binutils:
4420 @if binutils
4421 maybe-configure-binutils: configure-binutils
4422 configure-binutils:
4423 @test -f stage_last && exit 0; \
4424 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4425 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4426 r=`${PWD_COMMAND}`; export r; \
4427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4428 $(HOST_EXPORTS) \
4429 echo Configuring in $(HOST_SUBDIR)/binutils; \
4430 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4431 case $(srcdir) in \
4432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4433 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4435 esac; \
4436 srcdiroption="--srcdir=$${topdir}/binutils"; \
4437 libsrcdir="$$s/binutils"; \
4438 $(SHELL) $${libsrcdir}/configure \
4439 $(HOST_CONFIGARGS) $${srcdiroption} \
4440 || exit 1
4441 @endif binutils
4445 .PHONY: all-binutils maybe-all-binutils
4446 maybe-all-binutils:
4447 @if binutils
4448 TARGET-binutils=all
4449 maybe-all-binutils: all-binutils
4450 all-binutils: configure-binutils
4451 @test -f stage_last && exit 0; \
4452 r=`${PWD_COMMAND}`; export r; \
4453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4454 $(HOST_EXPORTS) \
4455 (cd $(HOST_SUBDIR)/binutils && \
4456 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
4457 @endif binutils
4460 .PHONY: check-binutils maybe-check-binutils
4461 maybe-check-binutils:
4462 @if binutils
4463 maybe-check-binutils: check-binutils
4465 check-binutils:
4466 @r=`${PWD_COMMAND}`; export r; \
4467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4468 $(HOST_EXPORTS) \
4469 (cd $(HOST_SUBDIR)/binutils && \
4470 $(MAKE) $(FLAGS_TO_PASS) check)
4472 @endif binutils
4474 .PHONY: install-binutils maybe-install-binutils
4475 maybe-install-binutils:
4476 @if binutils
4477 maybe-install-binutils: install-binutils
4479 install-binutils: installdirs
4480 @r=`${PWD_COMMAND}`; export r; \
4481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4482 $(HOST_EXPORTS) \
4483 (cd $(HOST_SUBDIR)/binutils && \
4484 $(MAKE) $(FLAGS_TO_PASS) install)
4486 @endif binutils
4488 # Other targets (info, dvi, etc.)
4490 .PHONY: maybe-info-binutils info-binutils
4491 maybe-info-binutils:
4492 @if binutils
4493 maybe-info-binutils: info-binutils
4495 info-binutils: \
4496 configure-binutils
4497 @[ -f ./binutils/Makefile ] || exit 0; \
4498 r=`${PWD_COMMAND}`; export r; \
4499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4500 $(HOST_EXPORTS) \
4501 for flag in $(EXTRA_HOST_FLAGS) ; do \
4502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4503 done; \
4504 echo "Doing info in binutils" ; \
4505 (cd $(HOST_SUBDIR)/binutils && \
4506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4508 "RANLIB=$${RANLIB}" \
4509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4510 info) \
4511 || exit 1
4513 @endif binutils
4515 .PHONY: maybe-dvi-binutils dvi-binutils
4516 maybe-dvi-binutils:
4517 @if binutils
4518 maybe-dvi-binutils: dvi-binutils
4520 dvi-binutils: \
4521 configure-binutils
4522 @[ -f ./binutils/Makefile ] || exit 0; \
4523 r=`${PWD_COMMAND}`; export r; \
4524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 dvi 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 dvi) \
4536 || exit 1
4538 @endif binutils
4540 .PHONY: maybe-html-binutils html-binutils
4541 maybe-html-binutils:
4542 @if binutils
4543 maybe-html-binutils: html-binutils
4545 html-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 $(HOST_EXPORTS) \
4551 for flag in $(EXTRA_HOST_FLAGS) ; do \
4552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4553 done; \
4554 echo "Doing html in binutils" ; \
4555 (cd $(HOST_SUBDIR)/binutils && \
4556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4558 "RANLIB=$${RANLIB}" \
4559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4560 html) \
4561 || exit 1
4563 @endif binutils
4565 .PHONY: maybe-TAGS-binutils TAGS-binutils
4566 maybe-TAGS-binutils:
4567 @if binutils
4568 maybe-TAGS-binutils: TAGS-binutils
4570 TAGS-binutils: \
4571 configure-binutils
4572 @[ -f ./binutils/Makefile ] || exit 0; \
4573 r=`${PWD_COMMAND}`; export r; \
4574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4575 $(HOST_EXPORTS) \
4576 for flag in $(EXTRA_HOST_FLAGS) ; do \
4577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4578 done; \
4579 echo "Doing TAGS in binutils" ; \
4580 (cd $(HOST_SUBDIR)/binutils && \
4581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4583 "RANLIB=$${RANLIB}" \
4584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4585 TAGS) \
4586 || exit 1
4588 @endif binutils
4590 .PHONY: maybe-install-info-binutils install-info-binutils
4591 maybe-install-info-binutils:
4592 @if binutils
4593 maybe-install-info-binutils: install-info-binutils
4595 install-info-binutils: \
4596 configure-binutils \
4597 info-binutils
4598 @[ -f ./binutils/Makefile ] || exit 0; \
4599 r=`${PWD_COMMAND}`; export r; \
4600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4601 $(HOST_EXPORTS) \
4602 for flag in $(EXTRA_HOST_FLAGS) ; do \
4603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4604 done; \
4605 echo "Doing install-info in binutils" ; \
4606 (cd $(HOST_SUBDIR)/binutils && \
4607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4609 "RANLIB=$${RANLIB}" \
4610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4611 install-info) \
4612 || exit 1
4614 @endif binutils
4616 .PHONY: maybe-installcheck-binutils installcheck-binutils
4617 maybe-installcheck-binutils:
4618 @if binutils
4619 maybe-installcheck-binutils: installcheck-binutils
4621 installcheck-binutils: \
4622 configure-binutils
4623 @[ -f ./binutils/Makefile ] || exit 0; \
4624 r=`${PWD_COMMAND}`; export r; \
4625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4626 $(HOST_EXPORTS) \
4627 for flag in $(EXTRA_HOST_FLAGS) ; do \
4628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4629 done; \
4630 echo "Doing installcheck in binutils" ; \
4631 (cd $(HOST_SUBDIR)/binutils && \
4632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4634 "RANLIB=$${RANLIB}" \
4635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4636 installcheck) \
4637 || exit 1
4639 @endif binutils
4641 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4642 maybe-mostlyclean-binutils:
4643 @if binutils
4644 maybe-mostlyclean-binutils: mostlyclean-binutils
4646 mostlyclean-binutils:
4647 @[ -f ./binutils/Makefile ] || exit 0; \
4648 r=`${PWD_COMMAND}`; export r; \
4649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4650 $(HOST_EXPORTS) \
4651 for flag in $(EXTRA_HOST_FLAGS) ; do \
4652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4653 done; \
4654 echo "Doing mostlyclean in binutils" ; \
4655 (cd $(HOST_SUBDIR)/binutils && \
4656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4658 "RANLIB=$${RANLIB}" \
4659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4660 mostlyclean) \
4661 || exit 1
4663 @endif binutils
4665 .PHONY: maybe-clean-binutils clean-binutils
4666 maybe-clean-binutils:
4667 @if binutils
4668 maybe-clean-binutils: clean-binutils
4670 clean-binutils:
4671 @[ -f ./binutils/Makefile ] || exit 0; \
4672 r=`${PWD_COMMAND}`; export r; \
4673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4674 $(HOST_EXPORTS) \
4675 for flag in $(EXTRA_HOST_FLAGS) ; do \
4676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4677 done; \
4678 echo "Doing clean in binutils" ; \
4679 (cd $(HOST_SUBDIR)/binutils && \
4680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4682 "RANLIB=$${RANLIB}" \
4683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4684 clean) \
4685 || exit 1
4687 @endif binutils
4689 .PHONY: maybe-distclean-binutils distclean-binutils
4690 maybe-distclean-binutils:
4691 @if binutils
4692 maybe-distclean-binutils: distclean-binutils
4694 distclean-binutils:
4695 @[ -f ./binutils/Makefile ] || exit 0; \
4696 r=`${PWD_COMMAND}`; export r; \
4697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4698 $(HOST_EXPORTS) \
4699 for flag in $(EXTRA_HOST_FLAGS) ; do \
4700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4701 done; \
4702 echo "Doing distclean in binutils" ; \
4703 (cd $(HOST_SUBDIR)/binutils && \
4704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4706 "RANLIB=$${RANLIB}" \
4707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4708 distclean) \
4709 || exit 1
4711 @endif binutils
4713 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4714 maybe-maintainer-clean-binutils:
4715 @if binutils
4716 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4718 maintainer-clean-binutils:
4719 @[ -f ./binutils/Makefile ] || exit 0; \
4720 r=`${PWD_COMMAND}`; export r; \
4721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4722 $(HOST_EXPORTS) \
4723 for flag in $(EXTRA_HOST_FLAGS) ; do \
4724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4725 done; \
4726 echo "Doing maintainer-clean in binutils" ; \
4727 (cd $(HOST_SUBDIR)/binutils && \
4728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4730 "RANLIB=$${RANLIB}" \
4731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4732 maintainer-clean) \
4733 || exit 1
4735 @endif binutils
4739 .PHONY: configure-bison maybe-configure-bison
4740 maybe-configure-bison:
4741 @if bison
4742 maybe-configure-bison: configure-bison
4743 configure-bison:
4744 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
4745 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
4746 r=`${PWD_COMMAND}`; export r; \
4747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4748 $(HOST_EXPORTS) \
4749 echo Configuring in $(HOST_SUBDIR)/bison; \
4750 cd "$(HOST_SUBDIR)/bison" || exit 1; \
4751 case $(srcdir) in \
4752 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4753 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
4754 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4755 esac; \
4756 srcdiroption="--srcdir=$${topdir}/bison"; \
4757 libsrcdir="$$s/bison"; \
4758 $(SHELL) $${libsrcdir}/configure \
4759 $(HOST_CONFIGARGS) $${srcdiroption} \
4760 || exit 1
4761 @endif bison
4765 .PHONY: all-bison maybe-all-bison
4766 maybe-all-bison:
4767 @if bison
4768 TARGET-bison=all
4769 maybe-all-bison: all-bison
4770 all-bison: configure-bison
4771 @r=`${PWD_COMMAND}`; export r; \
4772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4773 $(HOST_EXPORTS) \
4774 (cd $(HOST_SUBDIR)/bison && \
4775 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
4776 @endif bison
4779 .PHONY: check-bison maybe-check-bison
4780 maybe-check-bison:
4781 @if bison
4782 maybe-check-bison: check-bison
4784 # This module is only tested in a native toolchain.
4785 check-bison:
4786 @if [ '$(host)' = '$(target)' ] ; then \
4787 r=`${PWD_COMMAND}`; export r; \
4788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4789 $(HOST_EXPORTS) \
4790 (cd $(HOST_SUBDIR)/bison && \
4791 $(MAKE) $(FLAGS_TO_PASS) check); \
4794 @endif bison
4796 .PHONY: install-bison maybe-install-bison
4797 maybe-install-bison:
4798 @if bison
4799 maybe-install-bison: install-bison
4801 install-bison: installdirs
4802 @r=`${PWD_COMMAND}`; export r; \
4803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4804 $(HOST_EXPORTS) \
4805 (cd $(HOST_SUBDIR)/bison && \
4806 $(MAKE) $(FLAGS_TO_PASS) install)
4808 @endif bison
4810 # Other targets (info, dvi, etc.)
4812 .PHONY: maybe-info-bison info-bison
4813 maybe-info-bison:
4814 @if bison
4815 maybe-info-bison: info-bison
4817 info-bison: \
4818 configure-bison
4819 @[ -f ./bison/Makefile ] || exit 0; \
4820 r=`${PWD_COMMAND}`; export r; \
4821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4822 $(HOST_EXPORTS) \
4823 for flag in $(EXTRA_HOST_FLAGS) ; do \
4824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4825 done; \
4826 echo "Doing info in bison" ; \
4827 (cd $(HOST_SUBDIR)/bison && \
4828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4830 "RANLIB=$${RANLIB}" \
4831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4832 info) \
4833 || exit 1
4835 @endif bison
4837 .PHONY: maybe-dvi-bison dvi-bison
4838 maybe-dvi-bison:
4839 @if bison
4840 maybe-dvi-bison: dvi-bison
4842 dvi-bison: \
4843 configure-bison
4844 @[ -f ./bison/Makefile ] || exit 0; \
4845 r=`${PWD_COMMAND}`; export r; \
4846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4847 $(HOST_EXPORTS) \
4848 for flag in $(EXTRA_HOST_FLAGS) ; do \
4849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4850 done; \
4851 echo "Doing dvi in bison" ; \
4852 (cd $(HOST_SUBDIR)/bison && \
4853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4855 "RANLIB=$${RANLIB}" \
4856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4857 dvi) \
4858 || exit 1
4860 @endif bison
4862 .PHONY: maybe-html-bison html-bison
4863 maybe-html-bison:
4864 @if bison
4865 maybe-html-bison: html-bison
4867 html-bison: \
4868 configure-bison
4869 @[ -f ./bison/Makefile ] || exit 0; \
4870 r=`${PWD_COMMAND}`; export r; \
4871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4872 $(HOST_EXPORTS) \
4873 for flag in $(EXTRA_HOST_FLAGS) ; do \
4874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4875 done; \
4876 echo "Doing html in bison" ; \
4877 (cd $(HOST_SUBDIR)/bison && \
4878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4880 "RANLIB=$${RANLIB}" \
4881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4882 html) \
4883 || exit 1
4885 @endif bison
4887 .PHONY: maybe-TAGS-bison TAGS-bison
4888 maybe-TAGS-bison:
4889 @if bison
4890 maybe-TAGS-bison: TAGS-bison
4892 TAGS-bison: \
4893 configure-bison
4894 @[ -f ./bison/Makefile ] || exit 0; \
4895 r=`${PWD_COMMAND}`; export r; \
4896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4897 $(HOST_EXPORTS) \
4898 for flag in $(EXTRA_HOST_FLAGS) ; do \
4899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4900 done; \
4901 echo "Doing TAGS in bison" ; \
4902 (cd $(HOST_SUBDIR)/bison && \
4903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4905 "RANLIB=$${RANLIB}" \
4906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4907 TAGS) \
4908 || exit 1
4910 @endif bison
4912 .PHONY: maybe-install-info-bison install-info-bison
4913 maybe-install-info-bison:
4914 @if bison
4915 maybe-install-info-bison: install-info-bison
4917 install-info-bison: \
4918 configure-bison \
4919 info-bison
4920 @[ -f ./bison/Makefile ] || exit 0; \
4921 r=`${PWD_COMMAND}`; export r; \
4922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4923 $(HOST_EXPORTS) \
4924 for flag in $(EXTRA_HOST_FLAGS) ; do \
4925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4926 done; \
4927 echo "Doing install-info in bison" ; \
4928 (cd $(HOST_SUBDIR)/bison && \
4929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4931 "RANLIB=$${RANLIB}" \
4932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4933 install-info) \
4934 || exit 1
4936 @endif bison
4938 .PHONY: maybe-installcheck-bison installcheck-bison
4939 maybe-installcheck-bison:
4940 @if bison
4941 maybe-installcheck-bison: installcheck-bison
4943 installcheck-bison: \
4944 configure-bison
4945 @[ -f ./bison/Makefile ] || exit 0; \
4946 r=`${PWD_COMMAND}`; export r; \
4947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4948 $(HOST_EXPORTS) \
4949 for flag in $(EXTRA_HOST_FLAGS) ; do \
4950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4951 done; \
4952 echo "Doing installcheck in bison" ; \
4953 (cd $(HOST_SUBDIR)/bison && \
4954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4956 "RANLIB=$${RANLIB}" \
4957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4958 installcheck) \
4959 || exit 1
4961 @endif bison
4963 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4964 maybe-mostlyclean-bison:
4965 @if bison
4966 maybe-mostlyclean-bison: mostlyclean-bison
4968 mostlyclean-bison:
4969 @[ -f ./bison/Makefile ] || exit 0; \
4970 r=`${PWD_COMMAND}`; export r; \
4971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4972 $(HOST_EXPORTS) \
4973 for flag in $(EXTRA_HOST_FLAGS) ; do \
4974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4975 done; \
4976 echo "Doing mostlyclean in bison" ; \
4977 (cd $(HOST_SUBDIR)/bison && \
4978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4980 "RANLIB=$${RANLIB}" \
4981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4982 mostlyclean) \
4983 || exit 1
4985 @endif bison
4987 .PHONY: maybe-clean-bison clean-bison
4988 maybe-clean-bison:
4989 @if bison
4990 maybe-clean-bison: clean-bison
4992 clean-bison:
4993 @[ -f ./bison/Makefile ] || exit 0; \
4994 r=`${PWD_COMMAND}`; export r; \
4995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4996 $(HOST_EXPORTS) \
4997 for flag in $(EXTRA_HOST_FLAGS) ; do \
4998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4999 done; \
5000 echo "Doing clean in bison" ; \
5001 (cd $(HOST_SUBDIR)/bison && \
5002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5004 "RANLIB=$${RANLIB}" \
5005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5006 clean) \
5007 || exit 1
5009 @endif bison
5011 .PHONY: maybe-distclean-bison distclean-bison
5012 maybe-distclean-bison:
5013 @if bison
5014 maybe-distclean-bison: distclean-bison
5016 distclean-bison:
5017 @[ -f ./bison/Makefile ] || exit 0; \
5018 r=`${PWD_COMMAND}`; export r; \
5019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5020 $(HOST_EXPORTS) \
5021 for flag in $(EXTRA_HOST_FLAGS) ; do \
5022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5023 done; \
5024 echo "Doing distclean in bison" ; \
5025 (cd $(HOST_SUBDIR)/bison && \
5026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5028 "RANLIB=$${RANLIB}" \
5029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5030 distclean) \
5031 || exit 1
5033 @endif bison
5035 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5036 maybe-maintainer-clean-bison:
5037 @if bison
5038 maybe-maintainer-clean-bison: maintainer-clean-bison
5040 maintainer-clean-bison:
5041 @[ -f ./bison/Makefile ] || exit 0; \
5042 r=`${PWD_COMMAND}`; export r; \
5043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5044 $(HOST_EXPORTS) \
5045 for flag in $(EXTRA_HOST_FLAGS) ; do \
5046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5047 done; \
5048 echo "Doing maintainer-clean in bison" ; \
5049 (cd $(HOST_SUBDIR)/bison && \
5050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5052 "RANLIB=$${RANLIB}" \
5053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5054 maintainer-clean) \
5055 || exit 1
5057 @endif bison
5061 .PHONY: configure-byacc maybe-configure-byacc
5062 maybe-configure-byacc:
5063 @if byacc
5064 maybe-configure-byacc: configure-byacc
5065 configure-byacc:
5066 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
5067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
5068 r=`${PWD_COMMAND}`; export r; \
5069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5070 $(HOST_EXPORTS) \
5071 echo Configuring in $(HOST_SUBDIR)/byacc; \
5072 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
5073 case $(srcdir) in \
5074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5075 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
5076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5077 esac; \
5078 srcdiroption="--srcdir=$${topdir}/byacc"; \
5079 libsrcdir="$$s/byacc"; \
5080 $(SHELL) $${libsrcdir}/configure \
5081 $(HOST_CONFIGARGS) $${srcdiroption} \
5082 || exit 1
5083 @endif byacc
5087 .PHONY: all-byacc maybe-all-byacc
5088 maybe-all-byacc:
5089 @if byacc
5090 TARGET-byacc=all
5091 maybe-all-byacc: all-byacc
5092 all-byacc: configure-byacc
5093 @r=`${PWD_COMMAND}`; export r; \
5094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5095 $(HOST_EXPORTS) \
5096 (cd $(HOST_SUBDIR)/byacc && \
5097 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
5098 @endif byacc
5101 .PHONY: check-byacc maybe-check-byacc
5102 maybe-check-byacc:
5103 @if byacc
5104 maybe-check-byacc: check-byacc
5106 # This module is only tested in a native toolchain.
5107 check-byacc:
5108 @if [ '$(host)' = '$(target)' ] ; then \
5109 r=`${PWD_COMMAND}`; export r; \
5110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5111 $(HOST_EXPORTS) \
5112 (cd $(HOST_SUBDIR)/byacc && \
5113 $(MAKE) $(FLAGS_TO_PASS) check); \
5116 @endif byacc
5118 .PHONY: install-byacc maybe-install-byacc
5119 maybe-install-byacc:
5120 @if byacc
5121 maybe-install-byacc: install-byacc
5123 install-byacc: installdirs
5124 @r=`${PWD_COMMAND}`; export r; \
5125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5126 $(HOST_EXPORTS) \
5127 (cd $(HOST_SUBDIR)/byacc && \
5128 $(MAKE) $(FLAGS_TO_PASS) install)
5130 @endif byacc
5132 # Other targets (info, dvi, etc.)
5134 .PHONY: maybe-info-byacc info-byacc
5135 maybe-info-byacc:
5136 @if byacc
5137 maybe-info-byacc: info-byacc
5139 info-byacc: \
5140 configure-byacc
5141 @[ -f ./byacc/Makefile ] || exit 0; \
5142 r=`${PWD_COMMAND}`; export r; \
5143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5144 $(HOST_EXPORTS) \
5145 for flag in $(EXTRA_HOST_FLAGS) ; do \
5146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5147 done; \
5148 echo "Doing info in byacc" ; \
5149 (cd $(HOST_SUBDIR)/byacc && \
5150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5152 "RANLIB=$${RANLIB}" \
5153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5154 info) \
5155 || exit 1
5157 @endif byacc
5159 .PHONY: maybe-dvi-byacc dvi-byacc
5160 maybe-dvi-byacc:
5161 @if byacc
5162 maybe-dvi-byacc: dvi-byacc
5164 dvi-byacc: \
5165 configure-byacc
5166 @[ -f ./byacc/Makefile ] || exit 0; \
5167 r=`${PWD_COMMAND}`; export r; \
5168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5169 $(HOST_EXPORTS) \
5170 for flag in $(EXTRA_HOST_FLAGS) ; do \
5171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5172 done; \
5173 echo "Doing dvi in byacc" ; \
5174 (cd $(HOST_SUBDIR)/byacc && \
5175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5177 "RANLIB=$${RANLIB}" \
5178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5179 dvi) \
5180 || exit 1
5182 @endif byacc
5184 .PHONY: maybe-html-byacc html-byacc
5185 maybe-html-byacc:
5186 @if byacc
5187 maybe-html-byacc: html-byacc
5189 html-byacc: \
5190 configure-byacc
5191 @[ -f ./byacc/Makefile ] || exit 0; \
5192 r=`${PWD_COMMAND}`; export r; \
5193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5194 $(HOST_EXPORTS) \
5195 for flag in $(EXTRA_HOST_FLAGS) ; do \
5196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5197 done; \
5198 echo "Doing html in byacc" ; \
5199 (cd $(HOST_SUBDIR)/byacc && \
5200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5202 "RANLIB=$${RANLIB}" \
5203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5204 html) \
5205 || exit 1
5207 @endif byacc
5209 .PHONY: maybe-TAGS-byacc TAGS-byacc
5210 maybe-TAGS-byacc:
5211 @if byacc
5212 maybe-TAGS-byacc: TAGS-byacc
5214 TAGS-byacc: \
5215 configure-byacc
5216 @[ -f ./byacc/Makefile ] || exit 0; \
5217 r=`${PWD_COMMAND}`; export r; \
5218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5219 $(HOST_EXPORTS) \
5220 for flag in $(EXTRA_HOST_FLAGS) ; do \
5221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5222 done; \
5223 echo "Doing TAGS in byacc" ; \
5224 (cd $(HOST_SUBDIR)/byacc && \
5225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5227 "RANLIB=$${RANLIB}" \
5228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5229 TAGS) \
5230 || exit 1
5232 @endif byacc
5234 .PHONY: maybe-install-info-byacc install-info-byacc
5235 maybe-install-info-byacc:
5236 @if byacc
5237 maybe-install-info-byacc: install-info-byacc
5239 install-info-byacc: \
5240 configure-byacc \
5241 info-byacc
5242 @[ -f ./byacc/Makefile ] || exit 0; \
5243 r=`${PWD_COMMAND}`; export r; \
5244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5245 $(HOST_EXPORTS) \
5246 for flag in $(EXTRA_HOST_FLAGS) ; do \
5247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5248 done; \
5249 echo "Doing install-info in byacc" ; \
5250 (cd $(HOST_SUBDIR)/byacc && \
5251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5253 "RANLIB=$${RANLIB}" \
5254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5255 install-info) \
5256 || exit 1
5258 @endif byacc
5260 .PHONY: maybe-installcheck-byacc installcheck-byacc
5261 maybe-installcheck-byacc:
5262 @if byacc
5263 maybe-installcheck-byacc: installcheck-byacc
5265 installcheck-byacc: \
5266 configure-byacc
5267 @[ -f ./byacc/Makefile ] || exit 0; \
5268 r=`${PWD_COMMAND}`; export r; \
5269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5270 $(HOST_EXPORTS) \
5271 for flag in $(EXTRA_HOST_FLAGS) ; do \
5272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5273 done; \
5274 echo "Doing installcheck in byacc" ; \
5275 (cd $(HOST_SUBDIR)/byacc && \
5276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5278 "RANLIB=$${RANLIB}" \
5279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5280 installcheck) \
5281 || exit 1
5283 @endif byacc
5285 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5286 maybe-mostlyclean-byacc:
5287 @if byacc
5288 maybe-mostlyclean-byacc: mostlyclean-byacc
5290 mostlyclean-byacc:
5291 @[ -f ./byacc/Makefile ] || exit 0; \
5292 r=`${PWD_COMMAND}`; export r; \
5293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5294 $(HOST_EXPORTS) \
5295 for flag in $(EXTRA_HOST_FLAGS) ; do \
5296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5297 done; \
5298 echo "Doing mostlyclean in byacc" ; \
5299 (cd $(HOST_SUBDIR)/byacc && \
5300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5302 "RANLIB=$${RANLIB}" \
5303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5304 mostlyclean) \
5305 || exit 1
5307 @endif byacc
5309 .PHONY: maybe-clean-byacc clean-byacc
5310 maybe-clean-byacc:
5311 @if byacc
5312 maybe-clean-byacc: clean-byacc
5314 clean-byacc:
5315 @[ -f ./byacc/Makefile ] || exit 0; \
5316 r=`${PWD_COMMAND}`; export r; \
5317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 clean 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 clean) \
5329 || exit 1
5331 @endif byacc
5333 .PHONY: maybe-distclean-byacc distclean-byacc
5334 maybe-distclean-byacc:
5335 @if byacc
5336 maybe-distclean-byacc: distclean-byacc
5338 distclean-byacc:
5339 @[ -f ./byacc/Makefile ] || exit 0; \
5340 r=`${PWD_COMMAND}`; export r; \
5341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5342 $(HOST_EXPORTS) \
5343 for flag in $(EXTRA_HOST_FLAGS) ; do \
5344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5345 done; \
5346 echo "Doing distclean in byacc" ; \
5347 (cd $(HOST_SUBDIR)/byacc && \
5348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5350 "RANLIB=$${RANLIB}" \
5351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5352 distclean) \
5353 || exit 1
5355 @endif byacc
5357 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5358 maybe-maintainer-clean-byacc:
5359 @if byacc
5360 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5362 maintainer-clean-byacc:
5363 @[ -f ./byacc/Makefile ] || exit 0; \
5364 r=`${PWD_COMMAND}`; export r; \
5365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5366 $(HOST_EXPORTS) \
5367 for flag in $(EXTRA_HOST_FLAGS) ; do \
5368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5369 done; \
5370 echo "Doing maintainer-clean in byacc" ; \
5371 (cd $(HOST_SUBDIR)/byacc && \
5372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5374 "RANLIB=$${RANLIB}" \
5375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5376 maintainer-clean) \
5377 || exit 1
5379 @endif byacc
5383 .PHONY: configure-bzip2 maybe-configure-bzip2
5384 maybe-configure-bzip2:
5385 @if bzip2
5386 maybe-configure-bzip2: configure-bzip2
5387 configure-bzip2:
5388 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
5389 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
5390 r=`${PWD_COMMAND}`; export r; \
5391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5392 $(HOST_EXPORTS) \
5393 echo Configuring in $(HOST_SUBDIR)/bzip2; \
5394 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
5395 case $(srcdir) in \
5396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5397 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
5398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5399 esac; \
5400 srcdiroption="--srcdir=$${topdir}/bzip2"; \
5401 libsrcdir="$$s/bzip2"; \
5402 $(SHELL) $${libsrcdir}/configure \
5403 $(HOST_CONFIGARGS) $${srcdiroption} \
5404 || exit 1
5405 @endif bzip2
5409 .PHONY: all-bzip2 maybe-all-bzip2
5410 maybe-all-bzip2:
5411 @if bzip2
5412 TARGET-bzip2=all
5413 maybe-all-bzip2: all-bzip2
5414 all-bzip2: configure-bzip2
5415 @r=`${PWD_COMMAND}`; export r; \
5416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5417 $(HOST_EXPORTS) \
5418 (cd $(HOST_SUBDIR)/bzip2 && \
5419 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
5420 @endif bzip2
5423 .PHONY: check-bzip2 maybe-check-bzip2
5424 maybe-check-bzip2:
5425 @if bzip2
5426 maybe-check-bzip2: check-bzip2
5428 check-bzip2:
5429 @r=`${PWD_COMMAND}`; export r; \
5430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5431 $(HOST_EXPORTS) \
5432 (cd $(HOST_SUBDIR)/bzip2 && \
5433 $(MAKE) $(FLAGS_TO_PASS) check)
5435 @endif bzip2
5437 .PHONY: install-bzip2 maybe-install-bzip2
5438 maybe-install-bzip2:
5439 @if bzip2
5440 maybe-install-bzip2: install-bzip2
5442 install-bzip2: installdirs
5443 @r=`${PWD_COMMAND}`; export r; \
5444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5445 $(HOST_EXPORTS) \
5446 (cd $(HOST_SUBDIR)/bzip2 && \
5447 $(MAKE) $(FLAGS_TO_PASS) install)
5449 @endif bzip2
5451 # Other targets (info, dvi, etc.)
5453 .PHONY: maybe-info-bzip2 info-bzip2
5454 maybe-info-bzip2:
5455 @if bzip2
5456 maybe-info-bzip2: info-bzip2
5458 info-bzip2: \
5459 configure-bzip2
5460 @[ -f ./bzip2/Makefile ] || exit 0; \
5461 r=`${PWD_COMMAND}`; export r; \
5462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5463 $(HOST_EXPORTS) \
5464 for flag in $(EXTRA_HOST_FLAGS) ; do \
5465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5466 done; \
5467 echo "Doing info in bzip2" ; \
5468 (cd $(HOST_SUBDIR)/bzip2 && \
5469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5471 "RANLIB=$${RANLIB}" \
5472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5473 info) \
5474 || exit 1
5476 @endif bzip2
5478 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5479 maybe-dvi-bzip2:
5480 @if bzip2
5481 maybe-dvi-bzip2: dvi-bzip2
5483 dvi-bzip2: \
5484 configure-bzip2
5485 @[ -f ./bzip2/Makefile ] || exit 0; \
5486 r=`${PWD_COMMAND}`; export r; \
5487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5488 $(HOST_EXPORTS) \
5489 for flag in $(EXTRA_HOST_FLAGS) ; do \
5490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5491 done; \
5492 echo "Doing dvi in bzip2" ; \
5493 (cd $(HOST_SUBDIR)/bzip2 && \
5494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5496 "RANLIB=$${RANLIB}" \
5497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5498 dvi) \
5499 || exit 1
5501 @endif bzip2
5503 .PHONY: maybe-html-bzip2 html-bzip2
5504 maybe-html-bzip2:
5505 @if bzip2
5506 maybe-html-bzip2: html-bzip2
5508 html-bzip2: \
5509 configure-bzip2
5510 @[ -f ./bzip2/Makefile ] || exit 0; \
5511 r=`${PWD_COMMAND}`; export r; \
5512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5513 $(HOST_EXPORTS) \
5514 for flag in $(EXTRA_HOST_FLAGS) ; do \
5515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5516 done; \
5517 echo "Doing html in bzip2" ; \
5518 (cd $(HOST_SUBDIR)/bzip2 && \
5519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5521 "RANLIB=$${RANLIB}" \
5522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5523 html) \
5524 || exit 1
5526 @endif bzip2
5528 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5529 maybe-TAGS-bzip2:
5530 @if bzip2
5531 maybe-TAGS-bzip2: TAGS-bzip2
5533 TAGS-bzip2: \
5534 configure-bzip2
5535 @[ -f ./bzip2/Makefile ] || exit 0; \
5536 r=`${PWD_COMMAND}`; export r; \
5537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5538 $(HOST_EXPORTS) \
5539 for flag in $(EXTRA_HOST_FLAGS) ; do \
5540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5541 done; \
5542 echo "Doing TAGS in bzip2" ; \
5543 (cd $(HOST_SUBDIR)/bzip2 && \
5544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5546 "RANLIB=$${RANLIB}" \
5547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5548 TAGS) \
5549 || exit 1
5551 @endif bzip2
5553 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5554 maybe-install-info-bzip2:
5555 @if bzip2
5556 maybe-install-info-bzip2: install-info-bzip2
5558 install-info-bzip2: \
5559 configure-bzip2 \
5560 info-bzip2
5561 @[ -f ./bzip2/Makefile ] || exit 0; \
5562 r=`${PWD_COMMAND}`; export r; \
5563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5564 $(HOST_EXPORTS) \
5565 for flag in $(EXTRA_HOST_FLAGS) ; do \
5566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5567 done; \
5568 echo "Doing install-info in bzip2" ; \
5569 (cd $(HOST_SUBDIR)/bzip2 && \
5570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5572 "RANLIB=$${RANLIB}" \
5573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5574 install-info) \
5575 || exit 1
5577 @endif bzip2
5579 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5580 maybe-installcheck-bzip2:
5581 @if bzip2
5582 maybe-installcheck-bzip2: installcheck-bzip2
5584 installcheck-bzip2: \
5585 configure-bzip2
5586 @[ -f ./bzip2/Makefile ] || exit 0; \
5587 r=`${PWD_COMMAND}`; export r; \
5588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5589 $(HOST_EXPORTS) \
5590 for flag in $(EXTRA_HOST_FLAGS) ; do \
5591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5592 done; \
5593 echo "Doing installcheck in bzip2" ; \
5594 (cd $(HOST_SUBDIR)/bzip2 && \
5595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5597 "RANLIB=$${RANLIB}" \
5598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5599 installcheck) \
5600 || exit 1
5602 @endif bzip2
5604 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5605 maybe-mostlyclean-bzip2:
5606 @if bzip2
5607 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5609 mostlyclean-bzip2:
5610 @[ -f ./bzip2/Makefile ] || exit 0; \
5611 r=`${PWD_COMMAND}`; export r; \
5612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5613 $(HOST_EXPORTS) \
5614 for flag in $(EXTRA_HOST_FLAGS) ; do \
5615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5616 done; \
5617 echo "Doing mostlyclean in bzip2" ; \
5618 (cd $(HOST_SUBDIR)/bzip2 && \
5619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5621 "RANLIB=$${RANLIB}" \
5622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5623 mostlyclean) \
5624 || exit 1
5626 @endif bzip2
5628 .PHONY: maybe-clean-bzip2 clean-bzip2
5629 maybe-clean-bzip2:
5630 @if bzip2
5631 maybe-clean-bzip2: clean-bzip2
5633 clean-bzip2:
5634 @[ -f ./bzip2/Makefile ] || exit 0; \
5635 r=`${PWD_COMMAND}`; export r; \
5636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5637 $(HOST_EXPORTS) \
5638 for flag in $(EXTRA_HOST_FLAGS) ; do \
5639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5640 done; \
5641 echo "Doing clean in bzip2" ; \
5642 (cd $(HOST_SUBDIR)/bzip2 && \
5643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5645 "RANLIB=$${RANLIB}" \
5646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5647 clean) \
5648 || exit 1
5650 @endif bzip2
5652 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5653 maybe-distclean-bzip2:
5654 @if bzip2
5655 maybe-distclean-bzip2: distclean-bzip2
5657 distclean-bzip2:
5658 @[ -f ./bzip2/Makefile ] || exit 0; \
5659 r=`${PWD_COMMAND}`; export r; \
5660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5661 $(HOST_EXPORTS) \
5662 for flag in $(EXTRA_HOST_FLAGS) ; do \
5663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5664 done; \
5665 echo "Doing distclean in bzip2" ; \
5666 (cd $(HOST_SUBDIR)/bzip2 && \
5667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5669 "RANLIB=$${RANLIB}" \
5670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5671 distclean) \
5672 || exit 1
5674 @endif bzip2
5676 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5677 maybe-maintainer-clean-bzip2:
5678 @if bzip2
5679 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5681 maintainer-clean-bzip2:
5682 @[ -f ./bzip2/Makefile ] || exit 0; \
5683 r=`${PWD_COMMAND}`; export r; \
5684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5685 $(HOST_EXPORTS) \
5686 for flag in $(EXTRA_HOST_FLAGS) ; do \
5687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5688 done; \
5689 echo "Doing maintainer-clean in bzip2" ; \
5690 (cd $(HOST_SUBDIR)/bzip2 && \
5691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5693 "RANLIB=$${RANLIB}" \
5694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5695 maintainer-clean) \
5696 || exit 1
5698 @endif bzip2
5702 .PHONY: configure-dejagnu maybe-configure-dejagnu
5703 maybe-configure-dejagnu:
5704 @if dejagnu
5705 maybe-configure-dejagnu: configure-dejagnu
5706 configure-dejagnu:
5707 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
5708 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
5709 r=`${PWD_COMMAND}`; export r; \
5710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5711 $(HOST_EXPORTS) \
5712 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
5713 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
5714 case $(srcdir) in \
5715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5716 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
5717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5718 esac; \
5719 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
5720 libsrcdir="$$s/dejagnu"; \
5721 $(SHELL) $${libsrcdir}/configure \
5722 $(HOST_CONFIGARGS) $${srcdiroption} \
5723 || exit 1
5724 @endif dejagnu
5728 .PHONY: all-dejagnu maybe-all-dejagnu
5729 maybe-all-dejagnu:
5730 @if dejagnu
5731 TARGET-dejagnu=all
5732 maybe-all-dejagnu: all-dejagnu
5733 all-dejagnu: configure-dejagnu
5734 @r=`${PWD_COMMAND}`; export r; \
5735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5736 $(HOST_EXPORTS) \
5737 (cd $(HOST_SUBDIR)/dejagnu && \
5738 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
5739 @endif dejagnu
5742 .PHONY: check-dejagnu maybe-check-dejagnu
5743 maybe-check-dejagnu:
5744 @if dejagnu
5745 maybe-check-dejagnu: check-dejagnu
5747 check-dejagnu:
5748 @r=`${PWD_COMMAND}`; export r; \
5749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5750 $(HOST_EXPORTS) \
5751 (cd $(HOST_SUBDIR)/dejagnu && \
5752 $(MAKE) $(FLAGS_TO_PASS) check)
5754 @endif dejagnu
5756 .PHONY: install-dejagnu maybe-install-dejagnu
5757 maybe-install-dejagnu:
5758 @if dejagnu
5759 maybe-install-dejagnu: install-dejagnu
5761 install-dejagnu: installdirs
5762 @r=`${PWD_COMMAND}`; export r; \
5763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5764 $(HOST_EXPORTS) \
5765 (cd $(HOST_SUBDIR)/dejagnu && \
5766 $(MAKE) $(FLAGS_TO_PASS) install)
5768 @endif dejagnu
5770 # Other targets (info, dvi, etc.)
5772 .PHONY: maybe-info-dejagnu info-dejagnu
5773 maybe-info-dejagnu:
5774 @if dejagnu
5775 maybe-info-dejagnu: info-dejagnu
5777 info-dejagnu: \
5778 configure-dejagnu
5779 @[ -f ./dejagnu/Makefile ] || exit 0; \
5780 r=`${PWD_COMMAND}`; export r; \
5781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5782 $(HOST_EXPORTS) \
5783 for flag in $(EXTRA_HOST_FLAGS) ; do \
5784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5785 done; \
5786 echo "Doing info in dejagnu" ; \
5787 (cd $(HOST_SUBDIR)/dejagnu && \
5788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5790 "RANLIB=$${RANLIB}" \
5791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5792 info) \
5793 || exit 1
5795 @endif dejagnu
5797 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5798 maybe-dvi-dejagnu:
5799 @if dejagnu
5800 maybe-dvi-dejagnu: dvi-dejagnu
5802 dvi-dejagnu: \
5803 configure-dejagnu
5804 @[ -f ./dejagnu/Makefile ] || exit 0; \
5805 r=`${PWD_COMMAND}`; export r; \
5806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5807 $(HOST_EXPORTS) \
5808 for flag in $(EXTRA_HOST_FLAGS) ; do \
5809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5810 done; \
5811 echo "Doing dvi in dejagnu" ; \
5812 (cd $(HOST_SUBDIR)/dejagnu && \
5813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5815 "RANLIB=$${RANLIB}" \
5816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5817 dvi) \
5818 || exit 1
5820 @endif dejagnu
5822 .PHONY: maybe-html-dejagnu html-dejagnu
5823 maybe-html-dejagnu:
5824 @if dejagnu
5825 maybe-html-dejagnu: html-dejagnu
5827 html-dejagnu: \
5828 configure-dejagnu
5829 @[ -f ./dejagnu/Makefile ] || exit 0; \
5830 r=`${PWD_COMMAND}`; export r; \
5831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5832 $(HOST_EXPORTS) \
5833 for flag in $(EXTRA_HOST_FLAGS) ; do \
5834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5835 done; \
5836 echo "Doing html in dejagnu" ; \
5837 (cd $(HOST_SUBDIR)/dejagnu && \
5838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5840 "RANLIB=$${RANLIB}" \
5841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5842 html) \
5843 || exit 1
5845 @endif dejagnu
5847 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5848 maybe-TAGS-dejagnu:
5849 @if dejagnu
5850 maybe-TAGS-dejagnu: TAGS-dejagnu
5852 TAGS-dejagnu: \
5853 configure-dejagnu
5854 @[ -f ./dejagnu/Makefile ] || exit 0; \
5855 r=`${PWD_COMMAND}`; export r; \
5856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5857 $(HOST_EXPORTS) \
5858 for flag in $(EXTRA_HOST_FLAGS) ; do \
5859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5860 done; \
5861 echo "Doing TAGS in dejagnu" ; \
5862 (cd $(HOST_SUBDIR)/dejagnu && \
5863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5865 "RANLIB=$${RANLIB}" \
5866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5867 TAGS) \
5868 || exit 1
5870 @endif dejagnu
5872 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5873 maybe-install-info-dejagnu:
5874 @if dejagnu
5875 maybe-install-info-dejagnu: install-info-dejagnu
5877 install-info-dejagnu: \
5878 configure-dejagnu \
5879 info-dejagnu
5880 @[ -f ./dejagnu/Makefile ] || exit 0; \
5881 r=`${PWD_COMMAND}`; export r; \
5882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5883 $(HOST_EXPORTS) \
5884 for flag in $(EXTRA_HOST_FLAGS) ; do \
5885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5886 done; \
5887 echo "Doing install-info in dejagnu" ; \
5888 (cd $(HOST_SUBDIR)/dejagnu && \
5889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5891 "RANLIB=$${RANLIB}" \
5892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5893 install-info) \
5894 || exit 1
5896 @endif dejagnu
5898 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5899 maybe-installcheck-dejagnu:
5900 @if dejagnu
5901 maybe-installcheck-dejagnu: installcheck-dejagnu
5903 installcheck-dejagnu: \
5904 configure-dejagnu
5905 @[ -f ./dejagnu/Makefile ] || exit 0; \
5906 r=`${PWD_COMMAND}`; export r; \
5907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5908 $(HOST_EXPORTS) \
5909 for flag in $(EXTRA_HOST_FLAGS) ; do \
5910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5911 done; \
5912 echo "Doing installcheck in dejagnu" ; \
5913 (cd $(HOST_SUBDIR)/dejagnu && \
5914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5916 "RANLIB=$${RANLIB}" \
5917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5918 installcheck) \
5919 || exit 1
5921 @endif dejagnu
5923 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5924 maybe-mostlyclean-dejagnu:
5925 @if dejagnu
5926 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5928 mostlyclean-dejagnu:
5929 @[ -f ./dejagnu/Makefile ] || exit 0; \
5930 r=`${PWD_COMMAND}`; export r; \
5931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5932 $(HOST_EXPORTS) \
5933 for flag in $(EXTRA_HOST_FLAGS) ; do \
5934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5935 done; \
5936 echo "Doing mostlyclean in dejagnu" ; \
5937 (cd $(HOST_SUBDIR)/dejagnu && \
5938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5940 "RANLIB=$${RANLIB}" \
5941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5942 mostlyclean) \
5943 || exit 1
5945 @endif dejagnu
5947 .PHONY: maybe-clean-dejagnu clean-dejagnu
5948 maybe-clean-dejagnu:
5949 @if dejagnu
5950 maybe-clean-dejagnu: clean-dejagnu
5952 clean-dejagnu:
5953 @[ -f ./dejagnu/Makefile ] || exit 0; \
5954 r=`${PWD_COMMAND}`; export r; \
5955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5956 $(HOST_EXPORTS) \
5957 for flag in $(EXTRA_HOST_FLAGS) ; do \
5958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5959 done; \
5960 echo "Doing clean in dejagnu" ; \
5961 (cd $(HOST_SUBDIR)/dejagnu && \
5962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5964 "RANLIB=$${RANLIB}" \
5965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5966 clean) \
5967 || exit 1
5969 @endif dejagnu
5971 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5972 maybe-distclean-dejagnu:
5973 @if dejagnu
5974 maybe-distclean-dejagnu: distclean-dejagnu
5976 distclean-dejagnu:
5977 @[ -f ./dejagnu/Makefile ] || exit 0; \
5978 r=`${PWD_COMMAND}`; export r; \
5979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5980 $(HOST_EXPORTS) \
5981 for flag in $(EXTRA_HOST_FLAGS) ; do \
5982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5983 done; \
5984 echo "Doing distclean in dejagnu" ; \
5985 (cd $(HOST_SUBDIR)/dejagnu && \
5986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5988 "RANLIB=$${RANLIB}" \
5989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5990 distclean) \
5991 || exit 1
5993 @endif dejagnu
5995 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5996 maybe-maintainer-clean-dejagnu:
5997 @if dejagnu
5998 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6000 maintainer-clean-dejagnu:
6001 @[ -f ./dejagnu/Makefile ] || exit 0; \
6002 r=`${PWD_COMMAND}`; export r; \
6003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6004 $(HOST_EXPORTS) \
6005 for flag in $(EXTRA_HOST_FLAGS) ; do \
6006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6007 done; \
6008 echo "Doing maintainer-clean in dejagnu" ; \
6009 (cd $(HOST_SUBDIR)/dejagnu && \
6010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6012 "RANLIB=$${RANLIB}" \
6013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6014 maintainer-clean) \
6015 || exit 1
6017 @endif dejagnu
6021 .PHONY: configure-diff maybe-configure-diff
6022 maybe-configure-diff:
6023 @if diff
6024 maybe-configure-diff: configure-diff
6025 configure-diff:
6026 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
6027 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
6028 r=`${PWD_COMMAND}`; export r; \
6029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6030 $(HOST_EXPORTS) \
6031 echo Configuring in $(HOST_SUBDIR)/diff; \
6032 cd "$(HOST_SUBDIR)/diff" || exit 1; \
6033 case $(srcdir) in \
6034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6035 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
6036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6037 esac; \
6038 srcdiroption="--srcdir=$${topdir}/diff"; \
6039 libsrcdir="$$s/diff"; \
6040 $(SHELL) $${libsrcdir}/configure \
6041 $(HOST_CONFIGARGS) $${srcdiroption} \
6042 || exit 1
6043 @endif diff
6047 .PHONY: all-diff maybe-all-diff
6048 maybe-all-diff:
6049 @if diff
6050 TARGET-diff=all
6051 maybe-all-diff: all-diff
6052 all-diff: configure-diff
6053 @r=`${PWD_COMMAND}`; export r; \
6054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6055 $(HOST_EXPORTS) \
6056 (cd $(HOST_SUBDIR)/diff && \
6057 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
6058 @endif diff
6061 .PHONY: check-diff maybe-check-diff
6062 maybe-check-diff:
6063 @if diff
6064 maybe-check-diff: check-diff
6066 check-diff:
6067 @r=`${PWD_COMMAND}`; export r; \
6068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6069 $(HOST_EXPORTS) \
6070 (cd $(HOST_SUBDIR)/diff && \
6071 $(MAKE) $(FLAGS_TO_PASS) check)
6073 @endif diff
6075 .PHONY: install-diff maybe-install-diff
6076 maybe-install-diff:
6077 @if diff
6078 maybe-install-diff: install-diff
6080 install-diff: installdirs
6081 @r=`${PWD_COMMAND}`; export r; \
6082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6083 $(HOST_EXPORTS) \
6084 (cd $(HOST_SUBDIR)/diff && \
6085 $(MAKE) $(FLAGS_TO_PASS) install)
6087 @endif diff
6089 # Other targets (info, dvi, etc.)
6091 .PHONY: maybe-info-diff info-diff
6092 maybe-info-diff:
6093 @if diff
6094 maybe-info-diff: info-diff
6096 info-diff: \
6097 configure-diff
6098 @[ -f ./diff/Makefile ] || exit 0; \
6099 r=`${PWD_COMMAND}`; export r; \
6100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6101 $(HOST_EXPORTS) \
6102 for flag in $(EXTRA_HOST_FLAGS) ; do \
6103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6104 done; \
6105 echo "Doing info in diff" ; \
6106 (cd $(HOST_SUBDIR)/diff && \
6107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6109 "RANLIB=$${RANLIB}" \
6110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6111 info) \
6112 || exit 1
6114 @endif diff
6116 .PHONY: maybe-dvi-diff dvi-diff
6117 maybe-dvi-diff:
6118 @if diff
6119 maybe-dvi-diff: dvi-diff
6121 dvi-diff: \
6122 configure-diff
6123 @[ -f ./diff/Makefile ] || exit 0; \
6124 r=`${PWD_COMMAND}`; export r; \
6125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6126 $(HOST_EXPORTS) \
6127 for flag in $(EXTRA_HOST_FLAGS) ; do \
6128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6129 done; \
6130 echo "Doing dvi in diff" ; \
6131 (cd $(HOST_SUBDIR)/diff && \
6132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6134 "RANLIB=$${RANLIB}" \
6135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6136 dvi) \
6137 || exit 1
6139 @endif diff
6141 .PHONY: maybe-html-diff html-diff
6142 maybe-html-diff:
6143 @if diff
6144 maybe-html-diff: html-diff
6146 html-diff: \
6147 configure-diff
6148 @[ -f ./diff/Makefile ] || exit 0; \
6149 r=`${PWD_COMMAND}`; export r; \
6150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6151 $(HOST_EXPORTS) \
6152 for flag in $(EXTRA_HOST_FLAGS) ; do \
6153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6154 done; \
6155 echo "Doing html in diff" ; \
6156 (cd $(HOST_SUBDIR)/diff && \
6157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6159 "RANLIB=$${RANLIB}" \
6160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6161 html) \
6162 || exit 1
6164 @endif diff
6166 .PHONY: maybe-TAGS-diff TAGS-diff
6167 maybe-TAGS-diff:
6168 @if diff
6169 maybe-TAGS-diff: TAGS-diff
6171 TAGS-diff: \
6172 configure-diff
6173 @[ -f ./diff/Makefile ] || exit 0; \
6174 r=`${PWD_COMMAND}`; export r; \
6175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6176 $(HOST_EXPORTS) \
6177 for flag in $(EXTRA_HOST_FLAGS) ; do \
6178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6179 done; \
6180 echo "Doing TAGS in diff" ; \
6181 (cd $(HOST_SUBDIR)/diff && \
6182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6184 "RANLIB=$${RANLIB}" \
6185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6186 TAGS) \
6187 || exit 1
6189 @endif diff
6191 .PHONY: maybe-install-info-diff install-info-diff
6192 maybe-install-info-diff:
6193 @if diff
6194 maybe-install-info-diff: install-info-diff
6196 install-info-diff: \
6197 configure-diff \
6198 info-diff
6199 @[ -f ./diff/Makefile ] || exit 0; \
6200 r=`${PWD_COMMAND}`; export r; \
6201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6202 $(HOST_EXPORTS) \
6203 for flag in $(EXTRA_HOST_FLAGS) ; do \
6204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6205 done; \
6206 echo "Doing install-info in diff" ; \
6207 (cd $(HOST_SUBDIR)/diff && \
6208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6210 "RANLIB=$${RANLIB}" \
6211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6212 install-info) \
6213 || exit 1
6215 @endif diff
6217 .PHONY: maybe-installcheck-diff installcheck-diff
6218 maybe-installcheck-diff:
6219 @if diff
6220 maybe-installcheck-diff: installcheck-diff
6222 installcheck-diff: \
6223 configure-diff
6224 @[ -f ./diff/Makefile ] || exit 0; \
6225 r=`${PWD_COMMAND}`; export r; \
6226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6227 $(HOST_EXPORTS) \
6228 for flag in $(EXTRA_HOST_FLAGS) ; do \
6229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6230 done; \
6231 echo "Doing installcheck in diff" ; \
6232 (cd $(HOST_SUBDIR)/diff && \
6233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6235 "RANLIB=$${RANLIB}" \
6236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6237 installcheck) \
6238 || exit 1
6240 @endif diff
6242 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6243 maybe-mostlyclean-diff:
6244 @if diff
6245 maybe-mostlyclean-diff: mostlyclean-diff
6247 mostlyclean-diff:
6248 @[ -f ./diff/Makefile ] || exit 0; \
6249 r=`${PWD_COMMAND}`; export r; \
6250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6251 $(HOST_EXPORTS) \
6252 for flag in $(EXTRA_HOST_FLAGS) ; do \
6253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6254 done; \
6255 echo "Doing mostlyclean in diff" ; \
6256 (cd $(HOST_SUBDIR)/diff && \
6257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6259 "RANLIB=$${RANLIB}" \
6260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6261 mostlyclean) \
6262 || exit 1
6264 @endif diff
6266 .PHONY: maybe-clean-diff clean-diff
6267 maybe-clean-diff:
6268 @if diff
6269 maybe-clean-diff: clean-diff
6271 clean-diff:
6272 @[ -f ./diff/Makefile ] || exit 0; \
6273 r=`${PWD_COMMAND}`; export r; \
6274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6275 $(HOST_EXPORTS) \
6276 for flag in $(EXTRA_HOST_FLAGS) ; do \
6277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6278 done; \
6279 echo "Doing clean in diff" ; \
6280 (cd $(HOST_SUBDIR)/diff && \
6281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6283 "RANLIB=$${RANLIB}" \
6284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6285 clean) \
6286 || exit 1
6288 @endif diff
6290 .PHONY: maybe-distclean-diff distclean-diff
6291 maybe-distclean-diff:
6292 @if diff
6293 maybe-distclean-diff: distclean-diff
6295 distclean-diff:
6296 @[ -f ./diff/Makefile ] || exit 0; \
6297 r=`${PWD_COMMAND}`; export r; \
6298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6299 $(HOST_EXPORTS) \
6300 for flag in $(EXTRA_HOST_FLAGS) ; do \
6301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6302 done; \
6303 echo "Doing distclean in diff" ; \
6304 (cd $(HOST_SUBDIR)/diff && \
6305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6307 "RANLIB=$${RANLIB}" \
6308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6309 distclean) \
6310 || exit 1
6312 @endif diff
6314 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6315 maybe-maintainer-clean-diff:
6316 @if diff
6317 maybe-maintainer-clean-diff: maintainer-clean-diff
6319 maintainer-clean-diff:
6320 @[ -f ./diff/Makefile ] || exit 0; \
6321 r=`${PWD_COMMAND}`; export r; \
6322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6323 $(HOST_EXPORTS) \
6324 for flag in $(EXTRA_HOST_FLAGS) ; do \
6325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6326 done; \
6327 echo "Doing maintainer-clean in diff" ; \
6328 (cd $(HOST_SUBDIR)/diff && \
6329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6331 "RANLIB=$${RANLIB}" \
6332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6333 maintainer-clean) \
6334 || exit 1
6336 @endif diff
6340 .PHONY: configure-dosutils maybe-configure-dosutils
6341 maybe-configure-dosutils:
6342 @if dosutils
6343 maybe-configure-dosutils: configure-dosutils
6344 configure-dosutils:
6345 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
6346 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
6347 r=`${PWD_COMMAND}`; export r; \
6348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6349 $(HOST_EXPORTS) \
6350 echo Configuring in $(HOST_SUBDIR)/dosutils; \
6351 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
6352 case $(srcdir) in \
6353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6354 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
6355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6356 esac; \
6357 srcdiroption="--srcdir=$${topdir}/dosutils"; \
6358 libsrcdir="$$s/dosutils"; \
6359 $(SHELL) $${libsrcdir}/configure \
6360 $(HOST_CONFIGARGS) $${srcdiroption} \
6361 || exit 1
6362 @endif dosutils
6366 .PHONY: all-dosutils maybe-all-dosutils
6367 maybe-all-dosutils:
6368 @if dosutils
6369 TARGET-dosutils=all
6370 maybe-all-dosutils: all-dosutils
6371 all-dosutils: configure-dosutils
6372 @r=`${PWD_COMMAND}`; export r; \
6373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6374 $(HOST_EXPORTS) \
6375 (cd $(HOST_SUBDIR)/dosutils && \
6376 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
6377 @endif dosutils
6380 .PHONY: check-dosutils maybe-check-dosutils
6381 maybe-check-dosutils:
6382 @if dosutils
6383 maybe-check-dosutils: check-dosutils
6385 check-dosutils:
6387 @endif dosutils
6389 .PHONY: install-dosutils maybe-install-dosutils
6390 maybe-install-dosutils:
6391 @if dosutils
6392 maybe-install-dosutils: install-dosutils
6394 install-dosutils: installdirs
6395 @r=`${PWD_COMMAND}`; export r; \
6396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6397 $(HOST_EXPORTS) \
6398 (cd $(HOST_SUBDIR)/dosutils && \
6399 $(MAKE) $(FLAGS_TO_PASS) install)
6401 @endif dosutils
6403 # Other targets (info, dvi, etc.)
6405 .PHONY: maybe-info-dosutils info-dosutils
6406 maybe-info-dosutils:
6407 @if dosutils
6408 maybe-info-dosutils: info-dosutils
6410 info-dosutils: \
6411 configure-dosutils
6412 @[ -f ./dosutils/Makefile ] || exit 0; \
6413 r=`${PWD_COMMAND}`; export r; \
6414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6415 $(HOST_EXPORTS) \
6416 for flag in $(EXTRA_HOST_FLAGS) ; do \
6417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6418 done; \
6419 echo "Doing info in dosutils" ; \
6420 (cd $(HOST_SUBDIR)/dosutils && \
6421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6423 "RANLIB=$${RANLIB}" \
6424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6425 info) \
6426 || exit 1
6428 @endif dosutils
6430 .PHONY: maybe-dvi-dosutils dvi-dosutils
6431 maybe-dvi-dosutils:
6432 @if dosutils
6433 maybe-dvi-dosutils: dvi-dosutils
6435 dvi-dosutils: \
6436 configure-dosutils
6437 @[ -f ./dosutils/Makefile ] || exit 0; \
6438 r=`${PWD_COMMAND}`; export r; \
6439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6440 $(HOST_EXPORTS) \
6441 for flag in $(EXTRA_HOST_FLAGS) ; do \
6442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6443 done; \
6444 echo "Doing dvi in dosutils" ; \
6445 (cd $(HOST_SUBDIR)/dosutils && \
6446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6448 "RANLIB=$${RANLIB}" \
6449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6450 dvi) \
6451 || exit 1
6453 @endif dosutils
6455 .PHONY: maybe-html-dosutils html-dosutils
6456 maybe-html-dosutils:
6457 @if dosutils
6458 maybe-html-dosutils: html-dosutils
6460 html-dosutils: \
6461 configure-dosutils
6462 @[ -f ./dosutils/Makefile ] || exit 0; \
6463 r=`${PWD_COMMAND}`; export r; \
6464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6465 $(HOST_EXPORTS) \
6466 for flag in $(EXTRA_HOST_FLAGS) ; do \
6467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6468 done; \
6469 echo "Doing html in dosutils" ; \
6470 (cd $(HOST_SUBDIR)/dosutils && \
6471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6473 "RANLIB=$${RANLIB}" \
6474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6475 html) \
6476 || exit 1
6478 @endif dosutils
6480 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6481 maybe-TAGS-dosutils:
6482 @if dosutils
6483 maybe-TAGS-dosutils: TAGS-dosutils
6485 TAGS-dosutils: \
6486 configure-dosutils
6487 @[ -f ./dosutils/Makefile ] || exit 0; \
6488 r=`${PWD_COMMAND}`; export r; \
6489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6490 $(HOST_EXPORTS) \
6491 for flag in $(EXTRA_HOST_FLAGS) ; do \
6492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6493 done; \
6494 echo "Doing TAGS in dosutils" ; \
6495 (cd $(HOST_SUBDIR)/dosutils && \
6496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6498 "RANLIB=$${RANLIB}" \
6499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6500 TAGS) \
6501 || exit 1
6503 @endif dosutils
6505 .PHONY: maybe-install-info-dosutils install-info-dosutils
6506 maybe-install-info-dosutils:
6507 @if dosutils
6508 maybe-install-info-dosutils: install-info-dosutils
6510 install-info-dosutils: \
6511 configure-dosutils \
6512 info-dosutils
6513 @[ -f ./dosutils/Makefile ] || exit 0; \
6514 r=`${PWD_COMMAND}`; export r; \
6515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6516 $(HOST_EXPORTS) \
6517 for flag in $(EXTRA_HOST_FLAGS) ; do \
6518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6519 done; \
6520 echo "Doing install-info in dosutils" ; \
6521 (cd $(HOST_SUBDIR)/dosutils && \
6522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6524 "RANLIB=$${RANLIB}" \
6525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6526 install-info) \
6527 || exit 1
6529 @endif dosutils
6531 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6532 maybe-installcheck-dosutils:
6533 @if dosutils
6534 maybe-installcheck-dosutils: installcheck-dosutils
6536 installcheck-dosutils: \
6537 configure-dosutils
6538 @[ -f ./dosutils/Makefile ] || exit 0; \
6539 r=`${PWD_COMMAND}`; export r; \
6540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6541 $(HOST_EXPORTS) \
6542 for flag in $(EXTRA_HOST_FLAGS) ; do \
6543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6544 done; \
6545 echo "Doing installcheck in dosutils" ; \
6546 (cd $(HOST_SUBDIR)/dosutils && \
6547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6549 "RANLIB=$${RANLIB}" \
6550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6551 installcheck) \
6552 || exit 1
6554 @endif dosutils
6556 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6557 maybe-mostlyclean-dosutils:
6558 @if dosutils
6559 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6561 mostlyclean-dosutils:
6562 @[ -f ./dosutils/Makefile ] || exit 0; \
6563 r=`${PWD_COMMAND}`; export r; \
6564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6565 $(HOST_EXPORTS) \
6566 for flag in $(EXTRA_HOST_FLAGS) ; do \
6567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6568 done; \
6569 echo "Doing mostlyclean in dosutils" ; \
6570 (cd $(HOST_SUBDIR)/dosutils && \
6571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6573 "RANLIB=$${RANLIB}" \
6574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6575 mostlyclean) \
6576 || exit 1
6578 @endif dosutils
6580 .PHONY: maybe-clean-dosutils clean-dosutils
6581 maybe-clean-dosutils:
6582 @if dosutils
6583 maybe-clean-dosutils: clean-dosutils
6585 clean-dosutils:
6586 @[ -f ./dosutils/Makefile ] || exit 0; \
6587 r=`${PWD_COMMAND}`; export r; \
6588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6589 $(HOST_EXPORTS) \
6590 for flag in $(EXTRA_HOST_FLAGS) ; do \
6591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6592 done; \
6593 echo "Doing clean in dosutils" ; \
6594 (cd $(HOST_SUBDIR)/dosutils && \
6595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6597 "RANLIB=$${RANLIB}" \
6598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6599 clean) \
6600 || exit 1
6602 @endif dosutils
6604 .PHONY: maybe-distclean-dosutils distclean-dosutils
6605 maybe-distclean-dosutils:
6606 @if dosutils
6607 maybe-distclean-dosutils: distclean-dosutils
6609 distclean-dosutils:
6610 @[ -f ./dosutils/Makefile ] || exit 0; \
6611 r=`${PWD_COMMAND}`; export r; \
6612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6613 $(HOST_EXPORTS) \
6614 for flag in $(EXTRA_HOST_FLAGS) ; do \
6615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6616 done; \
6617 echo "Doing distclean in dosutils" ; \
6618 (cd $(HOST_SUBDIR)/dosutils && \
6619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6621 "RANLIB=$${RANLIB}" \
6622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6623 distclean) \
6624 || exit 1
6626 @endif dosutils
6628 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6629 maybe-maintainer-clean-dosutils:
6630 @if dosutils
6631 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6633 maintainer-clean-dosutils:
6634 @[ -f ./dosutils/Makefile ] || exit 0; \
6635 r=`${PWD_COMMAND}`; export r; \
6636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6637 $(HOST_EXPORTS) \
6638 for flag in $(EXTRA_HOST_FLAGS) ; do \
6639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6640 done; \
6641 echo "Doing maintainer-clean in dosutils" ; \
6642 (cd $(HOST_SUBDIR)/dosutils && \
6643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6645 "RANLIB=$${RANLIB}" \
6646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6647 maintainer-clean) \
6648 || exit 1
6650 @endif dosutils
6654 .PHONY: configure-etc maybe-configure-etc
6655 maybe-configure-etc:
6656 @if etc
6657 maybe-configure-etc: configure-etc
6658 configure-etc:
6659 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6660 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6661 r=`${PWD_COMMAND}`; export r; \
6662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6663 $(HOST_EXPORTS) \
6664 echo Configuring in $(HOST_SUBDIR)/etc; \
6665 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6666 case $(srcdir) in \
6667 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6668 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6669 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6670 esac; \
6671 srcdiroption="--srcdir=$${topdir}/etc"; \
6672 libsrcdir="$$s/etc"; \
6673 $(SHELL) $${libsrcdir}/configure \
6674 $(HOST_CONFIGARGS) $${srcdiroption} \
6675 || exit 1
6676 @endif etc
6680 .PHONY: all-etc maybe-all-etc
6681 maybe-all-etc:
6682 @if etc
6683 TARGET-etc=all
6684 maybe-all-etc: all-etc
6685 all-etc: configure-etc
6686 @r=`${PWD_COMMAND}`; export r; \
6687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6688 $(HOST_EXPORTS) \
6689 (cd $(HOST_SUBDIR)/etc && \
6690 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
6691 @endif etc
6694 .PHONY: check-etc maybe-check-etc
6695 maybe-check-etc:
6696 @if etc
6697 maybe-check-etc: check-etc
6699 check-etc:
6700 @r=`${PWD_COMMAND}`; export r; \
6701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6702 $(HOST_EXPORTS) \
6703 (cd $(HOST_SUBDIR)/etc && \
6704 $(MAKE) $(FLAGS_TO_PASS) check)
6706 @endif etc
6708 .PHONY: install-etc maybe-install-etc
6709 maybe-install-etc:
6710 @if etc
6711 maybe-install-etc: install-etc
6713 install-etc: installdirs
6714 @r=`${PWD_COMMAND}`; export r; \
6715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6716 $(HOST_EXPORTS) \
6717 (cd $(HOST_SUBDIR)/etc && \
6718 $(MAKE) $(FLAGS_TO_PASS) install)
6720 @endif etc
6722 # Other targets (info, dvi, etc.)
6724 .PHONY: maybe-info-etc info-etc
6725 maybe-info-etc:
6726 @if etc
6727 maybe-info-etc: info-etc
6729 info-etc: \
6730 configure-etc
6731 @[ -f ./etc/Makefile ] || exit 0; \
6732 r=`${PWD_COMMAND}`; export r; \
6733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6734 $(HOST_EXPORTS) \
6735 for flag in $(EXTRA_HOST_FLAGS) ; do \
6736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6737 done; \
6738 echo "Doing info in etc" ; \
6739 (cd $(HOST_SUBDIR)/etc && \
6740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6742 "RANLIB=$${RANLIB}" \
6743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6744 info) \
6745 || exit 1
6747 @endif etc
6749 .PHONY: maybe-dvi-etc dvi-etc
6750 maybe-dvi-etc:
6751 @if etc
6752 maybe-dvi-etc: dvi-etc
6754 dvi-etc: \
6755 configure-etc
6756 @[ -f ./etc/Makefile ] || exit 0; \
6757 r=`${PWD_COMMAND}`; export r; \
6758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6759 $(HOST_EXPORTS) \
6760 for flag in $(EXTRA_HOST_FLAGS) ; do \
6761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6762 done; \
6763 echo "Doing dvi in etc" ; \
6764 (cd $(HOST_SUBDIR)/etc && \
6765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6767 "RANLIB=$${RANLIB}" \
6768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6769 dvi) \
6770 || exit 1
6772 @endif etc
6774 .PHONY: maybe-html-etc html-etc
6775 maybe-html-etc:
6776 @if etc
6777 maybe-html-etc: html-etc
6779 html-etc: \
6780 configure-etc
6781 @[ -f ./etc/Makefile ] || exit 0; \
6782 r=`${PWD_COMMAND}`; export r; \
6783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6784 $(HOST_EXPORTS) \
6785 for flag in $(EXTRA_HOST_FLAGS) ; do \
6786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6787 done; \
6788 echo "Doing html in etc" ; \
6789 (cd $(HOST_SUBDIR)/etc && \
6790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6792 "RANLIB=$${RANLIB}" \
6793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6794 html) \
6795 || exit 1
6797 @endif etc
6799 .PHONY: maybe-TAGS-etc TAGS-etc
6800 maybe-TAGS-etc:
6801 @if etc
6802 maybe-TAGS-etc: TAGS-etc
6804 TAGS-etc: \
6805 configure-etc
6806 @[ -f ./etc/Makefile ] || exit 0; \
6807 r=`${PWD_COMMAND}`; export r; \
6808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6809 $(HOST_EXPORTS) \
6810 for flag in $(EXTRA_HOST_FLAGS) ; do \
6811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6812 done; \
6813 echo "Doing TAGS in etc" ; \
6814 (cd $(HOST_SUBDIR)/etc && \
6815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6817 "RANLIB=$${RANLIB}" \
6818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6819 TAGS) \
6820 || exit 1
6822 @endif etc
6824 .PHONY: maybe-install-info-etc install-info-etc
6825 maybe-install-info-etc:
6826 @if etc
6827 maybe-install-info-etc: install-info-etc
6829 install-info-etc: \
6830 configure-etc \
6831 info-etc
6832 @[ -f ./etc/Makefile ] || exit 0; \
6833 r=`${PWD_COMMAND}`; export r; \
6834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6835 $(HOST_EXPORTS) \
6836 for flag in $(EXTRA_HOST_FLAGS) ; do \
6837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6838 done; \
6839 echo "Doing install-info in etc" ; \
6840 (cd $(HOST_SUBDIR)/etc && \
6841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6843 "RANLIB=$${RANLIB}" \
6844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6845 install-info) \
6846 || exit 1
6848 @endif etc
6850 .PHONY: maybe-installcheck-etc installcheck-etc
6851 maybe-installcheck-etc:
6852 @if etc
6853 maybe-installcheck-etc: installcheck-etc
6855 installcheck-etc: \
6856 configure-etc
6857 @[ -f ./etc/Makefile ] || exit 0; \
6858 r=`${PWD_COMMAND}`; export r; \
6859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6860 $(HOST_EXPORTS) \
6861 for flag in $(EXTRA_HOST_FLAGS) ; do \
6862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6863 done; \
6864 echo "Doing installcheck in etc" ; \
6865 (cd $(HOST_SUBDIR)/etc && \
6866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6868 "RANLIB=$${RANLIB}" \
6869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6870 installcheck) \
6871 || exit 1
6873 @endif etc
6875 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6876 maybe-mostlyclean-etc:
6877 @if etc
6878 maybe-mostlyclean-etc: mostlyclean-etc
6880 mostlyclean-etc:
6881 @[ -f ./etc/Makefile ] || exit 0; \
6882 r=`${PWD_COMMAND}`; export r; \
6883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6884 $(HOST_EXPORTS) \
6885 for flag in $(EXTRA_HOST_FLAGS) ; do \
6886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6887 done; \
6888 echo "Doing mostlyclean in etc" ; \
6889 (cd $(HOST_SUBDIR)/etc && \
6890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6892 "RANLIB=$${RANLIB}" \
6893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6894 mostlyclean) \
6895 || exit 1
6897 @endif etc
6899 .PHONY: maybe-clean-etc clean-etc
6900 maybe-clean-etc:
6901 @if etc
6902 maybe-clean-etc: clean-etc
6904 clean-etc:
6905 @[ -f ./etc/Makefile ] || exit 0; \
6906 r=`${PWD_COMMAND}`; export r; \
6907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6908 $(HOST_EXPORTS) \
6909 for flag in $(EXTRA_HOST_FLAGS) ; do \
6910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6911 done; \
6912 echo "Doing clean in etc" ; \
6913 (cd $(HOST_SUBDIR)/etc && \
6914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6916 "RANLIB=$${RANLIB}" \
6917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6918 clean) \
6919 || exit 1
6921 @endif etc
6923 .PHONY: maybe-distclean-etc distclean-etc
6924 maybe-distclean-etc:
6925 @if etc
6926 maybe-distclean-etc: distclean-etc
6928 distclean-etc:
6929 @[ -f ./etc/Makefile ] || exit 0; \
6930 r=`${PWD_COMMAND}`; export r; \
6931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6932 $(HOST_EXPORTS) \
6933 for flag in $(EXTRA_HOST_FLAGS) ; do \
6934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6935 done; \
6936 echo "Doing distclean in etc" ; \
6937 (cd $(HOST_SUBDIR)/etc && \
6938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6940 "RANLIB=$${RANLIB}" \
6941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6942 distclean) \
6943 || exit 1
6945 @endif etc
6947 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6948 maybe-maintainer-clean-etc:
6949 @if etc
6950 maybe-maintainer-clean-etc: maintainer-clean-etc
6952 maintainer-clean-etc:
6953 @[ -f ./etc/Makefile ] || exit 0; \
6954 r=`${PWD_COMMAND}`; export r; \
6955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6956 $(HOST_EXPORTS) \
6957 for flag in $(EXTRA_HOST_FLAGS) ; do \
6958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6959 done; \
6960 echo "Doing maintainer-clean in etc" ; \
6961 (cd $(HOST_SUBDIR)/etc && \
6962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6964 "RANLIB=$${RANLIB}" \
6965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6966 maintainer-clean) \
6967 || exit 1
6969 @endif etc
6973 .PHONY: configure-fastjar maybe-configure-fastjar
6974 maybe-configure-fastjar:
6975 @if fastjar
6976 maybe-configure-fastjar: configure-fastjar
6977 configure-fastjar:
6978 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
6979 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
6980 r=`${PWD_COMMAND}`; export r; \
6981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6982 $(HOST_EXPORTS) \
6983 echo Configuring in $(HOST_SUBDIR)/fastjar; \
6984 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
6985 case $(srcdir) in \
6986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6987 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
6988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6989 esac; \
6990 srcdiroption="--srcdir=$${topdir}/fastjar"; \
6991 libsrcdir="$$s/fastjar"; \
6992 $(SHELL) $${libsrcdir}/configure \
6993 $(HOST_CONFIGARGS) $${srcdiroption} \
6994 || exit 1
6995 @endif fastjar
6999 .PHONY: all-fastjar maybe-all-fastjar
7000 maybe-all-fastjar:
7001 @if fastjar
7002 TARGET-fastjar=all
7003 maybe-all-fastjar: all-fastjar
7004 all-fastjar: configure-fastjar
7005 @r=`${PWD_COMMAND}`; export r; \
7006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7007 $(HOST_EXPORTS) \
7008 (cd $(HOST_SUBDIR)/fastjar && \
7009 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
7010 @endif fastjar
7013 .PHONY: check-fastjar maybe-check-fastjar
7014 maybe-check-fastjar:
7015 @if fastjar
7016 maybe-check-fastjar: check-fastjar
7018 # This module is only tested in a native toolchain.
7019 check-fastjar:
7020 @if [ '$(host)' = '$(target)' ] ; then \
7021 r=`${PWD_COMMAND}`; export r; \
7022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7023 $(HOST_EXPORTS) \
7024 (cd $(HOST_SUBDIR)/fastjar && \
7025 $(MAKE) $(FLAGS_TO_PASS) check); \
7028 @endif fastjar
7030 .PHONY: install-fastjar maybe-install-fastjar
7031 maybe-install-fastjar:
7032 @if fastjar
7033 maybe-install-fastjar: install-fastjar
7035 install-fastjar: installdirs
7036 @r=`${PWD_COMMAND}`; export r; \
7037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7038 $(HOST_EXPORTS) \
7039 (cd $(HOST_SUBDIR)/fastjar && \
7040 $(MAKE) $(FLAGS_TO_PASS) install)
7042 @endif fastjar
7044 # Other targets (info, dvi, etc.)
7046 .PHONY: maybe-info-fastjar info-fastjar
7047 maybe-info-fastjar:
7048 @if fastjar
7049 maybe-info-fastjar: info-fastjar
7051 info-fastjar: \
7052 configure-fastjar
7053 @[ -f ./fastjar/Makefile ] || exit 0; \
7054 r=`${PWD_COMMAND}`; export r; \
7055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7056 $(HOST_EXPORTS) \
7057 for flag in $(EXTRA_HOST_FLAGS) ; do \
7058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7059 done; \
7060 echo "Doing info in fastjar" ; \
7061 (cd $(HOST_SUBDIR)/fastjar && \
7062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7064 "RANLIB=$${RANLIB}" \
7065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7066 info) \
7067 || exit 1
7069 @endif fastjar
7071 .PHONY: maybe-dvi-fastjar dvi-fastjar
7072 maybe-dvi-fastjar:
7073 @if fastjar
7074 maybe-dvi-fastjar: dvi-fastjar
7076 dvi-fastjar: \
7077 configure-fastjar
7078 @[ -f ./fastjar/Makefile ] || exit 0; \
7079 r=`${PWD_COMMAND}`; export r; \
7080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7081 $(HOST_EXPORTS) \
7082 for flag in $(EXTRA_HOST_FLAGS) ; do \
7083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7084 done; \
7085 echo "Doing dvi in fastjar" ; \
7086 (cd $(HOST_SUBDIR)/fastjar && \
7087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7089 "RANLIB=$${RANLIB}" \
7090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7091 dvi) \
7092 || exit 1
7094 @endif fastjar
7096 .PHONY: maybe-html-fastjar html-fastjar
7097 maybe-html-fastjar:
7098 @if fastjar
7099 maybe-html-fastjar: html-fastjar
7101 html-fastjar: \
7102 configure-fastjar
7103 @[ -f ./fastjar/Makefile ] || exit 0; \
7104 r=`${PWD_COMMAND}`; export r; \
7105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7106 $(HOST_EXPORTS) \
7107 for flag in $(EXTRA_HOST_FLAGS) ; do \
7108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7109 done; \
7110 echo "Doing html in fastjar" ; \
7111 (cd $(HOST_SUBDIR)/fastjar && \
7112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7114 "RANLIB=$${RANLIB}" \
7115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7116 html) \
7117 || exit 1
7119 @endif fastjar
7121 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7122 maybe-TAGS-fastjar:
7123 @if fastjar
7124 maybe-TAGS-fastjar: TAGS-fastjar
7126 TAGS-fastjar: \
7127 configure-fastjar
7128 @[ -f ./fastjar/Makefile ] || exit 0; \
7129 r=`${PWD_COMMAND}`; export r; \
7130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7131 $(HOST_EXPORTS) \
7132 for flag in $(EXTRA_HOST_FLAGS) ; do \
7133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7134 done; \
7135 echo "Doing TAGS in fastjar" ; \
7136 (cd $(HOST_SUBDIR)/fastjar && \
7137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7139 "RANLIB=$${RANLIB}" \
7140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7141 TAGS) \
7142 || exit 1
7144 @endif fastjar
7146 .PHONY: maybe-install-info-fastjar install-info-fastjar
7147 maybe-install-info-fastjar:
7148 @if fastjar
7149 maybe-install-info-fastjar: install-info-fastjar
7151 install-info-fastjar: \
7152 configure-fastjar \
7153 info-fastjar
7154 @[ -f ./fastjar/Makefile ] || exit 0; \
7155 r=`${PWD_COMMAND}`; export r; \
7156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7157 $(HOST_EXPORTS) \
7158 for flag in $(EXTRA_HOST_FLAGS) ; do \
7159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7160 done; \
7161 echo "Doing install-info in fastjar" ; \
7162 (cd $(HOST_SUBDIR)/fastjar && \
7163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7165 "RANLIB=$${RANLIB}" \
7166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7167 install-info) \
7168 || exit 1
7170 @endif fastjar
7172 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7173 maybe-installcheck-fastjar:
7174 @if fastjar
7175 maybe-installcheck-fastjar: installcheck-fastjar
7177 installcheck-fastjar: \
7178 configure-fastjar
7179 @[ -f ./fastjar/Makefile ] || exit 0; \
7180 r=`${PWD_COMMAND}`; export r; \
7181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7182 $(HOST_EXPORTS) \
7183 for flag in $(EXTRA_HOST_FLAGS) ; do \
7184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7185 done; \
7186 echo "Doing installcheck in fastjar" ; \
7187 (cd $(HOST_SUBDIR)/fastjar && \
7188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7190 "RANLIB=$${RANLIB}" \
7191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7192 installcheck) \
7193 || exit 1
7195 @endif fastjar
7197 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7198 maybe-mostlyclean-fastjar:
7199 @if fastjar
7200 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7202 mostlyclean-fastjar:
7203 @[ -f ./fastjar/Makefile ] || exit 0; \
7204 r=`${PWD_COMMAND}`; export r; \
7205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7206 $(HOST_EXPORTS) \
7207 for flag in $(EXTRA_HOST_FLAGS) ; do \
7208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7209 done; \
7210 echo "Doing mostlyclean in fastjar" ; \
7211 (cd $(HOST_SUBDIR)/fastjar && \
7212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7214 "RANLIB=$${RANLIB}" \
7215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7216 mostlyclean) \
7217 || exit 1
7219 @endif fastjar
7221 .PHONY: maybe-clean-fastjar clean-fastjar
7222 maybe-clean-fastjar:
7223 @if fastjar
7224 maybe-clean-fastjar: clean-fastjar
7226 clean-fastjar:
7227 @[ -f ./fastjar/Makefile ] || exit 0; \
7228 r=`${PWD_COMMAND}`; export r; \
7229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7230 $(HOST_EXPORTS) \
7231 for flag in $(EXTRA_HOST_FLAGS) ; do \
7232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7233 done; \
7234 echo "Doing clean 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 clean) \
7241 || exit 1
7243 @endif fastjar
7245 .PHONY: maybe-distclean-fastjar distclean-fastjar
7246 maybe-distclean-fastjar:
7247 @if fastjar
7248 maybe-distclean-fastjar: distclean-fastjar
7250 distclean-fastjar:
7251 @[ -f ./fastjar/Makefile ] || exit 0; \
7252 r=`${PWD_COMMAND}`; export r; \
7253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7254 $(HOST_EXPORTS) \
7255 for flag in $(EXTRA_HOST_FLAGS) ; do \
7256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7257 done; \
7258 echo "Doing distclean in fastjar" ; \
7259 (cd $(HOST_SUBDIR)/fastjar && \
7260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7262 "RANLIB=$${RANLIB}" \
7263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7264 distclean) \
7265 || exit 1
7267 @endif fastjar
7269 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7270 maybe-maintainer-clean-fastjar:
7271 @if fastjar
7272 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7274 maintainer-clean-fastjar:
7275 @[ -f ./fastjar/Makefile ] || exit 0; \
7276 r=`${PWD_COMMAND}`; export r; \
7277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7278 $(HOST_EXPORTS) \
7279 for flag in $(EXTRA_HOST_FLAGS) ; do \
7280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7281 done; \
7282 echo "Doing maintainer-clean in fastjar" ; \
7283 (cd $(HOST_SUBDIR)/fastjar && \
7284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7286 "RANLIB=$${RANLIB}" \
7287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7288 maintainer-clean) \
7289 || exit 1
7291 @endif fastjar
7295 .PHONY: configure-fileutils maybe-configure-fileutils
7296 maybe-configure-fileutils:
7297 @if fileutils
7298 maybe-configure-fileutils: configure-fileutils
7299 configure-fileutils:
7300 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
7301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
7302 r=`${PWD_COMMAND}`; export r; \
7303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7304 $(HOST_EXPORTS) \
7305 echo Configuring in $(HOST_SUBDIR)/fileutils; \
7306 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
7307 case $(srcdir) in \
7308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7309 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
7310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7311 esac; \
7312 srcdiroption="--srcdir=$${topdir}/fileutils"; \
7313 libsrcdir="$$s/fileutils"; \
7314 $(SHELL) $${libsrcdir}/configure \
7315 $(HOST_CONFIGARGS) $${srcdiroption} \
7316 || exit 1
7317 @endif fileutils
7321 .PHONY: all-fileutils maybe-all-fileutils
7322 maybe-all-fileutils:
7323 @if fileutils
7324 TARGET-fileutils=all
7325 maybe-all-fileutils: all-fileutils
7326 all-fileutils: configure-fileutils
7327 @r=`${PWD_COMMAND}`; export r; \
7328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7329 $(HOST_EXPORTS) \
7330 (cd $(HOST_SUBDIR)/fileutils && \
7331 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
7332 @endif fileutils
7335 .PHONY: check-fileutils maybe-check-fileutils
7336 maybe-check-fileutils:
7337 @if fileutils
7338 maybe-check-fileutils: check-fileutils
7340 check-fileutils:
7341 @r=`${PWD_COMMAND}`; export r; \
7342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7343 $(HOST_EXPORTS) \
7344 (cd $(HOST_SUBDIR)/fileutils && \
7345 $(MAKE) $(FLAGS_TO_PASS) check)
7347 @endif fileutils
7349 .PHONY: install-fileutils maybe-install-fileutils
7350 maybe-install-fileutils:
7351 @if fileutils
7352 maybe-install-fileutils: install-fileutils
7354 install-fileutils: installdirs
7355 @r=`${PWD_COMMAND}`; export r; \
7356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7357 $(HOST_EXPORTS) \
7358 (cd $(HOST_SUBDIR)/fileutils && \
7359 $(MAKE) $(FLAGS_TO_PASS) install)
7361 @endif fileutils
7363 # Other targets (info, dvi, etc.)
7365 .PHONY: maybe-info-fileutils info-fileutils
7366 maybe-info-fileutils:
7367 @if fileutils
7368 maybe-info-fileutils: info-fileutils
7370 info-fileutils: \
7371 configure-fileutils
7372 @[ -f ./fileutils/Makefile ] || exit 0; \
7373 r=`${PWD_COMMAND}`; export r; \
7374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7375 $(HOST_EXPORTS) \
7376 for flag in $(EXTRA_HOST_FLAGS) ; do \
7377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7378 done; \
7379 echo "Doing info in fileutils" ; \
7380 (cd $(HOST_SUBDIR)/fileutils && \
7381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7383 "RANLIB=$${RANLIB}" \
7384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7385 info) \
7386 || exit 1
7388 @endif fileutils
7390 .PHONY: maybe-dvi-fileutils dvi-fileutils
7391 maybe-dvi-fileutils:
7392 @if fileutils
7393 maybe-dvi-fileutils: dvi-fileutils
7395 dvi-fileutils: \
7396 configure-fileutils
7397 @[ -f ./fileutils/Makefile ] || exit 0; \
7398 r=`${PWD_COMMAND}`; export r; \
7399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7400 $(HOST_EXPORTS) \
7401 for flag in $(EXTRA_HOST_FLAGS) ; do \
7402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7403 done; \
7404 echo "Doing dvi in fileutils" ; \
7405 (cd $(HOST_SUBDIR)/fileutils && \
7406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7408 "RANLIB=$${RANLIB}" \
7409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7410 dvi) \
7411 || exit 1
7413 @endif fileutils
7415 .PHONY: maybe-html-fileutils html-fileutils
7416 maybe-html-fileutils:
7417 @if fileutils
7418 maybe-html-fileutils: html-fileutils
7420 html-fileutils: \
7421 configure-fileutils
7422 @[ -f ./fileutils/Makefile ] || exit 0; \
7423 r=`${PWD_COMMAND}`; export r; \
7424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7425 $(HOST_EXPORTS) \
7426 for flag in $(EXTRA_HOST_FLAGS) ; do \
7427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7428 done; \
7429 echo "Doing html in fileutils" ; \
7430 (cd $(HOST_SUBDIR)/fileutils && \
7431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7433 "RANLIB=$${RANLIB}" \
7434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7435 html) \
7436 || exit 1
7438 @endif fileutils
7440 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7441 maybe-TAGS-fileutils:
7442 @if fileutils
7443 maybe-TAGS-fileutils: TAGS-fileutils
7445 TAGS-fileutils: \
7446 configure-fileutils
7447 @[ -f ./fileutils/Makefile ] || exit 0; \
7448 r=`${PWD_COMMAND}`; export r; \
7449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7450 $(HOST_EXPORTS) \
7451 for flag in $(EXTRA_HOST_FLAGS) ; do \
7452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7453 done; \
7454 echo "Doing TAGS in fileutils" ; \
7455 (cd $(HOST_SUBDIR)/fileutils && \
7456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7458 "RANLIB=$${RANLIB}" \
7459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7460 TAGS) \
7461 || exit 1
7463 @endif fileutils
7465 .PHONY: maybe-install-info-fileutils install-info-fileutils
7466 maybe-install-info-fileutils:
7467 @if fileutils
7468 maybe-install-info-fileutils: install-info-fileutils
7470 install-info-fileutils: \
7471 configure-fileutils \
7472 info-fileutils
7473 @[ -f ./fileutils/Makefile ] || exit 0; \
7474 r=`${PWD_COMMAND}`; export r; \
7475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7476 $(HOST_EXPORTS) \
7477 for flag in $(EXTRA_HOST_FLAGS) ; do \
7478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7479 done; \
7480 echo "Doing install-info in fileutils" ; \
7481 (cd $(HOST_SUBDIR)/fileutils && \
7482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7484 "RANLIB=$${RANLIB}" \
7485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7486 install-info) \
7487 || exit 1
7489 @endif fileutils
7491 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7492 maybe-installcheck-fileutils:
7493 @if fileutils
7494 maybe-installcheck-fileutils: installcheck-fileutils
7496 installcheck-fileutils: \
7497 configure-fileutils
7498 @[ -f ./fileutils/Makefile ] || exit 0; \
7499 r=`${PWD_COMMAND}`; export r; \
7500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7501 $(HOST_EXPORTS) \
7502 for flag in $(EXTRA_HOST_FLAGS) ; do \
7503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7504 done; \
7505 echo "Doing installcheck in fileutils" ; \
7506 (cd $(HOST_SUBDIR)/fileutils && \
7507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7509 "RANLIB=$${RANLIB}" \
7510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7511 installcheck) \
7512 || exit 1
7514 @endif fileutils
7516 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7517 maybe-mostlyclean-fileutils:
7518 @if fileutils
7519 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7521 mostlyclean-fileutils:
7522 @[ -f ./fileutils/Makefile ] || exit 0; \
7523 r=`${PWD_COMMAND}`; export r; \
7524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7525 $(HOST_EXPORTS) \
7526 for flag in $(EXTRA_HOST_FLAGS) ; do \
7527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7528 done; \
7529 echo "Doing mostlyclean in fileutils" ; \
7530 (cd $(HOST_SUBDIR)/fileutils && \
7531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7533 "RANLIB=$${RANLIB}" \
7534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7535 mostlyclean) \
7536 || exit 1
7538 @endif fileutils
7540 .PHONY: maybe-clean-fileutils clean-fileutils
7541 maybe-clean-fileutils:
7542 @if fileutils
7543 maybe-clean-fileutils: clean-fileutils
7545 clean-fileutils:
7546 @[ -f ./fileutils/Makefile ] || exit 0; \
7547 r=`${PWD_COMMAND}`; export r; \
7548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7549 $(HOST_EXPORTS) \
7550 for flag in $(EXTRA_HOST_FLAGS) ; do \
7551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7552 done; \
7553 echo "Doing clean in fileutils" ; \
7554 (cd $(HOST_SUBDIR)/fileutils && \
7555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7557 "RANLIB=$${RANLIB}" \
7558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7559 clean) \
7560 || exit 1
7562 @endif fileutils
7564 .PHONY: maybe-distclean-fileutils distclean-fileutils
7565 maybe-distclean-fileutils:
7566 @if fileutils
7567 maybe-distclean-fileutils: distclean-fileutils
7569 distclean-fileutils:
7570 @[ -f ./fileutils/Makefile ] || exit 0; \
7571 r=`${PWD_COMMAND}`; export r; \
7572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7573 $(HOST_EXPORTS) \
7574 for flag in $(EXTRA_HOST_FLAGS) ; do \
7575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7576 done; \
7577 echo "Doing distclean in fileutils" ; \
7578 (cd $(HOST_SUBDIR)/fileutils && \
7579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7581 "RANLIB=$${RANLIB}" \
7582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7583 distclean) \
7584 || exit 1
7586 @endif fileutils
7588 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7589 maybe-maintainer-clean-fileutils:
7590 @if fileutils
7591 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7593 maintainer-clean-fileutils:
7594 @[ -f ./fileutils/Makefile ] || exit 0; \
7595 r=`${PWD_COMMAND}`; export r; \
7596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7597 $(HOST_EXPORTS) \
7598 for flag in $(EXTRA_HOST_FLAGS) ; do \
7599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7600 done; \
7601 echo "Doing maintainer-clean in fileutils" ; \
7602 (cd $(HOST_SUBDIR)/fileutils && \
7603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7605 "RANLIB=$${RANLIB}" \
7606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7607 maintainer-clean) \
7608 || exit 1
7610 @endif fileutils
7614 .PHONY: configure-findutils maybe-configure-findutils
7615 maybe-configure-findutils:
7616 @if findutils
7617 maybe-configure-findutils: configure-findutils
7618 configure-findutils:
7619 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
7620 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
7621 r=`${PWD_COMMAND}`; export r; \
7622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7623 $(HOST_EXPORTS) \
7624 echo Configuring in $(HOST_SUBDIR)/findutils; \
7625 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
7626 case $(srcdir) in \
7627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7628 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
7629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7630 esac; \
7631 srcdiroption="--srcdir=$${topdir}/findutils"; \
7632 libsrcdir="$$s/findutils"; \
7633 $(SHELL) $${libsrcdir}/configure \
7634 $(HOST_CONFIGARGS) $${srcdiroption} \
7635 || exit 1
7636 @endif findutils
7640 .PHONY: all-findutils maybe-all-findutils
7641 maybe-all-findutils:
7642 @if findutils
7643 TARGET-findutils=all
7644 maybe-all-findutils: all-findutils
7645 all-findutils: configure-findutils
7646 @r=`${PWD_COMMAND}`; export r; \
7647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7648 $(HOST_EXPORTS) \
7649 (cd $(HOST_SUBDIR)/findutils && \
7650 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
7651 @endif findutils
7654 .PHONY: check-findutils maybe-check-findutils
7655 maybe-check-findutils:
7656 @if findutils
7657 maybe-check-findutils: check-findutils
7659 check-findutils:
7660 @r=`${PWD_COMMAND}`; export r; \
7661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7662 $(HOST_EXPORTS) \
7663 (cd $(HOST_SUBDIR)/findutils && \
7664 $(MAKE) $(FLAGS_TO_PASS) check)
7666 @endif findutils
7668 .PHONY: install-findutils maybe-install-findutils
7669 maybe-install-findutils:
7670 @if findutils
7671 maybe-install-findutils: install-findutils
7673 install-findutils: installdirs
7674 @r=`${PWD_COMMAND}`; export r; \
7675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7676 $(HOST_EXPORTS) \
7677 (cd $(HOST_SUBDIR)/findutils && \
7678 $(MAKE) $(FLAGS_TO_PASS) install)
7680 @endif findutils
7682 # Other targets (info, dvi, etc.)
7684 .PHONY: maybe-info-findutils info-findutils
7685 maybe-info-findutils:
7686 @if findutils
7687 maybe-info-findutils: info-findutils
7689 info-findutils: \
7690 configure-findutils
7691 @[ -f ./findutils/Makefile ] || exit 0; \
7692 r=`${PWD_COMMAND}`; export r; \
7693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7694 $(HOST_EXPORTS) \
7695 for flag in $(EXTRA_HOST_FLAGS) ; do \
7696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7697 done; \
7698 echo "Doing info in findutils" ; \
7699 (cd $(HOST_SUBDIR)/findutils && \
7700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7702 "RANLIB=$${RANLIB}" \
7703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7704 info) \
7705 || exit 1
7707 @endif findutils
7709 .PHONY: maybe-dvi-findutils dvi-findutils
7710 maybe-dvi-findutils:
7711 @if findutils
7712 maybe-dvi-findutils: dvi-findutils
7714 dvi-findutils: \
7715 configure-findutils
7716 @[ -f ./findutils/Makefile ] || exit 0; \
7717 r=`${PWD_COMMAND}`; export r; \
7718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7719 $(HOST_EXPORTS) \
7720 for flag in $(EXTRA_HOST_FLAGS) ; do \
7721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7722 done; \
7723 echo "Doing dvi in findutils" ; \
7724 (cd $(HOST_SUBDIR)/findutils && \
7725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7727 "RANLIB=$${RANLIB}" \
7728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7729 dvi) \
7730 || exit 1
7732 @endif findutils
7734 .PHONY: maybe-html-findutils html-findutils
7735 maybe-html-findutils:
7736 @if findutils
7737 maybe-html-findutils: html-findutils
7739 html-findutils: \
7740 configure-findutils
7741 @[ -f ./findutils/Makefile ] || exit 0; \
7742 r=`${PWD_COMMAND}`; export r; \
7743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7744 $(HOST_EXPORTS) \
7745 for flag in $(EXTRA_HOST_FLAGS) ; do \
7746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7747 done; \
7748 echo "Doing html in findutils" ; \
7749 (cd $(HOST_SUBDIR)/findutils && \
7750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7752 "RANLIB=$${RANLIB}" \
7753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7754 html) \
7755 || exit 1
7757 @endif findutils
7759 .PHONY: maybe-TAGS-findutils TAGS-findutils
7760 maybe-TAGS-findutils:
7761 @if findutils
7762 maybe-TAGS-findutils: TAGS-findutils
7764 TAGS-findutils: \
7765 configure-findutils
7766 @[ -f ./findutils/Makefile ] || exit 0; \
7767 r=`${PWD_COMMAND}`; export r; \
7768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7769 $(HOST_EXPORTS) \
7770 for flag in $(EXTRA_HOST_FLAGS) ; do \
7771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7772 done; \
7773 echo "Doing TAGS in findutils" ; \
7774 (cd $(HOST_SUBDIR)/findutils && \
7775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7777 "RANLIB=$${RANLIB}" \
7778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7779 TAGS) \
7780 || exit 1
7782 @endif findutils
7784 .PHONY: maybe-install-info-findutils install-info-findutils
7785 maybe-install-info-findutils:
7786 @if findutils
7787 maybe-install-info-findutils: install-info-findutils
7789 install-info-findutils: \
7790 configure-findutils \
7791 info-findutils
7792 @[ -f ./findutils/Makefile ] || exit 0; \
7793 r=`${PWD_COMMAND}`; export r; \
7794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7795 $(HOST_EXPORTS) \
7796 for flag in $(EXTRA_HOST_FLAGS) ; do \
7797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7798 done; \
7799 echo "Doing install-info in findutils" ; \
7800 (cd $(HOST_SUBDIR)/findutils && \
7801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7803 "RANLIB=$${RANLIB}" \
7804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7805 install-info) \
7806 || exit 1
7808 @endif findutils
7810 .PHONY: maybe-installcheck-findutils installcheck-findutils
7811 maybe-installcheck-findutils:
7812 @if findutils
7813 maybe-installcheck-findutils: installcheck-findutils
7815 installcheck-findutils: \
7816 configure-findutils
7817 @[ -f ./findutils/Makefile ] || exit 0; \
7818 r=`${PWD_COMMAND}`; export r; \
7819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7820 $(HOST_EXPORTS) \
7821 for flag in $(EXTRA_HOST_FLAGS) ; do \
7822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7823 done; \
7824 echo "Doing installcheck in findutils" ; \
7825 (cd $(HOST_SUBDIR)/findutils && \
7826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7828 "RANLIB=$${RANLIB}" \
7829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7830 installcheck) \
7831 || exit 1
7833 @endif findutils
7835 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7836 maybe-mostlyclean-findutils:
7837 @if findutils
7838 maybe-mostlyclean-findutils: mostlyclean-findutils
7840 mostlyclean-findutils:
7841 @[ -f ./findutils/Makefile ] || exit 0; \
7842 r=`${PWD_COMMAND}`; export r; \
7843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7844 $(HOST_EXPORTS) \
7845 for flag in $(EXTRA_HOST_FLAGS) ; do \
7846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7847 done; \
7848 echo "Doing mostlyclean in findutils" ; \
7849 (cd $(HOST_SUBDIR)/findutils && \
7850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7852 "RANLIB=$${RANLIB}" \
7853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7854 mostlyclean) \
7855 || exit 1
7857 @endif findutils
7859 .PHONY: maybe-clean-findutils clean-findutils
7860 maybe-clean-findutils:
7861 @if findutils
7862 maybe-clean-findutils: clean-findutils
7864 clean-findutils:
7865 @[ -f ./findutils/Makefile ] || exit 0; \
7866 r=`${PWD_COMMAND}`; export r; \
7867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7868 $(HOST_EXPORTS) \
7869 for flag in $(EXTRA_HOST_FLAGS) ; do \
7870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7871 done; \
7872 echo "Doing clean in findutils" ; \
7873 (cd $(HOST_SUBDIR)/findutils && \
7874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7876 "RANLIB=$${RANLIB}" \
7877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7878 clean) \
7879 || exit 1
7881 @endif findutils
7883 .PHONY: maybe-distclean-findutils distclean-findutils
7884 maybe-distclean-findutils:
7885 @if findutils
7886 maybe-distclean-findutils: distclean-findutils
7888 distclean-findutils:
7889 @[ -f ./findutils/Makefile ] || exit 0; \
7890 r=`${PWD_COMMAND}`; export r; \
7891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7892 $(HOST_EXPORTS) \
7893 for flag in $(EXTRA_HOST_FLAGS) ; do \
7894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7895 done; \
7896 echo "Doing distclean in findutils" ; \
7897 (cd $(HOST_SUBDIR)/findutils && \
7898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7900 "RANLIB=$${RANLIB}" \
7901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7902 distclean) \
7903 || exit 1
7905 @endif findutils
7907 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7908 maybe-maintainer-clean-findutils:
7909 @if findutils
7910 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7912 maintainer-clean-findutils:
7913 @[ -f ./findutils/Makefile ] || exit 0; \
7914 r=`${PWD_COMMAND}`; export r; \
7915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7916 $(HOST_EXPORTS) \
7917 for flag in $(EXTRA_HOST_FLAGS) ; do \
7918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7919 done; \
7920 echo "Doing maintainer-clean in findutils" ; \
7921 (cd $(HOST_SUBDIR)/findutils && \
7922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7924 "RANLIB=$${RANLIB}" \
7925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7926 maintainer-clean) \
7927 || exit 1
7929 @endif findutils
7933 .PHONY: configure-find maybe-configure-find
7934 maybe-configure-find:
7935 @if find
7936 maybe-configure-find: configure-find
7937 configure-find:
7938 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
7939 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
7940 r=`${PWD_COMMAND}`; export r; \
7941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7942 $(HOST_EXPORTS) \
7943 echo Configuring in $(HOST_SUBDIR)/find; \
7944 cd "$(HOST_SUBDIR)/find" || exit 1; \
7945 case $(srcdir) in \
7946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7947 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
7948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7949 esac; \
7950 srcdiroption="--srcdir=$${topdir}/find"; \
7951 libsrcdir="$$s/find"; \
7952 $(SHELL) $${libsrcdir}/configure \
7953 $(HOST_CONFIGARGS) $${srcdiroption} \
7954 || exit 1
7955 @endif find
7959 .PHONY: all-find maybe-all-find
7960 maybe-all-find:
7961 @if find
7962 TARGET-find=all
7963 maybe-all-find: all-find
7964 all-find: configure-find
7965 @r=`${PWD_COMMAND}`; export r; \
7966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7967 $(HOST_EXPORTS) \
7968 (cd $(HOST_SUBDIR)/find && \
7969 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
7970 @endif find
7973 .PHONY: check-find maybe-check-find
7974 maybe-check-find:
7975 @if find
7976 maybe-check-find: check-find
7978 check-find:
7979 @r=`${PWD_COMMAND}`; export r; \
7980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7981 $(HOST_EXPORTS) \
7982 (cd $(HOST_SUBDIR)/find && \
7983 $(MAKE) $(FLAGS_TO_PASS) check)
7985 @endif find
7987 .PHONY: install-find maybe-install-find
7988 maybe-install-find:
7989 @if find
7990 maybe-install-find: install-find
7992 install-find: installdirs
7993 @r=`${PWD_COMMAND}`; export r; \
7994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7995 $(HOST_EXPORTS) \
7996 (cd $(HOST_SUBDIR)/find && \
7997 $(MAKE) $(FLAGS_TO_PASS) install)
7999 @endif find
8001 # Other targets (info, dvi, etc.)
8003 .PHONY: maybe-info-find info-find
8004 maybe-info-find:
8005 @if find
8006 maybe-info-find: info-find
8008 info-find: \
8009 configure-find
8010 @[ -f ./find/Makefile ] || exit 0; \
8011 r=`${PWD_COMMAND}`; export r; \
8012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8013 $(HOST_EXPORTS) \
8014 for flag in $(EXTRA_HOST_FLAGS) ; do \
8015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8016 done; \
8017 echo "Doing info in find" ; \
8018 (cd $(HOST_SUBDIR)/find && \
8019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8021 "RANLIB=$${RANLIB}" \
8022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8023 info) \
8024 || exit 1
8026 @endif find
8028 .PHONY: maybe-dvi-find dvi-find
8029 maybe-dvi-find:
8030 @if find
8031 maybe-dvi-find: dvi-find
8033 dvi-find: \
8034 configure-find
8035 @[ -f ./find/Makefile ] || exit 0; \
8036 r=`${PWD_COMMAND}`; export r; \
8037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8038 $(HOST_EXPORTS) \
8039 for flag in $(EXTRA_HOST_FLAGS) ; do \
8040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8041 done; \
8042 echo "Doing dvi in find" ; \
8043 (cd $(HOST_SUBDIR)/find && \
8044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8046 "RANLIB=$${RANLIB}" \
8047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8048 dvi) \
8049 || exit 1
8051 @endif find
8053 .PHONY: maybe-html-find html-find
8054 maybe-html-find:
8055 @if find
8056 maybe-html-find: html-find
8058 html-find: \
8059 configure-find
8060 @[ -f ./find/Makefile ] || exit 0; \
8061 r=`${PWD_COMMAND}`; export r; \
8062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8063 $(HOST_EXPORTS) \
8064 for flag in $(EXTRA_HOST_FLAGS) ; do \
8065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8066 done; \
8067 echo "Doing html in find" ; \
8068 (cd $(HOST_SUBDIR)/find && \
8069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8071 "RANLIB=$${RANLIB}" \
8072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8073 html) \
8074 || exit 1
8076 @endif find
8078 .PHONY: maybe-TAGS-find TAGS-find
8079 maybe-TAGS-find:
8080 @if find
8081 maybe-TAGS-find: TAGS-find
8083 TAGS-find: \
8084 configure-find
8085 @[ -f ./find/Makefile ] || exit 0; \
8086 r=`${PWD_COMMAND}`; export r; \
8087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8088 $(HOST_EXPORTS) \
8089 for flag in $(EXTRA_HOST_FLAGS) ; do \
8090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8091 done; \
8092 echo "Doing TAGS in find" ; \
8093 (cd $(HOST_SUBDIR)/find && \
8094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8096 "RANLIB=$${RANLIB}" \
8097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8098 TAGS) \
8099 || exit 1
8101 @endif find
8103 .PHONY: maybe-install-info-find install-info-find
8104 maybe-install-info-find:
8105 @if find
8106 maybe-install-info-find: install-info-find
8108 install-info-find: \
8109 configure-find \
8110 info-find
8111 @[ -f ./find/Makefile ] || exit 0; \
8112 r=`${PWD_COMMAND}`; export r; \
8113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8114 $(HOST_EXPORTS) \
8115 for flag in $(EXTRA_HOST_FLAGS) ; do \
8116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8117 done; \
8118 echo "Doing install-info in find" ; \
8119 (cd $(HOST_SUBDIR)/find && \
8120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8122 "RANLIB=$${RANLIB}" \
8123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8124 install-info) \
8125 || exit 1
8127 @endif find
8129 .PHONY: maybe-installcheck-find installcheck-find
8130 maybe-installcheck-find:
8131 @if find
8132 maybe-installcheck-find: installcheck-find
8134 installcheck-find: \
8135 configure-find
8136 @[ -f ./find/Makefile ] || exit 0; \
8137 r=`${PWD_COMMAND}`; export r; \
8138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8139 $(HOST_EXPORTS) \
8140 for flag in $(EXTRA_HOST_FLAGS) ; do \
8141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8142 done; \
8143 echo "Doing installcheck in find" ; \
8144 (cd $(HOST_SUBDIR)/find && \
8145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8147 "RANLIB=$${RANLIB}" \
8148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8149 installcheck) \
8150 || exit 1
8152 @endif find
8154 .PHONY: maybe-mostlyclean-find mostlyclean-find
8155 maybe-mostlyclean-find:
8156 @if find
8157 maybe-mostlyclean-find: mostlyclean-find
8159 mostlyclean-find:
8160 @[ -f ./find/Makefile ] || exit 0; \
8161 r=`${PWD_COMMAND}`; export r; \
8162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8163 $(HOST_EXPORTS) \
8164 for flag in $(EXTRA_HOST_FLAGS) ; do \
8165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8166 done; \
8167 echo "Doing mostlyclean in find" ; \
8168 (cd $(HOST_SUBDIR)/find && \
8169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8171 "RANLIB=$${RANLIB}" \
8172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8173 mostlyclean) \
8174 || exit 1
8176 @endif find
8178 .PHONY: maybe-clean-find clean-find
8179 maybe-clean-find:
8180 @if find
8181 maybe-clean-find: clean-find
8183 clean-find:
8184 @[ -f ./find/Makefile ] || exit 0; \
8185 r=`${PWD_COMMAND}`; export r; \
8186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8187 $(HOST_EXPORTS) \
8188 for flag in $(EXTRA_HOST_FLAGS) ; do \
8189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8190 done; \
8191 echo "Doing clean in find" ; \
8192 (cd $(HOST_SUBDIR)/find && \
8193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8195 "RANLIB=$${RANLIB}" \
8196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8197 clean) \
8198 || exit 1
8200 @endif find
8202 .PHONY: maybe-distclean-find distclean-find
8203 maybe-distclean-find:
8204 @if find
8205 maybe-distclean-find: distclean-find
8207 distclean-find:
8208 @[ -f ./find/Makefile ] || exit 0; \
8209 r=`${PWD_COMMAND}`; export r; \
8210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8211 $(HOST_EXPORTS) \
8212 for flag in $(EXTRA_HOST_FLAGS) ; do \
8213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8214 done; \
8215 echo "Doing distclean in find" ; \
8216 (cd $(HOST_SUBDIR)/find && \
8217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8219 "RANLIB=$${RANLIB}" \
8220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8221 distclean) \
8222 || exit 1
8224 @endif find
8226 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
8227 maybe-maintainer-clean-find:
8228 @if find
8229 maybe-maintainer-clean-find: maintainer-clean-find
8231 maintainer-clean-find:
8232 @[ -f ./find/Makefile ] || exit 0; \
8233 r=`${PWD_COMMAND}`; export r; \
8234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8235 $(HOST_EXPORTS) \
8236 for flag in $(EXTRA_HOST_FLAGS) ; do \
8237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8238 done; \
8239 echo "Doing maintainer-clean in find" ; \
8240 (cd $(HOST_SUBDIR)/find && \
8241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8243 "RANLIB=$${RANLIB}" \
8244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8245 maintainer-clean) \
8246 || exit 1
8248 @endif find
8252 .PHONY: configure-fixincludes maybe-configure-fixincludes
8253 maybe-configure-fixincludes:
8254 @if fixincludes
8255 maybe-configure-fixincludes: configure-fixincludes
8256 configure-fixincludes:
8257 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8259 r=`${PWD_COMMAND}`; export r; \
8260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8261 $(HOST_EXPORTS) \
8262 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
8263 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
8264 case $(srcdir) in \
8265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8266 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8268 esac; \
8269 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
8270 libsrcdir="$$s/fixincludes"; \
8271 $(SHELL) $${libsrcdir}/configure \
8272 $(HOST_CONFIGARGS) $${srcdiroption} \
8273 || exit 1
8274 @endif fixincludes
8278 .PHONY: all-fixincludes maybe-all-fixincludes
8279 maybe-all-fixincludes:
8280 @if fixincludes
8281 TARGET-fixincludes=all
8282 maybe-all-fixincludes: all-fixincludes
8283 all-fixincludes: configure-fixincludes
8284 @r=`${PWD_COMMAND}`; export r; \
8285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8286 $(HOST_EXPORTS) \
8287 (cd $(HOST_SUBDIR)/fixincludes && \
8288 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
8289 @endif fixincludes
8292 .PHONY: check-fixincludes maybe-check-fixincludes
8293 maybe-check-fixincludes:
8294 @if fixincludes
8295 maybe-check-fixincludes: check-fixincludes
8297 check-fixincludes:
8298 @r=`${PWD_COMMAND}`; export r; \
8299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8300 $(HOST_EXPORTS) \
8301 (cd $(HOST_SUBDIR)/fixincludes && \
8302 $(MAKE) $(FLAGS_TO_PASS) check)
8304 @endif fixincludes
8306 .PHONY: install-fixincludes maybe-install-fixincludes
8307 maybe-install-fixincludes:
8308 @if fixincludes
8309 maybe-install-fixincludes: install-fixincludes
8311 install-fixincludes: installdirs
8312 @r=`${PWD_COMMAND}`; export r; \
8313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8314 $(HOST_EXPORTS) \
8315 (cd $(HOST_SUBDIR)/fixincludes && \
8316 $(MAKE) $(FLAGS_TO_PASS) install)
8318 @endif fixincludes
8320 # Other targets (info, dvi, etc.)
8322 .PHONY: maybe-info-fixincludes info-fixincludes
8323 maybe-info-fixincludes:
8324 @if fixincludes
8325 maybe-info-fixincludes: info-fixincludes
8327 # fixincludes doesn't support info.
8328 info-fixincludes:
8330 @endif fixincludes
8332 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8333 maybe-dvi-fixincludes:
8334 @if fixincludes
8335 maybe-dvi-fixincludes: dvi-fixincludes
8337 # fixincludes doesn't support dvi.
8338 dvi-fixincludes:
8340 @endif fixincludes
8342 .PHONY: maybe-html-fixincludes html-fixincludes
8343 maybe-html-fixincludes:
8344 @if fixincludes
8345 maybe-html-fixincludes: html-fixincludes
8347 html-fixincludes: \
8348 configure-fixincludes
8349 @[ -f ./fixincludes/Makefile ] || exit 0; \
8350 r=`${PWD_COMMAND}`; export r; \
8351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8352 $(HOST_EXPORTS) \
8353 for flag in $(EXTRA_HOST_FLAGS) ; do \
8354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8355 done; \
8356 echo "Doing html in fixincludes" ; \
8357 (cd $(HOST_SUBDIR)/fixincludes && \
8358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8360 "RANLIB=$${RANLIB}" \
8361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8362 html) \
8363 || exit 1
8365 @endif fixincludes
8367 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8368 maybe-TAGS-fixincludes:
8369 @if fixincludes
8370 maybe-TAGS-fixincludes: TAGS-fixincludes
8372 # fixincludes doesn't support TAGS.
8373 TAGS-fixincludes:
8375 @endif fixincludes
8377 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8378 maybe-install-info-fixincludes:
8379 @if fixincludes
8380 maybe-install-info-fixincludes: install-info-fixincludes
8382 # fixincludes doesn't support install-info.
8383 install-info-fixincludes:
8385 @endif fixincludes
8387 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8388 maybe-installcheck-fixincludes:
8389 @if fixincludes
8390 maybe-installcheck-fixincludes: installcheck-fixincludes
8392 # fixincludes doesn't support installcheck.
8393 installcheck-fixincludes:
8395 @endif fixincludes
8397 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8398 maybe-mostlyclean-fixincludes:
8399 @if fixincludes
8400 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8402 mostlyclean-fixincludes:
8403 @[ -f ./fixincludes/Makefile ] || exit 0; \
8404 r=`${PWD_COMMAND}`; export r; \
8405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8406 $(HOST_EXPORTS) \
8407 for flag in $(EXTRA_HOST_FLAGS) ; do \
8408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8409 done; \
8410 echo "Doing mostlyclean in fixincludes" ; \
8411 (cd $(HOST_SUBDIR)/fixincludes && \
8412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8414 "RANLIB=$${RANLIB}" \
8415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8416 mostlyclean) \
8417 || exit 1
8419 @endif fixincludes
8421 .PHONY: maybe-clean-fixincludes clean-fixincludes
8422 maybe-clean-fixincludes:
8423 @if fixincludes
8424 maybe-clean-fixincludes: clean-fixincludes
8426 clean-fixincludes:
8427 @[ -f ./fixincludes/Makefile ] || exit 0; \
8428 r=`${PWD_COMMAND}`; export r; \
8429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8430 $(HOST_EXPORTS) \
8431 for flag in $(EXTRA_HOST_FLAGS) ; do \
8432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8433 done; \
8434 echo "Doing clean in fixincludes" ; \
8435 (cd $(HOST_SUBDIR)/fixincludes && \
8436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8438 "RANLIB=$${RANLIB}" \
8439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8440 clean) \
8441 || exit 1
8443 @endif fixincludes
8445 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8446 maybe-distclean-fixincludes:
8447 @if fixincludes
8448 maybe-distclean-fixincludes: distclean-fixincludes
8450 distclean-fixincludes:
8451 @[ -f ./fixincludes/Makefile ] || exit 0; \
8452 r=`${PWD_COMMAND}`; export r; \
8453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8454 $(HOST_EXPORTS) \
8455 for flag in $(EXTRA_HOST_FLAGS) ; do \
8456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8457 done; \
8458 echo "Doing distclean in fixincludes" ; \
8459 (cd $(HOST_SUBDIR)/fixincludes && \
8460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8462 "RANLIB=$${RANLIB}" \
8463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8464 distclean) \
8465 || exit 1
8467 @endif fixincludes
8469 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8470 maybe-maintainer-clean-fixincludes:
8471 @if fixincludes
8472 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8474 maintainer-clean-fixincludes:
8475 @[ -f ./fixincludes/Makefile ] || exit 0; \
8476 r=`${PWD_COMMAND}`; export r; \
8477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8478 $(HOST_EXPORTS) \
8479 for flag in $(EXTRA_HOST_FLAGS) ; do \
8480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8481 done; \
8482 echo "Doing maintainer-clean in fixincludes" ; \
8483 (cd $(HOST_SUBDIR)/fixincludes && \
8484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8486 "RANLIB=$${RANLIB}" \
8487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8488 maintainer-clean) \
8489 || exit 1
8491 @endif fixincludes
8495 .PHONY: configure-flex maybe-configure-flex
8496 maybe-configure-flex:
8497 @if flex
8498 maybe-configure-flex: configure-flex
8499 configure-flex:
8500 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8501 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8502 r=`${PWD_COMMAND}`; export r; \
8503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8504 $(HOST_EXPORTS) \
8505 echo Configuring in $(HOST_SUBDIR)/flex; \
8506 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8507 case $(srcdir) in \
8508 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8509 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8510 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8511 esac; \
8512 srcdiroption="--srcdir=$${topdir}/flex"; \
8513 libsrcdir="$$s/flex"; \
8514 $(SHELL) $${libsrcdir}/configure \
8515 $(HOST_CONFIGARGS) $${srcdiroption} \
8516 || exit 1
8517 @endif flex
8521 .PHONY: all-flex maybe-all-flex
8522 maybe-all-flex:
8523 @if flex
8524 TARGET-flex=all
8525 maybe-all-flex: all-flex
8526 all-flex: configure-flex
8527 @r=`${PWD_COMMAND}`; export r; \
8528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8529 $(HOST_EXPORTS) \
8530 (cd $(HOST_SUBDIR)/flex && \
8531 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
8532 @endif flex
8535 .PHONY: check-flex maybe-check-flex
8536 maybe-check-flex:
8537 @if flex
8538 maybe-check-flex: check-flex
8540 # This module is only tested in a native toolchain.
8541 check-flex:
8542 @if [ '$(host)' = '$(target)' ] ; then \
8543 r=`${PWD_COMMAND}`; export r; \
8544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8545 $(HOST_EXPORTS) \
8546 (cd $(HOST_SUBDIR)/flex && \
8547 $(MAKE) $(FLAGS_TO_PASS) check); \
8550 @endif flex
8552 .PHONY: install-flex maybe-install-flex
8553 maybe-install-flex:
8554 @if flex
8555 maybe-install-flex: install-flex
8557 install-flex: installdirs
8558 @r=`${PWD_COMMAND}`; export r; \
8559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8560 $(HOST_EXPORTS) \
8561 (cd $(HOST_SUBDIR)/flex && \
8562 $(MAKE) $(FLAGS_TO_PASS) install)
8564 @endif flex
8566 # Other targets (info, dvi, etc.)
8568 .PHONY: maybe-info-flex info-flex
8569 maybe-info-flex:
8570 @if flex
8571 maybe-info-flex: info-flex
8573 info-flex: \
8574 configure-flex
8575 @[ -f ./flex/Makefile ] || exit 0; \
8576 r=`${PWD_COMMAND}`; export r; \
8577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8578 $(HOST_EXPORTS) \
8579 for flag in $(EXTRA_HOST_FLAGS) ; do \
8580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8581 done; \
8582 echo "Doing info in flex" ; \
8583 (cd $(HOST_SUBDIR)/flex && \
8584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8586 "RANLIB=$${RANLIB}" \
8587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8588 info) \
8589 || exit 1
8591 @endif flex
8593 .PHONY: maybe-dvi-flex dvi-flex
8594 maybe-dvi-flex:
8595 @if flex
8596 maybe-dvi-flex: dvi-flex
8598 dvi-flex: \
8599 configure-flex
8600 @[ -f ./flex/Makefile ] || exit 0; \
8601 r=`${PWD_COMMAND}`; export r; \
8602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8603 $(HOST_EXPORTS) \
8604 for flag in $(EXTRA_HOST_FLAGS) ; do \
8605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8606 done; \
8607 echo "Doing dvi in flex" ; \
8608 (cd $(HOST_SUBDIR)/flex && \
8609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8611 "RANLIB=$${RANLIB}" \
8612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8613 dvi) \
8614 || exit 1
8616 @endif flex
8618 .PHONY: maybe-html-flex html-flex
8619 maybe-html-flex:
8620 @if flex
8621 maybe-html-flex: html-flex
8623 html-flex: \
8624 configure-flex
8625 @[ -f ./flex/Makefile ] || exit 0; \
8626 r=`${PWD_COMMAND}`; export r; \
8627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8628 $(HOST_EXPORTS) \
8629 for flag in $(EXTRA_HOST_FLAGS) ; do \
8630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8631 done; \
8632 echo "Doing html in flex" ; \
8633 (cd $(HOST_SUBDIR)/flex && \
8634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8636 "RANLIB=$${RANLIB}" \
8637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8638 html) \
8639 || exit 1
8641 @endif flex
8643 .PHONY: maybe-TAGS-flex TAGS-flex
8644 maybe-TAGS-flex:
8645 @if flex
8646 maybe-TAGS-flex: TAGS-flex
8648 TAGS-flex: \
8649 configure-flex
8650 @[ -f ./flex/Makefile ] || exit 0; \
8651 r=`${PWD_COMMAND}`; export r; \
8652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8653 $(HOST_EXPORTS) \
8654 for flag in $(EXTRA_HOST_FLAGS) ; do \
8655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8656 done; \
8657 echo "Doing TAGS in flex" ; \
8658 (cd $(HOST_SUBDIR)/flex && \
8659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8661 "RANLIB=$${RANLIB}" \
8662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8663 TAGS) \
8664 || exit 1
8666 @endif flex
8668 .PHONY: maybe-install-info-flex install-info-flex
8669 maybe-install-info-flex:
8670 @if flex
8671 maybe-install-info-flex: install-info-flex
8673 install-info-flex: \
8674 configure-flex \
8675 info-flex
8676 @[ -f ./flex/Makefile ] || exit 0; \
8677 r=`${PWD_COMMAND}`; export r; \
8678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8679 $(HOST_EXPORTS) \
8680 for flag in $(EXTRA_HOST_FLAGS) ; do \
8681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8682 done; \
8683 echo "Doing install-info in flex" ; \
8684 (cd $(HOST_SUBDIR)/flex && \
8685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8687 "RANLIB=$${RANLIB}" \
8688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8689 install-info) \
8690 || exit 1
8692 @endif flex
8694 .PHONY: maybe-installcheck-flex installcheck-flex
8695 maybe-installcheck-flex:
8696 @if flex
8697 maybe-installcheck-flex: installcheck-flex
8699 installcheck-flex: \
8700 configure-flex
8701 @[ -f ./flex/Makefile ] || exit 0; \
8702 r=`${PWD_COMMAND}`; export r; \
8703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8704 $(HOST_EXPORTS) \
8705 for flag in $(EXTRA_HOST_FLAGS) ; do \
8706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8707 done; \
8708 echo "Doing installcheck in flex" ; \
8709 (cd $(HOST_SUBDIR)/flex && \
8710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8712 "RANLIB=$${RANLIB}" \
8713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8714 installcheck) \
8715 || exit 1
8717 @endif flex
8719 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8720 maybe-mostlyclean-flex:
8721 @if flex
8722 maybe-mostlyclean-flex: mostlyclean-flex
8724 mostlyclean-flex:
8725 @[ -f ./flex/Makefile ] || exit 0; \
8726 r=`${PWD_COMMAND}`; export r; \
8727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8728 $(HOST_EXPORTS) \
8729 for flag in $(EXTRA_HOST_FLAGS) ; do \
8730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8731 done; \
8732 echo "Doing mostlyclean in flex" ; \
8733 (cd $(HOST_SUBDIR)/flex && \
8734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8736 "RANLIB=$${RANLIB}" \
8737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8738 mostlyclean) \
8739 || exit 1
8741 @endif flex
8743 .PHONY: maybe-clean-flex clean-flex
8744 maybe-clean-flex:
8745 @if flex
8746 maybe-clean-flex: clean-flex
8748 clean-flex:
8749 @[ -f ./flex/Makefile ] || exit 0; \
8750 r=`${PWD_COMMAND}`; export r; \
8751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8752 $(HOST_EXPORTS) \
8753 for flag in $(EXTRA_HOST_FLAGS) ; do \
8754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8755 done; \
8756 echo "Doing clean in flex" ; \
8757 (cd $(HOST_SUBDIR)/flex && \
8758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8760 "RANLIB=$${RANLIB}" \
8761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8762 clean) \
8763 || exit 1
8765 @endif flex
8767 .PHONY: maybe-distclean-flex distclean-flex
8768 maybe-distclean-flex:
8769 @if flex
8770 maybe-distclean-flex: distclean-flex
8772 distclean-flex:
8773 @[ -f ./flex/Makefile ] || exit 0; \
8774 r=`${PWD_COMMAND}`; export r; \
8775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8776 $(HOST_EXPORTS) \
8777 for flag in $(EXTRA_HOST_FLAGS) ; do \
8778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8779 done; \
8780 echo "Doing distclean in flex" ; \
8781 (cd $(HOST_SUBDIR)/flex && \
8782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8784 "RANLIB=$${RANLIB}" \
8785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8786 distclean) \
8787 || exit 1
8789 @endif flex
8791 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8792 maybe-maintainer-clean-flex:
8793 @if flex
8794 maybe-maintainer-clean-flex: maintainer-clean-flex
8796 maintainer-clean-flex:
8797 @[ -f ./flex/Makefile ] || exit 0; \
8798 r=`${PWD_COMMAND}`; export r; \
8799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8800 $(HOST_EXPORTS) \
8801 for flag in $(EXTRA_HOST_FLAGS) ; do \
8802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8803 done; \
8804 echo "Doing maintainer-clean in flex" ; \
8805 (cd $(HOST_SUBDIR)/flex && \
8806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8808 "RANLIB=$${RANLIB}" \
8809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8810 maintainer-clean) \
8811 || exit 1
8813 @endif flex
8817 .PHONY: configure-gas maybe-configure-gas
8818 maybe-configure-gas:
8819 @if gas
8820 maybe-configure-gas: configure-gas
8821 configure-gas:
8822 @test -f stage_last && exit 0; \
8823 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8824 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8825 r=`${PWD_COMMAND}`; export r; \
8826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8827 $(HOST_EXPORTS) \
8828 echo Configuring in $(HOST_SUBDIR)/gas; \
8829 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8830 case $(srcdir) in \
8831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8832 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8834 esac; \
8835 srcdiroption="--srcdir=$${topdir}/gas"; \
8836 libsrcdir="$$s/gas"; \
8837 $(SHELL) $${libsrcdir}/configure \
8838 $(HOST_CONFIGARGS) $${srcdiroption} \
8839 || exit 1
8840 @endif gas
8844 .PHONY: all-gas maybe-all-gas
8845 maybe-all-gas:
8846 @if gas
8847 TARGET-gas=all
8848 maybe-all-gas: all-gas
8849 all-gas: configure-gas
8850 @test -f stage_last && exit 0; \
8851 r=`${PWD_COMMAND}`; export r; \
8852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8853 $(HOST_EXPORTS) \
8854 (cd $(HOST_SUBDIR)/gas && \
8855 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
8856 @endif gas
8859 .PHONY: check-gas maybe-check-gas
8860 maybe-check-gas:
8861 @if gas
8862 maybe-check-gas: check-gas
8864 check-gas:
8865 @r=`${PWD_COMMAND}`; export r; \
8866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8867 $(HOST_EXPORTS) \
8868 (cd $(HOST_SUBDIR)/gas && \
8869 $(MAKE) $(FLAGS_TO_PASS) check)
8871 @endif gas
8873 .PHONY: install-gas maybe-install-gas
8874 maybe-install-gas:
8875 @if gas
8876 maybe-install-gas: install-gas
8878 install-gas: installdirs
8879 @r=`${PWD_COMMAND}`; export r; \
8880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8881 $(HOST_EXPORTS) \
8882 (cd $(HOST_SUBDIR)/gas && \
8883 $(MAKE) $(FLAGS_TO_PASS) install)
8885 @endif gas
8887 # Other targets (info, dvi, etc.)
8889 .PHONY: maybe-info-gas info-gas
8890 maybe-info-gas:
8891 @if gas
8892 maybe-info-gas: info-gas
8894 info-gas: \
8895 configure-gas
8896 @[ -f ./gas/Makefile ] || exit 0; \
8897 r=`${PWD_COMMAND}`; export r; \
8898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8899 $(HOST_EXPORTS) \
8900 for flag in $(EXTRA_HOST_FLAGS) ; do \
8901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8902 done; \
8903 echo "Doing info in gas" ; \
8904 (cd $(HOST_SUBDIR)/gas && \
8905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8907 "RANLIB=$${RANLIB}" \
8908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8909 info) \
8910 || exit 1
8912 @endif gas
8914 .PHONY: maybe-dvi-gas dvi-gas
8915 maybe-dvi-gas:
8916 @if gas
8917 maybe-dvi-gas: dvi-gas
8919 dvi-gas: \
8920 configure-gas
8921 @[ -f ./gas/Makefile ] || exit 0; \
8922 r=`${PWD_COMMAND}`; export r; \
8923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8924 $(HOST_EXPORTS) \
8925 for flag in $(EXTRA_HOST_FLAGS) ; do \
8926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8927 done; \
8928 echo "Doing dvi in gas" ; \
8929 (cd $(HOST_SUBDIR)/gas && \
8930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8932 "RANLIB=$${RANLIB}" \
8933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8934 dvi) \
8935 || exit 1
8937 @endif gas
8939 .PHONY: maybe-html-gas html-gas
8940 maybe-html-gas:
8941 @if gas
8942 maybe-html-gas: html-gas
8944 html-gas: \
8945 configure-gas
8946 @[ -f ./gas/Makefile ] || exit 0; \
8947 r=`${PWD_COMMAND}`; export r; \
8948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8949 $(HOST_EXPORTS) \
8950 for flag in $(EXTRA_HOST_FLAGS) ; do \
8951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8952 done; \
8953 echo "Doing html in gas" ; \
8954 (cd $(HOST_SUBDIR)/gas && \
8955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8957 "RANLIB=$${RANLIB}" \
8958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8959 html) \
8960 || exit 1
8962 @endif gas
8964 .PHONY: maybe-TAGS-gas TAGS-gas
8965 maybe-TAGS-gas:
8966 @if gas
8967 maybe-TAGS-gas: TAGS-gas
8969 TAGS-gas: \
8970 configure-gas
8971 @[ -f ./gas/Makefile ] || exit 0; \
8972 r=`${PWD_COMMAND}`; export r; \
8973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8974 $(HOST_EXPORTS) \
8975 for flag in $(EXTRA_HOST_FLAGS) ; do \
8976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8977 done; \
8978 echo "Doing TAGS in gas" ; \
8979 (cd $(HOST_SUBDIR)/gas && \
8980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8982 "RANLIB=$${RANLIB}" \
8983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8984 TAGS) \
8985 || exit 1
8987 @endif gas
8989 .PHONY: maybe-install-info-gas install-info-gas
8990 maybe-install-info-gas:
8991 @if gas
8992 maybe-install-info-gas: install-info-gas
8994 install-info-gas: \
8995 configure-gas \
8996 info-gas
8997 @[ -f ./gas/Makefile ] || exit 0; \
8998 r=`${PWD_COMMAND}`; export r; \
8999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9000 $(HOST_EXPORTS) \
9001 for flag in $(EXTRA_HOST_FLAGS) ; do \
9002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9003 done; \
9004 echo "Doing install-info in gas" ; \
9005 (cd $(HOST_SUBDIR)/gas && \
9006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9008 "RANLIB=$${RANLIB}" \
9009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9010 install-info) \
9011 || exit 1
9013 @endif gas
9015 .PHONY: maybe-installcheck-gas installcheck-gas
9016 maybe-installcheck-gas:
9017 @if gas
9018 maybe-installcheck-gas: installcheck-gas
9020 installcheck-gas: \
9021 configure-gas
9022 @[ -f ./gas/Makefile ] || exit 0; \
9023 r=`${PWD_COMMAND}`; export r; \
9024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9025 $(HOST_EXPORTS) \
9026 for flag in $(EXTRA_HOST_FLAGS) ; do \
9027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9028 done; \
9029 echo "Doing installcheck in gas" ; \
9030 (cd $(HOST_SUBDIR)/gas && \
9031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9033 "RANLIB=$${RANLIB}" \
9034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9035 installcheck) \
9036 || exit 1
9038 @endif gas
9040 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9041 maybe-mostlyclean-gas:
9042 @if gas
9043 maybe-mostlyclean-gas: mostlyclean-gas
9045 mostlyclean-gas:
9046 @[ -f ./gas/Makefile ] || exit 0; \
9047 r=`${PWD_COMMAND}`; export r; \
9048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9049 $(HOST_EXPORTS) \
9050 for flag in $(EXTRA_HOST_FLAGS) ; do \
9051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9052 done; \
9053 echo "Doing mostlyclean in gas" ; \
9054 (cd $(HOST_SUBDIR)/gas && \
9055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9057 "RANLIB=$${RANLIB}" \
9058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9059 mostlyclean) \
9060 || exit 1
9062 @endif gas
9064 .PHONY: maybe-clean-gas clean-gas
9065 maybe-clean-gas:
9066 @if gas
9067 maybe-clean-gas: clean-gas
9069 clean-gas:
9070 @[ -f ./gas/Makefile ] || exit 0; \
9071 r=`${PWD_COMMAND}`; export r; \
9072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9073 $(HOST_EXPORTS) \
9074 for flag in $(EXTRA_HOST_FLAGS) ; do \
9075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9076 done; \
9077 echo "Doing clean in gas" ; \
9078 (cd $(HOST_SUBDIR)/gas && \
9079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9081 "RANLIB=$${RANLIB}" \
9082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9083 clean) \
9084 || exit 1
9086 @endif gas
9088 .PHONY: maybe-distclean-gas distclean-gas
9089 maybe-distclean-gas:
9090 @if gas
9091 maybe-distclean-gas: distclean-gas
9093 distclean-gas:
9094 @[ -f ./gas/Makefile ] || exit 0; \
9095 r=`${PWD_COMMAND}`; export r; \
9096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9097 $(HOST_EXPORTS) \
9098 for flag in $(EXTRA_HOST_FLAGS) ; do \
9099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9100 done; \
9101 echo "Doing distclean in gas" ; \
9102 (cd $(HOST_SUBDIR)/gas && \
9103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9105 "RANLIB=$${RANLIB}" \
9106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9107 distclean) \
9108 || exit 1
9110 @endif gas
9112 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9113 maybe-maintainer-clean-gas:
9114 @if gas
9115 maybe-maintainer-clean-gas: maintainer-clean-gas
9117 maintainer-clean-gas:
9118 @[ -f ./gas/Makefile ] || exit 0; \
9119 r=`${PWD_COMMAND}`; export r; \
9120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9121 $(HOST_EXPORTS) \
9122 for flag in $(EXTRA_HOST_FLAGS) ; do \
9123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9124 done; \
9125 echo "Doing maintainer-clean in gas" ; \
9126 (cd $(HOST_SUBDIR)/gas && \
9127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9129 "RANLIB=$${RANLIB}" \
9130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9131 maintainer-clean) \
9132 || exit 1
9134 @endif gas
9138 .PHONY: configure-gcc maybe-configure-gcc
9139 maybe-configure-gcc:
9140 @if gcc
9141 maybe-configure-gcc: configure-gcc
9142 configure-gcc:
9143 @test -f stage_last && exit 0; \
9144 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9145 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9146 r=`${PWD_COMMAND}`; export r; \
9147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9148 $(HOST_EXPORTS) \
9149 echo Configuring in $(HOST_SUBDIR)/gcc; \
9150 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9151 case $(srcdir) in \
9152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9153 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9155 esac; \
9156 srcdiroption="--srcdir=$${topdir}/gcc"; \
9157 libsrcdir="$$s/gcc"; \
9158 $(SHELL) $${libsrcdir}/configure \
9159 $(HOST_CONFIGARGS) $${srcdiroption} \
9160 || exit 1
9161 @endif gcc
9165 .PHONY: all-gcc maybe-all-gcc
9166 maybe-all-gcc:
9167 @if gcc
9168 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
9169 maybe-all-gcc: all-gcc
9170 all-gcc: configure-gcc
9171 @test -f stage_last && exit 0; \
9172 r=`${PWD_COMMAND}`; export r; \
9173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9174 $(HOST_EXPORTS) \
9175 (cd $(HOST_SUBDIR)/gcc && \
9176 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
9177 @endif gcc
9180 .PHONY: check-gcc maybe-check-gcc
9181 maybe-check-gcc:
9182 @if gcc
9183 maybe-check-gcc: check-gcc
9185 check-gcc:
9186 @r=`${PWD_COMMAND}`; export r; \
9187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9188 $(HOST_EXPORTS) \
9189 (cd $(HOST_SUBDIR)/gcc && \
9190 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
9192 @endif gcc
9194 .PHONY: install-gcc maybe-install-gcc
9195 maybe-install-gcc:
9196 @if gcc
9197 maybe-install-gcc: install-gcc
9199 install-gcc: installdirs
9200 @r=`${PWD_COMMAND}`; export r; \
9201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9202 $(HOST_EXPORTS) \
9203 (cd $(HOST_SUBDIR)/gcc && \
9204 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
9206 @endif gcc
9208 # Other targets (info, dvi, etc.)
9210 .PHONY: maybe-info-gcc info-gcc
9211 maybe-info-gcc:
9212 @if gcc
9213 maybe-info-gcc: info-gcc
9215 info-gcc: \
9216 configure-gcc
9217 @[ -f ./gcc/Makefile ] || exit 0; \
9218 r=`${PWD_COMMAND}`; export r; \
9219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9220 $(HOST_EXPORTS) \
9221 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9223 done; \
9224 echo "Doing info in gcc" ; \
9225 (cd $(HOST_SUBDIR)/gcc && \
9226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9228 "RANLIB=$${RANLIB}" \
9229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9230 info) \
9231 || exit 1
9233 @endif gcc
9235 .PHONY: maybe-dvi-gcc dvi-gcc
9236 maybe-dvi-gcc:
9237 @if gcc
9238 maybe-dvi-gcc: dvi-gcc
9240 dvi-gcc: \
9241 configure-gcc
9242 @[ -f ./gcc/Makefile ] || exit 0; \
9243 r=`${PWD_COMMAND}`; export r; \
9244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9245 $(HOST_EXPORTS) \
9246 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9248 done; \
9249 echo "Doing dvi in gcc" ; \
9250 (cd $(HOST_SUBDIR)/gcc && \
9251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9253 "RANLIB=$${RANLIB}" \
9254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9255 dvi) \
9256 || exit 1
9258 @endif gcc
9260 .PHONY: maybe-html-gcc html-gcc
9261 maybe-html-gcc:
9262 @if gcc
9263 maybe-html-gcc: html-gcc
9265 html-gcc: \
9266 configure-gcc
9267 @[ -f ./gcc/Makefile ] || exit 0; \
9268 r=`${PWD_COMMAND}`; export r; \
9269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9270 $(HOST_EXPORTS) \
9271 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9273 done; \
9274 echo "Doing html in gcc" ; \
9275 (cd $(HOST_SUBDIR)/gcc && \
9276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9278 "RANLIB=$${RANLIB}" \
9279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9280 html) \
9281 || exit 1
9283 @endif gcc
9285 .PHONY: maybe-TAGS-gcc TAGS-gcc
9286 maybe-TAGS-gcc:
9287 @if gcc
9288 maybe-TAGS-gcc: TAGS-gcc
9290 TAGS-gcc: \
9291 configure-gcc
9292 @[ -f ./gcc/Makefile ] || exit 0; \
9293 r=`${PWD_COMMAND}`; export r; \
9294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9295 $(HOST_EXPORTS) \
9296 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9298 done; \
9299 echo "Doing TAGS in gcc" ; \
9300 (cd $(HOST_SUBDIR)/gcc && \
9301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9303 "RANLIB=$${RANLIB}" \
9304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9305 TAGS) \
9306 || exit 1
9308 @endif gcc
9310 .PHONY: maybe-install-info-gcc install-info-gcc
9311 maybe-install-info-gcc:
9312 @if gcc
9313 maybe-install-info-gcc: install-info-gcc
9315 install-info-gcc: \
9316 configure-gcc \
9317 info-gcc
9318 @[ -f ./gcc/Makefile ] || exit 0; \
9319 r=`${PWD_COMMAND}`; export r; \
9320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9321 $(HOST_EXPORTS) \
9322 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9324 done; \
9325 echo "Doing install-info in gcc" ; \
9326 (cd $(HOST_SUBDIR)/gcc && \
9327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9329 "RANLIB=$${RANLIB}" \
9330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9331 install-info) \
9332 || exit 1
9334 @endif gcc
9336 .PHONY: maybe-installcheck-gcc installcheck-gcc
9337 maybe-installcheck-gcc:
9338 @if gcc
9339 maybe-installcheck-gcc: installcheck-gcc
9341 installcheck-gcc: \
9342 configure-gcc
9343 @[ -f ./gcc/Makefile ] || exit 0; \
9344 r=`${PWD_COMMAND}`; export r; \
9345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9346 $(HOST_EXPORTS) \
9347 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9349 done; \
9350 echo "Doing installcheck in gcc" ; \
9351 (cd $(HOST_SUBDIR)/gcc && \
9352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9354 "RANLIB=$${RANLIB}" \
9355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9356 installcheck) \
9357 || exit 1
9359 @endif gcc
9361 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
9362 maybe-mostlyclean-gcc:
9363 @if gcc
9364 maybe-mostlyclean-gcc: mostlyclean-gcc
9366 mostlyclean-gcc:
9367 @[ -f ./gcc/Makefile ] || exit 0; \
9368 r=`${PWD_COMMAND}`; export r; \
9369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9370 $(HOST_EXPORTS) \
9371 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9373 done; \
9374 echo "Doing mostlyclean in gcc" ; \
9375 (cd $(HOST_SUBDIR)/gcc && \
9376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9378 "RANLIB=$${RANLIB}" \
9379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9380 mostlyclean) \
9381 || exit 1
9383 @endif gcc
9385 .PHONY: maybe-clean-gcc clean-gcc
9386 maybe-clean-gcc:
9387 @if gcc
9388 maybe-clean-gcc: clean-gcc
9390 clean-gcc:
9391 @[ -f ./gcc/Makefile ] || exit 0; \
9392 r=`${PWD_COMMAND}`; export r; \
9393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9394 $(HOST_EXPORTS) \
9395 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9397 done; \
9398 echo "Doing clean in gcc" ; \
9399 (cd $(HOST_SUBDIR)/gcc && \
9400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9402 "RANLIB=$${RANLIB}" \
9403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9404 clean) \
9405 || exit 1
9407 @endif gcc
9409 .PHONY: maybe-distclean-gcc distclean-gcc
9410 maybe-distclean-gcc:
9411 @if gcc
9412 maybe-distclean-gcc: distclean-gcc
9414 distclean-gcc:
9415 @[ -f ./gcc/Makefile ] || exit 0; \
9416 r=`${PWD_COMMAND}`; export r; \
9417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9418 $(HOST_EXPORTS) \
9419 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9421 done; \
9422 echo "Doing distclean in gcc" ; \
9423 (cd $(HOST_SUBDIR)/gcc && \
9424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9426 "RANLIB=$${RANLIB}" \
9427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9428 distclean) \
9429 || exit 1
9431 @endif gcc
9433 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
9434 maybe-maintainer-clean-gcc:
9435 @if gcc
9436 maybe-maintainer-clean-gcc: maintainer-clean-gcc
9438 maintainer-clean-gcc:
9439 @[ -f ./gcc/Makefile ] || exit 0; \
9440 r=`${PWD_COMMAND}`; export r; \
9441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9442 $(HOST_EXPORTS) \
9443 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9445 done; \
9446 echo "Doing maintainer-clean in gcc" ; \
9447 (cd $(HOST_SUBDIR)/gcc && \
9448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9450 "RANLIB=$${RANLIB}" \
9451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9452 maintainer-clean) \
9453 || exit 1
9455 @endif gcc
9459 .PHONY: configure-gawk maybe-configure-gawk
9460 maybe-configure-gawk:
9461 @if gawk
9462 maybe-configure-gawk: configure-gawk
9463 configure-gawk:
9464 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
9465 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
9466 r=`${PWD_COMMAND}`; export r; \
9467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9468 $(HOST_EXPORTS) \
9469 echo Configuring in $(HOST_SUBDIR)/gawk; \
9470 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
9471 case $(srcdir) in \
9472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9473 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
9474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9475 esac; \
9476 srcdiroption="--srcdir=$${topdir}/gawk"; \
9477 libsrcdir="$$s/gawk"; \
9478 $(SHELL) $${libsrcdir}/configure \
9479 $(HOST_CONFIGARGS) $${srcdiroption} \
9480 || exit 1
9481 @endif gawk
9485 .PHONY: all-gawk maybe-all-gawk
9486 maybe-all-gawk:
9487 @if gawk
9488 TARGET-gawk=all
9489 maybe-all-gawk: all-gawk
9490 all-gawk: configure-gawk
9491 @r=`${PWD_COMMAND}`; export r; \
9492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9493 $(HOST_EXPORTS) \
9494 (cd $(HOST_SUBDIR)/gawk && \
9495 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
9496 @endif gawk
9499 .PHONY: check-gawk maybe-check-gawk
9500 maybe-check-gawk:
9501 @if gawk
9502 maybe-check-gawk: check-gawk
9504 check-gawk:
9505 @r=`${PWD_COMMAND}`; export r; \
9506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9507 $(HOST_EXPORTS) \
9508 (cd $(HOST_SUBDIR)/gawk && \
9509 $(MAKE) $(FLAGS_TO_PASS) check)
9511 @endif gawk
9513 .PHONY: install-gawk maybe-install-gawk
9514 maybe-install-gawk:
9515 @if gawk
9516 maybe-install-gawk: install-gawk
9518 install-gawk: installdirs
9519 @r=`${PWD_COMMAND}`; export r; \
9520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9521 $(HOST_EXPORTS) \
9522 (cd $(HOST_SUBDIR)/gawk && \
9523 $(MAKE) $(FLAGS_TO_PASS) install)
9525 @endif gawk
9527 # Other targets (info, dvi, etc.)
9529 .PHONY: maybe-info-gawk info-gawk
9530 maybe-info-gawk:
9531 @if gawk
9532 maybe-info-gawk: info-gawk
9534 info-gawk: \
9535 configure-gawk
9536 @[ -f ./gawk/Makefile ] || exit 0; \
9537 r=`${PWD_COMMAND}`; export r; \
9538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9539 $(HOST_EXPORTS) \
9540 for flag in $(EXTRA_HOST_FLAGS) ; do \
9541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9542 done; \
9543 echo "Doing info in gawk" ; \
9544 (cd $(HOST_SUBDIR)/gawk && \
9545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9547 "RANLIB=$${RANLIB}" \
9548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9549 info) \
9550 || exit 1
9552 @endif gawk
9554 .PHONY: maybe-dvi-gawk dvi-gawk
9555 maybe-dvi-gawk:
9556 @if gawk
9557 maybe-dvi-gawk: dvi-gawk
9559 dvi-gawk: \
9560 configure-gawk
9561 @[ -f ./gawk/Makefile ] || exit 0; \
9562 r=`${PWD_COMMAND}`; export r; \
9563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9564 $(HOST_EXPORTS) \
9565 for flag in $(EXTRA_HOST_FLAGS) ; do \
9566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9567 done; \
9568 echo "Doing dvi in gawk" ; \
9569 (cd $(HOST_SUBDIR)/gawk && \
9570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9572 "RANLIB=$${RANLIB}" \
9573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9574 dvi) \
9575 || exit 1
9577 @endif gawk
9579 .PHONY: maybe-html-gawk html-gawk
9580 maybe-html-gawk:
9581 @if gawk
9582 maybe-html-gawk: html-gawk
9584 html-gawk: \
9585 configure-gawk
9586 @[ -f ./gawk/Makefile ] || exit 0; \
9587 r=`${PWD_COMMAND}`; export r; \
9588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9589 $(HOST_EXPORTS) \
9590 for flag in $(EXTRA_HOST_FLAGS) ; do \
9591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9592 done; \
9593 echo "Doing html in gawk" ; \
9594 (cd $(HOST_SUBDIR)/gawk && \
9595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9597 "RANLIB=$${RANLIB}" \
9598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9599 html) \
9600 || exit 1
9602 @endif gawk
9604 .PHONY: maybe-TAGS-gawk TAGS-gawk
9605 maybe-TAGS-gawk:
9606 @if gawk
9607 maybe-TAGS-gawk: TAGS-gawk
9609 TAGS-gawk: \
9610 configure-gawk
9611 @[ -f ./gawk/Makefile ] || exit 0; \
9612 r=`${PWD_COMMAND}`; export r; \
9613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9614 $(HOST_EXPORTS) \
9615 for flag in $(EXTRA_HOST_FLAGS) ; do \
9616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9617 done; \
9618 echo "Doing TAGS in gawk" ; \
9619 (cd $(HOST_SUBDIR)/gawk && \
9620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9622 "RANLIB=$${RANLIB}" \
9623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9624 TAGS) \
9625 || exit 1
9627 @endif gawk
9629 .PHONY: maybe-install-info-gawk install-info-gawk
9630 maybe-install-info-gawk:
9631 @if gawk
9632 maybe-install-info-gawk: install-info-gawk
9634 install-info-gawk: \
9635 configure-gawk \
9636 info-gawk
9637 @[ -f ./gawk/Makefile ] || exit 0; \
9638 r=`${PWD_COMMAND}`; export r; \
9639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9640 $(HOST_EXPORTS) \
9641 for flag in $(EXTRA_HOST_FLAGS) ; do \
9642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9643 done; \
9644 echo "Doing install-info in gawk" ; \
9645 (cd $(HOST_SUBDIR)/gawk && \
9646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9648 "RANLIB=$${RANLIB}" \
9649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9650 install-info) \
9651 || exit 1
9653 @endif gawk
9655 .PHONY: maybe-installcheck-gawk installcheck-gawk
9656 maybe-installcheck-gawk:
9657 @if gawk
9658 maybe-installcheck-gawk: installcheck-gawk
9660 installcheck-gawk: \
9661 configure-gawk
9662 @[ -f ./gawk/Makefile ] || exit 0; \
9663 r=`${PWD_COMMAND}`; export r; \
9664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9665 $(HOST_EXPORTS) \
9666 for flag in $(EXTRA_HOST_FLAGS) ; do \
9667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9668 done; \
9669 echo "Doing installcheck in gawk" ; \
9670 (cd $(HOST_SUBDIR)/gawk && \
9671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9673 "RANLIB=$${RANLIB}" \
9674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9675 installcheck) \
9676 || exit 1
9678 @endif gawk
9680 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9681 maybe-mostlyclean-gawk:
9682 @if gawk
9683 maybe-mostlyclean-gawk: mostlyclean-gawk
9685 mostlyclean-gawk:
9686 @[ -f ./gawk/Makefile ] || exit 0; \
9687 r=`${PWD_COMMAND}`; export r; \
9688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9689 $(HOST_EXPORTS) \
9690 for flag in $(EXTRA_HOST_FLAGS) ; do \
9691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9692 done; \
9693 echo "Doing mostlyclean in gawk" ; \
9694 (cd $(HOST_SUBDIR)/gawk && \
9695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9697 "RANLIB=$${RANLIB}" \
9698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9699 mostlyclean) \
9700 || exit 1
9702 @endif gawk
9704 .PHONY: maybe-clean-gawk clean-gawk
9705 maybe-clean-gawk:
9706 @if gawk
9707 maybe-clean-gawk: clean-gawk
9709 clean-gawk:
9710 @[ -f ./gawk/Makefile ] || exit 0; \
9711 r=`${PWD_COMMAND}`; export r; \
9712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9713 $(HOST_EXPORTS) \
9714 for flag in $(EXTRA_HOST_FLAGS) ; do \
9715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9716 done; \
9717 echo "Doing clean in gawk" ; \
9718 (cd $(HOST_SUBDIR)/gawk && \
9719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9721 "RANLIB=$${RANLIB}" \
9722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9723 clean) \
9724 || exit 1
9726 @endif gawk
9728 .PHONY: maybe-distclean-gawk distclean-gawk
9729 maybe-distclean-gawk:
9730 @if gawk
9731 maybe-distclean-gawk: distclean-gawk
9733 distclean-gawk:
9734 @[ -f ./gawk/Makefile ] || exit 0; \
9735 r=`${PWD_COMMAND}`; export r; \
9736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9737 $(HOST_EXPORTS) \
9738 for flag in $(EXTRA_HOST_FLAGS) ; do \
9739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9740 done; \
9741 echo "Doing distclean in gawk" ; \
9742 (cd $(HOST_SUBDIR)/gawk && \
9743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9745 "RANLIB=$${RANLIB}" \
9746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9747 distclean) \
9748 || exit 1
9750 @endif gawk
9752 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9753 maybe-maintainer-clean-gawk:
9754 @if gawk
9755 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9757 maintainer-clean-gawk:
9758 @[ -f ./gawk/Makefile ] || exit 0; \
9759 r=`${PWD_COMMAND}`; export r; \
9760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9761 $(HOST_EXPORTS) \
9762 for flag in $(EXTRA_HOST_FLAGS) ; do \
9763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9764 done; \
9765 echo "Doing maintainer-clean in gawk" ; \
9766 (cd $(HOST_SUBDIR)/gawk && \
9767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9769 "RANLIB=$${RANLIB}" \
9770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9771 maintainer-clean) \
9772 || exit 1
9774 @endif gawk
9778 .PHONY: configure-gettext maybe-configure-gettext
9779 maybe-configure-gettext:
9780 @if gettext
9781 maybe-configure-gettext: configure-gettext
9782 configure-gettext:
9783 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
9784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
9785 r=`${PWD_COMMAND}`; export r; \
9786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9787 $(HOST_EXPORTS) \
9788 echo Configuring in $(HOST_SUBDIR)/gettext; \
9789 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
9790 case $(srcdir) in \
9791 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9792 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
9793 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9794 esac; \
9795 srcdiroption="--srcdir=$${topdir}/gettext"; \
9796 libsrcdir="$$s/gettext"; \
9797 $(SHELL) $${libsrcdir}/configure \
9798 $(HOST_CONFIGARGS) $${srcdiroption} \
9799 || exit 1
9800 @endif gettext
9804 .PHONY: all-gettext maybe-all-gettext
9805 maybe-all-gettext:
9806 @if gettext
9807 TARGET-gettext=all
9808 maybe-all-gettext: all-gettext
9809 all-gettext: configure-gettext
9810 @r=`${PWD_COMMAND}`; export r; \
9811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9812 $(HOST_EXPORTS) \
9813 (cd $(HOST_SUBDIR)/gettext && \
9814 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
9815 @endif gettext
9818 .PHONY: check-gettext maybe-check-gettext
9819 maybe-check-gettext:
9820 @if gettext
9821 maybe-check-gettext: check-gettext
9823 check-gettext:
9824 @r=`${PWD_COMMAND}`; export r; \
9825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9826 $(HOST_EXPORTS) \
9827 (cd $(HOST_SUBDIR)/gettext && \
9828 $(MAKE) $(FLAGS_TO_PASS) check)
9830 @endif gettext
9832 .PHONY: install-gettext maybe-install-gettext
9833 maybe-install-gettext:
9834 @if gettext
9835 maybe-install-gettext: install-gettext
9837 install-gettext: installdirs
9838 @r=`${PWD_COMMAND}`; export r; \
9839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9840 $(HOST_EXPORTS) \
9841 (cd $(HOST_SUBDIR)/gettext && \
9842 $(MAKE) $(FLAGS_TO_PASS) install)
9844 @endif gettext
9846 # Other targets (info, dvi, etc.)
9848 .PHONY: maybe-info-gettext info-gettext
9849 maybe-info-gettext:
9850 @if gettext
9851 maybe-info-gettext: info-gettext
9853 info-gettext: \
9854 configure-gettext
9855 @[ -f ./gettext/Makefile ] || exit 0; \
9856 r=`${PWD_COMMAND}`; export r; \
9857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 info in gettext" ; \
9863 (cd $(HOST_SUBDIR)/gettext && \
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 info) \
9869 || exit 1
9871 @endif gettext
9873 .PHONY: maybe-dvi-gettext dvi-gettext
9874 maybe-dvi-gettext:
9875 @if gettext
9876 maybe-dvi-gettext: dvi-gettext
9878 dvi-gettext: \
9879 configure-gettext
9880 @[ -f ./gettext/Makefile ] || exit 0; \
9881 r=`${PWD_COMMAND}`; export r; \
9882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 dvi in gettext" ; \
9888 (cd $(HOST_SUBDIR)/gettext && \
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 dvi) \
9894 || exit 1
9896 @endif gettext
9898 .PHONY: maybe-html-gettext html-gettext
9899 maybe-html-gettext:
9900 @if gettext
9901 maybe-html-gettext: html-gettext
9903 html-gettext: \
9904 configure-gettext
9905 @[ -f ./gettext/Makefile ] || exit 0; \
9906 r=`${PWD_COMMAND}`; export r; \
9907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 html in gettext" ; \
9913 (cd $(HOST_SUBDIR)/gettext && \
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 html) \
9919 || exit 1
9921 @endif gettext
9923 .PHONY: maybe-TAGS-gettext TAGS-gettext
9924 maybe-TAGS-gettext:
9925 @if gettext
9926 maybe-TAGS-gettext: TAGS-gettext
9928 TAGS-gettext: \
9929 configure-gettext
9930 @[ -f ./gettext/Makefile ] || exit 0; \
9931 r=`${PWD_COMMAND}`; export r; \
9932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 TAGS in gettext" ; \
9938 (cd $(HOST_SUBDIR)/gettext && \
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 TAGS) \
9944 || exit 1
9946 @endif gettext
9948 .PHONY: maybe-install-info-gettext install-info-gettext
9949 maybe-install-info-gettext:
9950 @if gettext
9951 maybe-install-info-gettext: install-info-gettext
9953 install-info-gettext: \
9954 configure-gettext \
9955 info-gettext
9956 @[ -f ./gettext/Makefile ] || exit 0; \
9957 r=`${PWD_COMMAND}`; export r; \
9958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9959 $(HOST_EXPORTS) \
9960 for flag in $(EXTRA_HOST_FLAGS) ; do \
9961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9962 done; \
9963 echo "Doing install-info in gettext" ; \
9964 (cd $(HOST_SUBDIR)/gettext && \
9965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9967 "RANLIB=$${RANLIB}" \
9968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9969 install-info) \
9970 || exit 1
9972 @endif gettext
9974 .PHONY: maybe-installcheck-gettext installcheck-gettext
9975 maybe-installcheck-gettext:
9976 @if gettext
9977 maybe-installcheck-gettext: installcheck-gettext
9979 installcheck-gettext: \
9980 configure-gettext
9981 @[ -f ./gettext/Makefile ] || exit 0; \
9982 r=`${PWD_COMMAND}`; export r; \
9983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9984 $(HOST_EXPORTS) \
9985 for flag in $(EXTRA_HOST_FLAGS) ; do \
9986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9987 done; \
9988 echo "Doing installcheck in gettext" ; \
9989 (cd $(HOST_SUBDIR)/gettext && \
9990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9992 "RANLIB=$${RANLIB}" \
9993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9994 installcheck) \
9995 || exit 1
9997 @endif gettext
9999 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10000 maybe-mostlyclean-gettext:
10001 @if gettext
10002 maybe-mostlyclean-gettext: mostlyclean-gettext
10004 mostlyclean-gettext:
10005 @[ -f ./gettext/Makefile ] || exit 0; \
10006 r=`${PWD_COMMAND}`; export r; \
10007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10008 $(HOST_EXPORTS) \
10009 for flag in $(EXTRA_HOST_FLAGS) ; do \
10010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10011 done; \
10012 echo "Doing mostlyclean in gettext" ; \
10013 (cd $(HOST_SUBDIR)/gettext && \
10014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10016 "RANLIB=$${RANLIB}" \
10017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10018 mostlyclean) \
10019 || exit 1
10021 @endif gettext
10023 .PHONY: maybe-clean-gettext clean-gettext
10024 maybe-clean-gettext:
10025 @if gettext
10026 maybe-clean-gettext: clean-gettext
10028 clean-gettext:
10029 @[ -f ./gettext/Makefile ] || exit 0; \
10030 r=`${PWD_COMMAND}`; export r; \
10031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10032 $(HOST_EXPORTS) \
10033 for flag in $(EXTRA_HOST_FLAGS) ; do \
10034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10035 done; \
10036 echo "Doing clean in gettext" ; \
10037 (cd $(HOST_SUBDIR)/gettext && \
10038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10040 "RANLIB=$${RANLIB}" \
10041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10042 clean) \
10043 || exit 1
10045 @endif gettext
10047 .PHONY: maybe-distclean-gettext distclean-gettext
10048 maybe-distclean-gettext:
10049 @if gettext
10050 maybe-distclean-gettext: distclean-gettext
10052 distclean-gettext:
10053 @[ -f ./gettext/Makefile ] || exit 0; \
10054 r=`${PWD_COMMAND}`; export r; \
10055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 distclean 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 distclean) \
10067 || exit 1
10069 @endif gettext
10071 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
10072 maybe-maintainer-clean-gettext:
10073 @if gettext
10074 maybe-maintainer-clean-gettext: maintainer-clean-gettext
10076 maintainer-clean-gettext:
10077 @[ -f ./gettext/Makefile ] || exit 0; \
10078 r=`${PWD_COMMAND}`; export r; \
10079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10080 $(HOST_EXPORTS) \
10081 for flag in $(EXTRA_HOST_FLAGS) ; do \
10082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10083 done; \
10084 echo "Doing maintainer-clean in gettext" ; \
10085 (cd $(HOST_SUBDIR)/gettext && \
10086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10088 "RANLIB=$${RANLIB}" \
10089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10090 maintainer-clean) \
10091 || exit 1
10093 @endif gettext
10097 .PHONY: configure-gnuserv maybe-configure-gnuserv
10098 maybe-configure-gnuserv:
10099 @if gnuserv
10100 maybe-configure-gnuserv: configure-gnuserv
10101 configure-gnuserv:
10102 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
10103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
10104 r=`${PWD_COMMAND}`; export r; \
10105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10106 $(HOST_EXPORTS) \
10107 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
10108 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
10109 case $(srcdir) in \
10110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10111 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
10112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10113 esac; \
10114 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
10115 libsrcdir="$$s/gnuserv"; \
10116 $(SHELL) $${libsrcdir}/configure \
10117 $(HOST_CONFIGARGS) $${srcdiroption} \
10118 || exit 1
10119 @endif gnuserv
10123 .PHONY: all-gnuserv maybe-all-gnuserv
10124 maybe-all-gnuserv:
10125 @if gnuserv
10126 TARGET-gnuserv=all
10127 maybe-all-gnuserv: all-gnuserv
10128 all-gnuserv: configure-gnuserv
10129 @r=`${PWD_COMMAND}`; export r; \
10130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10131 $(HOST_EXPORTS) \
10132 (cd $(HOST_SUBDIR)/gnuserv && \
10133 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
10134 @endif gnuserv
10137 .PHONY: check-gnuserv maybe-check-gnuserv
10138 maybe-check-gnuserv:
10139 @if gnuserv
10140 maybe-check-gnuserv: check-gnuserv
10142 check-gnuserv:
10143 @r=`${PWD_COMMAND}`; export r; \
10144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10145 $(HOST_EXPORTS) \
10146 (cd $(HOST_SUBDIR)/gnuserv && \
10147 $(MAKE) $(FLAGS_TO_PASS) check)
10149 @endif gnuserv
10151 .PHONY: install-gnuserv maybe-install-gnuserv
10152 maybe-install-gnuserv:
10153 @if gnuserv
10154 maybe-install-gnuserv: install-gnuserv
10156 install-gnuserv: installdirs
10157 @r=`${PWD_COMMAND}`; export r; \
10158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10159 $(HOST_EXPORTS) \
10160 (cd $(HOST_SUBDIR)/gnuserv && \
10161 $(MAKE) $(FLAGS_TO_PASS) install)
10163 @endif gnuserv
10165 # Other targets (info, dvi, etc.)
10167 .PHONY: maybe-info-gnuserv info-gnuserv
10168 maybe-info-gnuserv:
10169 @if gnuserv
10170 maybe-info-gnuserv: info-gnuserv
10172 info-gnuserv: \
10173 configure-gnuserv
10174 @[ -f ./gnuserv/Makefile ] || exit 0; \
10175 r=`${PWD_COMMAND}`; export r; \
10176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10177 $(HOST_EXPORTS) \
10178 for flag in $(EXTRA_HOST_FLAGS) ; do \
10179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10180 done; \
10181 echo "Doing info in gnuserv" ; \
10182 (cd $(HOST_SUBDIR)/gnuserv && \
10183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10185 "RANLIB=$${RANLIB}" \
10186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10187 info) \
10188 || exit 1
10190 @endif gnuserv
10192 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
10193 maybe-dvi-gnuserv:
10194 @if gnuserv
10195 maybe-dvi-gnuserv: dvi-gnuserv
10197 dvi-gnuserv: \
10198 configure-gnuserv
10199 @[ -f ./gnuserv/Makefile ] || exit 0; \
10200 r=`${PWD_COMMAND}`; export r; \
10201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10202 $(HOST_EXPORTS) \
10203 for flag in $(EXTRA_HOST_FLAGS) ; do \
10204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10205 done; \
10206 echo "Doing dvi in gnuserv" ; \
10207 (cd $(HOST_SUBDIR)/gnuserv && \
10208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10210 "RANLIB=$${RANLIB}" \
10211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10212 dvi) \
10213 || exit 1
10215 @endif gnuserv
10217 .PHONY: maybe-html-gnuserv html-gnuserv
10218 maybe-html-gnuserv:
10219 @if gnuserv
10220 maybe-html-gnuserv: html-gnuserv
10222 html-gnuserv: \
10223 configure-gnuserv
10224 @[ -f ./gnuserv/Makefile ] || exit 0; \
10225 r=`${PWD_COMMAND}`; export r; \
10226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10227 $(HOST_EXPORTS) \
10228 for flag in $(EXTRA_HOST_FLAGS) ; do \
10229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10230 done; \
10231 echo "Doing html in gnuserv" ; \
10232 (cd $(HOST_SUBDIR)/gnuserv && \
10233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10235 "RANLIB=$${RANLIB}" \
10236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10237 html) \
10238 || exit 1
10240 @endif gnuserv
10242 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
10243 maybe-TAGS-gnuserv:
10244 @if gnuserv
10245 maybe-TAGS-gnuserv: TAGS-gnuserv
10247 TAGS-gnuserv: \
10248 configure-gnuserv
10249 @[ -f ./gnuserv/Makefile ] || exit 0; \
10250 r=`${PWD_COMMAND}`; export r; \
10251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10252 $(HOST_EXPORTS) \
10253 for flag in $(EXTRA_HOST_FLAGS) ; do \
10254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10255 done; \
10256 echo "Doing TAGS in gnuserv" ; \
10257 (cd $(HOST_SUBDIR)/gnuserv && \
10258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10260 "RANLIB=$${RANLIB}" \
10261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10262 TAGS) \
10263 || exit 1
10265 @endif gnuserv
10267 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
10268 maybe-install-info-gnuserv:
10269 @if gnuserv
10270 maybe-install-info-gnuserv: install-info-gnuserv
10272 install-info-gnuserv: \
10273 configure-gnuserv \
10274 info-gnuserv
10275 @[ -f ./gnuserv/Makefile ] || exit 0; \
10276 r=`${PWD_COMMAND}`; export r; \
10277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10278 $(HOST_EXPORTS) \
10279 for flag in $(EXTRA_HOST_FLAGS) ; do \
10280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10281 done; \
10282 echo "Doing install-info in gnuserv" ; \
10283 (cd $(HOST_SUBDIR)/gnuserv && \
10284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10286 "RANLIB=$${RANLIB}" \
10287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10288 install-info) \
10289 || exit 1
10291 @endif gnuserv
10293 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
10294 maybe-installcheck-gnuserv:
10295 @if gnuserv
10296 maybe-installcheck-gnuserv: installcheck-gnuserv
10298 installcheck-gnuserv: \
10299 configure-gnuserv
10300 @[ -f ./gnuserv/Makefile ] || exit 0; \
10301 r=`${PWD_COMMAND}`; export r; \
10302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10303 $(HOST_EXPORTS) \
10304 for flag in $(EXTRA_HOST_FLAGS) ; do \
10305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10306 done; \
10307 echo "Doing installcheck in gnuserv" ; \
10308 (cd $(HOST_SUBDIR)/gnuserv && \
10309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10311 "RANLIB=$${RANLIB}" \
10312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10313 installcheck) \
10314 || exit 1
10316 @endif gnuserv
10318 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10319 maybe-mostlyclean-gnuserv:
10320 @if gnuserv
10321 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
10323 mostlyclean-gnuserv:
10324 @[ -f ./gnuserv/Makefile ] || exit 0; \
10325 r=`${PWD_COMMAND}`; export r; \
10326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10327 $(HOST_EXPORTS) \
10328 for flag in $(EXTRA_HOST_FLAGS) ; do \
10329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10330 done; \
10331 echo "Doing mostlyclean in gnuserv" ; \
10332 (cd $(HOST_SUBDIR)/gnuserv && \
10333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10335 "RANLIB=$${RANLIB}" \
10336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10337 mostlyclean) \
10338 || exit 1
10340 @endif gnuserv
10342 .PHONY: maybe-clean-gnuserv clean-gnuserv
10343 maybe-clean-gnuserv:
10344 @if gnuserv
10345 maybe-clean-gnuserv: clean-gnuserv
10347 clean-gnuserv:
10348 @[ -f ./gnuserv/Makefile ] || exit 0; \
10349 r=`${PWD_COMMAND}`; export r; \
10350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10351 $(HOST_EXPORTS) \
10352 for flag in $(EXTRA_HOST_FLAGS) ; do \
10353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10354 done; \
10355 echo "Doing clean in gnuserv" ; \
10356 (cd $(HOST_SUBDIR)/gnuserv && \
10357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10359 "RANLIB=$${RANLIB}" \
10360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10361 clean) \
10362 || exit 1
10364 @endif gnuserv
10366 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
10367 maybe-distclean-gnuserv:
10368 @if gnuserv
10369 maybe-distclean-gnuserv: distclean-gnuserv
10371 distclean-gnuserv:
10372 @[ -f ./gnuserv/Makefile ] || exit 0; \
10373 r=`${PWD_COMMAND}`; export r; \
10374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10375 $(HOST_EXPORTS) \
10376 for flag in $(EXTRA_HOST_FLAGS) ; do \
10377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10378 done; \
10379 echo "Doing distclean in gnuserv" ; \
10380 (cd $(HOST_SUBDIR)/gnuserv && \
10381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10383 "RANLIB=$${RANLIB}" \
10384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10385 distclean) \
10386 || exit 1
10388 @endif gnuserv
10390 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
10391 maybe-maintainer-clean-gnuserv:
10392 @if gnuserv
10393 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
10395 maintainer-clean-gnuserv:
10396 @[ -f ./gnuserv/Makefile ] || exit 0; \
10397 r=`${PWD_COMMAND}`; export r; \
10398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10399 $(HOST_EXPORTS) \
10400 for flag in $(EXTRA_HOST_FLAGS) ; do \
10401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10402 done; \
10403 echo "Doing maintainer-clean in gnuserv" ; \
10404 (cd $(HOST_SUBDIR)/gnuserv && \
10405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10407 "RANLIB=$${RANLIB}" \
10408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10409 maintainer-clean) \
10410 || exit 1
10412 @endif gnuserv
10416 .PHONY: configure-gprof maybe-configure-gprof
10417 maybe-configure-gprof:
10418 @if gprof
10419 maybe-configure-gprof: configure-gprof
10420 configure-gprof:
10421 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
10422 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
10423 r=`${PWD_COMMAND}`; export r; \
10424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10425 $(HOST_EXPORTS) \
10426 echo Configuring in $(HOST_SUBDIR)/gprof; \
10427 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
10428 case $(srcdir) in \
10429 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10430 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
10431 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10432 esac; \
10433 srcdiroption="--srcdir=$${topdir}/gprof"; \
10434 libsrcdir="$$s/gprof"; \
10435 $(SHELL) $${libsrcdir}/configure \
10436 $(HOST_CONFIGARGS) $${srcdiroption} \
10437 || exit 1
10438 @endif gprof
10442 .PHONY: all-gprof maybe-all-gprof
10443 maybe-all-gprof:
10444 @if gprof
10445 TARGET-gprof=all
10446 maybe-all-gprof: all-gprof
10447 all-gprof: configure-gprof
10448 @r=`${PWD_COMMAND}`; export r; \
10449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10450 $(HOST_EXPORTS) \
10451 (cd $(HOST_SUBDIR)/gprof && \
10452 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
10453 @endif gprof
10456 .PHONY: check-gprof maybe-check-gprof
10457 maybe-check-gprof:
10458 @if gprof
10459 maybe-check-gprof: check-gprof
10461 check-gprof:
10462 @r=`${PWD_COMMAND}`; export r; \
10463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10464 $(HOST_EXPORTS) \
10465 (cd $(HOST_SUBDIR)/gprof && \
10466 $(MAKE) $(FLAGS_TO_PASS) check)
10468 @endif gprof
10470 .PHONY: install-gprof maybe-install-gprof
10471 maybe-install-gprof:
10472 @if gprof
10473 maybe-install-gprof: install-gprof
10475 install-gprof: installdirs
10476 @r=`${PWD_COMMAND}`; export r; \
10477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10478 $(HOST_EXPORTS) \
10479 (cd $(HOST_SUBDIR)/gprof && \
10480 $(MAKE) $(FLAGS_TO_PASS) install)
10482 @endif gprof
10484 # Other targets (info, dvi, etc.)
10486 .PHONY: maybe-info-gprof info-gprof
10487 maybe-info-gprof:
10488 @if gprof
10489 maybe-info-gprof: info-gprof
10491 info-gprof: \
10492 configure-gprof
10493 @[ -f ./gprof/Makefile ] || exit 0; \
10494 r=`${PWD_COMMAND}`; export r; \
10495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10496 $(HOST_EXPORTS) \
10497 for flag in $(EXTRA_HOST_FLAGS) ; do \
10498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10499 done; \
10500 echo "Doing info in gprof" ; \
10501 (cd $(HOST_SUBDIR)/gprof && \
10502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10504 "RANLIB=$${RANLIB}" \
10505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10506 info) \
10507 || exit 1
10509 @endif gprof
10511 .PHONY: maybe-dvi-gprof dvi-gprof
10512 maybe-dvi-gprof:
10513 @if gprof
10514 maybe-dvi-gprof: dvi-gprof
10516 dvi-gprof: \
10517 configure-gprof
10518 @[ -f ./gprof/Makefile ] || exit 0; \
10519 r=`${PWD_COMMAND}`; export r; \
10520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10521 $(HOST_EXPORTS) \
10522 for flag in $(EXTRA_HOST_FLAGS) ; do \
10523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10524 done; \
10525 echo "Doing dvi in gprof" ; \
10526 (cd $(HOST_SUBDIR)/gprof && \
10527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10529 "RANLIB=$${RANLIB}" \
10530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10531 dvi) \
10532 || exit 1
10534 @endif gprof
10536 .PHONY: maybe-html-gprof html-gprof
10537 maybe-html-gprof:
10538 @if gprof
10539 maybe-html-gprof: html-gprof
10541 html-gprof: \
10542 configure-gprof
10543 @[ -f ./gprof/Makefile ] || exit 0; \
10544 r=`${PWD_COMMAND}`; export r; \
10545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10546 $(HOST_EXPORTS) \
10547 for flag in $(EXTRA_HOST_FLAGS) ; do \
10548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10549 done; \
10550 echo "Doing html in gprof" ; \
10551 (cd $(HOST_SUBDIR)/gprof && \
10552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10554 "RANLIB=$${RANLIB}" \
10555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10556 html) \
10557 || exit 1
10559 @endif gprof
10561 .PHONY: maybe-TAGS-gprof TAGS-gprof
10562 maybe-TAGS-gprof:
10563 @if gprof
10564 maybe-TAGS-gprof: TAGS-gprof
10566 TAGS-gprof: \
10567 configure-gprof
10568 @[ -f ./gprof/Makefile ] || exit 0; \
10569 r=`${PWD_COMMAND}`; export r; \
10570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10571 $(HOST_EXPORTS) \
10572 for flag in $(EXTRA_HOST_FLAGS) ; do \
10573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10574 done; \
10575 echo "Doing TAGS in gprof" ; \
10576 (cd $(HOST_SUBDIR)/gprof && \
10577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10579 "RANLIB=$${RANLIB}" \
10580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10581 TAGS) \
10582 || exit 1
10584 @endif gprof
10586 .PHONY: maybe-install-info-gprof install-info-gprof
10587 maybe-install-info-gprof:
10588 @if gprof
10589 maybe-install-info-gprof: install-info-gprof
10591 install-info-gprof: \
10592 configure-gprof \
10593 info-gprof
10594 @[ -f ./gprof/Makefile ] || exit 0; \
10595 r=`${PWD_COMMAND}`; export r; \
10596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10597 $(HOST_EXPORTS) \
10598 for flag in $(EXTRA_HOST_FLAGS) ; do \
10599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10600 done; \
10601 echo "Doing install-info in gprof" ; \
10602 (cd $(HOST_SUBDIR)/gprof && \
10603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10605 "RANLIB=$${RANLIB}" \
10606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10607 install-info) \
10608 || exit 1
10610 @endif gprof
10612 .PHONY: maybe-installcheck-gprof installcheck-gprof
10613 maybe-installcheck-gprof:
10614 @if gprof
10615 maybe-installcheck-gprof: installcheck-gprof
10617 installcheck-gprof: \
10618 configure-gprof
10619 @[ -f ./gprof/Makefile ] || exit 0; \
10620 r=`${PWD_COMMAND}`; export r; \
10621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10622 $(HOST_EXPORTS) \
10623 for flag in $(EXTRA_HOST_FLAGS) ; do \
10624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10625 done; \
10626 echo "Doing installcheck in gprof" ; \
10627 (cd $(HOST_SUBDIR)/gprof && \
10628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10630 "RANLIB=$${RANLIB}" \
10631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10632 installcheck) \
10633 || exit 1
10635 @endif gprof
10637 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
10638 maybe-mostlyclean-gprof:
10639 @if gprof
10640 maybe-mostlyclean-gprof: mostlyclean-gprof
10642 mostlyclean-gprof:
10643 @[ -f ./gprof/Makefile ] || exit 0; \
10644 r=`${PWD_COMMAND}`; export r; \
10645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10646 $(HOST_EXPORTS) \
10647 for flag in $(EXTRA_HOST_FLAGS) ; do \
10648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10649 done; \
10650 echo "Doing mostlyclean in gprof" ; \
10651 (cd $(HOST_SUBDIR)/gprof && \
10652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10654 "RANLIB=$${RANLIB}" \
10655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10656 mostlyclean) \
10657 || exit 1
10659 @endif gprof
10661 .PHONY: maybe-clean-gprof clean-gprof
10662 maybe-clean-gprof:
10663 @if gprof
10664 maybe-clean-gprof: clean-gprof
10666 clean-gprof:
10667 @[ -f ./gprof/Makefile ] || exit 0; \
10668 r=`${PWD_COMMAND}`; export r; \
10669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10670 $(HOST_EXPORTS) \
10671 for flag in $(EXTRA_HOST_FLAGS) ; do \
10672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10673 done; \
10674 echo "Doing clean in gprof" ; \
10675 (cd $(HOST_SUBDIR)/gprof && \
10676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10678 "RANLIB=$${RANLIB}" \
10679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10680 clean) \
10681 || exit 1
10683 @endif gprof
10685 .PHONY: maybe-distclean-gprof distclean-gprof
10686 maybe-distclean-gprof:
10687 @if gprof
10688 maybe-distclean-gprof: distclean-gprof
10690 distclean-gprof:
10691 @[ -f ./gprof/Makefile ] || exit 0; \
10692 r=`${PWD_COMMAND}`; export r; \
10693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10694 $(HOST_EXPORTS) \
10695 for flag in $(EXTRA_HOST_FLAGS) ; do \
10696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10697 done; \
10698 echo "Doing distclean in gprof" ; \
10699 (cd $(HOST_SUBDIR)/gprof && \
10700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10702 "RANLIB=$${RANLIB}" \
10703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10704 distclean) \
10705 || exit 1
10707 @endif gprof
10709 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10710 maybe-maintainer-clean-gprof:
10711 @if gprof
10712 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10714 maintainer-clean-gprof:
10715 @[ -f ./gprof/Makefile ] || exit 0; \
10716 r=`${PWD_COMMAND}`; export r; \
10717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10718 $(HOST_EXPORTS) \
10719 for flag in $(EXTRA_HOST_FLAGS) ; do \
10720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10721 done; \
10722 echo "Doing maintainer-clean in gprof" ; \
10723 (cd $(HOST_SUBDIR)/gprof && \
10724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10726 "RANLIB=$${RANLIB}" \
10727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10728 maintainer-clean) \
10729 || exit 1
10731 @endif gprof
10735 .PHONY: configure-gzip maybe-configure-gzip
10736 maybe-configure-gzip:
10737 @if gzip
10738 maybe-configure-gzip: configure-gzip
10739 configure-gzip:
10740 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
10741 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
10742 r=`${PWD_COMMAND}`; export r; \
10743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10744 $(HOST_EXPORTS) \
10745 echo Configuring in $(HOST_SUBDIR)/gzip; \
10746 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
10747 case $(srcdir) in \
10748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10749 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
10750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10751 esac; \
10752 srcdiroption="--srcdir=$${topdir}/gzip"; \
10753 libsrcdir="$$s/gzip"; \
10754 $(SHELL) $${libsrcdir}/configure \
10755 $(HOST_CONFIGARGS) $${srcdiroption} \
10756 || exit 1
10757 @endif gzip
10761 .PHONY: all-gzip maybe-all-gzip
10762 maybe-all-gzip:
10763 @if gzip
10764 TARGET-gzip=all
10765 maybe-all-gzip: all-gzip
10766 all-gzip: configure-gzip
10767 @r=`${PWD_COMMAND}`; export r; \
10768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10769 $(HOST_EXPORTS) \
10770 (cd $(HOST_SUBDIR)/gzip && \
10771 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
10772 @endif gzip
10775 .PHONY: check-gzip maybe-check-gzip
10776 maybe-check-gzip:
10777 @if gzip
10778 maybe-check-gzip: check-gzip
10780 check-gzip:
10781 @r=`${PWD_COMMAND}`; export r; \
10782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10783 $(HOST_EXPORTS) \
10784 (cd $(HOST_SUBDIR)/gzip && \
10785 $(MAKE) $(FLAGS_TO_PASS) check)
10787 @endif gzip
10789 .PHONY: install-gzip maybe-install-gzip
10790 maybe-install-gzip:
10791 @if gzip
10792 maybe-install-gzip: install-gzip
10794 install-gzip: installdirs
10795 @r=`${PWD_COMMAND}`; export r; \
10796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10797 $(HOST_EXPORTS) \
10798 (cd $(HOST_SUBDIR)/gzip && \
10799 $(MAKE) $(FLAGS_TO_PASS) install)
10801 @endif gzip
10803 # Other targets (info, dvi, etc.)
10805 .PHONY: maybe-info-gzip info-gzip
10806 maybe-info-gzip:
10807 @if gzip
10808 maybe-info-gzip: info-gzip
10810 info-gzip: \
10811 configure-gzip
10812 @[ -f ./gzip/Makefile ] || exit 0; \
10813 r=`${PWD_COMMAND}`; export r; \
10814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10815 $(HOST_EXPORTS) \
10816 for flag in $(EXTRA_HOST_FLAGS) ; do \
10817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10818 done; \
10819 echo "Doing info in gzip" ; \
10820 (cd $(HOST_SUBDIR)/gzip && \
10821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10823 "RANLIB=$${RANLIB}" \
10824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10825 info) \
10826 || exit 1
10828 @endif gzip
10830 .PHONY: maybe-dvi-gzip dvi-gzip
10831 maybe-dvi-gzip:
10832 @if gzip
10833 maybe-dvi-gzip: dvi-gzip
10835 dvi-gzip: \
10836 configure-gzip
10837 @[ -f ./gzip/Makefile ] || exit 0; \
10838 r=`${PWD_COMMAND}`; export r; \
10839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10840 $(HOST_EXPORTS) \
10841 for flag in $(EXTRA_HOST_FLAGS) ; do \
10842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10843 done; \
10844 echo "Doing dvi in gzip" ; \
10845 (cd $(HOST_SUBDIR)/gzip && \
10846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10848 "RANLIB=$${RANLIB}" \
10849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10850 dvi) \
10851 || exit 1
10853 @endif gzip
10855 .PHONY: maybe-html-gzip html-gzip
10856 maybe-html-gzip:
10857 @if gzip
10858 maybe-html-gzip: html-gzip
10860 html-gzip: \
10861 configure-gzip
10862 @[ -f ./gzip/Makefile ] || exit 0; \
10863 r=`${PWD_COMMAND}`; export r; \
10864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10865 $(HOST_EXPORTS) \
10866 for flag in $(EXTRA_HOST_FLAGS) ; do \
10867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10868 done; \
10869 echo "Doing html in gzip" ; \
10870 (cd $(HOST_SUBDIR)/gzip && \
10871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10873 "RANLIB=$${RANLIB}" \
10874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10875 html) \
10876 || exit 1
10878 @endif gzip
10880 .PHONY: maybe-TAGS-gzip TAGS-gzip
10881 maybe-TAGS-gzip:
10882 @if gzip
10883 maybe-TAGS-gzip: TAGS-gzip
10885 TAGS-gzip: \
10886 configure-gzip
10887 @[ -f ./gzip/Makefile ] || exit 0; \
10888 r=`${PWD_COMMAND}`; export r; \
10889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10890 $(HOST_EXPORTS) \
10891 for flag in $(EXTRA_HOST_FLAGS) ; do \
10892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10893 done; \
10894 echo "Doing TAGS in gzip" ; \
10895 (cd $(HOST_SUBDIR)/gzip && \
10896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10898 "RANLIB=$${RANLIB}" \
10899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10900 TAGS) \
10901 || exit 1
10903 @endif gzip
10905 .PHONY: maybe-install-info-gzip install-info-gzip
10906 maybe-install-info-gzip:
10907 @if gzip
10908 maybe-install-info-gzip: install-info-gzip
10910 install-info-gzip: \
10911 configure-gzip \
10912 info-gzip
10913 @[ -f ./gzip/Makefile ] || exit 0; \
10914 r=`${PWD_COMMAND}`; export r; \
10915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10916 $(HOST_EXPORTS) \
10917 for flag in $(EXTRA_HOST_FLAGS) ; do \
10918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10919 done; \
10920 echo "Doing install-info in gzip" ; \
10921 (cd $(HOST_SUBDIR)/gzip && \
10922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10924 "RANLIB=$${RANLIB}" \
10925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10926 install-info) \
10927 || exit 1
10929 @endif gzip
10931 .PHONY: maybe-installcheck-gzip installcheck-gzip
10932 maybe-installcheck-gzip:
10933 @if gzip
10934 maybe-installcheck-gzip: installcheck-gzip
10936 installcheck-gzip: \
10937 configure-gzip
10938 @[ -f ./gzip/Makefile ] || exit 0; \
10939 r=`${PWD_COMMAND}`; export r; \
10940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10941 $(HOST_EXPORTS) \
10942 for flag in $(EXTRA_HOST_FLAGS) ; do \
10943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10944 done; \
10945 echo "Doing installcheck in gzip" ; \
10946 (cd $(HOST_SUBDIR)/gzip && \
10947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10949 "RANLIB=$${RANLIB}" \
10950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10951 installcheck) \
10952 || exit 1
10954 @endif gzip
10956 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10957 maybe-mostlyclean-gzip:
10958 @if gzip
10959 maybe-mostlyclean-gzip: mostlyclean-gzip
10961 mostlyclean-gzip:
10962 @[ -f ./gzip/Makefile ] || exit 0; \
10963 r=`${PWD_COMMAND}`; export r; \
10964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10965 $(HOST_EXPORTS) \
10966 for flag in $(EXTRA_HOST_FLAGS) ; do \
10967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10968 done; \
10969 echo "Doing mostlyclean in gzip" ; \
10970 (cd $(HOST_SUBDIR)/gzip && \
10971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10973 "RANLIB=$${RANLIB}" \
10974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10975 mostlyclean) \
10976 || exit 1
10978 @endif gzip
10980 .PHONY: maybe-clean-gzip clean-gzip
10981 maybe-clean-gzip:
10982 @if gzip
10983 maybe-clean-gzip: clean-gzip
10985 clean-gzip:
10986 @[ -f ./gzip/Makefile ] || exit 0; \
10987 r=`${PWD_COMMAND}`; export r; \
10988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10989 $(HOST_EXPORTS) \
10990 for flag in $(EXTRA_HOST_FLAGS) ; do \
10991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10992 done; \
10993 echo "Doing clean in gzip" ; \
10994 (cd $(HOST_SUBDIR)/gzip && \
10995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10997 "RANLIB=$${RANLIB}" \
10998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10999 clean) \
11000 || exit 1
11002 @endif gzip
11004 .PHONY: maybe-distclean-gzip distclean-gzip
11005 maybe-distclean-gzip:
11006 @if gzip
11007 maybe-distclean-gzip: distclean-gzip
11009 distclean-gzip:
11010 @[ -f ./gzip/Makefile ] || exit 0; \
11011 r=`${PWD_COMMAND}`; export r; \
11012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11013 $(HOST_EXPORTS) \
11014 for flag in $(EXTRA_HOST_FLAGS) ; do \
11015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11016 done; \
11017 echo "Doing distclean in gzip" ; \
11018 (cd $(HOST_SUBDIR)/gzip && \
11019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11021 "RANLIB=$${RANLIB}" \
11022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11023 distclean) \
11024 || exit 1
11026 @endif gzip
11028 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
11029 maybe-maintainer-clean-gzip:
11030 @if gzip
11031 maybe-maintainer-clean-gzip: maintainer-clean-gzip
11033 maintainer-clean-gzip:
11034 @[ -f ./gzip/Makefile ] || exit 0; \
11035 r=`${PWD_COMMAND}`; export r; \
11036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11037 $(HOST_EXPORTS) \
11038 for flag in $(EXTRA_HOST_FLAGS) ; do \
11039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11040 done; \
11041 echo "Doing maintainer-clean in gzip" ; \
11042 (cd $(HOST_SUBDIR)/gzip && \
11043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11045 "RANLIB=$${RANLIB}" \
11046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11047 maintainer-clean) \
11048 || exit 1
11050 @endif gzip
11054 .PHONY: configure-hello maybe-configure-hello
11055 maybe-configure-hello:
11056 @if hello
11057 maybe-configure-hello: configure-hello
11058 configure-hello:
11059 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
11060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
11061 r=`${PWD_COMMAND}`; export r; \
11062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11063 $(HOST_EXPORTS) \
11064 echo Configuring in $(HOST_SUBDIR)/hello; \
11065 cd "$(HOST_SUBDIR)/hello" || exit 1; \
11066 case $(srcdir) in \
11067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11068 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
11069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11070 esac; \
11071 srcdiroption="--srcdir=$${topdir}/hello"; \
11072 libsrcdir="$$s/hello"; \
11073 $(SHELL) $${libsrcdir}/configure \
11074 $(HOST_CONFIGARGS) $${srcdiroption} \
11075 || exit 1
11076 @endif hello
11080 .PHONY: all-hello maybe-all-hello
11081 maybe-all-hello:
11082 @if hello
11083 TARGET-hello=all
11084 maybe-all-hello: all-hello
11085 all-hello: configure-hello
11086 @r=`${PWD_COMMAND}`; export r; \
11087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11088 $(HOST_EXPORTS) \
11089 (cd $(HOST_SUBDIR)/hello && \
11090 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
11091 @endif hello
11094 .PHONY: check-hello maybe-check-hello
11095 maybe-check-hello:
11096 @if hello
11097 maybe-check-hello: check-hello
11099 check-hello:
11100 @r=`${PWD_COMMAND}`; export r; \
11101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11102 $(HOST_EXPORTS) \
11103 (cd $(HOST_SUBDIR)/hello && \
11104 $(MAKE) $(FLAGS_TO_PASS) check)
11106 @endif hello
11108 .PHONY: install-hello maybe-install-hello
11109 maybe-install-hello:
11110 @if hello
11111 maybe-install-hello: install-hello
11113 install-hello: installdirs
11114 @r=`${PWD_COMMAND}`; export r; \
11115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11116 $(HOST_EXPORTS) \
11117 (cd $(HOST_SUBDIR)/hello && \
11118 $(MAKE) $(FLAGS_TO_PASS) install)
11120 @endif hello
11122 # Other targets (info, dvi, etc.)
11124 .PHONY: maybe-info-hello info-hello
11125 maybe-info-hello:
11126 @if hello
11127 maybe-info-hello: info-hello
11129 info-hello: \
11130 configure-hello
11131 @[ -f ./hello/Makefile ] || exit 0; \
11132 r=`${PWD_COMMAND}`; export r; \
11133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11134 $(HOST_EXPORTS) \
11135 for flag in $(EXTRA_HOST_FLAGS) ; do \
11136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11137 done; \
11138 echo "Doing info in hello" ; \
11139 (cd $(HOST_SUBDIR)/hello && \
11140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11142 "RANLIB=$${RANLIB}" \
11143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11144 info) \
11145 || exit 1
11147 @endif hello
11149 .PHONY: maybe-dvi-hello dvi-hello
11150 maybe-dvi-hello:
11151 @if hello
11152 maybe-dvi-hello: dvi-hello
11154 dvi-hello: \
11155 configure-hello
11156 @[ -f ./hello/Makefile ] || exit 0; \
11157 r=`${PWD_COMMAND}`; export r; \
11158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11159 $(HOST_EXPORTS) \
11160 for flag in $(EXTRA_HOST_FLAGS) ; do \
11161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11162 done; \
11163 echo "Doing dvi in hello" ; \
11164 (cd $(HOST_SUBDIR)/hello && \
11165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11167 "RANLIB=$${RANLIB}" \
11168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11169 dvi) \
11170 || exit 1
11172 @endif hello
11174 .PHONY: maybe-html-hello html-hello
11175 maybe-html-hello:
11176 @if hello
11177 maybe-html-hello: html-hello
11179 html-hello: \
11180 configure-hello
11181 @[ -f ./hello/Makefile ] || exit 0; \
11182 r=`${PWD_COMMAND}`; export r; \
11183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11184 $(HOST_EXPORTS) \
11185 for flag in $(EXTRA_HOST_FLAGS) ; do \
11186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11187 done; \
11188 echo "Doing html in hello" ; \
11189 (cd $(HOST_SUBDIR)/hello && \
11190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11192 "RANLIB=$${RANLIB}" \
11193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11194 html) \
11195 || exit 1
11197 @endif hello
11199 .PHONY: maybe-TAGS-hello TAGS-hello
11200 maybe-TAGS-hello:
11201 @if hello
11202 maybe-TAGS-hello: TAGS-hello
11204 TAGS-hello: \
11205 configure-hello
11206 @[ -f ./hello/Makefile ] || exit 0; \
11207 r=`${PWD_COMMAND}`; export r; \
11208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11209 $(HOST_EXPORTS) \
11210 for flag in $(EXTRA_HOST_FLAGS) ; do \
11211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11212 done; \
11213 echo "Doing TAGS in hello" ; \
11214 (cd $(HOST_SUBDIR)/hello && \
11215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11217 "RANLIB=$${RANLIB}" \
11218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11219 TAGS) \
11220 || exit 1
11222 @endif hello
11224 .PHONY: maybe-install-info-hello install-info-hello
11225 maybe-install-info-hello:
11226 @if hello
11227 maybe-install-info-hello: install-info-hello
11229 install-info-hello: \
11230 configure-hello \
11231 info-hello
11232 @[ -f ./hello/Makefile ] || exit 0; \
11233 r=`${PWD_COMMAND}`; export r; \
11234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11235 $(HOST_EXPORTS) \
11236 for flag in $(EXTRA_HOST_FLAGS) ; do \
11237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11238 done; \
11239 echo "Doing install-info in hello" ; \
11240 (cd $(HOST_SUBDIR)/hello && \
11241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11243 "RANLIB=$${RANLIB}" \
11244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11245 install-info) \
11246 || exit 1
11248 @endif hello
11250 .PHONY: maybe-installcheck-hello installcheck-hello
11251 maybe-installcheck-hello:
11252 @if hello
11253 maybe-installcheck-hello: installcheck-hello
11255 installcheck-hello: \
11256 configure-hello
11257 @[ -f ./hello/Makefile ] || exit 0; \
11258 r=`${PWD_COMMAND}`; export r; \
11259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11260 $(HOST_EXPORTS) \
11261 for flag in $(EXTRA_HOST_FLAGS) ; do \
11262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11263 done; \
11264 echo "Doing installcheck in hello" ; \
11265 (cd $(HOST_SUBDIR)/hello && \
11266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11268 "RANLIB=$${RANLIB}" \
11269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11270 installcheck) \
11271 || exit 1
11273 @endif hello
11275 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
11276 maybe-mostlyclean-hello:
11277 @if hello
11278 maybe-mostlyclean-hello: mostlyclean-hello
11280 mostlyclean-hello:
11281 @[ -f ./hello/Makefile ] || exit 0; \
11282 r=`${PWD_COMMAND}`; export r; \
11283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11284 $(HOST_EXPORTS) \
11285 for flag in $(EXTRA_HOST_FLAGS) ; do \
11286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11287 done; \
11288 echo "Doing mostlyclean in hello" ; \
11289 (cd $(HOST_SUBDIR)/hello && \
11290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11292 "RANLIB=$${RANLIB}" \
11293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11294 mostlyclean) \
11295 || exit 1
11297 @endif hello
11299 .PHONY: maybe-clean-hello clean-hello
11300 maybe-clean-hello:
11301 @if hello
11302 maybe-clean-hello: clean-hello
11304 clean-hello:
11305 @[ -f ./hello/Makefile ] || exit 0; \
11306 r=`${PWD_COMMAND}`; export r; \
11307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11308 $(HOST_EXPORTS) \
11309 for flag in $(EXTRA_HOST_FLAGS) ; do \
11310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11311 done; \
11312 echo "Doing clean in hello" ; \
11313 (cd $(HOST_SUBDIR)/hello && \
11314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11316 "RANLIB=$${RANLIB}" \
11317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11318 clean) \
11319 || exit 1
11321 @endif hello
11323 .PHONY: maybe-distclean-hello distclean-hello
11324 maybe-distclean-hello:
11325 @if hello
11326 maybe-distclean-hello: distclean-hello
11328 distclean-hello:
11329 @[ -f ./hello/Makefile ] || exit 0; \
11330 r=`${PWD_COMMAND}`; export r; \
11331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11332 $(HOST_EXPORTS) \
11333 for flag in $(EXTRA_HOST_FLAGS) ; do \
11334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11335 done; \
11336 echo "Doing distclean in hello" ; \
11337 (cd $(HOST_SUBDIR)/hello && \
11338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11340 "RANLIB=$${RANLIB}" \
11341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11342 distclean) \
11343 || exit 1
11345 @endif hello
11347 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
11348 maybe-maintainer-clean-hello:
11349 @if hello
11350 maybe-maintainer-clean-hello: maintainer-clean-hello
11352 maintainer-clean-hello:
11353 @[ -f ./hello/Makefile ] || exit 0; \
11354 r=`${PWD_COMMAND}`; export r; \
11355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11356 $(HOST_EXPORTS) \
11357 for flag in $(EXTRA_HOST_FLAGS) ; do \
11358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11359 done; \
11360 echo "Doing maintainer-clean in hello" ; \
11361 (cd $(HOST_SUBDIR)/hello && \
11362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11364 "RANLIB=$${RANLIB}" \
11365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11366 maintainer-clean) \
11367 || exit 1
11369 @endif hello
11373 .PHONY: configure-indent maybe-configure-indent
11374 maybe-configure-indent:
11375 @if indent
11376 maybe-configure-indent: configure-indent
11377 configure-indent:
11378 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
11379 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
11380 r=`${PWD_COMMAND}`; export r; \
11381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11382 $(HOST_EXPORTS) \
11383 echo Configuring in $(HOST_SUBDIR)/indent; \
11384 cd "$(HOST_SUBDIR)/indent" || exit 1; \
11385 case $(srcdir) in \
11386 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11387 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
11388 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11389 esac; \
11390 srcdiroption="--srcdir=$${topdir}/indent"; \
11391 libsrcdir="$$s/indent"; \
11392 $(SHELL) $${libsrcdir}/configure \
11393 $(HOST_CONFIGARGS) $${srcdiroption} \
11394 || exit 1
11395 @endif indent
11399 .PHONY: all-indent maybe-all-indent
11400 maybe-all-indent:
11401 @if indent
11402 TARGET-indent=all
11403 maybe-all-indent: all-indent
11404 all-indent: configure-indent
11405 @r=`${PWD_COMMAND}`; export r; \
11406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11407 $(HOST_EXPORTS) \
11408 (cd $(HOST_SUBDIR)/indent && \
11409 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
11410 @endif indent
11413 .PHONY: check-indent maybe-check-indent
11414 maybe-check-indent:
11415 @if indent
11416 maybe-check-indent: check-indent
11418 check-indent:
11419 @r=`${PWD_COMMAND}`; export r; \
11420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11421 $(HOST_EXPORTS) \
11422 (cd $(HOST_SUBDIR)/indent && \
11423 $(MAKE) $(FLAGS_TO_PASS) check)
11425 @endif indent
11427 .PHONY: install-indent maybe-install-indent
11428 maybe-install-indent:
11429 @if indent
11430 maybe-install-indent: install-indent
11432 install-indent: installdirs
11433 @r=`${PWD_COMMAND}`; export r; \
11434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11435 $(HOST_EXPORTS) \
11436 (cd $(HOST_SUBDIR)/indent && \
11437 $(MAKE) $(FLAGS_TO_PASS) install)
11439 @endif indent
11441 # Other targets (info, dvi, etc.)
11443 .PHONY: maybe-info-indent info-indent
11444 maybe-info-indent:
11445 @if indent
11446 maybe-info-indent: info-indent
11448 info-indent: \
11449 configure-indent
11450 @[ -f ./indent/Makefile ] || exit 0; \
11451 r=`${PWD_COMMAND}`; export r; \
11452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11453 $(HOST_EXPORTS) \
11454 for flag in $(EXTRA_HOST_FLAGS) ; do \
11455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11456 done; \
11457 echo "Doing info in indent" ; \
11458 (cd $(HOST_SUBDIR)/indent && \
11459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11461 "RANLIB=$${RANLIB}" \
11462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11463 info) \
11464 || exit 1
11466 @endif indent
11468 .PHONY: maybe-dvi-indent dvi-indent
11469 maybe-dvi-indent:
11470 @if indent
11471 maybe-dvi-indent: dvi-indent
11473 dvi-indent: \
11474 configure-indent
11475 @[ -f ./indent/Makefile ] || exit 0; \
11476 r=`${PWD_COMMAND}`; export r; \
11477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11478 $(HOST_EXPORTS) \
11479 for flag in $(EXTRA_HOST_FLAGS) ; do \
11480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11481 done; \
11482 echo "Doing dvi in indent" ; \
11483 (cd $(HOST_SUBDIR)/indent && \
11484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11486 "RANLIB=$${RANLIB}" \
11487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11488 dvi) \
11489 || exit 1
11491 @endif indent
11493 .PHONY: maybe-html-indent html-indent
11494 maybe-html-indent:
11495 @if indent
11496 maybe-html-indent: html-indent
11498 html-indent: \
11499 configure-indent
11500 @[ -f ./indent/Makefile ] || exit 0; \
11501 r=`${PWD_COMMAND}`; export r; \
11502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11503 $(HOST_EXPORTS) \
11504 for flag in $(EXTRA_HOST_FLAGS) ; do \
11505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11506 done; \
11507 echo "Doing html in indent" ; \
11508 (cd $(HOST_SUBDIR)/indent && \
11509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11511 "RANLIB=$${RANLIB}" \
11512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11513 html) \
11514 || exit 1
11516 @endif indent
11518 .PHONY: maybe-TAGS-indent TAGS-indent
11519 maybe-TAGS-indent:
11520 @if indent
11521 maybe-TAGS-indent: TAGS-indent
11523 TAGS-indent: \
11524 configure-indent
11525 @[ -f ./indent/Makefile ] || exit 0; \
11526 r=`${PWD_COMMAND}`; export r; \
11527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11528 $(HOST_EXPORTS) \
11529 for flag in $(EXTRA_HOST_FLAGS) ; do \
11530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11531 done; \
11532 echo "Doing TAGS in indent" ; \
11533 (cd $(HOST_SUBDIR)/indent && \
11534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11536 "RANLIB=$${RANLIB}" \
11537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11538 TAGS) \
11539 || exit 1
11541 @endif indent
11543 .PHONY: maybe-install-info-indent install-info-indent
11544 maybe-install-info-indent:
11545 @if indent
11546 maybe-install-info-indent: install-info-indent
11548 install-info-indent: \
11549 configure-indent \
11550 info-indent
11551 @[ -f ./indent/Makefile ] || exit 0; \
11552 r=`${PWD_COMMAND}`; export r; \
11553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11554 $(HOST_EXPORTS) \
11555 for flag in $(EXTRA_HOST_FLAGS) ; do \
11556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11557 done; \
11558 echo "Doing install-info in indent" ; \
11559 (cd $(HOST_SUBDIR)/indent && \
11560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11562 "RANLIB=$${RANLIB}" \
11563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11564 install-info) \
11565 || exit 1
11567 @endif indent
11569 .PHONY: maybe-installcheck-indent installcheck-indent
11570 maybe-installcheck-indent:
11571 @if indent
11572 maybe-installcheck-indent: installcheck-indent
11574 installcheck-indent: \
11575 configure-indent
11576 @[ -f ./indent/Makefile ] || exit 0; \
11577 r=`${PWD_COMMAND}`; export r; \
11578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11579 $(HOST_EXPORTS) \
11580 for flag in $(EXTRA_HOST_FLAGS) ; do \
11581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11582 done; \
11583 echo "Doing installcheck in indent" ; \
11584 (cd $(HOST_SUBDIR)/indent && \
11585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11587 "RANLIB=$${RANLIB}" \
11588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11589 installcheck) \
11590 || exit 1
11592 @endif indent
11594 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
11595 maybe-mostlyclean-indent:
11596 @if indent
11597 maybe-mostlyclean-indent: mostlyclean-indent
11599 mostlyclean-indent:
11600 @[ -f ./indent/Makefile ] || exit 0; \
11601 r=`${PWD_COMMAND}`; export r; \
11602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11603 $(HOST_EXPORTS) \
11604 for flag in $(EXTRA_HOST_FLAGS) ; do \
11605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11606 done; \
11607 echo "Doing mostlyclean in indent" ; \
11608 (cd $(HOST_SUBDIR)/indent && \
11609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11611 "RANLIB=$${RANLIB}" \
11612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11613 mostlyclean) \
11614 || exit 1
11616 @endif indent
11618 .PHONY: maybe-clean-indent clean-indent
11619 maybe-clean-indent:
11620 @if indent
11621 maybe-clean-indent: clean-indent
11623 clean-indent:
11624 @[ -f ./indent/Makefile ] || exit 0; \
11625 r=`${PWD_COMMAND}`; export r; \
11626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11627 $(HOST_EXPORTS) \
11628 for flag in $(EXTRA_HOST_FLAGS) ; do \
11629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11630 done; \
11631 echo "Doing clean in indent" ; \
11632 (cd $(HOST_SUBDIR)/indent && \
11633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11635 "RANLIB=$${RANLIB}" \
11636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11637 clean) \
11638 || exit 1
11640 @endif indent
11642 .PHONY: maybe-distclean-indent distclean-indent
11643 maybe-distclean-indent:
11644 @if indent
11645 maybe-distclean-indent: distclean-indent
11647 distclean-indent:
11648 @[ -f ./indent/Makefile ] || exit 0; \
11649 r=`${PWD_COMMAND}`; export r; \
11650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11651 $(HOST_EXPORTS) \
11652 for flag in $(EXTRA_HOST_FLAGS) ; do \
11653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11654 done; \
11655 echo "Doing distclean in indent" ; \
11656 (cd $(HOST_SUBDIR)/indent && \
11657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11659 "RANLIB=$${RANLIB}" \
11660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11661 distclean) \
11662 || exit 1
11664 @endif indent
11666 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
11667 maybe-maintainer-clean-indent:
11668 @if indent
11669 maybe-maintainer-clean-indent: maintainer-clean-indent
11671 maintainer-clean-indent:
11672 @[ -f ./indent/Makefile ] || exit 0; \
11673 r=`${PWD_COMMAND}`; export r; \
11674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11675 $(HOST_EXPORTS) \
11676 for flag in $(EXTRA_HOST_FLAGS) ; do \
11677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11678 done; \
11679 echo "Doing maintainer-clean in indent" ; \
11680 (cd $(HOST_SUBDIR)/indent && \
11681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11683 "RANLIB=$${RANLIB}" \
11684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11685 maintainer-clean) \
11686 || exit 1
11688 @endif indent
11692 .PHONY: configure-intl maybe-configure-intl
11693 maybe-configure-intl:
11694 @if intl
11695 maybe-configure-intl: configure-intl
11696 configure-intl:
11697 @test -f stage_last && exit 0; \
11698 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
11699 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
11700 r=`${PWD_COMMAND}`; export r; \
11701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11702 $(HOST_EXPORTS) \
11703 echo Configuring in $(HOST_SUBDIR)/intl; \
11704 cd "$(HOST_SUBDIR)/intl" || exit 1; \
11705 case $(srcdir) in \
11706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11707 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
11708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11709 esac; \
11710 srcdiroption="--srcdir=$${topdir}/intl"; \
11711 libsrcdir="$$s/intl"; \
11712 $(SHELL) $${libsrcdir}/configure \
11713 $(HOST_CONFIGARGS) $${srcdiroption} \
11714 || exit 1
11715 @endif intl
11719 .PHONY: all-intl maybe-all-intl
11720 maybe-all-intl:
11721 @if intl
11722 TARGET-intl=all
11723 maybe-all-intl: all-intl
11724 all-intl: configure-intl
11725 @test -f stage_last && exit 0; \
11726 r=`${PWD_COMMAND}`; export r; \
11727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11728 $(HOST_EXPORTS) \
11729 (cd $(HOST_SUBDIR)/intl && \
11730 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
11731 @endif intl
11734 .PHONY: check-intl maybe-check-intl
11735 maybe-check-intl:
11736 @if intl
11737 maybe-check-intl: check-intl
11739 check-intl:
11740 @r=`${PWD_COMMAND}`; export r; \
11741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11742 $(HOST_EXPORTS) \
11743 (cd $(HOST_SUBDIR)/intl && \
11744 $(MAKE) $(FLAGS_TO_PASS) check)
11746 @endif intl
11748 .PHONY: install-intl maybe-install-intl
11749 maybe-install-intl:
11750 @if intl
11751 maybe-install-intl: install-intl
11753 install-intl: installdirs
11754 @r=`${PWD_COMMAND}`; export r; \
11755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11756 $(HOST_EXPORTS) \
11757 (cd $(HOST_SUBDIR)/intl && \
11758 $(MAKE) $(FLAGS_TO_PASS) install)
11760 @endif intl
11762 # Other targets (info, dvi, etc.)
11764 .PHONY: maybe-info-intl info-intl
11765 maybe-info-intl:
11766 @if intl
11767 maybe-info-intl: info-intl
11769 info-intl: \
11770 configure-intl
11771 @[ -f ./intl/Makefile ] || exit 0; \
11772 r=`${PWD_COMMAND}`; export r; \
11773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11774 $(HOST_EXPORTS) \
11775 for flag in $(EXTRA_HOST_FLAGS) ; do \
11776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11777 done; \
11778 echo "Doing info in intl" ; \
11779 (cd $(HOST_SUBDIR)/intl && \
11780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11782 "RANLIB=$${RANLIB}" \
11783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11784 info) \
11785 || exit 1
11787 @endif intl
11789 .PHONY: maybe-dvi-intl dvi-intl
11790 maybe-dvi-intl:
11791 @if intl
11792 maybe-dvi-intl: dvi-intl
11794 dvi-intl: \
11795 configure-intl
11796 @[ -f ./intl/Makefile ] || exit 0; \
11797 r=`${PWD_COMMAND}`; export r; \
11798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11799 $(HOST_EXPORTS) \
11800 for flag in $(EXTRA_HOST_FLAGS) ; do \
11801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11802 done; \
11803 echo "Doing dvi in intl" ; \
11804 (cd $(HOST_SUBDIR)/intl && \
11805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11807 "RANLIB=$${RANLIB}" \
11808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11809 dvi) \
11810 || exit 1
11812 @endif intl
11814 .PHONY: maybe-html-intl html-intl
11815 maybe-html-intl:
11816 @if intl
11817 maybe-html-intl: html-intl
11819 html-intl: \
11820 configure-intl
11821 @[ -f ./intl/Makefile ] || exit 0; \
11822 r=`${PWD_COMMAND}`; export r; \
11823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11824 $(HOST_EXPORTS) \
11825 for flag in $(EXTRA_HOST_FLAGS) ; do \
11826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11827 done; \
11828 echo "Doing html in intl" ; \
11829 (cd $(HOST_SUBDIR)/intl && \
11830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11832 "RANLIB=$${RANLIB}" \
11833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11834 html) \
11835 || exit 1
11837 @endif intl
11839 .PHONY: maybe-TAGS-intl TAGS-intl
11840 maybe-TAGS-intl:
11841 @if intl
11842 maybe-TAGS-intl: TAGS-intl
11844 TAGS-intl: \
11845 configure-intl
11846 @[ -f ./intl/Makefile ] || exit 0; \
11847 r=`${PWD_COMMAND}`; export r; \
11848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11849 $(HOST_EXPORTS) \
11850 for flag in $(EXTRA_HOST_FLAGS) ; do \
11851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11852 done; \
11853 echo "Doing TAGS in intl" ; \
11854 (cd $(HOST_SUBDIR)/intl && \
11855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11857 "RANLIB=$${RANLIB}" \
11858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11859 TAGS) \
11860 || exit 1
11862 @endif intl
11864 .PHONY: maybe-install-info-intl install-info-intl
11865 maybe-install-info-intl:
11866 @if intl
11867 maybe-install-info-intl: install-info-intl
11869 install-info-intl: \
11870 configure-intl \
11871 info-intl
11872 @[ -f ./intl/Makefile ] || exit 0; \
11873 r=`${PWD_COMMAND}`; export r; \
11874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11875 $(HOST_EXPORTS) \
11876 for flag in $(EXTRA_HOST_FLAGS) ; do \
11877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11878 done; \
11879 echo "Doing install-info in intl" ; \
11880 (cd $(HOST_SUBDIR)/intl && \
11881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11883 "RANLIB=$${RANLIB}" \
11884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11885 install-info) \
11886 || exit 1
11888 @endif intl
11890 .PHONY: maybe-installcheck-intl installcheck-intl
11891 maybe-installcheck-intl:
11892 @if intl
11893 maybe-installcheck-intl: installcheck-intl
11895 installcheck-intl: \
11896 configure-intl
11897 @[ -f ./intl/Makefile ] || exit 0; \
11898 r=`${PWD_COMMAND}`; export r; \
11899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11900 $(HOST_EXPORTS) \
11901 for flag in $(EXTRA_HOST_FLAGS) ; do \
11902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11903 done; \
11904 echo "Doing installcheck in intl" ; \
11905 (cd $(HOST_SUBDIR)/intl && \
11906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11908 "RANLIB=$${RANLIB}" \
11909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11910 installcheck) \
11911 || exit 1
11913 @endif intl
11915 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
11916 maybe-mostlyclean-intl:
11917 @if intl
11918 maybe-mostlyclean-intl: mostlyclean-intl
11920 mostlyclean-intl:
11921 @[ -f ./intl/Makefile ] || exit 0; \
11922 r=`${PWD_COMMAND}`; export r; \
11923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11924 $(HOST_EXPORTS) \
11925 for flag in $(EXTRA_HOST_FLAGS) ; do \
11926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11927 done; \
11928 echo "Doing mostlyclean in intl" ; \
11929 (cd $(HOST_SUBDIR)/intl && \
11930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11932 "RANLIB=$${RANLIB}" \
11933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11934 mostlyclean) \
11935 || exit 1
11937 @endif intl
11939 .PHONY: maybe-clean-intl clean-intl
11940 maybe-clean-intl:
11941 @if intl
11942 maybe-clean-intl: clean-intl
11944 clean-intl:
11945 @[ -f ./intl/Makefile ] || exit 0; \
11946 r=`${PWD_COMMAND}`; export r; \
11947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11948 $(HOST_EXPORTS) \
11949 for flag in $(EXTRA_HOST_FLAGS) ; do \
11950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11951 done; \
11952 echo "Doing clean in intl" ; \
11953 (cd $(HOST_SUBDIR)/intl && \
11954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11956 "RANLIB=$${RANLIB}" \
11957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11958 clean) \
11959 || exit 1
11961 @endif intl
11963 .PHONY: maybe-distclean-intl distclean-intl
11964 maybe-distclean-intl:
11965 @if intl
11966 maybe-distclean-intl: distclean-intl
11968 distclean-intl:
11969 @[ -f ./intl/Makefile ] || exit 0; \
11970 r=`${PWD_COMMAND}`; export r; \
11971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11972 $(HOST_EXPORTS) \
11973 for flag in $(EXTRA_HOST_FLAGS) ; do \
11974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11975 done; \
11976 echo "Doing distclean in intl" ; \
11977 (cd $(HOST_SUBDIR)/intl && \
11978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11980 "RANLIB=$${RANLIB}" \
11981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11982 distclean) \
11983 || exit 1
11985 @endif intl
11987 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
11988 maybe-maintainer-clean-intl:
11989 @if intl
11990 maybe-maintainer-clean-intl: maintainer-clean-intl
11992 maintainer-clean-intl:
11993 @[ -f ./intl/Makefile ] || exit 0; \
11994 r=`${PWD_COMMAND}`; export r; \
11995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11996 $(HOST_EXPORTS) \
11997 for flag in $(EXTRA_HOST_FLAGS) ; do \
11998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11999 done; \
12000 echo "Doing maintainer-clean in intl" ; \
12001 (cd $(HOST_SUBDIR)/intl && \
12002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12004 "RANLIB=$${RANLIB}" \
12005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12006 maintainer-clean) \
12007 || exit 1
12009 @endif intl
12013 .PHONY: configure-tcl maybe-configure-tcl
12014 maybe-configure-tcl:
12015 @if tcl
12016 maybe-configure-tcl: configure-tcl
12017 configure-tcl:
12018 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
12019 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
12020 r=`${PWD_COMMAND}`; export r; \
12021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12022 $(HOST_EXPORTS) \
12023 echo Configuring in $(HOST_SUBDIR)/tcl; \
12024 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
12025 case $(srcdir) in \
12026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12027 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
12028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12029 esac; \
12030 srcdiroption="--srcdir=$${topdir}/tcl"; \
12031 libsrcdir="$$s/tcl"; \
12032 $(SHELL) $${libsrcdir}/configure \
12033 $(HOST_CONFIGARGS) $${srcdiroption} \
12034 || exit 1
12035 @endif tcl
12039 .PHONY: all-tcl maybe-all-tcl
12040 maybe-all-tcl:
12041 @if tcl
12042 TARGET-tcl=all
12043 maybe-all-tcl: all-tcl
12044 all-tcl: configure-tcl
12045 @r=`${PWD_COMMAND}`; export r; \
12046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12047 $(HOST_EXPORTS) \
12048 (cd $(HOST_SUBDIR)/tcl && \
12049 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
12050 @endif tcl
12053 .PHONY: check-tcl maybe-check-tcl
12054 maybe-check-tcl:
12055 @if tcl
12056 maybe-check-tcl: check-tcl
12058 check-tcl:
12059 @r=`${PWD_COMMAND}`; export r; \
12060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12061 $(HOST_EXPORTS) \
12062 (cd $(HOST_SUBDIR)/tcl && \
12063 $(MAKE) $(FLAGS_TO_PASS) check)
12065 @endif tcl
12067 .PHONY: install-tcl maybe-install-tcl
12068 maybe-install-tcl:
12069 @if tcl
12070 maybe-install-tcl: install-tcl
12072 install-tcl: installdirs
12073 @r=`${PWD_COMMAND}`; export r; \
12074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12075 $(HOST_EXPORTS) \
12076 (cd $(HOST_SUBDIR)/tcl && \
12077 $(MAKE) $(FLAGS_TO_PASS) install)
12079 @endif tcl
12081 # Other targets (info, dvi, etc.)
12083 .PHONY: maybe-info-tcl info-tcl
12084 maybe-info-tcl:
12085 @if tcl
12086 maybe-info-tcl: info-tcl
12088 info-tcl: \
12089 configure-tcl
12090 @[ -f ./tcl/Makefile ] || exit 0; \
12091 r=`${PWD_COMMAND}`; export r; \
12092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12093 $(HOST_EXPORTS) \
12094 for flag in $(EXTRA_HOST_FLAGS) ; do \
12095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12096 done; \
12097 echo "Doing info in tcl" ; \
12098 (cd $(HOST_SUBDIR)/tcl && \
12099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12101 "RANLIB=$${RANLIB}" \
12102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12103 info) \
12104 || exit 1
12106 @endif tcl
12108 .PHONY: maybe-dvi-tcl dvi-tcl
12109 maybe-dvi-tcl:
12110 @if tcl
12111 maybe-dvi-tcl: dvi-tcl
12113 dvi-tcl: \
12114 configure-tcl
12115 @[ -f ./tcl/Makefile ] || exit 0; \
12116 r=`${PWD_COMMAND}`; export r; \
12117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12118 $(HOST_EXPORTS) \
12119 for flag in $(EXTRA_HOST_FLAGS) ; do \
12120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12121 done; \
12122 echo "Doing dvi in tcl" ; \
12123 (cd $(HOST_SUBDIR)/tcl && \
12124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12126 "RANLIB=$${RANLIB}" \
12127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12128 dvi) \
12129 || exit 1
12131 @endif tcl
12133 .PHONY: maybe-html-tcl html-tcl
12134 maybe-html-tcl:
12135 @if tcl
12136 maybe-html-tcl: html-tcl
12138 html-tcl: \
12139 configure-tcl
12140 @[ -f ./tcl/Makefile ] || exit 0; \
12141 r=`${PWD_COMMAND}`; export r; \
12142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12143 $(HOST_EXPORTS) \
12144 for flag in $(EXTRA_HOST_FLAGS) ; do \
12145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12146 done; \
12147 echo "Doing html in tcl" ; \
12148 (cd $(HOST_SUBDIR)/tcl && \
12149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12151 "RANLIB=$${RANLIB}" \
12152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12153 html) \
12154 || exit 1
12156 @endif tcl
12158 .PHONY: maybe-TAGS-tcl TAGS-tcl
12159 maybe-TAGS-tcl:
12160 @if tcl
12161 maybe-TAGS-tcl: TAGS-tcl
12163 TAGS-tcl: \
12164 configure-tcl
12165 @[ -f ./tcl/Makefile ] || exit 0; \
12166 r=`${PWD_COMMAND}`; export r; \
12167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12168 $(HOST_EXPORTS) \
12169 for flag in $(EXTRA_HOST_FLAGS) ; do \
12170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12171 done; \
12172 echo "Doing TAGS in tcl" ; \
12173 (cd $(HOST_SUBDIR)/tcl && \
12174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12176 "RANLIB=$${RANLIB}" \
12177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12178 TAGS) \
12179 || exit 1
12181 @endif tcl
12183 .PHONY: maybe-install-info-tcl install-info-tcl
12184 maybe-install-info-tcl:
12185 @if tcl
12186 maybe-install-info-tcl: install-info-tcl
12188 install-info-tcl: \
12189 configure-tcl \
12190 info-tcl
12191 @[ -f ./tcl/Makefile ] || exit 0; \
12192 r=`${PWD_COMMAND}`; export r; \
12193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12194 $(HOST_EXPORTS) \
12195 for flag in $(EXTRA_HOST_FLAGS) ; do \
12196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12197 done; \
12198 echo "Doing install-info in tcl" ; \
12199 (cd $(HOST_SUBDIR)/tcl && \
12200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12202 "RANLIB=$${RANLIB}" \
12203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12204 install-info) \
12205 || exit 1
12207 @endif tcl
12209 .PHONY: maybe-installcheck-tcl installcheck-tcl
12210 maybe-installcheck-tcl:
12211 @if tcl
12212 maybe-installcheck-tcl: installcheck-tcl
12214 installcheck-tcl: \
12215 configure-tcl
12216 @[ -f ./tcl/Makefile ] || exit 0; \
12217 r=`${PWD_COMMAND}`; export r; \
12218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12219 $(HOST_EXPORTS) \
12220 for flag in $(EXTRA_HOST_FLAGS) ; do \
12221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12222 done; \
12223 echo "Doing installcheck in tcl" ; \
12224 (cd $(HOST_SUBDIR)/tcl && \
12225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12227 "RANLIB=$${RANLIB}" \
12228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12229 installcheck) \
12230 || exit 1
12232 @endif tcl
12234 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
12235 maybe-mostlyclean-tcl:
12236 @if tcl
12237 maybe-mostlyclean-tcl: mostlyclean-tcl
12239 # tcl doesn't support mostlyclean.
12240 mostlyclean-tcl:
12242 @endif tcl
12244 .PHONY: maybe-clean-tcl clean-tcl
12245 maybe-clean-tcl:
12246 @if tcl
12247 maybe-clean-tcl: clean-tcl
12249 clean-tcl:
12250 @[ -f ./tcl/Makefile ] || exit 0; \
12251 r=`${PWD_COMMAND}`; export r; \
12252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12253 $(HOST_EXPORTS) \
12254 for flag in $(EXTRA_HOST_FLAGS) ; do \
12255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12256 done; \
12257 echo "Doing clean in tcl" ; \
12258 (cd $(HOST_SUBDIR)/tcl && \
12259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12261 "RANLIB=$${RANLIB}" \
12262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12263 clean) \
12264 || exit 1
12266 @endif tcl
12268 .PHONY: maybe-distclean-tcl distclean-tcl
12269 maybe-distclean-tcl:
12270 @if tcl
12271 maybe-distclean-tcl: distclean-tcl
12273 distclean-tcl:
12274 @[ -f ./tcl/Makefile ] || exit 0; \
12275 r=`${PWD_COMMAND}`; export r; \
12276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12277 $(HOST_EXPORTS) \
12278 for flag in $(EXTRA_HOST_FLAGS) ; do \
12279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12280 done; \
12281 echo "Doing distclean in tcl" ; \
12282 (cd $(HOST_SUBDIR)/tcl && \
12283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12285 "RANLIB=$${RANLIB}" \
12286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12287 distclean) \
12288 || exit 1
12290 @endif tcl
12292 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
12293 maybe-maintainer-clean-tcl:
12294 @if tcl
12295 maybe-maintainer-clean-tcl: maintainer-clean-tcl
12297 maintainer-clean-tcl:
12298 @[ -f ./tcl/Makefile ] || exit 0; \
12299 r=`${PWD_COMMAND}`; export r; \
12300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12301 $(HOST_EXPORTS) \
12302 for flag in $(EXTRA_HOST_FLAGS) ; do \
12303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12304 done; \
12305 echo "Doing maintainer-clean in tcl" ; \
12306 (cd $(HOST_SUBDIR)/tcl && \
12307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12309 "RANLIB=$${RANLIB}" \
12310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12311 maintainer-clean) \
12312 || exit 1
12314 @endif tcl
12318 .PHONY: configure-itcl maybe-configure-itcl
12319 maybe-configure-itcl:
12320 @if itcl
12321 maybe-configure-itcl: configure-itcl
12322 configure-itcl:
12323 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
12324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
12325 r=`${PWD_COMMAND}`; export r; \
12326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12327 $(HOST_EXPORTS) \
12328 echo Configuring in $(HOST_SUBDIR)/itcl; \
12329 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
12330 case $(srcdir) in \
12331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12332 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
12333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12334 esac; \
12335 srcdiroption="--srcdir=$${topdir}/itcl"; \
12336 libsrcdir="$$s/itcl"; \
12337 $(SHELL) $${libsrcdir}/configure \
12338 $(HOST_CONFIGARGS) $${srcdiroption} \
12339 || exit 1
12340 @endif itcl
12344 .PHONY: all-itcl maybe-all-itcl
12345 maybe-all-itcl:
12346 @if itcl
12347 TARGET-itcl=all
12348 maybe-all-itcl: all-itcl
12349 all-itcl: configure-itcl
12350 @r=`${PWD_COMMAND}`; export r; \
12351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12352 $(HOST_EXPORTS) \
12353 (cd $(HOST_SUBDIR)/itcl && \
12354 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
12355 @endif itcl
12358 .PHONY: check-itcl maybe-check-itcl
12359 maybe-check-itcl:
12360 @if itcl
12361 maybe-check-itcl: check-itcl
12363 check-itcl:
12364 @r=`${PWD_COMMAND}`; export r; \
12365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12366 $(HOST_EXPORTS) \
12367 (cd $(HOST_SUBDIR)/itcl && \
12368 $(MAKE) $(FLAGS_TO_PASS) check)
12370 @endif itcl
12372 .PHONY: install-itcl maybe-install-itcl
12373 maybe-install-itcl:
12374 @if itcl
12375 maybe-install-itcl: install-itcl
12377 install-itcl: installdirs
12378 @r=`${PWD_COMMAND}`; export r; \
12379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12380 $(HOST_EXPORTS) \
12381 (cd $(HOST_SUBDIR)/itcl && \
12382 $(MAKE) $(FLAGS_TO_PASS) install)
12384 @endif itcl
12386 # Other targets (info, dvi, etc.)
12388 .PHONY: maybe-info-itcl info-itcl
12389 maybe-info-itcl:
12390 @if itcl
12391 maybe-info-itcl: info-itcl
12393 info-itcl: \
12394 configure-itcl
12395 @[ -f ./itcl/Makefile ] || exit 0; \
12396 r=`${PWD_COMMAND}`; export r; \
12397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12398 $(HOST_EXPORTS) \
12399 for flag in $(EXTRA_HOST_FLAGS) ; do \
12400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12401 done; \
12402 echo "Doing info in itcl" ; \
12403 (cd $(HOST_SUBDIR)/itcl && \
12404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12406 "RANLIB=$${RANLIB}" \
12407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12408 info) \
12409 || exit 1
12411 @endif itcl
12413 .PHONY: maybe-dvi-itcl dvi-itcl
12414 maybe-dvi-itcl:
12415 @if itcl
12416 maybe-dvi-itcl: dvi-itcl
12418 dvi-itcl: \
12419 configure-itcl
12420 @[ -f ./itcl/Makefile ] || exit 0; \
12421 r=`${PWD_COMMAND}`; export r; \
12422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12423 $(HOST_EXPORTS) \
12424 for flag in $(EXTRA_HOST_FLAGS) ; do \
12425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12426 done; \
12427 echo "Doing dvi in itcl" ; \
12428 (cd $(HOST_SUBDIR)/itcl && \
12429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12431 "RANLIB=$${RANLIB}" \
12432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12433 dvi) \
12434 || exit 1
12436 @endif itcl
12438 .PHONY: maybe-html-itcl html-itcl
12439 maybe-html-itcl:
12440 @if itcl
12441 maybe-html-itcl: html-itcl
12443 html-itcl: \
12444 configure-itcl
12445 @[ -f ./itcl/Makefile ] || exit 0; \
12446 r=`${PWD_COMMAND}`; export r; \
12447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12448 $(HOST_EXPORTS) \
12449 for flag in $(EXTRA_HOST_FLAGS) ; do \
12450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12451 done; \
12452 echo "Doing html in itcl" ; \
12453 (cd $(HOST_SUBDIR)/itcl && \
12454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12456 "RANLIB=$${RANLIB}" \
12457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12458 html) \
12459 || exit 1
12461 @endif itcl
12463 .PHONY: maybe-TAGS-itcl TAGS-itcl
12464 maybe-TAGS-itcl:
12465 @if itcl
12466 maybe-TAGS-itcl: TAGS-itcl
12468 TAGS-itcl: \
12469 configure-itcl
12470 @[ -f ./itcl/Makefile ] || exit 0; \
12471 r=`${PWD_COMMAND}`; export r; \
12472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12473 $(HOST_EXPORTS) \
12474 for flag in $(EXTRA_HOST_FLAGS) ; do \
12475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12476 done; \
12477 echo "Doing TAGS in itcl" ; \
12478 (cd $(HOST_SUBDIR)/itcl && \
12479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12481 "RANLIB=$${RANLIB}" \
12482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12483 TAGS) \
12484 || exit 1
12486 @endif itcl
12488 .PHONY: maybe-install-info-itcl install-info-itcl
12489 maybe-install-info-itcl:
12490 @if itcl
12491 maybe-install-info-itcl: install-info-itcl
12493 install-info-itcl: \
12494 configure-itcl \
12495 info-itcl
12496 @[ -f ./itcl/Makefile ] || exit 0; \
12497 r=`${PWD_COMMAND}`; export r; \
12498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12499 $(HOST_EXPORTS) \
12500 for flag in $(EXTRA_HOST_FLAGS) ; do \
12501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12502 done; \
12503 echo "Doing install-info in itcl" ; \
12504 (cd $(HOST_SUBDIR)/itcl && \
12505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12507 "RANLIB=$${RANLIB}" \
12508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12509 install-info) \
12510 || exit 1
12512 @endif itcl
12514 .PHONY: maybe-installcheck-itcl installcheck-itcl
12515 maybe-installcheck-itcl:
12516 @if itcl
12517 maybe-installcheck-itcl: installcheck-itcl
12519 installcheck-itcl: \
12520 configure-itcl
12521 @[ -f ./itcl/Makefile ] || exit 0; \
12522 r=`${PWD_COMMAND}`; export r; \
12523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12524 $(HOST_EXPORTS) \
12525 for flag in $(EXTRA_HOST_FLAGS) ; do \
12526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12527 done; \
12528 echo "Doing installcheck in itcl" ; \
12529 (cd $(HOST_SUBDIR)/itcl && \
12530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12532 "RANLIB=$${RANLIB}" \
12533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12534 installcheck) \
12535 || exit 1
12537 @endif itcl
12539 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
12540 maybe-mostlyclean-itcl:
12541 @if itcl
12542 maybe-mostlyclean-itcl: mostlyclean-itcl
12544 mostlyclean-itcl:
12545 @[ -f ./itcl/Makefile ] || exit 0; \
12546 r=`${PWD_COMMAND}`; export r; \
12547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12548 $(HOST_EXPORTS) \
12549 for flag in $(EXTRA_HOST_FLAGS) ; do \
12550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12551 done; \
12552 echo "Doing mostlyclean in itcl" ; \
12553 (cd $(HOST_SUBDIR)/itcl && \
12554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12556 "RANLIB=$${RANLIB}" \
12557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12558 mostlyclean) \
12559 || exit 1
12561 @endif itcl
12563 .PHONY: maybe-clean-itcl clean-itcl
12564 maybe-clean-itcl:
12565 @if itcl
12566 maybe-clean-itcl: clean-itcl
12568 clean-itcl:
12569 @[ -f ./itcl/Makefile ] || exit 0; \
12570 r=`${PWD_COMMAND}`; export r; \
12571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12572 $(HOST_EXPORTS) \
12573 for flag in $(EXTRA_HOST_FLAGS) ; do \
12574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12575 done; \
12576 echo "Doing clean in itcl" ; \
12577 (cd $(HOST_SUBDIR)/itcl && \
12578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12580 "RANLIB=$${RANLIB}" \
12581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12582 clean) \
12583 || exit 1
12585 @endif itcl
12587 .PHONY: maybe-distclean-itcl distclean-itcl
12588 maybe-distclean-itcl:
12589 @if itcl
12590 maybe-distclean-itcl: distclean-itcl
12592 distclean-itcl:
12593 @[ -f ./itcl/Makefile ] || exit 0; \
12594 r=`${PWD_COMMAND}`; export r; \
12595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12596 $(HOST_EXPORTS) \
12597 for flag in $(EXTRA_HOST_FLAGS) ; do \
12598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12599 done; \
12600 echo "Doing distclean in itcl" ; \
12601 (cd $(HOST_SUBDIR)/itcl && \
12602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12604 "RANLIB=$${RANLIB}" \
12605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12606 distclean) \
12607 || exit 1
12609 @endif itcl
12611 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
12612 maybe-maintainer-clean-itcl:
12613 @if itcl
12614 maybe-maintainer-clean-itcl: maintainer-clean-itcl
12616 maintainer-clean-itcl:
12617 @[ -f ./itcl/Makefile ] || exit 0; \
12618 r=`${PWD_COMMAND}`; export r; \
12619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12620 $(HOST_EXPORTS) \
12621 for flag in $(EXTRA_HOST_FLAGS) ; do \
12622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12623 done; \
12624 echo "Doing maintainer-clean in itcl" ; \
12625 (cd $(HOST_SUBDIR)/itcl && \
12626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12628 "RANLIB=$${RANLIB}" \
12629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12630 maintainer-clean) \
12631 || exit 1
12633 @endif itcl
12637 .PHONY: configure-ld maybe-configure-ld
12638 maybe-configure-ld:
12639 @if ld
12640 maybe-configure-ld: configure-ld
12641 configure-ld:
12642 @test -f stage_last && exit 0; \
12643 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
12644 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
12645 r=`${PWD_COMMAND}`; export r; \
12646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12647 $(HOST_EXPORTS) \
12648 echo Configuring in $(HOST_SUBDIR)/ld; \
12649 cd "$(HOST_SUBDIR)/ld" || exit 1; \
12650 case $(srcdir) in \
12651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12652 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
12653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12654 esac; \
12655 srcdiroption="--srcdir=$${topdir}/ld"; \
12656 libsrcdir="$$s/ld"; \
12657 $(SHELL) $${libsrcdir}/configure \
12658 $(HOST_CONFIGARGS) $${srcdiroption} \
12659 || exit 1
12660 @endif ld
12664 .PHONY: all-ld maybe-all-ld
12665 maybe-all-ld:
12666 @if ld
12667 TARGET-ld=all
12668 maybe-all-ld: all-ld
12669 all-ld: configure-ld
12670 @test -f stage_last && exit 0; \
12671 r=`${PWD_COMMAND}`; export r; \
12672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12673 $(HOST_EXPORTS) \
12674 (cd $(HOST_SUBDIR)/ld && \
12675 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
12676 @endif ld
12679 .PHONY: check-ld maybe-check-ld
12680 maybe-check-ld:
12681 @if ld
12682 maybe-check-ld: check-ld
12684 check-ld:
12685 @r=`${PWD_COMMAND}`; export r; \
12686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12687 $(HOST_EXPORTS) \
12688 (cd $(HOST_SUBDIR)/ld && \
12689 $(MAKE) $(FLAGS_TO_PASS) check)
12691 @endif ld
12693 .PHONY: install-ld maybe-install-ld
12694 maybe-install-ld:
12695 @if ld
12696 maybe-install-ld: install-ld
12698 install-ld: installdirs
12699 @r=`${PWD_COMMAND}`; export r; \
12700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12701 $(HOST_EXPORTS) \
12702 (cd $(HOST_SUBDIR)/ld && \
12703 $(MAKE) $(FLAGS_TO_PASS) install)
12705 @endif ld
12707 # Other targets (info, dvi, etc.)
12709 .PHONY: maybe-info-ld info-ld
12710 maybe-info-ld:
12711 @if ld
12712 maybe-info-ld: info-ld
12714 info-ld: \
12715 configure-ld
12716 @[ -f ./ld/Makefile ] || exit 0; \
12717 r=`${PWD_COMMAND}`; export r; \
12718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 info in ld" ; \
12724 (cd $(HOST_SUBDIR)/ld && \
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 info) \
12730 || exit 1
12732 @endif ld
12734 .PHONY: maybe-dvi-ld dvi-ld
12735 maybe-dvi-ld:
12736 @if ld
12737 maybe-dvi-ld: dvi-ld
12739 dvi-ld: \
12740 configure-ld
12741 @[ -f ./ld/Makefile ] || exit 0; \
12742 r=`${PWD_COMMAND}`; export r; \
12743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12744 $(HOST_EXPORTS) \
12745 for flag in $(EXTRA_HOST_FLAGS) ; do \
12746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12747 done; \
12748 echo "Doing dvi in ld" ; \
12749 (cd $(HOST_SUBDIR)/ld && \
12750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12752 "RANLIB=$${RANLIB}" \
12753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12754 dvi) \
12755 || exit 1
12757 @endif ld
12759 .PHONY: maybe-html-ld html-ld
12760 maybe-html-ld:
12761 @if ld
12762 maybe-html-ld: html-ld
12764 html-ld: \
12765 configure-ld
12766 @[ -f ./ld/Makefile ] || exit 0; \
12767 r=`${PWD_COMMAND}`; export r; \
12768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12769 $(HOST_EXPORTS) \
12770 for flag in $(EXTRA_HOST_FLAGS) ; do \
12771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12772 done; \
12773 echo "Doing html in ld" ; \
12774 (cd $(HOST_SUBDIR)/ld && \
12775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12777 "RANLIB=$${RANLIB}" \
12778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12779 html) \
12780 || exit 1
12782 @endif ld
12784 .PHONY: maybe-TAGS-ld TAGS-ld
12785 maybe-TAGS-ld:
12786 @if ld
12787 maybe-TAGS-ld: TAGS-ld
12789 TAGS-ld: \
12790 configure-ld
12791 @[ -f ./ld/Makefile ] || exit 0; \
12792 r=`${PWD_COMMAND}`; export r; \
12793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12794 $(HOST_EXPORTS) \
12795 for flag in $(EXTRA_HOST_FLAGS) ; do \
12796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12797 done; \
12798 echo "Doing TAGS in ld" ; \
12799 (cd $(HOST_SUBDIR)/ld && \
12800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12802 "RANLIB=$${RANLIB}" \
12803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12804 TAGS) \
12805 || exit 1
12807 @endif ld
12809 .PHONY: maybe-install-info-ld install-info-ld
12810 maybe-install-info-ld:
12811 @if ld
12812 maybe-install-info-ld: install-info-ld
12814 install-info-ld: \
12815 configure-ld \
12816 info-ld
12817 @[ -f ./ld/Makefile ] || exit 0; \
12818 r=`${PWD_COMMAND}`; export r; \
12819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12820 $(HOST_EXPORTS) \
12821 for flag in $(EXTRA_HOST_FLAGS) ; do \
12822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12823 done; \
12824 echo "Doing install-info in ld" ; \
12825 (cd $(HOST_SUBDIR)/ld && \
12826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12828 "RANLIB=$${RANLIB}" \
12829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12830 install-info) \
12831 || exit 1
12833 @endif ld
12835 .PHONY: maybe-installcheck-ld installcheck-ld
12836 maybe-installcheck-ld:
12837 @if ld
12838 maybe-installcheck-ld: installcheck-ld
12840 installcheck-ld: \
12841 configure-ld
12842 @[ -f ./ld/Makefile ] || exit 0; \
12843 r=`${PWD_COMMAND}`; export r; \
12844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12845 $(HOST_EXPORTS) \
12846 for flag in $(EXTRA_HOST_FLAGS) ; do \
12847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12848 done; \
12849 echo "Doing installcheck in ld" ; \
12850 (cd $(HOST_SUBDIR)/ld && \
12851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12853 "RANLIB=$${RANLIB}" \
12854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12855 installcheck) \
12856 || exit 1
12858 @endif ld
12860 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
12861 maybe-mostlyclean-ld:
12862 @if ld
12863 maybe-mostlyclean-ld: mostlyclean-ld
12865 mostlyclean-ld:
12866 @[ -f ./ld/Makefile ] || exit 0; \
12867 r=`${PWD_COMMAND}`; export r; \
12868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12869 $(HOST_EXPORTS) \
12870 for flag in $(EXTRA_HOST_FLAGS) ; do \
12871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12872 done; \
12873 echo "Doing mostlyclean in ld" ; \
12874 (cd $(HOST_SUBDIR)/ld && \
12875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12877 "RANLIB=$${RANLIB}" \
12878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12879 mostlyclean) \
12880 || exit 1
12882 @endif ld
12884 .PHONY: maybe-clean-ld clean-ld
12885 maybe-clean-ld:
12886 @if ld
12887 maybe-clean-ld: clean-ld
12889 clean-ld:
12890 @[ -f ./ld/Makefile ] || exit 0; \
12891 r=`${PWD_COMMAND}`; export r; \
12892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12893 $(HOST_EXPORTS) \
12894 for flag in $(EXTRA_HOST_FLAGS) ; do \
12895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12896 done; \
12897 echo "Doing clean in ld" ; \
12898 (cd $(HOST_SUBDIR)/ld && \
12899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12901 "RANLIB=$${RANLIB}" \
12902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12903 clean) \
12904 || exit 1
12906 @endif ld
12908 .PHONY: maybe-distclean-ld distclean-ld
12909 maybe-distclean-ld:
12910 @if ld
12911 maybe-distclean-ld: distclean-ld
12913 distclean-ld:
12914 @[ -f ./ld/Makefile ] || exit 0; \
12915 r=`${PWD_COMMAND}`; export r; \
12916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12917 $(HOST_EXPORTS) \
12918 for flag in $(EXTRA_HOST_FLAGS) ; do \
12919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12920 done; \
12921 echo "Doing distclean in ld" ; \
12922 (cd $(HOST_SUBDIR)/ld && \
12923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12925 "RANLIB=$${RANLIB}" \
12926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12927 distclean) \
12928 || exit 1
12930 @endif ld
12932 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
12933 maybe-maintainer-clean-ld:
12934 @if ld
12935 maybe-maintainer-clean-ld: maintainer-clean-ld
12937 maintainer-clean-ld:
12938 @[ -f ./ld/Makefile ] || exit 0; \
12939 r=`${PWD_COMMAND}`; export r; \
12940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12941 $(HOST_EXPORTS) \
12942 for flag in $(EXTRA_HOST_FLAGS) ; do \
12943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12944 done; \
12945 echo "Doing maintainer-clean in ld" ; \
12946 (cd $(HOST_SUBDIR)/ld && \
12947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12949 "RANLIB=$${RANLIB}" \
12950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12951 maintainer-clean) \
12952 || exit 1
12954 @endif ld
12958 .PHONY: configure-libcpp maybe-configure-libcpp
12959 maybe-configure-libcpp:
12960 @if libcpp
12961 maybe-configure-libcpp: configure-libcpp
12962 configure-libcpp:
12963 @test -f stage_last && exit 0; \
12964 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
12965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
12966 r=`${PWD_COMMAND}`; export r; \
12967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12968 $(HOST_EXPORTS) \
12969 echo Configuring in $(HOST_SUBDIR)/libcpp; \
12970 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
12971 case $(srcdir) in \
12972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12973 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
12974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12975 esac; \
12976 srcdiroption="--srcdir=$${topdir}/libcpp"; \
12977 libsrcdir="$$s/libcpp"; \
12978 $(SHELL) $${libsrcdir}/configure \
12979 $(HOST_CONFIGARGS) $${srcdiroption} \
12980 || exit 1
12981 @endif libcpp
12985 .PHONY: all-libcpp maybe-all-libcpp
12986 maybe-all-libcpp:
12987 @if libcpp
12988 TARGET-libcpp=all
12989 maybe-all-libcpp: all-libcpp
12990 all-libcpp: configure-libcpp
12991 @test -f stage_last && exit 0; \
12992 r=`${PWD_COMMAND}`; export r; \
12993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12994 $(HOST_EXPORTS) \
12995 (cd $(HOST_SUBDIR)/libcpp && \
12996 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
12997 @endif libcpp
13000 .PHONY: check-libcpp maybe-check-libcpp
13001 maybe-check-libcpp:
13002 @if libcpp
13003 maybe-check-libcpp: check-libcpp
13005 check-libcpp:
13006 @r=`${PWD_COMMAND}`; export r; \
13007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13008 $(HOST_EXPORTS) \
13009 (cd $(HOST_SUBDIR)/libcpp && \
13010 $(MAKE) $(FLAGS_TO_PASS) check)
13012 @endif libcpp
13014 .PHONY: install-libcpp maybe-install-libcpp
13015 maybe-install-libcpp:
13016 @if libcpp
13017 maybe-install-libcpp: install-libcpp
13019 install-libcpp: installdirs
13020 @r=`${PWD_COMMAND}`; export r; \
13021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13022 $(HOST_EXPORTS) \
13023 (cd $(HOST_SUBDIR)/libcpp && \
13024 $(MAKE) $(FLAGS_TO_PASS) install)
13026 @endif libcpp
13028 # Other targets (info, dvi, etc.)
13030 .PHONY: maybe-info-libcpp info-libcpp
13031 maybe-info-libcpp:
13032 @if libcpp
13033 maybe-info-libcpp: info-libcpp
13035 info-libcpp: \
13036 configure-libcpp
13037 @[ -f ./libcpp/Makefile ] || exit 0; \
13038 r=`${PWD_COMMAND}`; export r; \
13039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13040 $(HOST_EXPORTS) \
13041 for flag in $(EXTRA_HOST_FLAGS) ; do \
13042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13043 done; \
13044 echo "Doing info in libcpp" ; \
13045 (cd $(HOST_SUBDIR)/libcpp && \
13046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13048 "RANLIB=$${RANLIB}" \
13049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13050 info) \
13051 || exit 1
13053 @endif libcpp
13055 .PHONY: maybe-dvi-libcpp dvi-libcpp
13056 maybe-dvi-libcpp:
13057 @if libcpp
13058 maybe-dvi-libcpp: dvi-libcpp
13060 dvi-libcpp: \
13061 configure-libcpp
13062 @[ -f ./libcpp/Makefile ] || exit 0; \
13063 r=`${PWD_COMMAND}`; export r; \
13064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13065 $(HOST_EXPORTS) \
13066 for flag in $(EXTRA_HOST_FLAGS) ; do \
13067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13068 done; \
13069 echo "Doing dvi in libcpp" ; \
13070 (cd $(HOST_SUBDIR)/libcpp && \
13071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13073 "RANLIB=$${RANLIB}" \
13074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13075 dvi) \
13076 || exit 1
13078 @endif libcpp
13080 .PHONY: maybe-html-libcpp html-libcpp
13081 maybe-html-libcpp:
13082 @if libcpp
13083 maybe-html-libcpp: html-libcpp
13085 html-libcpp: \
13086 configure-libcpp
13087 @[ -f ./libcpp/Makefile ] || exit 0; \
13088 r=`${PWD_COMMAND}`; export r; \
13089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13090 $(HOST_EXPORTS) \
13091 for flag in $(EXTRA_HOST_FLAGS) ; do \
13092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13093 done; \
13094 echo "Doing html in libcpp" ; \
13095 (cd $(HOST_SUBDIR)/libcpp && \
13096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13098 "RANLIB=$${RANLIB}" \
13099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13100 html) \
13101 || exit 1
13103 @endif libcpp
13105 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
13106 maybe-TAGS-libcpp:
13107 @if libcpp
13108 maybe-TAGS-libcpp: TAGS-libcpp
13110 TAGS-libcpp: \
13111 configure-libcpp
13112 @[ -f ./libcpp/Makefile ] || exit 0; \
13113 r=`${PWD_COMMAND}`; export r; \
13114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13115 $(HOST_EXPORTS) \
13116 for flag in $(EXTRA_HOST_FLAGS) ; do \
13117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13118 done; \
13119 echo "Doing TAGS in libcpp" ; \
13120 (cd $(HOST_SUBDIR)/libcpp && \
13121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13123 "RANLIB=$${RANLIB}" \
13124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13125 TAGS) \
13126 || exit 1
13128 @endif libcpp
13130 .PHONY: maybe-install-info-libcpp install-info-libcpp
13131 maybe-install-info-libcpp:
13132 @if libcpp
13133 maybe-install-info-libcpp: install-info-libcpp
13135 install-info-libcpp: \
13136 configure-libcpp \
13137 info-libcpp
13138 @[ -f ./libcpp/Makefile ] || exit 0; \
13139 r=`${PWD_COMMAND}`; export r; \
13140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13141 $(HOST_EXPORTS) \
13142 for flag in $(EXTRA_HOST_FLAGS) ; do \
13143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13144 done; \
13145 echo "Doing install-info in libcpp" ; \
13146 (cd $(HOST_SUBDIR)/libcpp && \
13147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13149 "RANLIB=$${RANLIB}" \
13150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13151 install-info) \
13152 || exit 1
13154 @endif libcpp
13156 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
13157 maybe-installcheck-libcpp:
13158 @if libcpp
13159 maybe-installcheck-libcpp: installcheck-libcpp
13161 installcheck-libcpp: \
13162 configure-libcpp
13163 @[ -f ./libcpp/Makefile ] || exit 0; \
13164 r=`${PWD_COMMAND}`; export r; \
13165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13166 $(HOST_EXPORTS) \
13167 for flag in $(EXTRA_HOST_FLAGS) ; do \
13168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13169 done; \
13170 echo "Doing installcheck in libcpp" ; \
13171 (cd $(HOST_SUBDIR)/libcpp && \
13172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13174 "RANLIB=$${RANLIB}" \
13175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13176 installcheck) \
13177 || exit 1
13179 @endif libcpp
13181 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
13182 maybe-mostlyclean-libcpp:
13183 @if libcpp
13184 maybe-mostlyclean-libcpp: mostlyclean-libcpp
13186 mostlyclean-libcpp:
13187 @[ -f ./libcpp/Makefile ] || exit 0; \
13188 r=`${PWD_COMMAND}`; export r; \
13189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13190 $(HOST_EXPORTS) \
13191 for flag in $(EXTRA_HOST_FLAGS) ; do \
13192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13193 done; \
13194 echo "Doing mostlyclean in libcpp" ; \
13195 (cd $(HOST_SUBDIR)/libcpp && \
13196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13198 "RANLIB=$${RANLIB}" \
13199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13200 mostlyclean) \
13201 || exit 1
13203 @endif libcpp
13205 .PHONY: maybe-clean-libcpp clean-libcpp
13206 maybe-clean-libcpp:
13207 @if libcpp
13208 maybe-clean-libcpp: clean-libcpp
13210 clean-libcpp:
13211 @[ -f ./libcpp/Makefile ] || exit 0; \
13212 r=`${PWD_COMMAND}`; export r; \
13213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13214 $(HOST_EXPORTS) \
13215 for flag in $(EXTRA_HOST_FLAGS) ; do \
13216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13217 done; \
13218 echo "Doing clean in libcpp" ; \
13219 (cd $(HOST_SUBDIR)/libcpp && \
13220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13222 "RANLIB=$${RANLIB}" \
13223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13224 clean) \
13225 || exit 1
13227 @endif libcpp
13229 .PHONY: maybe-distclean-libcpp distclean-libcpp
13230 maybe-distclean-libcpp:
13231 @if libcpp
13232 maybe-distclean-libcpp: distclean-libcpp
13234 distclean-libcpp:
13235 @[ -f ./libcpp/Makefile ] || exit 0; \
13236 r=`${PWD_COMMAND}`; export r; \
13237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13238 $(HOST_EXPORTS) \
13239 for flag in $(EXTRA_HOST_FLAGS) ; do \
13240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13241 done; \
13242 echo "Doing distclean in libcpp" ; \
13243 (cd $(HOST_SUBDIR)/libcpp && \
13244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13246 "RANLIB=$${RANLIB}" \
13247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13248 distclean) \
13249 || exit 1
13251 @endif libcpp
13253 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
13254 maybe-maintainer-clean-libcpp:
13255 @if libcpp
13256 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
13258 maintainer-clean-libcpp:
13259 @[ -f ./libcpp/Makefile ] || exit 0; \
13260 r=`${PWD_COMMAND}`; export r; \
13261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13262 $(HOST_EXPORTS) \
13263 for flag in $(EXTRA_HOST_FLAGS) ; do \
13264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13265 done; \
13266 echo "Doing maintainer-clean in libcpp" ; \
13267 (cd $(HOST_SUBDIR)/libcpp && \
13268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13270 "RANLIB=$${RANLIB}" \
13271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13272 maintainer-clean) \
13273 || exit 1
13275 @endif libcpp
13279 .PHONY: configure-libgui maybe-configure-libgui
13280 maybe-configure-libgui:
13281 @if libgui
13282 maybe-configure-libgui: configure-libgui
13283 configure-libgui:
13284 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
13285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
13286 r=`${PWD_COMMAND}`; export r; \
13287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13288 $(HOST_EXPORTS) \
13289 echo Configuring in $(HOST_SUBDIR)/libgui; \
13290 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
13291 case $(srcdir) in \
13292 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13293 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
13294 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13295 esac; \
13296 srcdiroption="--srcdir=$${topdir}/libgui"; \
13297 libsrcdir="$$s/libgui"; \
13298 $(SHELL) $${libsrcdir}/configure \
13299 $(HOST_CONFIGARGS) $${srcdiroption} \
13300 || exit 1
13301 @endif libgui
13305 .PHONY: all-libgui maybe-all-libgui
13306 maybe-all-libgui:
13307 @if libgui
13308 TARGET-libgui=all
13309 maybe-all-libgui: all-libgui
13310 all-libgui: configure-libgui
13311 @r=`${PWD_COMMAND}`; export r; \
13312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13313 $(HOST_EXPORTS) \
13314 (cd $(HOST_SUBDIR)/libgui && \
13315 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
13316 @endif libgui
13319 .PHONY: check-libgui maybe-check-libgui
13320 maybe-check-libgui:
13321 @if libgui
13322 maybe-check-libgui: check-libgui
13324 check-libgui:
13325 @r=`${PWD_COMMAND}`; export r; \
13326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13327 $(HOST_EXPORTS) \
13328 (cd $(HOST_SUBDIR)/libgui && \
13329 $(MAKE) $(FLAGS_TO_PASS) check)
13331 @endif libgui
13333 .PHONY: install-libgui maybe-install-libgui
13334 maybe-install-libgui:
13335 @if libgui
13336 maybe-install-libgui: install-libgui
13338 install-libgui: installdirs
13339 @r=`${PWD_COMMAND}`; export r; \
13340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13341 $(HOST_EXPORTS) \
13342 (cd $(HOST_SUBDIR)/libgui && \
13343 $(MAKE) $(FLAGS_TO_PASS) install)
13345 @endif libgui
13347 # Other targets (info, dvi, etc.)
13349 .PHONY: maybe-info-libgui info-libgui
13350 maybe-info-libgui:
13351 @if libgui
13352 maybe-info-libgui: info-libgui
13354 info-libgui: \
13355 configure-libgui
13356 @[ -f ./libgui/Makefile ] || exit 0; \
13357 r=`${PWD_COMMAND}`; export r; \
13358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13359 $(HOST_EXPORTS) \
13360 for flag in $(EXTRA_HOST_FLAGS) ; do \
13361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13362 done; \
13363 echo "Doing info in libgui" ; \
13364 (cd $(HOST_SUBDIR)/libgui && \
13365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13367 "RANLIB=$${RANLIB}" \
13368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13369 info) \
13370 || exit 1
13372 @endif libgui
13374 .PHONY: maybe-dvi-libgui dvi-libgui
13375 maybe-dvi-libgui:
13376 @if libgui
13377 maybe-dvi-libgui: dvi-libgui
13379 dvi-libgui: \
13380 configure-libgui
13381 @[ -f ./libgui/Makefile ] || exit 0; \
13382 r=`${PWD_COMMAND}`; export r; \
13383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13384 $(HOST_EXPORTS) \
13385 for flag in $(EXTRA_HOST_FLAGS) ; do \
13386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13387 done; \
13388 echo "Doing dvi in libgui" ; \
13389 (cd $(HOST_SUBDIR)/libgui && \
13390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13392 "RANLIB=$${RANLIB}" \
13393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13394 dvi) \
13395 || exit 1
13397 @endif libgui
13399 .PHONY: maybe-html-libgui html-libgui
13400 maybe-html-libgui:
13401 @if libgui
13402 maybe-html-libgui: html-libgui
13404 html-libgui: \
13405 configure-libgui
13406 @[ -f ./libgui/Makefile ] || exit 0; \
13407 r=`${PWD_COMMAND}`; export r; \
13408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13409 $(HOST_EXPORTS) \
13410 for flag in $(EXTRA_HOST_FLAGS) ; do \
13411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13412 done; \
13413 echo "Doing html in libgui" ; \
13414 (cd $(HOST_SUBDIR)/libgui && \
13415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13417 "RANLIB=$${RANLIB}" \
13418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13419 html) \
13420 || exit 1
13422 @endif libgui
13424 .PHONY: maybe-TAGS-libgui TAGS-libgui
13425 maybe-TAGS-libgui:
13426 @if libgui
13427 maybe-TAGS-libgui: TAGS-libgui
13429 TAGS-libgui: \
13430 configure-libgui
13431 @[ -f ./libgui/Makefile ] || exit 0; \
13432 r=`${PWD_COMMAND}`; export r; \
13433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13434 $(HOST_EXPORTS) \
13435 for flag in $(EXTRA_HOST_FLAGS) ; do \
13436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13437 done; \
13438 echo "Doing TAGS in libgui" ; \
13439 (cd $(HOST_SUBDIR)/libgui && \
13440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13442 "RANLIB=$${RANLIB}" \
13443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13444 TAGS) \
13445 || exit 1
13447 @endif libgui
13449 .PHONY: maybe-install-info-libgui install-info-libgui
13450 maybe-install-info-libgui:
13451 @if libgui
13452 maybe-install-info-libgui: install-info-libgui
13454 install-info-libgui: \
13455 configure-libgui \
13456 info-libgui
13457 @[ -f ./libgui/Makefile ] || exit 0; \
13458 r=`${PWD_COMMAND}`; export r; \
13459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13460 $(HOST_EXPORTS) \
13461 for flag in $(EXTRA_HOST_FLAGS) ; do \
13462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13463 done; \
13464 echo "Doing install-info in libgui" ; \
13465 (cd $(HOST_SUBDIR)/libgui && \
13466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13468 "RANLIB=$${RANLIB}" \
13469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13470 install-info) \
13471 || exit 1
13473 @endif libgui
13475 .PHONY: maybe-installcheck-libgui installcheck-libgui
13476 maybe-installcheck-libgui:
13477 @if libgui
13478 maybe-installcheck-libgui: installcheck-libgui
13480 installcheck-libgui: \
13481 configure-libgui
13482 @[ -f ./libgui/Makefile ] || exit 0; \
13483 r=`${PWD_COMMAND}`; export r; \
13484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13485 $(HOST_EXPORTS) \
13486 for flag in $(EXTRA_HOST_FLAGS) ; do \
13487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13488 done; \
13489 echo "Doing installcheck in libgui" ; \
13490 (cd $(HOST_SUBDIR)/libgui && \
13491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13493 "RANLIB=$${RANLIB}" \
13494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13495 installcheck) \
13496 || exit 1
13498 @endif libgui
13500 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
13501 maybe-mostlyclean-libgui:
13502 @if libgui
13503 maybe-mostlyclean-libgui: mostlyclean-libgui
13505 mostlyclean-libgui:
13506 @[ -f ./libgui/Makefile ] || exit 0; \
13507 r=`${PWD_COMMAND}`; export r; \
13508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13509 $(HOST_EXPORTS) \
13510 for flag in $(EXTRA_HOST_FLAGS) ; do \
13511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13512 done; \
13513 echo "Doing mostlyclean in libgui" ; \
13514 (cd $(HOST_SUBDIR)/libgui && \
13515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13517 "RANLIB=$${RANLIB}" \
13518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13519 mostlyclean) \
13520 || exit 1
13522 @endif libgui
13524 .PHONY: maybe-clean-libgui clean-libgui
13525 maybe-clean-libgui:
13526 @if libgui
13527 maybe-clean-libgui: clean-libgui
13529 clean-libgui:
13530 @[ -f ./libgui/Makefile ] || exit 0; \
13531 r=`${PWD_COMMAND}`; export r; \
13532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13533 $(HOST_EXPORTS) \
13534 for flag in $(EXTRA_HOST_FLAGS) ; do \
13535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13536 done; \
13537 echo "Doing clean in libgui" ; \
13538 (cd $(HOST_SUBDIR)/libgui && \
13539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13541 "RANLIB=$${RANLIB}" \
13542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13543 clean) \
13544 || exit 1
13546 @endif libgui
13548 .PHONY: maybe-distclean-libgui distclean-libgui
13549 maybe-distclean-libgui:
13550 @if libgui
13551 maybe-distclean-libgui: distclean-libgui
13553 distclean-libgui:
13554 @[ -f ./libgui/Makefile ] || exit 0; \
13555 r=`${PWD_COMMAND}`; export r; \
13556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13557 $(HOST_EXPORTS) \
13558 for flag in $(EXTRA_HOST_FLAGS) ; do \
13559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13560 done; \
13561 echo "Doing distclean in libgui" ; \
13562 (cd $(HOST_SUBDIR)/libgui && \
13563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13565 "RANLIB=$${RANLIB}" \
13566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13567 distclean) \
13568 || exit 1
13570 @endif libgui
13572 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
13573 maybe-maintainer-clean-libgui:
13574 @if libgui
13575 maybe-maintainer-clean-libgui: maintainer-clean-libgui
13577 maintainer-clean-libgui:
13578 @[ -f ./libgui/Makefile ] || exit 0; \
13579 r=`${PWD_COMMAND}`; export r; \
13580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13581 $(HOST_EXPORTS) \
13582 for flag in $(EXTRA_HOST_FLAGS) ; do \
13583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13584 done; \
13585 echo "Doing maintainer-clean in libgui" ; \
13586 (cd $(HOST_SUBDIR)/libgui && \
13587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13589 "RANLIB=$${RANLIB}" \
13590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13591 maintainer-clean) \
13592 || exit 1
13594 @endif libgui
13598 .PHONY: configure-libiberty maybe-configure-libiberty
13599 maybe-configure-libiberty:
13600 @if libiberty
13601 maybe-configure-libiberty: configure-libiberty
13602 configure-libiberty:
13603 @test -f stage_last && exit 0; \
13604 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
13605 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
13606 r=`${PWD_COMMAND}`; export r; \
13607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13608 $(HOST_EXPORTS) \
13609 echo Configuring in $(HOST_SUBDIR)/libiberty; \
13610 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
13611 case $(srcdir) in \
13612 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13613 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
13614 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13615 esac; \
13616 srcdiroption="--srcdir=$${topdir}/libiberty"; \
13617 libsrcdir="$$s/libiberty"; \
13618 $(SHELL) $${libsrcdir}/configure \
13619 $(HOST_CONFIGARGS) $${srcdiroption} \
13620 || exit 1
13621 @endif libiberty
13625 .PHONY: all-libiberty maybe-all-libiberty
13626 maybe-all-libiberty:
13627 @if libiberty
13628 TARGET-libiberty=all
13629 maybe-all-libiberty: all-libiberty
13630 all-libiberty: configure-libiberty
13631 @test -f stage_last && exit 0; \
13632 r=`${PWD_COMMAND}`; export r; \
13633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13634 $(HOST_EXPORTS) \
13635 (cd $(HOST_SUBDIR)/libiberty && \
13636 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
13637 @endif libiberty
13640 .PHONY: check-libiberty maybe-check-libiberty
13641 maybe-check-libiberty:
13642 @if libiberty
13643 maybe-check-libiberty: check-libiberty
13645 check-libiberty:
13646 @r=`${PWD_COMMAND}`; export r; \
13647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13648 $(HOST_EXPORTS) \
13649 (cd $(HOST_SUBDIR)/libiberty && \
13650 $(MAKE) $(FLAGS_TO_PASS) check)
13652 @endif libiberty
13654 .PHONY: install-libiberty maybe-install-libiberty
13655 maybe-install-libiberty:
13656 @if libiberty
13657 maybe-install-libiberty: install-libiberty
13659 install-libiberty: installdirs
13660 @r=`${PWD_COMMAND}`; export r; \
13661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13662 $(HOST_EXPORTS) \
13663 (cd $(HOST_SUBDIR)/libiberty && \
13664 $(MAKE) $(FLAGS_TO_PASS) install)
13666 @endif libiberty
13668 # Other targets (info, dvi, etc.)
13670 .PHONY: maybe-info-libiberty info-libiberty
13671 maybe-info-libiberty:
13672 @if libiberty
13673 maybe-info-libiberty: info-libiberty
13675 info-libiberty: \
13676 configure-libiberty
13677 @[ -f ./libiberty/Makefile ] || exit 0; \
13678 r=`${PWD_COMMAND}`; export r; \
13679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13680 $(HOST_EXPORTS) \
13681 for flag in $(EXTRA_HOST_FLAGS) ; do \
13682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13683 done; \
13684 echo "Doing info in libiberty" ; \
13685 (cd $(HOST_SUBDIR)/libiberty && \
13686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13688 "RANLIB=$${RANLIB}" \
13689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13690 info) \
13691 || exit 1
13693 @endif libiberty
13695 .PHONY: maybe-dvi-libiberty dvi-libiberty
13696 maybe-dvi-libiberty:
13697 @if libiberty
13698 maybe-dvi-libiberty: dvi-libiberty
13700 dvi-libiberty: \
13701 configure-libiberty
13702 @[ -f ./libiberty/Makefile ] || exit 0; \
13703 r=`${PWD_COMMAND}`; export r; \
13704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13705 $(HOST_EXPORTS) \
13706 for flag in $(EXTRA_HOST_FLAGS) ; do \
13707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13708 done; \
13709 echo "Doing dvi in libiberty" ; \
13710 (cd $(HOST_SUBDIR)/libiberty && \
13711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13713 "RANLIB=$${RANLIB}" \
13714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13715 dvi) \
13716 || exit 1
13718 @endif libiberty
13720 .PHONY: maybe-html-libiberty html-libiberty
13721 maybe-html-libiberty:
13722 @if libiberty
13723 maybe-html-libiberty: html-libiberty
13725 html-libiberty: \
13726 configure-libiberty
13727 @[ -f ./libiberty/Makefile ] || exit 0; \
13728 r=`${PWD_COMMAND}`; export r; \
13729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13730 $(HOST_EXPORTS) \
13731 for flag in $(EXTRA_HOST_FLAGS) ; do \
13732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13733 done; \
13734 echo "Doing html in libiberty" ; \
13735 (cd $(HOST_SUBDIR)/libiberty && \
13736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13738 "RANLIB=$${RANLIB}" \
13739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13740 html) \
13741 || exit 1
13743 @endif libiberty
13745 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
13746 maybe-TAGS-libiberty:
13747 @if libiberty
13748 maybe-TAGS-libiberty: TAGS-libiberty
13750 TAGS-libiberty: \
13751 configure-libiberty
13752 @[ -f ./libiberty/Makefile ] || exit 0; \
13753 r=`${PWD_COMMAND}`; export r; \
13754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13755 $(HOST_EXPORTS) \
13756 for flag in $(EXTRA_HOST_FLAGS) ; do \
13757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13758 done; \
13759 echo "Doing TAGS in libiberty" ; \
13760 (cd $(HOST_SUBDIR)/libiberty && \
13761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13763 "RANLIB=$${RANLIB}" \
13764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13765 TAGS) \
13766 || exit 1
13768 @endif libiberty
13770 .PHONY: maybe-install-info-libiberty install-info-libiberty
13771 maybe-install-info-libiberty:
13772 @if libiberty
13773 maybe-install-info-libiberty: install-info-libiberty
13775 install-info-libiberty: \
13776 configure-libiberty \
13777 info-libiberty
13778 @[ -f ./libiberty/Makefile ] || exit 0; \
13779 r=`${PWD_COMMAND}`; export r; \
13780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13781 $(HOST_EXPORTS) \
13782 for flag in $(EXTRA_HOST_FLAGS) ; do \
13783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13784 done; \
13785 echo "Doing install-info in libiberty" ; \
13786 (cd $(HOST_SUBDIR)/libiberty && \
13787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13789 "RANLIB=$${RANLIB}" \
13790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13791 install-info) \
13792 || exit 1
13794 @endif libiberty
13796 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
13797 maybe-installcheck-libiberty:
13798 @if libiberty
13799 maybe-installcheck-libiberty: installcheck-libiberty
13801 installcheck-libiberty: \
13802 configure-libiberty
13803 @[ -f ./libiberty/Makefile ] || exit 0; \
13804 r=`${PWD_COMMAND}`; export r; \
13805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13806 $(HOST_EXPORTS) \
13807 for flag in $(EXTRA_HOST_FLAGS) ; do \
13808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13809 done; \
13810 echo "Doing installcheck in libiberty" ; \
13811 (cd $(HOST_SUBDIR)/libiberty && \
13812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13814 "RANLIB=$${RANLIB}" \
13815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13816 installcheck) \
13817 || exit 1
13819 @endif libiberty
13821 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
13822 maybe-mostlyclean-libiberty:
13823 @if libiberty
13824 maybe-mostlyclean-libiberty: mostlyclean-libiberty
13826 mostlyclean-libiberty:
13827 @[ -f ./libiberty/Makefile ] || exit 0; \
13828 r=`${PWD_COMMAND}`; export r; \
13829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13830 $(HOST_EXPORTS) \
13831 for flag in $(EXTRA_HOST_FLAGS) ; do \
13832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13833 done; \
13834 echo "Doing mostlyclean in libiberty" ; \
13835 (cd $(HOST_SUBDIR)/libiberty && \
13836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13838 "RANLIB=$${RANLIB}" \
13839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13840 mostlyclean) \
13841 || exit 1
13843 @endif libiberty
13845 .PHONY: maybe-clean-libiberty clean-libiberty
13846 maybe-clean-libiberty:
13847 @if libiberty
13848 maybe-clean-libiberty: clean-libiberty
13850 clean-libiberty:
13851 @[ -f ./libiberty/Makefile ] || exit 0; \
13852 r=`${PWD_COMMAND}`; export r; \
13853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13854 $(HOST_EXPORTS) \
13855 for flag in $(EXTRA_HOST_FLAGS) ; do \
13856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13857 done; \
13858 echo "Doing clean in libiberty" ; \
13859 (cd $(HOST_SUBDIR)/libiberty && \
13860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13862 "RANLIB=$${RANLIB}" \
13863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13864 clean) \
13865 || exit 1
13867 @endif libiberty
13869 .PHONY: maybe-distclean-libiberty distclean-libiberty
13870 maybe-distclean-libiberty:
13871 @if libiberty
13872 maybe-distclean-libiberty: distclean-libiberty
13874 distclean-libiberty:
13875 @[ -f ./libiberty/Makefile ] || exit 0; \
13876 r=`${PWD_COMMAND}`; export r; \
13877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13878 $(HOST_EXPORTS) \
13879 for flag in $(EXTRA_HOST_FLAGS) ; do \
13880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13881 done; \
13882 echo "Doing distclean in libiberty" ; \
13883 (cd $(HOST_SUBDIR)/libiberty && \
13884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13886 "RANLIB=$${RANLIB}" \
13887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13888 distclean) \
13889 || exit 1
13891 @endif libiberty
13893 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13894 maybe-maintainer-clean-libiberty:
13895 @if libiberty
13896 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13898 maintainer-clean-libiberty:
13899 @[ -f ./libiberty/Makefile ] || exit 0; \
13900 r=`${PWD_COMMAND}`; export r; \
13901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13902 $(HOST_EXPORTS) \
13903 for flag in $(EXTRA_HOST_FLAGS) ; do \
13904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13905 done; \
13906 echo "Doing maintainer-clean in libiberty" ; \
13907 (cd $(HOST_SUBDIR)/libiberty && \
13908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13910 "RANLIB=$${RANLIB}" \
13911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13912 maintainer-clean) \
13913 || exit 1
13915 @endif libiberty
13919 .PHONY: configure-libtool maybe-configure-libtool
13920 maybe-configure-libtool:
13921 @if libtool
13922 maybe-configure-libtool: configure-libtool
13923 configure-libtool:
13924 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
13925 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
13926 r=`${PWD_COMMAND}`; export r; \
13927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13928 $(HOST_EXPORTS) \
13929 echo Configuring in $(HOST_SUBDIR)/libtool; \
13930 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
13931 case $(srcdir) in \
13932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13933 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
13934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13935 esac; \
13936 srcdiroption="--srcdir=$${topdir}/libtool"; \
13937 libsrcdir="$$s/libtool"; \
13938 $(SHELL) $${libsrcdir}/configure \
13939 $(HOST_CONFIGARGS) $${srcdiroption} \
13940 || exit 1
13941 @endif libtool
13945 .PHONY: all-libtool maybe-all-libtool
13946 maybe-all-libtool:
13947 @if libtool
13948 TARGET-libtool=all
13949 maybe-all-libtool: all-libtool
13950 all-libtool: configure-libtool
13951 @r=`${PWD_COMMAND}`; export r; \
13952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13953 $(HOST_EXPORTS) \
13954 (cd $(HOST_SUBDIR)/libtool && \
13955 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
13956 @endif libtool
13959 .PHONY: check-libtool maybe-check-libtool
13960 maybe-check-libtool:
13961 @if libtool
13962 maybe-check-libtool: check-libtool
13964 check-libtool:
13965 @r=`${PWD_COMMAND}`; export r; \
13966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13967 $(HOST_EXPORTS) \
13968 (cd $(HOST_SUBDIR)/libtool && \
13969 $(MAKE) $(FLAGS_TO_PASS) check)
13971 @endif libtool
13973 .PHONY: install-libtool maybe-install-libtool
13974 maybe-install-libtool:
13975 @if libtool
13976 maybe-install-libtool: install-libtool
13978 install-libtool: installdirs
13979 @r=`${PWD_COMMAND}`; export r; \
13980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13981 $(HOST_EXPORTS) \
13982 (cd $(HOST_SUBDIR)/libtool && \
13983 $(MAKE) $(FLAGS_TO_PASS) install)
13985 @endif libtool
13987 # Other targets (info, dvi, etc.)
13989 .PHONY: maybe-info-libtool info-libtool
13990 maybe-info-libtool:
13991 @if libtool
13992 maybe-info-libtool: info-libtool
13994 info-libtool: \
13995 configure-libtool
13996 @[ -f ./libtool/Makefile ] || exit 0; \
13997 r=`${PWD_COMMAND}`; export r; \
13998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13999 $(HOST_EXPORTS) \
14000 for flag in $(EXTRA_HOST_FLAGS) ; do \
14001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14002 done; \
14003 echo "Doing info in libtool" ; \
14004 (cd $(HOST_SUBDIR)/libtool && \
14005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14007 "RANLIB=$${RANLIB}" \
14008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14009 info) \
14010 || exit 1
14012 @endif libtool
14014 .PHONY: maybe-dvi-libtool dvi-libtool
14015 maybe-dvi-libtool:
14016 @if libtool
14017 maybe-dvi-libtool: dvi-libtool
14019 dvi-libtool: \
14020 configure-libtool
14021 @[ -f ./libtool/Makefile ] || exit 0; \
14022 r=`${PWD_COMMAND}`; export r; \
14023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14024 $(HOST_EXPORTS) \
14025 for flag in $(EXTRA_HOST_FLAGS) ; do \
14026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14027 done; \
14028 echo "Doing dvi in libtool" ; \
14029 (cd $(HOST_SUBDIR)/libtool && \
14030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14032 "RANLIB=$${RANLIB}" \
14033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14034 dvi) \
14035 || exit 1
14037 @endif libtool
14039 .PHONY: maybe-html-libtool html-libtool
14040 maybe-html-libtool:
14041 @if libtool
14042 maybe-html-libtool: html-libtool
14044 html-libtool: \
14045 configure-libtool
14046 @[ -f ./libtool/Makefile ] || exit 0; \
14047 r=`${PWD_COMMAND}`; export r; \
14048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14049 $(HOST_EXPORTS) \
14050 for flag in $(EXTRA_HOST_FLAGS) ; do \
14051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14052 done; \
14053 echo "Doing html in libtool" ; \
14054 (cd $(HOST_SUBDIR)/libtool && \
14055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14057 "RANLIB=$${RANLIB}" \
14058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14059 html) \
14060 || exit 1
14062 @endif libtool
14064 .PHONY: maybe-TAGS-libtool TAGS-libtool
14065 maybe-TAGS-libtool:
14066 @if libtool
14067 maybe-TAGS-libtool: TAGS-libtool
14069 TAGS-libtool: \
14070 configure-libtool
14071 @[ -f ./libtool/Makefile ] || exit 0; \
14072 r=`${PWD_COMMAND}`; export r; \
14073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14074 $(HOST_EXPORTS) \
14075 for flag in $(EXTRA_HOST_FLAGS) ; do \
14076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14077 done; \
14078 echo "Doing TAGS in libtool" ; \
14079 (cd $(HOST_SUBDIR)/libtool && \
14080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14082 "RANLIB=$${RANLIB}" \
14083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14084 TAGS) \
14085 || exit 1
14087 @endif libtool
14089 .PHONY: maybe-install-info-libtool install-info-libtool
14090 maybe-install-info-libtool:
14091 @if libtool
14092 maybe-install-info-libtool: install-info-libtool
14094 install-info-libtool: \
14095 configure-libtool \
14096 info-libtool
14097 @[ -f ./libtool/Makefile ] || exit 0; \
14098 r=`${PWD_COMMAND}`; export r; \
14099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14100 $(HOST_EXPORTS) \
14101 for flag in $(EXTRA_HOST_FLAGS) ; do \
14102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14103 done; \
14104 echo "Doing install-info in libtool" ; \
14105 (cd $(HOST_SUBDIR)/libtool && \
14106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14108 "RANLIB=$${RANLIB}" \
14109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14110 install-info) \
14111 || exit 1
14113 @endif libtool
14115 .PHONY: maybe-installcheck-libtool installcheck-libtool
14116 maybe-installcheck-libtool:
14117 @if libtool
14118 maybe-installcheck-libtool: installcheck-libtool
14120 installcheck-libtool: \
14121 configure-libtool
14122 @[ -f ./libtool/Makefile ] || exit 0; \
14123 r=`${PWD_COMMAND}`; export r; \
14124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14125 $(HOST_EXPORTS) \
14126 for flag in $(EXTRA_HOST_FLAGS) ; do \
14127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14128 done; \
14129 echo "Doing installcheck in libtool" ; \
14130 (cd $(HOST_SUBDIR)/libtool && \
14131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14133 "RANLIB=$${RANLIB}" \
14134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14135 installcheck) \
14136 || exit 1
14138 @endif libtool
14140 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
14141 maybe-mostlyclean-libtool:
14142 @if libtool
14143 maybe-mostlyclean-libtool: mostlyclean-libtool
14145 mostlyclean-libtool:
14146 @[ -f ./libtool/Makefile ] || exit 0; \
14147 r=`${PWD_COMMAND}`; export r; \
14148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14149 $(HOST_EXPORTS) \
14150 for flag in $(EXTRA_HOST_FLAGS) ; do \
14151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14152 done; \
14153 echo "Doing mostlyclean in libtool" ; \
14154 (cd $(HOST_SUBDIR)/libtool && \
14155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14157 "RANLIB=$${RANLIB}" \
14158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14159 mostlyclean) \
14160 || exit 1
14162 @endif libtool
14164 .PHONY: maybe-clean-libtool clean-libtool
14165 maybe-clean-libtool:
14166 @if libtool
14167 maybe-clean-libtool: clean-libtool
14169 clean-libtool:
14170 @[ -f ./libtool/Makefile ] || exit 0; \
14171 r=`${PWD_COMMAND}`; export r; \
14172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14173 $(HOST_EXPORTS) \
14174 for flag in $(EXTRA_HOST_FLAGS) ; do \
14175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14176 done; \
14177 echo "Doing clean in libtool" ; \
14178 (cd $(HOST_SUBDIR)/libtool && \
14179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14181 "RANLIB=$${RANLIB}" \
14182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14183 clean) \
14184 || exit 1
14186 @endif libtool
14188 .PHONY: maybe-distclean-libtool distclean-libtool
14189 maybe-distclean-libtool:
14190 @if libtool
14191 maybe-distclean-libtool: distclean-libtool
14193 distclean-libtool:
14194 @[ -f ./libtool/Makefile ] || exit 0; \
14195 r=`${PWD_COMMAND}`; export r; \
14196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14197 $(HOST_EXPORTS) \
14198 for flag in $(EXTRA_HOST_FLAGS) ; do \
14199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14200 done; \
14201 echo "Doing distclean in libtool" ; \
14202 (cd $(HOST_SUBDIR)/libtool && \
14203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14205 "RANLIB=$${RANLIB}" \
14206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14207 distclean) \
14208 || exit 1
14210 @endif libtool
14212 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
14213 maybe-maintainer-clean-libtool:
14214 @if libtool
14215 maybe-maintainer-clean-libtool: maintainer-clean-libtool
14217 maintainer-clean-libtool:
14218 @[ -f ./libtool/Makefile ] || exit 0; \
14219 r=`${PWD_COMMAND}`; export r; \
14220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14221 $(HOST_EXPORTS) \
14222 for flag in $(EXTRA_HOST_FLAGS) ; do \
14223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14224 done; \
14225 echo "Doing maintainer-clean in libtool" ; \
14226 (cd $(HOST_SUBDIR)/libtool && \
14227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14229 "RANLIB=$${RANLIB}" \
14230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14231 maintainer-clean) \
14232 || exit 1
14234 @endif libtool
14238 .PHONY: configure-m4 maybe-configure-m4
14239 maybe-configure-m4:
14240 @if m4
14241 maybe-configure-m4: configure-m4
14242 configure-m4:
14243 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
14244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
14245 r=`${PWD_COMMAND}`; export r; \
14246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14247 $(HOST_EXPORTS) \
14248 echo Configuring in $(HOST_SUBDIR)/m4; \
14249 cd "$(HOST_SUBDIR)/m4" || exit 1; \
14250 case $(srcdir) in \
14251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14252 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
14253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14254 esac; \
14255 srcdiroption="--srcdir=$${topdir}/m4"; \
14256 libsrcdir="$$s/m4"; \
14257 $(SHELL) $${libsrcdir}/configure \
14258 $(HOST_CONFIGARGS) $${srcdiroption} \
14259 || exit 1
14260 @endif m4
14264 .PHONY: all-m4 maybe-all-m4
14265 maybe-all-m4:
14266 @if m4
14267 TARGET-m4=all
14268 maybe-all-m4: all-m4
14269 all-m4: configure-m4
14270 @r=`${PWD_COMMAND}`; export r; \
14271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14272 $(HOST_EXPORTS) \
14273 (cd $(HOST_SUBDIR)/m4 && \
14274 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
14275 @endif m4
14278 .PHONY: check-m4 maybe-check-m4
14279 maybe-check-m4:
14280 @if m4
14281 maybe-check-m4: check-m4
14283 check-m4:
14284 @r=`${PWD_COMMAND}`; export r; \
14285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14286 $(HOST_EXPORTS) \
14287 (cd $(HOST_SUBDIR)/m4 && \
14288 $(MAKE) $(FLAGS_TO_PASS) check)
14290 @endif m4
14292 .PHONY: install-m4 maybe-install-m4
14293 maybe-install-m4:
14294 @if m4
14295 maybe-install-m4: install-m4
14297 install-m4: installdirs
14298 @r=`${PWD_COMMAND}`; export r; \
14299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14300 $(HOST_EXPORTS) \
14301 (cd $(HOST_SUBDIR)/m4 && \
14302 $(MAKE) $(FLAGS_TO_PASS) install)
14304 @endif m4
14306 # Other targets (info, dvi, etc.)
14308 .PHONY: maybe-info-m4 info-m4
14309 maybe-info-m4:
14310 @if m4
14311 maybe-info-m4: info-m4
14313 info-m4: \
14314 configure-m4
14315 @[ -f ./m4/Makefile ] || exit 0; \
14316 r=`${PWD_COMMAND}`; export r; \
14317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14318 $(HOST_EXPORTS) \
14319 for flag in $(EXTRA_HOST_FLAGS) ; do \
14320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14321 done; \
14322 echo "Doing info in m4" ; \
14323 (cd $(HOST_SUBDIR)/m4 && \
14324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14326 "RANLIB=$${RANLIB}" \
14327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14328 info) \
14329 || exit 1
14331 @endif m4
14333 .PHONY: maybe-dvi-m4 dvi-m4
14334 maybe-dvi-m4:
14335 @if m4
14336 maybe-dvi-m4: dvi-m4
14338 dvi-m4: \
14339 configure-m4
14340 @[ -f ./m4/Makefile ] || exit 0; \
14341 r=`${PWD_COMMAND}`; export r; \
14342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14343 $(HOST_EXPORTS) \
14344 for flag in $(EXTRA_HOST_FLAGS) ; do \
14345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14346 done; \
14347 echo "Doing dvi in m4" ; \
14348 (cd $(HOST_SUBDIR)/m4 && \
14349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14351 "RANLIB=$${RANLIB}" \
14352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14353 dvi) \
14354 || exit 1
14356 @endif m4
14358 .PHONY: maybe-html-m4 html-m4
14359 maybe-html-m4:
14360 @if m4
14361 maybe-html-m4: html-m4
14363 html-m4: \
14364 configure-m4
14365 @[ -f ./m4/Makefile ] || exit 0; \
14366 r=`${PWD_COMMAND}`; export r; \
14367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14368 $(HOST_EXPORTS) \
14369 for flag in $(EXTRA_HOST_FLAGS) ; do \
14370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14371 done; \
14372 echo "Doing html in m4" ; \
14373 (cd $(HOST_SUBDIR)/m4 && \
14374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14376 "RANLIB=$${RANLIB}" \
14377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14378 html) \
14379 || exit 1
14381 @endif m4
14383 .PHONY: maybe-TAGS-m4 TAGS-m4
14384 maybe-TAGS-m4:
14385 @if m4
14386 maybe-TAGS-m4: TAGS-m4
14388 TAGS-m4: \
14389 configure-m4
14390 @[ -f ./m4/Makefile ] || exit 0; \
14391 r=`${PWD_COMMAND}`; export r; \
14392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14393 $(HOST_EXPORTS) \
14394 for flag in $(EXTRA_HOST_FLAGS) ; do \
14395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14396 done; \
14397 echo "Doing TAGS in m4" ; \
14398 (cd $(HOST_SUBDIR)/m4 && \
14399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14401 "RANLIB=$${RANLIB}" \
14402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14403 TAGS) \
14404 || exit 1
14406 @endif m4
14408 .PHONY: maybe-install-info-m4 install-info-m4
14409 maybe-install-info-m4:
14410 @if m4
14411 maybe-install-info-m4: install-info-m4
14413 install-info-m4: \
14414 configure-m4 \
14415 info-m4
14416 @[ -f ./m4/Makefile ] || exit 0; \
14417 r=`${PWD_COMMAND}`; export r; \
14418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14419 $(HOST_EXPORTS) \
14420 for flag in $(EXTRA_HOST_FLAGS) ; do \
14421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14422 done; \
14423 echo "Doing install-info in m4" ; \
14424 (cd $(HOST_SUBDIR)/m4 && \
14425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14427 "RANLIB=$${RANLIB}" \
14428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14429 install-info) \
14430 || exit 1
14432 @endif m4
14434 .PHONY: maybe-installcheck-m4 installcheck-m4
14435 maybe-installcheck-m4:
14436 @if m4
14437 maybe-installcheck-m4: installcheck-m4
14439 installcheck-m4: \
14440 configure-m4
14441 @[ -f ./m4/Makefile ] || exit 0; \
14442 r=`${PWD_COMMAND}`; export r; \
14443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14444 $(HOST_EXPORTS) \
14445 for flag in $(EXTRA_HOST_FLAGS) ; do \
14446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14447 done; \
14448 echo "Doing installcheck in m4" ; \
14449 (cd $(HOST_SUBDIR)/m4 && \
14450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14452 "RANLIB=$${RANLIB}" \
14453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14454 installcheck) \
14455 || exit 1
14457 @endif m4
14459 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
14460 maybe-mostlyclean-m4:
14461 @if m4
14462 maybe-mostlyclean-m4: mostlyclean-m4
14464 mostlyclean-m4:
14465 @[ -f ./m4/Makefile ] || exit 0; \
14466 r=`${PWD_COMMAND}`; export r; \
14467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 mostlyclean in m4" ; \
14473 (cd $(HOST_SUBDIR)/m4 && \
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 mostlyclean) \
14479 || exit 1
14481 @endif m4
14483 .PHONY: maybe-clean-m4 clean-m4
14484 maybe-clean-m4:
14485 @if m4
14486 maybe-clean-m4: clean-m4
14488 clean-m4:
14489 @[ -f ./m4/Makefile ] || exit 0; \
14490 r=`${PWD_COMMAND}`; export r; \
14491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14492 $(HOST_EXPORTS) \
14493 for flag in $(EXTRA_HOST_FLAGS) ; do \
14494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14495 done; \
14496 echo "Doing clean in m4" ; \
14497 (cd $(HOST_SUBDIR)/m4 && \
14498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14500 "RANLIB=$${RANLIB}" \
14501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14502 clean) \
14503 || exit 1
14505 @endif m4
14507 .PHONY: maybe-distclean-m4 distclean-m4
14508 maybe-distclean-m4:
14509 @if m4
14510 maybe-distclean-m4: distclean-m4
14512 distclean-m4:
14513 @[ -f ./m4/Makefile ] || exit 0; \
14514 r=`${PWD_COMMAND}`; export r; \
14515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14516 $(HOST_EXPORTS) \
14517 for flag in $(EXTRA_HOST_FLAGS) ; do \
14518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14519 done; \
14520 echo "Doing distclean in m4" ; \
14521 (cd $(HOST_SUBDIR)/m4 && \
14522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14524 "RANLIB=$${RANLIB}" \
14525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14526 distclean) \
14527 || exit 1
14529 @endif m4
14531 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
14532 maybe-maintainer-clean-m4:
14533 @if m4
14534 maybe-maintainer-clean-m4: maintainer-clean-m4
14536 maintainer-clean-m4:
14537 @[ -f ./m4/Makefile ] || exit 0; \
14538 r=`${PWD_COMMAND}`; export r; \
14539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14540 $(HOST_EXPORTS) \
14541 for flag in $(EXTRA_HOST_FLAGS) ; do \
14542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14543 done; \
14544 echo "Doing maintainer-clean in m4" ; \
14545 (cd $(HOST_SUBDIR)/m4 && \
14546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14548 "RANLIB=$${RANLIB}" \
14549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14550 maintainer-clean) \
14551 || exit 1
14553 @endif m4
14557 .PHONY: configure-make maybe-configure-make
14558 maybe-configure-make:
14559 @if make
14560 maybe-configure-make: configure-make
14561 configure-make:
14562 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
14563 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
14564 r=`${PWD_COMMAND}`; export r; \
14565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14566 $(HOST_EXPORTS) \
14567 echo Configuring in $(HOST_SUBDIR)/make; \
14568 cd "$(HOST_SUBDIR)/make" || exit 1; \
14569 case $(srcdir) in \
14570 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14571 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
14572 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14573 esac; \
14574 srcdiroption="--srcdir=$${topdir}/make"; \
14575 libsrcdir="$$s/make"; \
14576 $(SHELL) $${libsrcdir}/configure \
14577 $(HOST_CONFIGARGS) $${srcdiroption} \
14578 || exit 1
14579 @endif make
14583 .PHONY: all-make maybe-all-make
14584 maybe-all-make:
14585 @if make
14586 TARGET-make=all
14587 maybe-all-make: all-make
14588 all-make: configure-make
14589 @r=`${PWD_COMMAND}`; export r; \
14590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14591 $(HOST_EXPORTS) \
14592 (cd $(HOST_SUBDIR)/make && \
14593 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
14594 @endif make
14597 .PHONY: check-make maybe-check-make
14598 maybe-check-make:
14599 @if make
14600 maybe-check-make: check-make
14602 check-make:
14603 @r=`${PWD_COMMAND}`; export r; \
14604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14605 $(HOST_EXPORTS) \
14606 (cd $(HOST_SUBDIR)/make && \
14607 $(MAKE) $(FLAGS_TO_PASS) check)
14609 @endif make
14611 .PHONY: install-make maybe-install-make
14612 maybe-install-make:
14613 @if make
14614 maybe-install-make: install-make
14616 install-make: installdirs
14617 @r=`${PWD_COMMAND}`; export r; \
14618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14619 $(HOST_EXPORTS) \
14620 (cd $(HOST_SUBDIR)/make && \
14621 $(MAKE) $(FLAGS_TO_PASS) install)
14623 @endif make
14625 # Other targets (info, dvi, etc.)
14627 .PHONY: maybe-info-make info-make
14628 maybe-info-make:
14629 @if make
14630 maybe-info-make: info-make
14632 info-make: \
14633 configure-make
14634 @[ -f ./make/Makefile ] || exit 0; \
14635 r=`${PWD_COMMAND}`; export r; \
14636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14637 $(HOST_EXPORTS) \
14638 for flag in $(EXTRA_HOST_FLAGS) ; do \
14639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14640 done; \
14641 echo "Doing info in make" ; \
14642 (cd $(HOST_SUBDIR)/make && \
14643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14645 "RANLIB=$${RANLIB}" \
14646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14647 info) \
14648 || exit 1
14650 @endif make
14652 .PHONY: maybe-dvi-make dvi-make
14653 maybe-dvi-make:
14654 @if make
14655 maybe-dvi-make: dvi-make
14657 dvi-make: \
14658 configure-make
14659 @[ -f ./make/Makefile ] || exit 0; \
14660 r=`${PWD_COMMAND}`; export r; \
14661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14662 $(HOST_EXPORTS) \
14663 for flag in $(EXTRA_HOST_FLAGS) ; do \
14664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14665 done; \
14666 echo "Doing dvi in make" ; \
14667 (cd $(HOST_SUBDIR)/make && \
14668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14670 "RANLIB=$${RANLIB}" \
14671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14672 dvi) \
14673 || exit 1
14675 @endif make
14677 .PHONY: maybe-html-make html-make
14678 maybe-html-make:
14679 @if make
14680 maybe-html-make: html-make
14682 html-make: \
14683 configure-make
14684 @[ -f ./make/Makefile ] || exit 0; \
14685 r=`${PWD_COMMAND}`; export r; \
14686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14687 $(HOST_EXPORTS) \
14688 for flag in $(EXTRA_HOST_FLAGS) ; do \
14689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14690 done; \
14691 echo "Doing html in make" ; \
14692 (cd $(HOST_SUBDIR)/make && \
14693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14695 "RANLIB=$${RANLIB}" \
14696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14697 html) \
14698 || exit 1
14700 @endif make
14702 .PHONY: maybe-TAGS-make TAGS-make
14703 maybe-TAGS-make:
14704 @if make
14705 maybe-TAGS-make: TAGS-make
14707 TAGS-make: \
14708 configure-make
14709 @[ -f ./make/Makefile ] || exit 0; \
14710 r=`${PWD_COMMAND}`; export r; \
14711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14712 $(HOST_EXPORTS) \
14713 for flag in $(EXTRA_HOST_FLAGS) ; do \
14714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14715 done; \
14716 echo "Doing TAGS in make" ; \
14717 (cd $(HOST_SUBDIR)/make && \
14718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14720 "RANLIB=$${RANLIB}" \
14721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14722 TAGS) \
14723 || exit 1
14725 @endif make
14727 .PHONY: maybe-install-info-make install-info-make
14728 maybe-install-info-make:
14729 @if make
14730 maybe-install-info-make: install-info-make
14732 install-info-make: \
14733 configure-make \
14734 info-make
14735 @[ -f ./make/Makefile ] || exit 0; \
14736 r=`${PWD_COMMAND}`; export r; \
14737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14738 $(HOST_EXPORTS) \
14739 for flag in $(EXTRA_HOST_FLAGS) ; do \
14740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14741 done; \
14742 echo "Doing install-info in make" ; \
14743 (cd $(HOST_SUBDIR)/make && \
14744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14746 "RANLIB=$${RANLIB}" \
14747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14748 install-info) \
14749 || exit 1
14751 @endif make
14753 .PHONY: maybe-installcheck-make installcheck-make
14754 maybe-installcheck-make:
14755 @if make
14756 maybe-installcheck-make: installcheck-make
14758 installcheck-make: \
14759 configure-make
14760 @[ -f ./make/Makefile ] || exit 0; \
14761 r=`${PWD_COMMAND}`; export r; \
14762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14763 $(HOST_EXPORTS) \
14764 for flag in $(EXTRA_HOST_FLAGS) ; do \
14765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14766 done; \
14767 echo "Doing installcheck in make" ; \
14768 (cd $(HOST_SUBDIR)/make && \
14769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14771 "RANLIB=$${RANLIB}" \
14772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14773 installcheck) \
14774 || exit 1
14776 @endif make
14778 .PHONY: maybe-mostlyclean-make mostlyclean-make
14779 maybe-mostlyclean-make:
14780 @if make
14781 maybe-mostlyclean-make: mostlyclean-make
14783 mostlyclean-make:
14784 @[ -f ./make/Makefile ] || exit 0; \
14785 r=`${PWD_COMMAND}`; export r; \
14786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14787 $(HOST_EXPORTS) \
14788 for flag in $(EXTRA_HOST_FLAGS) ; do \
14789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14790 done; \
14791 echo "Doing mostlyclean in make" ; \
14792 (cd $(HOST_SUBDIR)/make && \
14793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14795 "RANLIB=$${RANLIB}" \
14796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14797 mostlyclean) \
14798 || exit 1
14800 @endif make
14802 .PHONY: maybe-clean-make clean-make
14803 maybe-clean-make:
14804 @if make
14805 maybe-clean-make: clean-make
14807 clean-make:
14808 @[ -f ./make/Makefile ] || exit 0; \
14809 r=`${PWD_COMMAND}`; export r; \
14810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14811 $(HOST_EXPORTS) \
14812 for flag in $(EXTRA_HOST_FLAGS) ; do \
14813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14814 done; \
14815 echo "Doing clean in make" ; \
14816 (cd $(HOST_SUBDIR)/make && \
14817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14819 "RANLIB=$${RANLIB}" \
14820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14821 clean) \
14822 || exit 1
14824 @endif make
14826 .PHONY: maybe-distclean-make distclean-make
14827 maybe-distclean-make:
14828 @if make
14829 maybe-distclean-make: distclean-make
14831 distclean-make:
14832 @[ -f ./make/Makefile ] || exit 0; \
14833 r=`${PWD_COMMAND}`; export r; \
14834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14835 $(HOST_EXPORTS) \
14836 for flag in $(EXTRA_HOST_FLAGS) ; do \
14837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14838 done; \
14839 echo "Doing distclean in make" ; \
14840 (cd $(HOST_SUBDIR)/make && \
14841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14843 "RANLIB=$${RANLIB}" \
14844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14845 distclean) \
14846 || exit 1
14848 @endif make
14850 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
14851 maybe-maintainer-clean-make:
14852 @if make
14853 maybe-maintainer-clean-make: maintainer-clean-make
14855 maintainer-clean-make:
14856 @[ -f ./make/Makefile ] || exit 0; \
14857 r=`${PWD_COMMAND}`; export r; \
14858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14859 $(HOST_EXPORTS) \
14860 for flag in $(EXTRA_HOST_FLAGS) ; do \
14861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14862 done; \
14863 echo "Doing maintainer-clean in make" ; \
14864 (cd $(HOST_SUBDIR)/make && \
14865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14867 "RANLIB=$${RANLIB}" \
14868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14869 maintainer-clean) \
14870 || exit 1
14872 @endif make
14876 .PHONY: configure-mmalloc maybe-configure-mmalloc
14877 maybe-configure-mmalloc:
14878 @if mmalloc
14879 maybe-configure-mmalloc: configure-mmalloc
14880 configure-mmalloc:
14881 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
14882 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
14883 r=`${PWD_COMMAND}`; export r; \
14884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14885 $(HOST_EXPORTS) \
14886 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
14887 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
14888 case $(srcdir) in \
14889 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14890 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
14891 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14892 esac; \
14893 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
14894 libsrcdir="$$s/mmalloc"; \
14895 $(SHELL) $${libsrcdir}/configure \
14896 $(HOST_CONFIGARGS) $${srcdiroption} \
14897 || exit 1
14898 @endif mmalloc
14902 .PHONY: all-mmalloc maybe-all-mmalloc
14903 maybe-all-mmalloc:
14904 @if mmalloc
14905 TARGET-mmalloc=all
14906 maybe-all-mmalloc: all-mmalloc
14907 all-mmalloc: configure-mmalloc
14908 @r=`${PWD_COMMAND}`; export r; \
14909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14910 $(HOST_EXPORTS) \
14911 (cd $(HOST_SUBDIR)/mmalloc && \
14912 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
14913 @endif mmalloc
14916 .PHONY: check-mmalloc maybe-check-mmalloc
14917 maybe-check-mmalloc:
14918 @if mmalloc
14919 maybe-check-mmalloc: check-mmalloc
14921 check-mmalloc:
14923 @endif mmalloc
14925 .PHONY: install-mmalloc maybe-install-mmalloc
14926 maybe-install-mmalloc:
14927 @if mmalloc
14928 maybe-install-mmalloc: install-mmalloc
14930 install-mmalloc: installdirs
14931 @r=`${PWD_COMMAND}`; export r; \
14932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14933 $(HOST_EXPORTS) \
14934 (cd $(HOST_SUBDIR)/mmalloc && \
14935 $(MAKE) $(FLAGS_TO_PASS) install)
14937 @endif mmalloc
14939 # Other targets (info, dvi, etc.)
14941 .PHONY: maybe-info-mmalloc info-mmalloc
14942 maybe-info-mmalloc:
14943 @if mmalloc
14944 maybe-info-mmalloc: info-mmalloc
14946 info-mmalloc: \
14947 configure-mmalloc
14948 @[ -f ./mmalloc/Makefile ] || exit 0; \
14949 r=`${PWD_COMMAND}`; export r; \
14950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14951 $(HOST_EXPORTS) \
14952 for flag in $(EXTRA_HOST_FLAGS) ; do \
14953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14954 done; \
14955 echo "Doing info in mmalloc" ; \
14956 (cd $(HOST_SUBDIR)/mmalloc && \
14957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14959 "RANLIB=$${RANLIB}" \
14960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14961 info) \
14962 || exit 1
14964 @endif mmalloc
14966 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14967 maybe-dvi-mmalloc:
14968 @if mmalloc
14969 maybe-dvi-mmalloc: dvi-mmalloc
14971 dvi-mmalloc: \
14972 configure-mmalloc
14973 @[ -f ./mmalloc/Makefile ] || exit 0; \
14974 r=`${PWD_COMMAND}`; export r; \
14975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14976 $(HOST_EXPORTS) \
14977 for flag in $(EXTRA_HOST_FLAGS) ; do \
14978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14979 done; \
14980 echo "Doing dvi in mmalloc" ; \
14981 (cd $(HOST_SUBDIR)/mmalloc && \
14982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14984 "RANLIB=$${RANLIB}" \
14985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14986 dvi) \
14987 || exit 1
14989 @endif mmalloc
14991 .PHONY: maybe-html-mmalloc html-mmalloc
14992 maybe-html-mmalloc:
14993 @if mmalloc
14994 maybe-html-mmalloc: html-mmalloc
14996 html-mmalloc: \
14997 configure-mmalloc
14998 @[ -f ./mmalloc/Makefile ] || exit 0; \
14999 r=`${PWD_COMMAND}`; export r; \
15000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15001 $(HOST_EXPORTS) \
15002 for flag in $(EXTRA_HOST_FLAGS) ; do \
15003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15004 done; \
15005 echo "Doing html in mmalloc" ; \
15006 (cd $(HOST_SUBDIR)/mmalloc && \
15007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15009 "RANLIB=$${RANLIB}" \
15010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15011 html) \
15012 || exit 1
15014 @endif mmalloc
15016 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
15017 maybe-TAGS-mmalloc:
15018 @if mmalloc
15019 maybe-TAGS-mmalloc: TAGS-mmalloc
15021 TAGS-mmalloc: \
15022 configure-mmalloc
15023 @[ -f ./mmalloc/Makefile ] || exit 0; \
15024 r=`${PWD_COMMAND}`; export r; \
15025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15026 $(HOST_EXPORTS) \
15027 for flag in $(EXTRA_HOST_FLAGS) ; do \
15028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15029 done; \
15030 echo "Doing TAGS in mmalloc" ; \
15031 (cd $(HOST_SUBDIR)/mmalloc && \
15032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15034 "RANLIB=$${RANLIB}" \
15035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15036 TAGS) \
15037 || exit 1
15039 @endif mmalloc
15041 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
15042 maybe-install-info-mmalloc:
15043 @if mmalloc
15044 maybe-install-info-mmalloc: install-info-mmalloc
15046 install-info-mmalloc: \
15047 configure-mmalloc \
15048 info-mmalloc
15049 @[ -f ./mmalloc/Makefile ] || exit 0; \
15050 r=`${PWD_COMMAND}`; export r; \
15051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15052 $(HOST_EXPORTS) \
15053 for flag in $(EXTRA_HOST_FLAGS) ; do \
15054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15055 done; \
15056 echo "Doing install-info in mmalloc" ; \
15057 (cd $(HOST_SUBDIR)/mmalloc && \
15058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15060 "RANLIB=$${RANLIB}" \
15061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15062 install-info) \
15063 || exit 1
15065 @endif mmalloc
15067 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
15068 maybe-installcheck-mmalloc:
15069 @if mmalloc
15070 maybe-installcheck-mmalloc: installcheck-mmalloc
15072 installcheck-mmalloc: \
15073 configure-mmalloc
15074 @[ -f ./mmalloc/Makefile ] || exit 0; \
15075 r=`${PWD_COMMAND}`; export r; \
15076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15077 $(HOST_EXPORTS) \
15078 for flag in $(EXTRA_HOST_FLAGS) ; do \
15079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15080 done; \
15081 echo "Doing installcheck in mmalloc" ; \
15082 (cd $(HOST_SUBDIR)/mmalloc && \
15083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15085 "RANLIB=$${RANLIB}" \
15086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15087 installcheck) \
15088 || exit 1
15090 @endif mmalloc
15092 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
15093 maybe-mostlyclean-mmalloc:
15094 @if mmalloc
15095 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
15097 mostlyclean-mmalloc:
15098 @[ -f ./mmalloc/Makefile ] || exit 0; \
15099 r=`${PWD_COMMAND}`; export r; \
15100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15101 $(HOST_EXPORTS) \
15102 for flag in $(EXTRA_HOST_FLAGS) ; do \
15103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15104 done; \
15105 echo "Doing mostlyclean in mmalloc" ; \
15106 (cd $(HOST_SUBDIR)/mmalloc && \
15107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15109 "RANLIB=$${RANLIB}" \
15110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15111 mostlyclean) \
15112 || exit 1
15114 @endif mmalloc
15116 .PHONY: maybe-clean-mmalloc clean-mmalloc
15117 maybe-clean-mmalloc:
15118 @if mmalloc
15119 maybe-clean-mmalloc: clean-mmalloc
15121 clean-mmalloc:
15122 @[ -f ./mmalloc/Makefile ] || exit 0; \
15123 r=`${PWD_COMMAND}`; export r; \
15124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15125 $(HOST_EXPORTS) \
15126 for flag in $(EXTRA_HOST_FLAGS) ; do \
15127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15128 done; \
15129 echo "Doing clean in mmalloc" ; \
15130 (cd $(HOST_SUBDIR)/mmalloc && \
15131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15133 "RANLIB=$${RANLIB}" \
15134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15135 clean) \
15136 || exit 1
15138 @endif mmalloc
15140 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
15141 maybe-distclean-mmalloc:
15142 @if mmalloc
15143 maybe-distclean-mmalloc: distclean-mmalloc
15145 distclean-mmalloc:
15146 @[ -f ./mmalloc/Makefile ] || exit 0; \
15147 r=`${PWD_COMMAND}`; export r; \
15148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 mmalloc" ; \
15154 (cd $(HOST_SUBDIR)/mmalloc && \
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 mmalloc
15164 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
15165 maybe-maintainer-clean-mmalloc:
15166 @if mmalloc
15167 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
15169 maintainer-clean-mmalloc:
15170 @[ -f ./mmalloc/Makefile ] || exit 0; \
15171 r=`${PWD_COMMAND}`; export r; \
15172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15173 $(HOST_EXPORTS) \
15174 for flag in $(EXTRA_HOST_FLAGS) ; do \
15175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15176 done; \
15177 echo "Doing maintainer-clean in mmalloc" ; \
15178 (cd $(HOST_SUBDIR)/mmalloc && \
15179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15181 "RANLIB=$${RANLIB}" \
15182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15183 maintainer-clean) \
15184 || exit 1
15186 @endif mmalloc
15190 .PHONY: configure-patch maybe-configure-patch
15191 maybe-configure-patch:
15192 @if patch
15193 maybe-configure-patch: configure-patch
15194 configure-patch:
15195 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
15196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
15197 r=`${PWD_COMMAND}`; export r; \
15198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15199 $(HOST_EXPORTS) \
15200 echo Configuring in $(HOST_SUBDIR)/patch; \
15201 cd "$(HOST_SUBDIR)/patch" || exit 1; \
15202 case $(srcdir) in \
15203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15204 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
15205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15206 esac; \
15207 srcdiroption="--srcdir=$${topdir}/patch"; \
15208 libsrcdir="$$s/patch"; \
15209 $(SHELL) $${libsrcdir}/configure \
15210 $(HOST_CONFIGARGS) $${srcdiroption} \
15211 || exit 1
15212 @endif patch
15216 .PHONY: all-patch maybe-all-patch
15217 maybe-all-patch:
15218 @if patch
15219 TARGET-patch=all
15220 maybe-all-patch: all-patch
15221 all-patch: configure-patch
15222 @r=`${PWD_COMMAND}`; export r; \
15223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15224 $(HOST_EXPORTS) \
15225 (cd $(HOST_SUBDIR)/patch && \
15226 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
15227 @endif patch
15230 .PHONY: check-patch maybe-check-patch
15231 maybe-check-patch:
15232 @if patch
15233 maybe-check-patch: check-patch
15235 check-patch:
15236 @r=`${PWD_COMMAND}`; export r; \
15237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15238 $(HOST_EXPORTS) \
15239 (cd $(HOST_SUBDIR)/patch && \
15240 $(MAKE) $(FLAGS_TO_PASS) check)
15242 @endif patch
15244 .PHONY: install-patch maybe-install-patch
15245 maybe-install-patch:
15246 @if patch
15247 maybe-install-patch: install-patch
15249 install-patch: installdirs
15250 @r=`${PWD_COMMAND}`; export r; \
15251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15252 $(HOST_EXPORTS) \
15253 (cd $(HOST_SUBDIR)/patch && \
15254 $(MAKE) $(FLAGS_TO_PASS) install)
15256 @endif patch
15258 # Other targets (info, dvi, etc.)
15260 .PHONY: maybe-info-patch info-patch
15261 maybe-info-patch:
15262 @if patch
15263 maybe-info-patch: info-patch
15265 info-patch: \
15266 configure-patch
15267 @[ -f ./patch/Makefile ] || exit 0; \
15268 r=`${PWD_COMMAND}`; export r; \
15269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15270 $(HOST_EXPORTS) \
15271 for flag in $(EXTRA_HOST_FLAGS) ; do \
15272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15273 done; \
15274 echo "Doing info in patch" ; \
15275 (cd $(HOST_SUBDIR)/patch && \
15276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15278 "RANLIB=$${RANLIB}" \
15279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15280 info) \
15281 || exit 1
15283 @endif patch
15285 .PHONY: maybe-dvi-patch dvi-patch
15286 maybe-dvi-patch:
15287 @if patch
15288 maybe-dvi-patch: dvi-patch
15290 dvi-patch: \
15291 configure-patch
15292 @[ -f ./patch/Makefile ] || exit 0; \
15293 r=`${PWD_COMMAND}`; export r; \
15294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15295 $(HOST_EXPORTS) \
15296 for flag in $(EXTRA_HOST_FLAGS) ; do \
15297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15298 done; \
15299 echo "Doing dvi in patch" ; \
15300 (cd $(HOST_SUBDIR)/patch && \
15301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15303 "RANLIB=$${RANLIB}" \
15304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15305 dvi) \
15306 || exit 1
15308 @endif patch
15310 .PHONY: maybe-html-patch html-patch
15311 maybe-html-patch:
15312 @if patch
15313 maybe-html-patch: html-patch
15315 html-patch: \
15316 configure-patch
15317 @[ -f ./patch/Makefile ] || exit 0; \
15318 r=`${PWD_COMMAND}`; export r; \
15319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15320 $(HOST_EXPORTS) \
15321 for flag in $(EXTRA_HOST_FLAGS) ; do \
15322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15323 done; \
15324 echo "Doing html in patch" ; \
15325 (cd $(HOST_SUBDIR)/patch && \
15326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15328 "RANLIB=$${RANLIB}" \
15329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15330 html) \
15331 || exit 1
15333 @endif patch
15335 .PHONY: maybe-TAGS-patch TAGS-patch
15336 maybe-TAGS-patch:
15337 @if patch
15338 maybe-TAGS-patch: TAGS-patch
15340 TAGS-patch: \
15341 configure-patch
15342 @[ -f ./patch/Makefile ] || exit 0; \
15343 r=`${PWD_COMMAND}`; export r; \
15344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15345 $(HOST_EXPORTS) \
15346 for flag in $(EXTRA_HOST_FLAGS) ; do \
15347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15348 done; \
15349 echo "Doing TAGS in patch" ; \
15350 (cd $(HOST_SUBDIR)/patch && \
15351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15353 "RANLIB=$${RANLIB}" \
15354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15355 TAGS) \
15356 || exit 1
15358 @endif patch
15360 .PHONY: maybe-install-info-patch install-info-patch
15361 maybe-install-info-patch:
15362 @if patch
15363 maybe-install-info-patch: install-info-patch
15365 install-info-patch: \
15366 configure-patch \
15367 info-patch
15368 @[ -f ./patch/Makefile ] || exit 0; \
15369 r=`${PWD_COMMAND}`; export r; \
15370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15371 $(HOST_EXPORTS) \
15372 for flag in $(EXTRA_HOST_FLAGS) ; do \
15373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15374 done; \
15375 echo "Doing install-info in patch" ; \
15376 (cd $(HOST_SUBDIR)/patch && \
15377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15379 "RANLIB=$${RANLIB}" \
15380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15381 install-info) \
15382 || exit 1
15384 @endif patch
15386 .PHONY: maybe-installcheck-patch installcheck-patch
15387 maybe-installcheck-patch:
15388 @if patch
15389 maybe-installcheck-patch: installcheck-patch
15391 installcheck-patch: \
15392 configure-patch
15393 @[ -f ./patch/Makefile ] || exit 0; \
15394 r=`${PWD_COMMAND}`; export r; \
15395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15396 $(HOST_EXPORTS) \
15397 for flag in $(EXTRA_HOST_FLAGS) ; do \
15398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15399 done; \
15400 echo "Doing installcheck in patch" ; \
15401 (cd $(HOST_SUBDIR)/patch && \
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 patch
15411 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
15412 maybe-mostlyclean-patch:
15413 @if patch
15414 maybe-mostlyclean-patch: mostlyclean-patch
15416 mostlyclean-patch:
15417 @[ -f ./patch/Makefile ] || exit 0; \
15418 r=`${PWD_COMMAND}`; export r; \
15419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15420 $(HOST_EXPORTS) \
15421 for flag in $(EXTRA_HOST_FLAGS) ; do \
15422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15423 done; \
15424 echo "Doing mostlyclean in patch" ; \
15425 (cd $(HOST_SUBDIR)/patch && \
15426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15428 "RANLIB=$${RANLIB}" \
15429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15430 mostlyclean) \
15431 || exit 1
15433 @endif patch
15435 .PHONY: maybe-clean-patch clean-patch
15436 maybe-clean-patch:
15437 @if patch
15438 maybe-clean-patch: clean-patch
15440 clean-patch:
15441 @[ -f ./patch/Makefile ] || exit 0; \
15442 r=`${PWD_COMMAND}`; export r; \
15443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15444 $(HOST_EXPORTS) \
15445 for flag in $(EXTRA_HOST_FLAGS) ; do \
15446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15447 done; \
15448 echo "Doing clean in patch" ; \
15449 (cd $(HOST_SUBDIR)/patch && \
15450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15452 "RANLIB=$${RANLIB}" \
15453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15454 clean) \
15455 || exit 1
15457 @endif patch
15459 .PHONY: maybe-distclean-patch distclean-patch
15460 maybe-distclean-patch:
15461 @if patch
15462 maybe-distclean-patch: distclean-patch
15464 distclean-patch:
15465 @[ -f ./patch/Makefile ] || exit 0; \
15466 r=`${PWD_COMMAND}`; export r; \
15467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15468 $(HOST_EXPORTS) \
15469 for flag in $(EXTRA_HOST_FLAGS) ; do \
15470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15471 done; \
15472 echo "Doing distclean in patch" ; \
15473 (cd $(HOST_SUBDIR)/patch && \
15474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15476 "RANLIB=$${RANLIB}" \
15477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15478 distclean) \
15479 || exit 1
15481 @endif patch
15483 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
15484 maybe-maintainer-clean-patch:
15485 @if patch
15486 maybe-maintainer-clean-patch: maintainer-clean-patch
15488 maintainer-clean-patch:
15489 @[ -f ./patch/Makefile ] || exit 0; \
15490 r=`${PWD_COMMAND}`; export r; \
15491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15492 $(HOST_EXPORTS) \
15493 for flag in $(EXTRA_HOST_FLAGS) ; do \
15494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15495 done; \
15496 echo "Doing maintainer-clean in patch" ; \
15497 (cd $(HOST_SUBDIR)/patch && \
15498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15500 "RANLIB=$${RANLIB}" \
15501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15502 maintainer-clean) \
15503 || exit 1
15505 @endif patch
15509 .PHONY: configure-perl maybe-configure-perl
15510 maybe-configure-perl:
15511 @if perl
15512 maybe-configure-perl: configure-perl
15513 configure-perl:
15514 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
15515 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
15516 r=`${PWD_COMMAND}`; export r; \
15517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15518 $(HOST_EXPORTS) \
15519 echo Configuring in $(HOST_SUBDIR)/perl; \
15520 cd "$(HOST_SUBDIR)/perl" || exit 1; \
15521 case $(srcdir) in \
15522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15523 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
15524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15525 esac; \
15526 srcdiroption="--srcdir=$${topdir}/perl"; \
15527 libsrcdir="$$s/perl"; \
15528 $(SHELL) $${libsrcdir}/configure \
15529 $(HOST_CONFIGARGS) $${srcdiroption} \
15530 || exit 1
15531 @endif perl
15535 .PHONY: all-perl maybe-all-perl
15536 maybe-all-perl:
15537 @if perl
15538 TARGET-perl=all
15539 maybe-all-perl: all-perl
15540 all-perl: configure-perl
15541 @r=`${PWD_COMMAND}`; export r; \
15542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15543 $(HOST_EXPORTS) \
15544 (cd $(HOST_SUBDIR)/perl && \
15545 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
15546 @endif perl
15549 .PHONY: check-perl maybe-check-perl
15550 maybe-check-perl:
15551 @if perl
15552 maybe-check-perl: check-perl
15554 check-perl:
15555 @r=`${PWD_COMMAND}`; export r; \
15556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15557 $(HOST_EXPORTS) \
15558 (cd $(HOST_SUBDIR)/perl && \
15559 $(MAKE) $(FLAGS_TO_PASS) check)
15561 @endif perl
15563 .PHONY: install-perl maybe-install-perl
15564 maybe-install-perl:
15565 @if perl
15566 maybe-install-perl: install-perl
15568 install-perl: installdirs
15569 @r=`${PWD_COMMAND}`; export r; \
15570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15571 $(HOST_EXPORTS) \
15572 (cd $(HOST_SUBDIR)/perl && \
15573 $(MAKE) $(FLAGS_TO_PASS) install)
15575 @endif perl
15577 # Other targets (info, dvi, etc.)
15579 .PHONY: maybe-info-perl info-perl
15580 maybe-info-perl:
15581 @if perl
15582 maybe-info-perl: info-perl
15584 info-perl: \
15585 configure-perl
15586 @[ -f ./perl/Makefile ] || exit 0; \
15587 r=`${PWD_COMMAND}`; export r; \
15588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15589 $(HOST_EXPORTS) \
15590 for flag in $(EXTRA_HOST_FLAGS) ; do \
15591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15592 done; \
15593 echo "Doing info in perl" ; \
15594 (cd $(HOST_SUBDIR)/perl && \
15595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15597 "RANLIB=$${RANLIB}" \
15598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15599 info) \
15600 || exit 1
15602 @endif perl
15604 .PHONY: maybe-dvi-perl dvi-perl
15605 maybe-dvi-perl:
15606 @if perl
15607 maybe-dvi-perl: dvi-perl
15609 dvi-perl: \
15610 configure-perl
15611 @[ -f ./perl/Makefile ] || exit 0; \
15612 r=`${PWD_COMMAND}`; export r; \
15613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15614 $(HOST_EXPORTS) \
15615 for flag in $(EXTRA_HOST_FLAGS) ; do \
15616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15617 done; \
15618 echo "Doing dvi in perl" ; \
15619 (cd $(HOST_SUBDIR)/perl && \
15620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15622 "RANLIB=$${RANLIB}" \
15623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15624 dvi) \
15625 || exit 1
15627 @endif perl
15629 .PHONY: maybe-html-perl html-perl
15630 maybe-html-perl:
15631 @if perl
15632 maybe-html-perl: html-perl
15634 html-perl: \
15635 configure-perl
15636 @[ -f ./perl/Makefile ] || exit 0; \
15637 r=`${PWD_COMMAND}`; export r; \
15638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15639 $(HOST_EXPORTS) \
15640 for flag in $(EXTRA_HOST_FLAGS) ; do \
15641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15642 done; \
15643 echo "Doing html in perl" ; \
15644 (cd $(HOST_SUBDIR)/perl && \
15645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15647 "RANLIB=$${RANLIB}" \
15648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15649 html) \
15650 || exit 1
15652 @endif perl
15654 .PHONY: maybe-TAGS-perl TAGS-perl
15655 maybe-TAGS-perl:
15656 @if perl
15657 maybe-TAGS-perl: TAGS-perl
15659 TAGS-perl: \
15660 configure-perl
15661 @[ -f ./perl/Makefile ] || exit 0; \
15662 r=`${PWD_COMMAND}`; export r; \
15663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15664 $(HOST_EXPORTS) \
15665 for flag in $(EXTRA_HOST_FLAGS) ; do \
15666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15667 done; \
15668 echo "Doing TAGS in perl" ; \
15669 (cd $(HOST_SUBDIR)/perl && \
15670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15672 "RANLIB=$${RANLIB}" \
15673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15674 TAGS) \
15675 || exit 1
15677 @endif perl
15679 .PHONY: maybe-install-info-perl install-info-perl
15680 maybe-install-info-perl:
15681 @if perl
15682 maybe-install-info-perl: install-info-perl
15684 install-info-perl: \
15685 configure-perl \
15686 info-perl
15687 @[ -f ./perl/Makefile ] || exit 0; \
15688 r=`${PWD_COMMAND}`; export r; \
15689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15690 $(HOST_EXPORTS) \
15691 for flag in $(EXTRA_HOST_FLAGS) ; do \
15692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15693 done; \
15694 echo "Doing install-info in perl" ; \
15695 (cd $(HOST_SUBDIR)/perl && \
15696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15698 "RANLIB=$${RANLIB}" \
15699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15700 install-info) \
15701 || exit 1
15703 @endif perl
15705 .PHONY: maybe-installcheck-perl installcheck-perl
15706 maybe-installcheck-perl:
15707 @if perl
15708 maybe-installcheck-perl: installcheck-perl
15710 installcheck-perl: \
15711 configure-perl
15712 @[ -f ./perl/Makefile ] || exit 0; \
15713 r=`${PWD_COMMAND}`; export r; \
15714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15715 $(HOST_EXPORTS) \
15716 for flag in $(EXTRA_HOST_FLAGS) ; do \
15717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15718 done; \
15719 echo "Doing installcheck in perl" ; \
15720 (cd $(HOST_SUBDIR)/perl && \
15721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15723 "RANLIB=$${RANLIB}" \
15724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15725 installcheck) \
15726 || exit 1
15728 @endif perl
15730 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
15731 maybe-mostlyclean-perl:
15732 @if perl
15733 maybe-mostlyclean-perl: mostlyclean-perl
15735 mostlyclean-perl:
15736 @[ -f ./perl/Makefile ] || exit 0; \
15737 r=`${PWD_COMMAND}`; export r; \
15738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15739 $(HOST_EXPORTS) \
15740 for flag in $(EXTRA_HOST_FLAGS) ; do \
15741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15742 done; \
15743 echo "Doing mostlyclean in perl" ; \
15744 (cd $(HOST_SUBDIR)/perl && \
15745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15747 "RANLIB=$${RANLIB}" \
15748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15749 mostlyclean) \
15750 || exit 1
15752 @endif perl
15754 .PHONY: maybe-clean-perl clean-perl
15755 maybe-clean-perl:
15756 @if perl
15757 maybe-clean-perl: clean-perl
15759 clean-perl:
15760 @[ -f ./perl/Makefile ] || exit 0; \
15761 r=`${PWD_COMMAND}`; export r; \
15762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15763 $(HOST_EXPORTS) \
15764 for flag in $(EXTRA_HOST_FLAGS) ; do \
15765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15766 done; \
15767 echo "Doing clean in perl" ; \
15768 (cd $(HOST_SUBDIR)/perl && \
15769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15771 "RANLIB=$${RANLIB}" \
15772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15773 clean) \
15774 || exit 1
15776 @endif perl
15778 .PHONY: maybe-distclean-perl distclean-perl
15779 maybe-distclean-perl:
15780 @if perl
15781 maybe-distclean-perl: distclean-perl
15783 distclean-perl:
15784 @[ -f ./perl/Makefile ] || exit 0; \
15785 r=`${PWD_COMMAND}`; export r; \
15786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15787 $(HOST_EXPORTS) \
15788 for flag in $(EXTRA_HOST_FLAGS) ; do \
15789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15790 done; \
15791 echo "Doing distclean in perl" ; \
15792 (cd $(HOST_SUBDIR)/perl && \
15793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15795 "RANLIB=$${RANLIB}" \
15796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15797 distclean) \
15798 || exit 1
15800 @endif perl
15802 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
15803 maybe-maintainer-clean-perl:
15804 @if perl
15805 maybe-maintainer-clean-perl: maintainer-clean-perl
15807 maintainer-clean-perl:
15808 @[ -f ./perl/Makefile ] || exit 0; \
15809 r=`${PWD_COMMAND}`; export r; \
15810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15811 $(HOST_EXPORTS) \
15812 for flag in $(EXTRA_HOST_FLAGS) ; do \
15813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15814 done; \
15815 echo "Doing maintainer-clean in perl" ; \
15816 (cd $(HOST_SUBDIR)/perl && \
15817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15819 "RANLIB=$${RANLIB}" \
15820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15821 maintainer-clean) \
15822 || exit 1
15824 @endif perl
15828 .PHONY: configure-prms maybe-configure-prms
15829 maybe-configure-prms:
15830 @if prms
15831 maybe-configure-prms: configure-prms
15832 configure-prms:
15833 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
15834 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
15835 r=`${PWD_COMMAND}`; export r; \
15836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15837 $(HOST_EXPORTS) \
15838 echo Configuring in $(HOST_SUBDIR)/prms; \
15839 cd "$(HOST_SUBDIR)/prms" || exit 1; \
15840 case $(srcdir) in \
15841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15842 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
15843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15844 esac; \
15845 srcdiroption="--srcdir=$${topdir}/prms"; \
15846 libsrcdir="$$s/prms"; \
15847 $(SHELL) $${libsrcdir}/configure \
15848 $(HOST_CONFIGARGS) $${srcdiroption} \
15849 || exit 1
15850 @endif prms
15854 .PHONY: all-prms maybe-all-prms
15855 maybe-all-prms:
15856 @if prms
15857 TARGET-prms=all
15858 maybe-all-prms: all-prms
15859 all-prms: configure-prms
15860 @r=`${PWD_COMMAND}`; export r; \
15861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15862 $(HOST_EXPORTS) \
15863 (cd $(HOST_SUBDIR)/prms && \
15864 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
15865 @endif prms
15868 .PHONY: check-prms maybe-check-prms
15869 maybe-check-prms:
15870 @if prms
15871 maybe-check-prms: check-prms
15873 check-prms:
15874 @r=`${PWD_COMMAND}`; export r; \
15875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15876 $(HOST_EXPORTS) \
15877 (cd $(HOST_SUBDIR)/prms && \
15878 $(MAKE) $(FLAGS_TO_PASS) check)
15880 @endif prms
15882 .PHONY: install-prms maybe-install-prms
15883 maybe-install-prms:
15884 @if prms
15885 maybe-install-prms: install-prms
15887 install-prms: installdirs
15888 @r=`${PWD_COMMAND}`; export r; \
15889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15890 $(HOST_EXPORTS) \
15891 (cd $(HOST_SUBDIR)/prms && \
15892 $(MAKE) $(FLAGS_TO_PASS) install)
15894 @endif prms
15896 # Other targets (info, dvi, etc.)
15898 .PHONY: maybe-info-prms info-prms
15899 maybe-info-prms:
15900 @if prms
15901 maybe-info-prms: info-prms
15903 info-prms: \
15904 configure-prms
15905 @[ -f ./prms/Makefile ] || exit 0; \
15906 r=`${PWD_COMMAND}`; export r; \
15907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15908 $(HOST_EXPORTS) \
15909 for flag in $(EXTRA_HOST_FLAGS) ; do \
15910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15911 done; \
15912 echo "Doing info in prms" ; \
15913 (cd $(HOST_SUBDIR)/prms && \
15914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15916 "RANLIB=$${RANLIB}" \
15917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15918 info) \
15919 || exit 1
15921 @endif prms
15923 .PHONY: maybe-dvi-prms dvi-prms
15924 maybe-dvi-prms:
15925 @if prms
15926 maybe-dvi-prms: dvi-prms
15928 dvi-prms: \
15929 configure-prms
15930 @[ -f ./prms/Makefile ] || exit 0; \
15931 r=`${PWD_COMMAND}`; export r; \
15932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15933 $(HOST_EXPORTS) \
15934 for flag in $(EXTRA_HOST_FLAGS) ; do \
15935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15936 done; \
15937 echo "Doing dvi in prms" ; \
15938 (cd $(HOST_SUBDIR)/prms && \
15939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15941 "RANLIB=$${RANLIB}" \
15942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15943 dvi) \
15944 || exit 1
15946 @endif prms
15948 .PHONY: maybe-html-prms html-prms
15949 maybe-html-prms:
15950 @if prms
15951 maybe-html-prms: html-prms
15953 html-prms: \
15954 configure-prms
15955 @[ -f ./prms/Makefile ] || exit 0; \
15956 r=`${PWD_COMMAND}`; export r; \
15957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15958 $(HOST_EXPORTS) \
15959 for flag in $(EXTRA_HOST_FLAGS) ; do \
15960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15961 done; \
15962 echo "Doing html in prms" ; \
15963 (cd $(HOST_SUBDIR)/prms && \
15964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15966 "RANLIB=$${RANLIB}" \
15967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15968 html) \
15969 || exit 1
15971 @endif prms
15973 .PHONY: maybe-TAGS-prms TAGS-prms
15974 maybe-TAGS-prms:
15975 @if prms
15976 maybe-TAGS-prms: TAGS-prms
15978 TAGS-prms: \
15979 configure-prms
15980 @[ -f ./prms/Makefile ] || exit 0; \
15981 r=`${PWD_COMMAND}`; export r; \
15982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15983 $(HOST_EXPORTS) \
15984 for flag in $(EXTRA_HOST_FLAGS) ; do \
15985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15986 done; \
15987 echo "Doing TAGS in prms" ; \
15988 (cd $(HOST_SUBDIR)/prms && \
15989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15991 "RANLIB=$${RANLIB}" \
15992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15993 TAGS) \
15994 || exit 1
15996 @endif prms
15998 .PHONY: maybe-install-info-prms install-info-prms
15999 maybe-install-info-prms:
16000 @if prms
16001 maybe-install-info-prms: install-info-prms
16003 install-info-prms: \
16004 configure-prms \
16005 info-prms
16006 @[ -f ./prms/Makefile ] || exit 0; \
16007 r=`${PWD_COMMAND}`; export r; \
16008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16009 $(HOST_EXPORTS) \
16010 for flag in $(EXTRA_HOST_FLAGS) ; do \
16011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16012 done; \
16013 echo "Doing install-info in prms" ; \
16014 (cd $(HOST_SUBDIR)/prms && \
16015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16017 "RANLIB=$${RANLIB}" \
16018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16019 install-info) \
16020 || exit 1
16022 @endif prms
16024 .PHONY: maybe-installcheck-prms installcheck-prms
16025 maybe-installcheck-prms:
16026 @if prms
16027 maybe-installcheck-prms: installcheck-prms
16029 installcheck-prms: \
16030 configure-prms
16031 @[ -f ./prms/Makefile ] || exit 0; \
16032 r=`${PWD_COMMAND}`; export r; \
16033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16034 $(HOST_EXPORTS) \
16035 for flag in $(EXTRA_HOST_FLAGS) ; do \
16036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16037 done; \
16038 echo "Doing installcheck in prms" ; \
16039 (cd $(HOST_SUBDIR)/prms && \
16040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16042 "RANLIB=$${RANLIB}" \
16043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16044 installcheck) \
16045 || exit 1
16047 @endif prms
16049 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
16050 maybe-mostlyclean-prms:
16051 @if prms
16052 maybe-mostlyclean-prms: mostlyclean-prms
16054 mostlyclean-prms:
16055 @[ -f ./prms/Makefile ] || exit 0; \
16056 r=`${PWD_COMMAND}`; export r; \
16057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16058 $(HOST_EXPORTS) \
16059 for flag in $(EXTRA_HOST_FLAGS) ; do \
16060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16061 done; \
16062 echo "Doing mostlyclean in prms" ; \
16063 (cd $(HOST_SUBDIR)/prms && \
16064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16066 "RANLIB=$${RANLIB}" \
16067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16068 mostlyclean) \
16069 || exit 1
16071 @endif prms
16073 .PHONY: maybe-clean-prms clean-prms
16074 maybe-clean-prms:
16075 @if prms
16076 maybe-clean-prms: clean-prms
16078 clean-prms:
16079 @[ -f ./prms/Makefile ] || exit 0; \
16080 r=`${PWD_COMMAND}`; export r; \
16081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16082 $(HOST_EXPORTS) \
16083 for flag in $(EXTRA_HOST_FLAGS) ; do \
16084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16085 done; \
16086 echo "Doing clean in prms" ; \
16087 (cd $(HOST_SUBDIR)/prms && \
16088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16090 "RANLIB=$${RANLIB}" \
16091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16092 clean) \
16093 || exit 1
16095 @endif prms
16097 .PHONY: maybe-distclean-prms distclean-prms
16098 maybe-distclean-prms:
16099 @if prms
16100 maybe-distclean-prms: distclean-prms
16102 distclean-prms:
16103 @[ -f ./prms/Makefile ] || exit 0; \
16104 r=`${PWD_COMMAND}`; export r; \
16105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16106 $(HOST_EXPORTS) \
16107 for flag in $(EXTRA_HOST_FLAGS) ; do \
16108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16109 done; \
16110 echo "Doing distclean in prms" ; \
16111 (cd $(HOST_SUBDIR)/prms && \
16112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16114 "RANLIB=$${RANLIB}" \
16115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16116 distclean) \
16117 || exit 1
16119 @endif prms
16121 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16122 maybe-maintainer-clean-prms:
16123 @if prms
16124 maybe-maintainer-clean-prms: maintainer-clean-prms
16126 maintainer-clean-prms:
16127 @[ -f ./prms/Makefile ] || exit 0; \
16128 r=`${PWD_COMMAND}`; export r; \
16129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16130 $(HOST_EXPORTS) \
16131 for flag in $(EXTRA_HOST_FLAGS) ; do \
16132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16133 done; \
16134 echo "Doing maintainer-clean in prms" ; \
16135 (cd $(HOST_SUBDIR)/prms && \
16136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16138 "RANLIB=$${RANLIB}" \
16139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16140 maintainer-clean) \
16141 || exit 1
16143 @endif prms
16147 .PHONY: configure-rcs maybe-configure-rcs
16148 maybe-configure-rcs:
16149 @if rcs
16150 maybe-configure-rcs: configure-rcs
16151 configure-rcs:
16152 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
16153 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
16154 r=`${PWD_COMMAND}`; export r; \
16155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16156 $(HOST_EXPORTS) \
16157 echo Configuring in $(HOST_SUBDIR)/rcs; \
16158 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
16159 case $(srcdir) in \
16160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16161 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
16162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16163 esac; \
16164 srcdiroption="--srcdir=$${topdir}/rcs"; \
16165 libsrcdir="$$s/rcs"; \
16166 $(SHELL) $${libsrcdir}/configure \
16167 $(HOST_CONFIGARGS) $${srcdiroption} \
16168 || exit 1
16169 @endif rcs
16173 .PHONY: all-rcs maybe-all-rcs
16174 maybe-all-rcs:
16175 @if rcs
16176 TARGET-rcs=all
16177 maybe-all-rcs: all-rcs
16178 all-rcs: configure-rcs
16179 @r=`${PWD_COMMAND}`; export r; \
16180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16181 $(HOST_EXPORTS) \
16182 (cd $(HOST_SUBDIR)/rcs && \
16183 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
16184 @endif rcs
16187 .PHONY: check-rcs maybe-check-rcs
16188 maybe-check-rcs:
16189 @if rcs
16190 maybe-check-rcs: check-rcs
16192 check-rcs:
16193 @r=`${PWD_COMMAND}`; export r; \
16194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16195 $(HOST_EXPORTS) \
16196 (cd $(HOST_SUBDIR)/rcs && \
16197 $(MAKE) $(FLAGS_TO_PASS) check)
16199 @endif rcs
16201 .PHONY: install-rcs maybe-install-rcs
16202 maybe-install-rcs:
16203 @if rcs
16204 maybe-install-rcs: install-rcs
16206 install-rcs: installdirs
16207 @r=`${PWD_COMMAND}`; export r; \
16208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16209 $(HOST_EXPORTS) \
16210 (cd $(HOST_SUBDIR)/rcs && \
16211 $(MAKE) $(FLAGS_TO_PASS) install)
16213 @endif rcs
16215 # Other targets (info, dvi, etc.)
16217 .PHONY: maybe-info-rcs info-rcs
16218 maybe-info-rcs:
16219 @if rcs
16220 maybe-info-rcs: info-rcs
16222 info-rcs: \
16223 configure-rcs
16224 @[ -f ./rcs/Makefile ] || exit 0; \
16225 r=`${PWD_COMMAND}`; export r; \
16226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16227 $(HOST_EXPORTS) \
16228 for flag in $(EXTRA_HOST_FLAGS) ; do \
16229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16230 done; \
16231 echo "Doing info in rcs" ; \
16232 (cd $(HOST_SUBDIR)/rcs && \
16233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16235 "RANLIB=$${RANLIB}" \
16236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16237 info) \
16238 || exit 1
16240 @endif rcs
16242 .PHONY: maybe-dvi-rcs dvi-rcs
16243 maybe-dvi-rcs:
16244 @if rcs
16245 maybe-dvi-rcs: dvi-rcs
16247 dvi-rcs: \
16248 configure-rcs
16249 @[ -f ./rcs/Makefile ] || exit 0; \
16250 r=`${PWD_COMMAND}`; export r; \
16251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16252 $(HOST_EXPORTS) \
16253 for flag in $(EXTRA_HOST_FLAGS) ; do \
16254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16255 done; \
16256 echo "Doing dvi in rcs" ; \
16257 (cd $(HOST_SUBDIR)/rcs && \
16258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16260 "RANLIB=$${RANLIB}" \
16261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16262 dvi) \
16263 || exit 1
16265 @endif rcs
16267 .PHONY: maybe-html-rcs html-rcs
16268 maybe-html-rcs:
16269 @if rcs
16270 maybe-html-rcs: html-rcs
16272 html-rcs: \
16273 configure-rcs
16274 @[ -f ./rcs/Makefile ] || exit 0; \
16275 r=`${PWD_COMMAND}`; export r; \
16276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16277 $(HOST_EXPORTS) \
16278 for flag in $(EXTRA_HOST_FLAGS) ; do \
16279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16280 done; \
16281 echo "Doing html in rcs" ; \
16282 (cd $(HOST_SUBDIR)/rcs && \
16283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16285 "RANLIB=$${RANLIB}" \
16286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16287 html) \
16288 || exit 1
16290 @endif rcs
16292 .PHONY: maybe-TAGS-rcs TAGS-rcs
16293 maybe-TAGS-rcs:
16294 @if rcs
16295 maybe-TAGS-rcs: TAGS-rcs
16297 TAGS-rcs: \
16298 configure-rcs
16299 @[ -f ./rcs/Makefile ] || exit 0; \
16300 r=`${PWD_COMMAND}`; export r; \
16301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16302 $(HOST_EXPORTS) \
16303 for flag in $(EXTRA_HOST_FLAGS) ; do \
16304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16305 done; \
16306 echo "Doing TAGS in rcs" ; \
16307 (cd $(HOST_SUBDIR)/rcs && \
16308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16310 "RANLIB=$${RANLIB}" \
16311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16312 TAGS) \
16313 || exit 1
16315 @endif rcs
16317 .PHONY: maybe-install-info-rcs install-info-rcs
16318 maybe-install-info-rcs:
16319 @if rcs
16320 maybe-install-info-rcs: install-info-rcs
16322 install-info-rcs: \
16323 configure-rcs \
16324 info-rcs
16325 @[ -f ./rcs/Makefile ] || exit 0; \
16326 r=`${PWD_COMMAND}`; export r; \
16327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16328 $(HOST_EXPORTS) \
16329 for flag in $(EXTRA_HOST_FLAGS) ; do \
16330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16331 done; \
16332 echo "Doing install-info in rcs" ; \
16333 (cd $(HOST_SUBDIR)/rcs && \
16334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16336 "RANLIB=$${RANLIB}" \
16337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16338 install-info) \
16339 || exit 1
16341 @endif rcs
16343 .PHONY: maybe-installcheck-rcs installcheck-rcs
16344 maybe-installcheck-rcs:
16345 @if rcs
16346 maybe-installcheck-rcs: installcheck-rcs
16348 installcheck-rcs: \
16349 configure-rcs
16350 @[ -f ./rcs/Makefile ] || exit 0; \
16351 r=`${PWD_COMMAND}`; export r; \
16352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16353 $(HOST_EXPORTS) \
16354 for flag in $(EXTRA_HOST_FLAGS) ; do \
16355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16356 done; \
16357 echo "Doing installcheck in rcs" ; \
16358 (cd $(HOST_SUBDIR)/rcs && \
16359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16361 "RANLIB=$${RANLIB}" \
16362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16363 installcheck) \
16364 || exit 1
16366 @endif rcs
16368 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
16369 maybe-mostlyclean-rcs:
16370 @if rcs
16371 maybe-mostlyclean-rcs: mostlyclean-rcs
16373 mostlyclean-rcs:
16374 @[ -f ./rcs/Makefile ] || exit 0; \
16375 r=`${PWD_COMMAND}`; export r; \
16376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16377 $(HOST_EXPORTS) \
16378 for flag in $(EXTRA_HOST_FLAGS) ; do \
16379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16380 done; \
16381 echo "Doing mostlyclean in rcs" ; \
16382 (cd $(HOST_SUBDIR)/rcs && \
16383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16385 "RANLIB=$${RANLIB}" \
16386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16387 mostlyclean) \
16388 || exit 1
16390 @endif rcs
16392 .PHONY: maybe-clean-rcs clean-rcs
16393 maybe-clean-rcs:
16394 @if rcs
16395 maybe-clean-rcs: clean-rcs
16397 clean-rcs:
16398 @[ -f ./rcs/Makefile ] || exit 0; \
16399 r=`${PWD_COMMAND}`; export r; \
16400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16401 $(HOST_EXPORTS) \
16402 for flag in $(EXTRA_HOST_FLAGS) ; do \
16403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16404 done; \
16405 echo "Doing clean in rcs" ; \
16406 (cd $(HOST_SUBDIR)/rcs && \
16407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16409 "RANLIB=$${RANLIB}" \
16410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16411 clean) \
16412 || exit 1
16414 @endif rcs
16416 .PHONY: maybe-distclean-rcs distclean-rcs
16417 maybe-distclean-rcs:
16418 @if rcs
16419 maybe-distclean-rcs: distclean-rcs
16421 distclean-rcs:
16422 @[ -f ./rcs/Makefile ] || exit 0; \
16423 r=`${PWD_COMMAND}`; export r; \
16424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16425 $(HOST_EXPORTS) \
16426 for flag in $(EXTRA_HOST_FLAGS) ; do \
16427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16428 done; \
16429 echo "Doing distclean in rcs" ; \
16430 (cd $(HOST_SUBDIR)/rcs && \
16431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16433 "RANLIB=$${RANLIB}" \
16434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16435 distclean) \
16436 || exit 1
16438 @endif rcs
16440 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
16441 maybe-maintainer-clean-rcs:
16442 @if rcs
16443 maybe-maintainer-clean-rcs: maintainer-clean-rcs
16445 maintainer-clean-rcs:
16446 @[ -f ./rcs/Makefile ] || exit 0; \
16447 r=`${PWD_COMMAND}`; export r; \
16448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16449 $(HOST_EXPORTS) \
16450 for flag in $(EXTRA_HOST_FLAGS) ; do \
16451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16452 done; \
16453 echo "Doing maintainer-clean in rcs" ; \
16454 (cd $(HOST_SUBDIR)/rcs && \
16455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16457 "RANLIB=$${RANLIB}" \
16458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16459 maintainer-clean) \
16460 || exit 1
16462 @endif rcs
16466 .PHONY: configure-readline maybe-configure-readline
16467 maybe-configure-readline:
16468 @if readline
16469 maybe-configure-readline: configure-readline
16470 configure-readline:
16471 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
16472 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
16473 r=`${PWD_COMMAND}`; export r; \
16474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16475 $(HOST_EXPORTS) \
16476 echo Configuring in $(HOST_SUBDIR)/readline; \
16477 cd "$(HOST_SUBDIR)/readline" || exit 1; \
16478 case $(srcdir) in \
16479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16480 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
16481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16482 esac; \
16483 srcdiroption="--srcdir=$${topdir}/readline"; \
16484 libsrcdir="$$s/readline"; \
16485 $(SHELL) $${libsrcdir}/configure \
16486 $(HOST_CONFIGARGS) $${srcdiroption} \
16487 || exit 1
16488 @endif readline
16492 .PHONY: all-readline maybe-all-readline
16493 maybe-all-readline:
16494 @if readline
16495 TARGET-readline=all
16496 maybe-all-readline: all-readline
16497 all-readline: configure-readline
16498 @r=`${PWD_COMMAND}`; export r; \
16499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16500 $(HOST_EXPORTS) \
16501 (cd $(HOST_SUBDIR)/readline && \
16502 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
16503 @endif readline
16506 .PHONY: check-readline maybe-check-readline
16507 maybe-check-readline:
16508 @if readline
16509 maybe-check-readline: check-readline
16511 check-readline:
16512 @r=`${PWD_COMMAND}`; export r; \
16513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16514 $(HOST_EXPORTS) \
16515 (cd $(HOST_SUBDIR)/readline && \
16516 $(MAKE) $(FLAGS_TO_PASS) check)
16518 @endif readline
16520 .PHONY: install-readline maybe-install-readline
16521 maybe-install-readline:
16522 @if readline
16523 maybe-install-readline: install-readline
16525 install-readline: installdirs
16526 @r=`${PWD_COMMAND}`; export r; \
16527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16528 $(HOST_EXPORTS) \
16529 (cd $(HOST_SUBDIR)/readline && \
16530 $(MAKE) $(FLAGS_TO_PASS) install)
16532 @endif readline
16534 # Other targets (info, dvi, etc.)
16536 .PHONY: maybe-info-readline info-readline
16537 maybe-info-readline:
16538 @if readline
16539 maybe-info-readline: info-readline
16541 info-readline: \
16542 configure-readline
16543 @[ -f ./readline/Makefile ] || exit 0; \
16544 r=`${PWD_COMMAND}`; export r; \
16545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16546 $(HOST_EXPORTS) \
16547 for flag in $(EXTRA_HOST_FLAGS) ; do \
16548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16549 done; \
16550 echo "Doing info in readline" ; \
16551 (cd $(HOST_SUBDIR)/readline && \
16552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16554 "RANLIB=$${RANLIB}" \
16555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16556 info) \
16557 || exit 1
16559 @endif readline
16561 .PHONY: maybe-dvi-readline dvi-readline
16562 maybe-dvi-readline:
16563 @if readline
16564 maybe-dvi-readline: dvi-readline
16566 dvi-readline: \
16567 configure-readline
16568 @[ -f ./readline/Makefile ] || exit 0; \
16569 r=`${PWD_COMMAND}`; export r; \
16570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16571 $(HOST_EXPORTS) \
16572 for flag in $(EXTRA_HOST_FLAGS) ; do \
16573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16574 done; \
16575 echo "Doing dvi in readline" ; \
16576 (cd $(HOST_SUBDIR)/readline && \
16577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16579 "RANLIB=$${RANLIB}" \
16580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16581 dvi) \
16582 || exit 1
16584 @endif readline
16586 .PHONY: maybe-html-readline html-readline
16587 maybe-html-readline:
16588 @if readline
16589 maybe-html-readline: html-readline
16591 html-readline: \
16592 configure-readline
16593 @[ -f ./readline/Makefile ] || exit 0; \
16594 r=`${PWD_COMMAND}`; export r; \
16595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16596 $(HOST_EXPORTS) \
16597 for flag in $(EXTRA_HOST_FLAGS) ; do \
16598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16599 done; \
16600 echo "Doing html in readline" ; \
16601 (cd $(HOST_SUBDIR)/readline && \
16602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16604 "RANLIB=$${RANLIB}" \
16605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16606 html) \
16607 || exit 1
16609 @endif readline
16611 .PHONY: maybe-TAGS-readline TAGS-readline
16612 maybe-TAGS-readline:
16613 @if readline
16614 maybe-TAGS-readline: TAGS-readline
16616 TAGS-readline: \
16617 configure-readline
16618 @[ -f ./readline/Makefile ] || exit 0; \
16619 r=`${PWD_COMMAND}`; export r; \
16620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16621 $(HOST_EXPORTS) \
16622 for flag in $(EXTRA_HOST_FLAGS) ; do \
16623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16624 done; \
16625 echo "Doing TAGS in readline" ; \
16626 (cd $(HOST_SUBDIR)/readline && \
16627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16629 "RANLIB=$${RANLIB}" \
16630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16631 TAGS) \
16632 || exit 1
16634 @endif readline
16636 .PHONY: maybe-install-info-readline install-info-readline
16637 maybe-install-info-readline:
16638 @if readline
16639 maybe-install-info-readline: install-info-readline
16641 install-info-readline: \
16642 configure-readline \
16643 info-readline
16644 @[ -f ./readline/Makefile ] || exit 0; \
16645 r=`${PWD_COMMAND}`; export r; \
16646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16647 $(HOST_EXPORTS) \
16648 for flag in $(EXTRA_HOST_FLAGS) ; do \
16649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16650 done; \
16651 echo "Doing install-info in readline" ; \
16652 (cd $(HOST_SUBDIR)/readline && \
16653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16655 "RANLIB=$${RANLIB}" \
16656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16657 install-info) \
16658 || exit 1
16660 @endif readline
16662 .PHONY: maybe-installcheck-readline installcheck-readline
16663 maybe-installcheck-readline:
16664 @if readline
16665 maybe-installcheck-readline: installcheck-readline
16667 installcheck-readline: \
16668 configure-readline
16669 @[ -f ./readline/Makefile ] || exit 0; \
16670 r=`${PWD_COMMAND}`; export r; \
16671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16672 $(HOST_EXPORTS) \
16673 for flag in $(EXTRA_HOST_FLAGS) ; do \
16674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16675 done; \
16676 echo "Doing installcheck in readline" ; \
16677 (cd $(HOST_SUBDIR)/readline && \
16678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16680 "RANLIB=$${RANLIB}" \
16681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16682 installcheck) \
16683 || exit 1
16685 @endif readline
16687 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
16688 maybe-mostlyclean-readline:
16689 @if readline
16690 maybe-mostlyclean-readline: mostlyclean-readline
16692 mostlyclean-readline:
16693 @[ -f ./readline/Makefile ] || exit 0; \
16694 r=`${PWD_COMMAND}`; export r; \
16695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16696 $(HOST_EXPORTS) \
16697 for flag in $(EXTRA_HOST_FLAGS) ; do \
16698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16699 done; \
16700 echo "Doing mostlyclean in readline" ; \
16701 (cd $(HOST_SUBDIR)/readline && \
16702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16704 "RANLIB=$${RANLIB}" \
16705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16706 mostlyclean) \
16707 || exit 1
16709 @endif readline
16711 .PHONY: maybe-clean-readline clean-readline
16712 maybe-clean-readline:
16713 @if readline
16714 maybe-clean-readline: clean-readline
16716 clean-readline:
16717 @[ -f ./readline/Makefile ] || exit 0; \
16718 r=`${PWD_COMMAND}`; export r; \
16719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16720 $(HOST_EXPORTS) \
16721 for flag in $(EXTRA_HOST_FLAGS) ; do \
16722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16723 done; \
16724 echo "Doing clean in readline" ; \
16725 (cd $(HOST_SUBDIR)/readline && \
16726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16728 "RANLIB=$${RANLIB}" \
16729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16730 clean) \
16731 || exit 1
16733 @endif readline
16735 .PHONY: maybe-distclean-readline distclean-readline
16736 maybe-distclean-readline:
16737 @if readline
16738 maybe-distclean-readline: distclean-readline
16740 distclean-readline:
16741 @[ -f ./readline/Makefile ] || exit 0; \
16742 r=`${PWD_COMMAND}`; export r; \
16743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16744 $(HOST_EXPORTS) \
16745 for flag in $(EXTRA_HOST_FLAGS) ; do \
16746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16747 done; \
16748 echo "Doing distclean in readline" ; \
16749 (cd $(HOST_SUBDIR)/readline && \
16750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16752 "RANLIB=$${RANLIB}" \
16753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16754 distclean) \
16755 || exit 1
16757 @endif readline
16759 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
16760 maybe-maintainer-clean-readline:
16761 @if readline
16762 maybe-maintainer-clean-readline: maintainer-clean-readline
16764 maintainer-clean-readline:
16765 @[ -f ./readline/Makefile ] || exit 0; \
16766 r=`${PWD_COMMAND}`; export r; \
16767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16768 $(HOST_EXPORTS) \
16769 for flag in $(EXTRA_HOST_FLAGS) ; do \
16770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16771 done; \
16772 echo "Doing maintainer-clean in readline" ; \
16773 (cd $(HOST_SUBDIR)/readline && \
16774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16776 "RANLIB=$${RANLIB}" \
16777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16778 maintainer-clean) \
16779 || exit 1
16781 @endif readline
16785 .PHONY: configure-release maybe-configure-release
16786 maybe-configure-release:
16787 @if release
16788 maybe-configure-release: configure-release
16789 configure-release:
16790 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
16791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
16792 r=`${PWD_COMMAND}`; export r; \
16793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16794 $(HOST_EXPORTS) \
16795 echo Configuring in $(HOST_SUBDIR)/release; \
16796 cd "$(HOST_SUBDIR)/release" || exit 1; \
16797 case $(srcdir) in \
16798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16799 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
16800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16801 esac; \
16802 srcdiroption="--srcdir=$${topdir}/release"; \
16803 libsrcdir="$$s/release"; \
16804 $(SHELL) $${libsrcdir}/configure \
16805 $(HOST_CONFIGARGS) $${srcdiroption} \
16806 || exit 1
16807 @endif release
16811 .PHONY: all-release maybe-all-release
16812 maybe-all-release:
16813 @if release
16814 TARGET-release=all
16815 maybe-all-release: all-release
16816 all-release: configure-release
16817 @r=`${PWD_COMMAND}`; export r; \
16818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16819 $(HOST_EXPORTS) \
16820 (cd $(HOST_SUBDIR)/release && \
16821 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
16822 @endif release
16825 .PHONY: check-release maybe-check-release
16826 maybe-check-release:
16827 @if release
16828 maybe-check-release: check-release
16830 check-release:
16832 @endif release
16834 .PHONY: install-release maybe-install-release
16835 maybe-install-release:
16836 @if release
16837 maybe-install-release: install-release
16839 install-release:
16841 @endif release
16843 # Other targets (info, dvi, etc.)
16845 .PHONY: maybe-info-release info-release
16846 maybe-info-release:
16847 @if release
16848 maybe-info-release: info-release
16850 info-release: \
16851 configure-release
16852 @[ -f ./release/Makefile ] || exit 0; \
16853 r=`${PWD_COMMAND}`; export r; \
16854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16855 $(HOST_EXPORTS) \
16856 for flag in $(EXTRA_HOST_FLAGS) ; do \
16857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16858 done; \
16859 echo "Doing info in release" ; \
16860 (cd $(HOST_SUBDIR)/release && \
16861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16863 "RANLIB=$${RANLIB}" \
16864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16865 info) \
16866 || exit 1
16868 @endif release
16870 .PHONY: maybe-dvi-release dvi-release
16871 maybe-dvi-release:
16872 @if release
16873 maybe-dvi-release: dvi-release
16875 dvi-release: \
16876 configure-release
16877 @[ -f ./release/Makefile ] || exit 0; \
16878 r=`${PWD_COMMAND}`; export r; \
16879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16880 $(HOST_EXPORTS) \
16881 for flag in $(EXTRA_HOST_FLAGS) ; do \
16882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16883 done; \
16884 echo "Doing dvi in release" ; \
16885 (cd $(HOST_SUBDIR)/release && \
16886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16888 "RANLIB=$${RANLIB}" \
16889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16890 dvi) \
16891 || exit 1
16893 @endif release
16895 .PHONY: maybe-html-release html-release
16896 maybe-html-release:
16897 @if release
16898 maybe-html-release: html-release
16900 html-release: \
16901 configure-release
16902 @[ -f ./release/Makefile ] || exit 0; \
16903 r=`${PWD_COMMAND}`; export r; \
16904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 html in release" ; \
16910 (cd $(HOST_SUBDIR)/release && \
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 html) \
16916 || exit 1
16918 @endif release
16920 .PHONY: maybe-TAGS-release TAGS-release
16921 maybe-TAGS-release:
16922 @if release
16923 maybe-TAGS-release: TAGS-release
16925 TAGS-release: \
16926 configure-release
16927 @[ -f ./release/Makefile ] || exit 0; \
16928 r=`${PWD_COMMAND}`; export r; \
16929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16930 $(HOST_EXPORTS) \
16931 for flag in $(EXTRA_HOST_FLAGS) ; do \
16932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16933 done; \
16934 echo "Doing TAGS in release" ; \
16935 (cd $(HOST_SUBDIR)/release && \
16936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16938 "RANLIB=$${RANLIB}" \
16939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16940 TAGS) \
16941 || exit 1
16943 @endif release
16945 .PHONY: maybe-install-info-release install-info-release
16946 maybe-install-info-release:
16947 @if release
16948 maybe-install-info-release: install-info-release
16950 install-info-release: \
16951 configure-release \
16952 info-release
16953 @[ -f ./release/Makefile ] || exit 0; \
16954 r=`${PWD_COMMAND}`; export r; \
16955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16956 $(HOST_EXPORTS) \
16957 for flag in $(EXTRA_HOST_FLAGS) ; do \
16958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16959 done; \
16960 echo "Doing install-info in release" ; \
16961 (cd $(HOST_SUBDIR)/release && \
16962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16964 "RANLIB=$${RANLIB}" \
16965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16966 install-info) \
16967 || exit 1
16969 @endif release
16971 .PHONY: maybe-installcheck-release installcheck-release
16972 maybe-installcheck-release:
16973 @if release
16974 maybe-installcheck-release: installcheck-release
16976 installcheck-release: \
16977 configure-release
16978 @[ -f ./release/Makefile ] || exit 0; \
16979 r=`${PWD_COMMAND}`; export r; \
16980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16981 $(HOST_EXPORTS) \
16982 for flag in $(EXTRA_HOST_FLAGS) ; do \
16983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16984 done; \
16985 echo "Doing installcheck in release" ; \
16986 (cd $(HOST_SUBDIR)/release && \
16987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16989 "RANLIB=$${RANLIB}" \
16990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16991 installcheck) \
16992 || exit 1
16994 @endif release
16996 .PHONY: maybe-mostlyclean-release mostlyclean-release
16997 maybe-mostlyclean-release:
16998 @if release
16999 maybe-mostlyclean-release: mostlyclean-release
17001 mostlyclean-release:
17002 @[ -f ./release/Makefile ] || exit 0; \
17003 r=`${PWD_COMMAND}`; export r; \
17004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17005 $(HOST_EXPORTS) \
17006 for flag in $(EXTRA_HOST_FLAGS) ; do \
17007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17008 done; \
17009 echo "Doing mostlyclean in release" ; \
17010 (cd $(HOST_SUBDIR)/release && \
17011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17013 "RANLIB=$${RANLIB}" \
17014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17015 mostlyclean) \
17016 || exit 1
17018 @endif release
17020 .PHONY: maybe-clean-release clean-release
17021 maybe-clean-release:
17022 @if release
17023 maybe-clean-release: clean-release
17025 clean-release:
17026 @[ -f ./release/Makefile ] || exit 0; \
17027 r=`${PWD_COMMAND}`; export r; \
17028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17029 $(HOST_EXPORTS) \
17030 for flag in $(EXTRA_HOST_FLAGS) ; do \
17031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17032 done; \
17033 echo "Doing clean in release" ; \
17034 (cd $(HOST_SUBDIR)/release && \
17035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17037 "RANLIB=$${RANLIB}" \
17038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17039 clean) \
17040 || exit 1
17042 @endif release
17044 .PHONY: maybe-distclean-release distclean-release
17045 maybe-distclean-release:
17046 @if release
17047 maybe-distclean-release: distclean-release
17049 distclean-release:
17050 @[ -f ./release/Makefile ] || exit 0; \
17051 r=`${PWD_COMMAND}`; export r; \
17052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17053 $(HOST_EXPORTS) \
17054 for flag in $(EXTRA_HOST_FLAGS) ; do \
17055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17056 done; \
17057 echo "Doing distclean in release" ; \
17058 (cd $(HOST_SUBDIR)/release && \
17059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17061 "RANLIB=$${RANLIB}" \
17062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17063 distclean) \
17064 || exit 1
17066 @endif release
17068 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
17069 maybe-maintainer-clean-release:
17070 @if release
17071 maybe-maintainer-clean-release: maintainer-clean-release
17073 maintainer-clean-release:
17074 @[ -f ./release/Makefile ] || exit 0; \
17075 r=`${PWD_COMMAND}`; export r; \
17076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17077 $(HOST_EXPORTS) \
17078 for flag in $(EXTRA_HOST_FLAGS) ; do \
17079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17080 done; \
17081 echo "Doing maintainer-clean in release" ; \
17082 (cd $(HOST_SUBDIR)/release && \
17083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17085 "RANLIB=$${RANLIB}" \
17086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17087 maintainer-clean) \
17088 || exit 1
17090 @endif release
17094 .PHONY: configure-recode maybe-configure-recode
17095 maybe-configure-recode:
17096 @if recode
17097 maybe-configure-recode: configure-recode
17098 configure-recode:
17099 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
17100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
17101 r=`${PWD_COMMAND}`; export r; \
17102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17103 $(HOST_EXPORTS) \
17104 echo Configuring in $(HOST_SUBDIR)/recode; \
17105 cd "$(HOST_SUBDIR)/recode" || exit 1; \
17106 case $(srcdir) in \
17107 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17108 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
17109 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17110 esac; \
17111 srcdiroption="--srcdir=$${topdir}/recode"; \
17112 libsrcdir="$$s/recode"; \
17113 $(SHELL) $${libsrcdir}/configure \
17114 $(HOST_CONFIGARGS) $${srcdiroption} \
17115 || exit 1
17116 @endif recode
17120 .PHONY: all-recode maybe-all-recode
17121 maybe-all-recode:
17122 @if recode
17123 TARGET-recode=all
17124 maybe-all-recode: all-recode
17125 all-recode: configure-recode
17126 @r=`${PWD_COMMAND}`; export r; \
17127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17128 $(HOST_EXPORTS) \
17129 (cd $(HOST_SUBDIR)/recode && \
17130 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
17131 @endif recode
17134 .PHONY: check-recode maybe-check-recode
17135 maybe-check-recode:
17136 @if recode
17137 maybe-check-recode: check-recode
17139 check-recode:
17140 @r=`${PWD_COMMAND}`; export r; \
17141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17142 $(HOST_EXPORTS) \
17143 (cd $(HOST_SUBDIR)/recode && \
17144 $(MAKE) $(FLAGS_TO_PASS) check)
17146 @endif recode
17148 .PHONY: install-recode maybe-install-recode
17149 maybe-install-recode:
17150 @if recode
17151 maybe-install-recode: install-recode
17153 install-recode: installdirs
17154 @r=`${PWD_COMMAND}`; export r; \
17155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17156 $(HOST_EXPORTS) \
17157 (cd $(HOST_SUBDIR)/recode && \
17158 $(MAKE) $(FLAGS_TO_PASS) install)
17160 @endif recode
17162 # Other targets (info, dvi, etc.)
17164 .PHONY: maybe-info-recode info-recode
17165 maybe-info-recode:
17166 @if recode
17167 maybe-info-recode: info-recode
17169 info-recode: \
17170 configure-recode
17171 @[ -f ./recode/Makefile ] || exit 0; \
17172 r=`${PWD_COMMAND}`; export r; \
17173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17174 $(HOST_EXPORTS) \
17175 for flag in $(EXTRA_HOST_FLAGS) ; do \
17176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17177 done; \
17178 echo "Doing info in recode" ; \
17179 (cd $(HOST_SUBDIR)/recode && \
17180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17182 "RANLIB=$${RANLIB}" \
17183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17184 info) \
17185 || exit 1
17187 @endif recode
17189 .PHONY: maybe-dvi-recode dvi-recode
17190 maybe-dvi-recode:
17191 @if recode
17192 maybe-dvi-recode: dvi-recode
17194 dvi-recode: \
17195 configure-recode
17196 @[ -f ./recode/Makefile ] || exit 0; \
17197 r=`${PWD_COMMAND}`; export r; \
17198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17199 $(HOST_EXPORTS) \
17200 for flag in $(EXTRA_HOST_FLAGS) ; do \
17201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17202 done; \
17203 echo "Doing dvi in recode" ; \
17204 (cd $(HOST_SUBDIR)/recode && \
17205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17207 "RANLIB=$${RANLIB}" \
17208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17209 dvi) \
17210 || exit 1
17212 @endif recode
17214 .PHONY: maybe-html-recode html-recode
17215 maybe-html-recode:
17216 @if recode
17217 maybe-html-recode: html-recode
17219 html-recode: \
17220 configure-recode
17221 @[ -f ./recode/Makefile ] || exit 0; \
17222 r=`${PWD_COMMAND}`; export r; \
17223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17224 $(HOST_EXPORTS) \
17225 for flag in $(EXTRA_HOST_FLAGS) ; do \
17226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17227 done; \
17228 echo "Doing html in recode" ; \
17229 (cd $(HOST_SUBDIR)/recode && \
17230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17232 "RANLIB=$${RANLIB}" \
17233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17234 html) \
17235 || exit 1
17237 @endif recode
17239 .PHONY: maybe-TAGS-recode TAGS-recode
17240 maybe-TAGS-recode:
17241 @if recode
17242 maybe-TAGS-recode: TAGS-recode
17244 TAGS-recode: \
17245 configure-recode
17246 @[ -f ./recode/Makefile ] || exit 0; \
17247 r=`${PWD_COMMAND}`; export r; \
17248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17249 $(HOST_EXPORTS) \
17250 for flag in $(EXTRA_HOST_FLAGS) ; do \
17251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17252 done; \
17253 echo "Doing TAGS in recode" ; \
17254 (cd $(HOST_SUBDIR)/recode && \
17255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17257 "RANLIB=$${RANLIB}" \
17258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17259 TAGS) \
17260 || exit 1
17262 @endif recode
17264 .PHONY: maybe-install-info-recode install-info-recode
17265 maybe-install-info-recode:
17266 @if recode
17267 maybe-install-info-recode: install-info-recode
17269 install-info-recode: \
17270 configure-recode \
17271 info-recode
17272 @[ -f ./recode/Makefile ] || exit 0; \
17273 r=`${PWD_COMMAND}`; export r; \
17274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17275 $(HOST_EXPORTS) \
17276 for flag in $(EXTRA_HOST_FLAGS) ; do \
17277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17278 done; \
17279 echo "Doing install-info in recode" ; \
17280 (cd $(HOST_SUBDIR)/recode && \
17281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17283 "RANLIB=$${RANLIB}" \
17284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17285 install-info) \
17286 || exit 1
17288 @endif recode
17290 .PHONY: maybe-installcheck-recode installcheck-recode
17291 maybe-installcheck-recode:
17292 @if recode
17293 maybe-installcheck-recode: installcheck-recode
17295 installcheck-recode: \
17296 configure-recode
17297 @[ -f ./recode/Makefile ] || exit 0; \
17298 r=`${PWD_COMMAND}`; export r; \
17299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17300 $(HOST_EXPORTS) \
17301 for flag in $(EXTRA_HOST_FLAGS) ; do \
17302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17303 done; \
17304 echo "Doing installcheck in recode" ; \
17305 (cd $(HOST_SUBDIR)/recode && \
17306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17308 "RANLIB=$${RANLIB}" \
17309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17310 installcheck) \
17311 || exit 1
17313 @endif recode
17315 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
17316 maybe-mostlyclean-recode:
17317 @if recode
17318 maybe-mostlyclean-recode: mostlyclean-recode
17320 mostlyclean-recode:
17321 @[ -f ./recode/Makefile ] || exit 0; \
17322 r=`${PWD_COMMAND}`; export r; \
17323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17324 $(HOST_EXPORTS) \
17325 for flag in $(EXTRA_HOST_FLAGS) ; do \
17326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17327 done; \
17328 echo "Doing mostlyclean in recode" ; \
17329 (cd $(HOST_SUBDIR)/recode && \
17330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17332 "RANLIB=$${RANLIB}" \
17333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17334 mostlyclean) \
17335 || exit 1
17337 @endif recode
17339 .PHONY: maybe-clean-recode clean-recode
17340 maybe-clean-recode:
17341 @if recode
17342 maybe-clean-recode: clean-recode
17344 clean-recode:
17345 @[ -f ./recode/Makefile ] || exit 0; \
17346 r=`${PWD_COMMAND}`; export r; \
17347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17348 $(HOST_EXPORTS) \
17349 for flag in $(EXTRA_HOST_FLAGS) ; do \
17350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17351 done; \
17352 echo "Doing clean in recode" ; \
17353 (cd $(HOST_SUBDIR)/recode && \
17354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17356 "RANLIB=$${RANLIB}" \
17357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17358 clean) \
17359 || exit 1
17361 @endif recode
17363 .PHONY: maybe-distclean-recode distclean-recode
17364 maybe-distclean-recode:
17365 @if recode
17366 maybe-distclean-recode: distclean-recode
17368 distclean-recode:
17369 @[ -f ./recode/Makefile ] || exit 0; \
17370 r=`${PWD_COMMAND}`; export r; \
17371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17372 $(HOST_EXPORTS) \
17373 for flag in $(EXTRA_HOST_FLAGS) ; do \
17374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17375 done; \
17376 echo "Doing distclean in recode" ; \
17377 (cd $(HOST_SUBDIR)/recode && \
17378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17380 "RANLIB=$${RANLIB}" \
17381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17382 distclean) \
17383 || exit 1
17385 @endif recode
17387 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
17388 maybe-maintainer-clean-recode:
17389 @if recode
17390 maybe-maintainer-clean-recode: maintainer-clean-recode
17392 maintainer-clean-recode:
17393 @[ -f ./recode/Makefile ] || exit 0; \
17394 r=`${PWD_COMMAND}`; export r; \
17395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17396 $(HOST_EXPORTS) \
17397 for flag in $(EXTRA_HOST_FLAGS) ; do \
17398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17399 done; \
17400 echo "Doing maintainer-clean in recode" ; \
17401 (cd $(HOST_SUBDIR)/recode && \
17402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17404 "RANLIB=$${RANLIB}" \
17405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17406 maintainer-clean) \
17407 || exit 1
17409 @endif recode
17413 .PHONY: configure-sed maybe-configure-sed
17414 maybe-configure-sed:
17415 @if sed
17416 maybe-configure-sed: configure-sed
17417 configure-sed:
17418 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
17419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
17420 r=`${PWD_COMMAND}`; export r; \
17421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17422 $(HOST_EXPORTS) \
17423 echo Configuring in $(HOST_SUBDIR)/sed; \
17424 cd "$(HOST_SUBDIR)/sed" || exit 1; \
17425 case $(srcdir) in \
17426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17427 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
17428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17429 esac; \
17430 srcdiroption="--srcdir=$${topdir}/sed"; \
17431 libsrcdir="$$s/sed"; \
17432 $(SHELL) $${libsrcdir}/configure \
17433 $(HOST_CONFIGARGS) $${srcdiroption} \
17434 || exit 1
17435 @endif sed
17439 .PHONY: all-sed maybe-all-sed
17440 maybe-all-sed:
17441 @if sed
17442 TARGET-sed=all
17443 maybe-all-sed: all-sed
17444 all-sed: configure-sed
17445 @r=`${PWD_COMMAND}`; export r; \
17446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17447 $(HOST_EXPORTS) \
17448 (cd $(HOST_SUBDIR)/sed && \
17449 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
17450 @endif sed
17453 .PHONY: check-sed maybe-check-sed
17454 maybe-check-sed:
17455 @if sed
17456 maybe-check-sed: check-sed
17458 check-sed:
17459 @r=`${PWD_COMMAND}`; export r; \
17460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17461 $(HOST_EXPORTS) \
17462 (cd $(HOST_SUBDIR)/sed && \
17463 $(MAKE) $(FLAGS_TO_PASS) check)
17465 @endif sed
17467 .PHONY: install-sed maybe-install-sed
17468 maybe-install-sed:
17469 @if sed
17470 maybe-install-sed: install-sed
17472 install-sed: installdirs
17473 @r=`${PWD_COMMAND}`; export r; \
17474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17475 $(HOST_EXPORTS) \
17476 (cd $(HOST_SUBDIR)/sed && \
17477 $(MAKE) $(FLAGS_TO_PASS) install)
17479 @endif sed
17481 # Other targets (info, dvi, etc.)
17483 .PHONY: maybe-info-sed info-sed
17484 maybe-info-sed:
17485 @if sed
17486 maybe-info-sed: info-sed
17488 info-sed: \
17489 configure-sed
17490 @[ -f ./sed/Makefile ] || exit 0; \
17491 r=`${PWD_COMMAND}`; export r; \
17492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17493 $(HOST_EXPORTS) \
17494 for flag in $(EXTRA_HOST_FLAGS) ; do \
17495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17496 done; \
17497 echo "Doing info in sed" ; \
17498 (cd $(HOST_SUBDIR)/sed && \
17499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17501 "RANLIB=$${RANLIB}" \
17502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17503 info) \
17504 || exit 1
17506 @endif sed
17508 .PHONY: maybe-dvi-sed dvi-sed
17509 maybe-dvi-sed:
17510 @if sed
17511 maybe-dvi-sed: dvi-sed
17513 dvi-sed: \
17514 configure-sed
17515 @[ -f ./sed/Makefile ] || exit 0; \
17516 r=`${PWD_COMMAND}`; export r; \
17517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17518 $(HOST_EXPORTS) \
17519 for flag in $(EXTRA_HOST_FLAGS) ; do \
17520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17521 done; \
17522 echo "Doing dvi in sed" ; \
17523 (cd $(HOST_SUBDIR)/sed && \
17524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17526 "RANLIB=$${RANLIB}" \
17527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17528 dvi) \
17529 || exit 1
17531 @endif sed
17533 .PHONY: maybe-html-sed html-sed
17534 maybe-html-sed:
17535 @if sed
17536 maybe-html-sed: html-sed
17538 html-sed: \
17539 configure-sed
17540 @[ -f ./sed/Makefile ] || exit 0; \
17541 r=`${PWD_COMMAND}`; export r; \
17542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17543 $(HOST_EXPORTS) \
17544 for flag in $(EXTRA_HOST_FLAGS) ; do \
17545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17546 done; \
17547 echo "Doing html in sed" ; \
17548 (cd $(HOST_SUBDIR)/sed && \
17549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17551 "RANLIB=$${RANLIB}" \
17552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17553 html) \
17554 || exit 1
17556 @endif sed
17558 .PHONY: maybe-TAGS-sed TAGS-sed
17559 maybe-TAGS-sed:
17560 @if sed
17561 maybe-TAGS-sed: TAGS-sed
17563 TAGS-sed: \
17564 configure-sed
17565 @[ -f ./sed/Makefile ] || exit 0; \
17566 r=`${PWD_COMMAND}`; export r; \
17567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17568 $(HOST_EXPORTS) \
17569 for flag in $(EXTRA_HOST_FLAGS) ; do \
17570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17571 done; \
17572 echo "Doing TAGS in sed" ; \
17573 (cd $(HOST_SUBDIR)/sed && \
17574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17576 "RANLIB=$${RANLIB}" \
17577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17578 TAGS) \
17579 || exit 1
17581 @endif sed
17583 .PHONY: maybe-install-info-sed install-info-sed
17584 maybe-install-info-sed:
17585 @if sed
17586 maybe-install-info-sed: install-info-sed
17588 install-info-sed: \
17589 configure-sed \
17590 info-sed
17591 @[ -f ./sed/Makefile ] || exit 0; \
17592 r=`${PWD_COMMAND}`; export r; \
17593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17594 $(HOST_EXPORTS) \
17595 for flag in $(EXTRA_HOST_FLAGS) ; do \
17596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17597 done; \
17598 echo "Doing install-info in sed" ; \
17599 (cd $(HOST_SUBDIR)/sed && \
17600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17602 "RANLIB=$${RANLIB}" \
17603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17604 install-info) \
17605 || exit 1
17607 @endif sed
17609 .PHONY: maybe-installcheck-sed installcheck-sed
17610 maybe-installcheck-sed:
17611 @if sed
17612 maybe-installcheck-sed: installcheck-sed
17614 installcheck-sed: \
17615 configure-sed
17616 @[ -f ./sed/Makefile ] || exit 0; \
17617 r=`${PWD_COMMAND}`; export r; \
17618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17619 $(HOST_EXPORTS) \
17620 for flag in $(EXTRA_HOST_FLAGS) ; do \
17621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17622 done; \
17623 echo "Doing installcheck in sed" ; \
17624 (cd $(HOST_SUBDIR)/sed && \
17625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17627 "RANLIB=$${RANLIB}" \
17628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17629 installcheck) \
17630 || exit 1
17632 @endif sed
17634 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
17635 maybe-mostlyclean-sed:
17636 @if sed
17637 maybe-mostlyclean-sed: mostlyclean-sed
17639 mostlyclean-sed:
17640 @[ -f ./sed/Makefile ] || exit 0; \
17641 r=`${PWD_COMMAND}`; export r; \
17642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17643 $(HOST_EXPORTS) \
17644 for flag in $(EXTRA_HOST_FLAGS) ; do \
17645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17646 done; \
17647 echo "Doing mostlyclean in sed" ; \
17648 (cd $(HOST_SUBDIR)/sed && \
17649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17651 "RANLIB=$${RANLIB}" \
17652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17653 mostlyclean) \
17654 || exit 1
17656 @endif sed
17658 .PHONY: maybe-clean-sed clean-sed
17659 maybe-clean-sed:
17660 @if sed
17661 maybe-clean-sed: clean-sed
17663 clean-sed:
17664 @[ -f ./sed/Makefile ] || exit 0; \
17665 r=`${PWD_COMMAND}`; export r; \
17666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17667 $(HOST_EXPORTS) \
17668 for flag in $(EXTRA_HOST_FLAGS) ; do \
17669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17670 done; \
17671 echo "Doing clean in sed" ; \
17672 (cd $(HOST_SUBDIR)/sed && \
17673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17675 "RANLIB=$${RANLIB}" \
17676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17677 clean) \
17678 || exit 1
17680 @endif sed
17682 .PHONY: maybe-distclean-sed distclean-sed
17683 maybe-distclean-sed:
17684 @if sed
17685 maybe-distclean-sed: distclean-sed
17687 distclean-sed:
17688 @[ -f ./sed/Makefile ] || exit 0; \
17689 r=`${PWD_COMMAND}`; export r; \
17690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17691 $(HOST_EXPORTS) \
17692 for flag in $(EXTRA_HOST_FLAGS) ; do \
17693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17694 done; \
17695 echo "Doing distclean in sed" ; \
17696 (cd $(HOST_SUBDIR)/sed && \
17697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17699 "RANLIB=$${RANLIB}" \
17700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17701 distclean) \
17702 || exit 1
17704 @endif sed
17706 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
17707 maybe-maintainer-clean-sed:
17708 @if sed
17709 maybe-maintainer-clean-sed: maintainer-clean-sed
17711 maintainer-clean-sed:
17712 @[ -f ./sed/Makefile ] || exit 0; \
17713 r=`${PWD_COMMAND}`; export r; \
17714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17715 $(HOST_EXPORTS) \
17716 for flag in $(EXTRA_HOST_FLAGS) ; do \
17717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17718 done; \
17719 echo "Doing maintainer-clean in sed" ; \
17720 (cd $(HOST_SUBDIR)/sed && \
17721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17723 "RANLIB=$${RANLIB}" \
17724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17725 maintainer-clean) \
17726 || exit 1
17728 @endif sed
17732 .PHONY: configure-send-pr maybe-configure-send-pr
17733 maybe-configure-send-pr:
17734 @if send-pr
17735 maybe-configure-send-pr: configure-send-pr
17736 configure-send-pr:
17737 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
17738 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
17739 r=`${PWD_COMMAND}`; export r; \
17740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17741 $(HOST_EXPORTS) \
17742 echo Configuring in $(HOST_SUBDIR)/send-pr; \
17743 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
17744 case $(srcdir) in \
17745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17746 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
17747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17748 esac; \
17749 srcdiroption="--srcdir=$${topdir}/send-pr"; \
17750 libsrcdir="$$s/send-pr"; \
17751 $(SHELL) $${libsrcdir}/configure \
17752 $(HOST_CONFIGARGS) $${srcdiroption} \
17753 || exit 1
17754 @endif send-pr
17758 .PHONY: all-send-pr maybe-all-send-pr
17759 maybe-all-send-pr:
17760 @if send-pr
17761 TARGET-send-pr=all
17762 maybe-all-send-pr: all-send-pr
17763 all-send-pr: configure-send-pr
17764 @r=`${PWD_COMMAND}`; export r; \
17765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17766 $(HOST_EXPORTS) \
17767 (cd $(HOST_SUBDIR)/send-pr && \
17768 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
17769 @endif send-pr
17772 .PHONY: check-send-pr maybe-check-send-pr
17773 maybe-check-send-pr:
17774 @if send-pr
17775 maybe-check-send-pr: check-send-pr
17777 check-send-pr:
17778 @r=`${PWD_COMMAND}`; export r; \
17779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17780 $(HOST_EXPORTS) \
17781 (cd $(HOST_SUBDIR)/send-pr && \
17782 $(MAKE) $(FLAGS_TO_PASS) check)
17784 @endif send-pr
17786 .PHONY: install-send-pr maybe-install-send-pr
17787 maybe-install-send-pr:
17788 @if send-pr
17789 maybe-install-send-pr: install-send-pr
17791 install-send-pr: installdirs
17792 @r=`${PWD_COMMAND}`; export r; \
17793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17794 $(HOST_EXPORTS) \
17795 (cd $(HOST_SUBDIR)/send-pr && \
17796 $(MAKE) $(FLAGS_TO_PASS) install)
17798 @endif send-pr
17800 # Other targets (info, dvi, etc.)
17802 .PHONY: maybe-info-send-pr info-send-pr
17803 maybe-info-send-pr:
17804 @if send-pr
17805 maybe-info-send-pr: info-send-pr
17807 info-send-pr: \
17808 configure-send-pr
17809 @[ -f ./send-pr/Makefile ] || exit 0; \
17810 r=`${PWD_COMMAND}`; export r; \
17811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17812 $(HOST_EXPORTS) \
17813 for flag in $(EXTRA_HOST_FLAGS) ; do \
17814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17815 done; \
17816 echo "Doing info in send-pr" ; \
17817 (cd $(HOST_SUBDIR)/send-pr && \
17818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17820 "RANLIB=$${RANLIB}" \
17821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17822 info) \
17823 || exit 1
17825 @endif send-pr
17827 .PHONY: maybe-dvi-send-pr dvi-send-pr
17828 maybe-dvi-send-pr:
17829 @if send-pr
17830 maybe-dvi-send-pr: dvi-send-pr
17832 dvi-send-pr: \
17833 configure-send-pr
17834 @[ -f ./send-pr/Makefile ] || exit 0; \
17835 r=`${PWD_COMMAND}`; export r; \
17836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17837 $(HOST_EXPORTS) \
17838 for flag in $(EXTRA_HOST_FLAGS) ; do \
17839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17840 done; \
17841 echo "Doing dvi in send-pr" ; \
17842 (cd $(HOST_SUBDIR)/send-pr && \
17843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17845 "RANLIB=$${RANLIB}" \
17846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17847 dvi) \
17848 || exit 1
17850 @endif send-pr
17852 .PHONY: maybe-html-send-pr html-send-pr
17853 maybe-html-send-pr:
17854 @if send-pr
17855 maybe-html-send-pr: html-send-pr
17857 html-send-pr: \
17858 configure-send-pr
17859 @[ -f ./send-pr/Makefile ] || exit 0; \
17860 r=`${PWD_COMMAND}`; export r; \
17861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17862 $(HOST_EXPORTS) \
17863 for flag in $(EXTRA_HOST_FLAGS) ; do \
17864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17865 done; \
17866 echo "Doing html in send-pr" ; \
17867 (cd $(HOST_SUBDIR)/send-pr && \
17868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17870 "RANLIB=$${RANLIB}" \
17871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17872 html) \
17873 || exit 1
17875 @endif send-pr
17877 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
17878 maybe-TAGS-send-pr:
17879 @if send-pr
17880 maybe-TAGS-send-pr: TAGS-send-pr
17882 TAGS-send-pr: \
17883 configure-send-pr
17884 @[ -f ./send-pr/Makefile ] || exit 0; \
17885 r=`${PWD_COMMAND}`; export r; \
17886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17887 $(HOST_EXPORTS) \
17888 for flag in $(EXTRA_HOST_FLAGS) ; do \
17889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17890 done; \
17891 echo "Doing TAGS in send-pr" ; \
17892 (cd $(HOST_SUBDIR)/send-pr && \
17893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17895 "RANLIB=$${RANLIB}" \
17896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17897 TAGS) \
17898 || exit 1
17900 @endif send-pr
17902 .PHONY: maybe-install-info-send-pr install-info-send-pr
17903 maybe-install-info-send-pr:
17904 @if send-pr
17905 maybe-install-info-send-pr: install-info-send-pr
17907 install-info-send-pr: \
17908 configure-send-pr \
17909 info-send-pr
17910 @[ -f ./send-pr/Makefile ] || exit 0; \
17911 r=`${PWD_COMMAND}`; export r; \
17912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17913 $(HOST_EXPORTS) \
17914 for flag in $(EXTRA_HOST_FLAGS) ; do \
17915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17916 done; \
17917 echo "Doing install-info in send-pr" ; \
17918 (cd $(HOST_SUBDIR)/send-pr && \
17919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17921 "RANLIB=$${RANLIB}" \
17922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17923 install-info) \
17924 || exit 1
17926 @endif send-pr
17928 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
17929 maybe-installcheck-send-pr:
17930 @if send-pr
17931 maybe-installcheck-send-pr: installcheck-send-pr
17933 installcheck-send-pr: \
17934 configure-send-pr
17935 @[ -f ./send-pr/Makefile ] || exit 0; \
17936 r=`${PWD_COMMAND}`; export r; \
17937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17938 $(HOST_EXPORTS) \
17939 for flag in $(EXTRA_HOST_FLAGS) ; do \
17940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17941 done; \
17942 echo "Doing installcheck in send-pr" ; \
17943 (cd $(HOST_SUBDIR)/send-pr && \
17944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17946 "RANLIB=$${RANLIB}" \
17947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17948 installcheck) \
17949 || exit 1
17951 @endif send-pr
17953 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
17954 maybe-mostlyclean-send-pr:
17955 @if send-pr
17956 maybe-mostlyclean-send-pr: mostlyclean-send-pr
17958 mostlyclean-send-pr:
17959 @[ -f ./send-pr/Makefile ] || exit 0; \
17960 r=`${PWD_COMMAND}`; export r; \
17961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17962 $(HOST_EXPORTS) \
17963 for flag in $(EXTRA_HOST_FLAGS) ; do \
17964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17965 done; \
17966 echo "Doing mostlyclean in send-pr" ; \
17967 (cd $(HOST_SUBDIR)/send-pr && \
17968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17970 "RANLIB=$${RANLIB}" \
17971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17972 mostlyclean) \
17973 || exit 1
17975 @endif send-pr
17977 .PHONY: maybe-clean-send-pr clean-send-pr
17978 maybe-clean-send-pr:
17979 @if send-pr
17980 maybe-clean-send-pr: clean-send-pr
17982 clean-send-pr:
17983 @[ -f ./send-pr/Makefile ] || exit 0; \
17984 r=`${PWD_COMMAND}`; export r; \
17985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17986 $(HOST_EXPORTS) \
17987 for flag in $(EXTRA_HOST_FLAGS) ; do \
17988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17989 done; \
17990 echo "Doing clean in send-pr" ; \
17991 (cd $(HOST_SUBDIR)/send-pr && \
17992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17994 "RANLIB=$${RANLIB}" \
17995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17996 clean) \
17997 || exit 1
17999 @endif send-pr
18001 .PHONY: maybe-distclean-send-pr distclean-send-pr
18002 maybe-distclean-send-pr:
18003 @if send-pr
18004 maybe-distclean-send-pr: distclean-send-pr
18006 distclean-send-pr:
18007 @[ -f ./send-pr/Makefile ] || exit 0; \
18008 r=`${PWD_COMMAND}`; export r; \
18009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18010 $(HOST_EXPORTS) \
18011 for flag in $(EXTRA_HOST_FLAGS) ; do \
18012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18013 done; \
18014 echo "Doing distclean in send-pr" ; \
18015 (cd $(HOST_SUBDIR)/send-pr && \
18016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18018 "RANLIB=$${RANLIB}" \
18019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18020 distclean) \
18021 || exit 1
18023 @endif send-pr
18025 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
18026 maybe-maintainer-clean-send-pr:
18027 @if send-pr
18028 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
18030 maintainer-clean-send-pr:
18031 @[ -f ./send-pr/Makefile ] || exit 0; \
18032 r=`${PWD_COMMAND}`; export r; \
18033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18034 $(HOST_EXPORTS) \
18035 for flag in $(EXTRA_HOST_FLAGS) ; do \
18036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18037 done; \
18038 echo "Doing maintainer-clean in send-pr" ; \
18039 (cd $(HOST_SUBDIR)/send-pr && \
18040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18042 "RANLIB=$${RANLIB}" \
18043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18044 maintainer-clean) \
18045 || exit 1
18047 @endif send-pr
18051 .PHONY: configure-shellutils maybe-configure-shellutils
18052 maybe-configure-shellutils:
18053 @if shellutils
18054 maybe-configure-shellutils: configure-shellutils
18055 configure-shellutils:
18056 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
18057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
18058 r=`${PWD_COMMAND}`; export r; \
18059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18060 $(HOST_EXPORTS) \
18061 echo Configuring in $(HOST_SUBDIR)/shellutils; \
18062 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
18063 case $(srcdir) in \
18064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18065 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
18066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18067 esac; \
18068 srcdiroption="--srcdir=$${topdir}/shellutils"; \
18069 libsrcdir="$$s/shellutils"; \
18070 $(SHELL) $${libsrcdir}/configure \
18071 $(HOST_CONFIGARGS) $${srcdiroption} \
18072 || exit 1
18073 @endif shellutils
18077 .PHONY: all-shellutils maybe-all-shellutils
18078 maybe-all-shellutils:
18079 @if shellutils
18080 TARGET-shellutils=all
18081 maybe-all-shellutils: all-shellutils
18082 all-shellutils: configure-shellutils
18083 @r=`${PWD_COMMAND}`; export r; \
18084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18085 $(HOST_EXPORTS) \
18086 (cd $(HOST_SUBDIR)/shellutils && \
18087 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
18088 @endif shellutils
18091 .PHONY: check-shellutils maybe-check-shellutils
18092 maybe-check-shellutils:
18093 @if shellutils
18094 maybe-check-shellutils: check-shellutils
18096 check-shellutils:
18097 @r=`${PWD_COMMAND}`; export r; \
18098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18099 $(HOST_EXPORTS) \
18100 (cd $(HOST_SUBDIR)/shellutils && \
18101 $(MAKE) $(FLAGS_TO_PASS) check)
18103 @endif shellutils
18105 .PHONY: install-shellutils maybe-install-shellutils
18106 maybe-install-shellutils:
18107 @if shellutils
18108 maybe-install-shellutils: install-shellutils
18110 install-shellutils: installdirs
18111 @r=`${PWD_COMMAND}`; export r; \
18112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18113 $(HOST_EXPORTS) \
18114 (cd $(HOST_SUBDIR)/shellutils && \
18115 $(MAKE) $(FLAGS_TO_PASS) install)
18117 @endif shellutils
18119 # Other targets (info, dvi, etc.)
18121 .PHONY: maybe-info-shellutils info-shellutils
18122 maybe-info-shellutils:
18123 @if shellutils
18124 maybe-info-shellutils: info-shellutils
18126 info-shellutils: \
18127 configure-shellutils
18128 @[ -f ./shellutils/Makefile ] || exit 0; \
18129 r=`${PWD_COMMAND}`; export r; \
18130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18131 $(HOST_EXPORTS) \
18132 for flag in $(EXTRA_HOST_FLAGS) ; do \
18133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18134 done; \
18135 echo "Doing info in shellutils" ; \
18136 (cd $(HOST_SUBDIR)/shellutils && \
18137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18139 "RANLIB=$${RANLIB}" \
18140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18141 info) \
18142 || exit 1
18144 @endif shellutils
18146 .PHONY: maybe-dvi-shellutils dvi-shellutils
18147 maybe-dvi-shellutils:
18148 @if shellutils
18149 maybe-dvi-shellutils: dvi-shellutils
18151 dvi-shellutils: \
18152 configure-shellutils
18153 @[ -f ./shellutils/Makefile ] || exit 0; \
18154 r=`${PWD_COMMAND}`; export r; \
18155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18156 $(HOST_EXPORTS) \
18157 for flag in $(EXTRA_HOST_FLAGS) ; do \
18158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18159 done; \
18160 echo "Doing dvi in shellutils" ; \
18161 (cd $(HOST_SUBDIR)/shellutils && \
18162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18164 "RANLIB=$${RANLIB}" \
18165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18166 dvi) \
18167 || exit 1
18169 @endif shellutils
18171 .PHONY: maybe-html-shellutils html-shellutils
18172 maybe-html-shellutils:
18173 @if shellutils
18174 maybe-html-shellutils: html-shellutils
18176 html-shellutils: \
18177 configure-shellutils
18178 @[ -f ./shellutils/Makefile ] || exit 0; \
18179 r=`${PWD_COMMAND}`; export r; \
18180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18181 $(HOST_EXPORTS) \
18182 for flag in $(EXTRA_HOST_FLAGS) ; do \
18183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18184 done; \
18185 echo "Doing html in shellutils" ; \
18186 (cd $(HOST_SUBDIR)/shellutils && \
18187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18189 "RANLIB=$${RANLIB}" \
18190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18191 html) \
18192 || exit 1
18194 @endif shellutils
18196 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
18197 maybe-TAGS-shellutils:
18198 @if shellutils
18199 maybe-TAGS-shellutils: TAGS-shellutils
18201 TAGS-shellutils: \
18202 configure-shellutils
18203 @[ -f ./shellutils/Makefile ] || exit 0; \
18204 r=`${PWD_COMMAND}`; export r; \
18205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18206 $(HOST_EXPORTS) \
18207 for flag in $(EXTRA_HOST_FLAGS) ; do \
18208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18209 done; \
18210 echo "Doing TAGS in shellutils" ; \
18211 (cd $(HOST_SUBDIR)/shellutils && \
18212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18214 "RANLIB=$${RANLIB}" \
18215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18216 TAGS) \
18217 || exit 1
18219 @endif shellutils
18221 .PHONY: maybe-install-info-shellutils install-info-shellutils
18222 maybe-install-info-shellutils:
18223 @if shellutils
18224 maybe-install-info-shellutils: install-info-shellutils
18226 install-info-shellutils: \
18227 configure-shellutils \
18228 info-shellutils
18229 @[ -f ./shellutils/Makefile ] || exit 0; \
18230 r=`${PWD_COMMAND}`; export r; \
18231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18232 $(HOST_EXPORTS) \
18233 for flag in $(EXTRA_HOST_FLAGS) ; do \
18234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18235 done; \
18236 echo "Doing install-info in shellutils" ; \
18237 (cd $(HOST_SUBDIR)/shellutils && \
18238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18240 "RANLIB=$${RANLIB}" \
18241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18242 install-info) \
18243 || exit 1
18245 @endif shellutils
18247 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
18248 maybe-installcheck-shellutils:
18249 @if shellutils
18250 maybe-installcheck-shellutils: installcheck-shellutils
18252 installcheck-shellutils: \
18253 configure-shellutils
18254 @[ -f ./shellutils/Makefile ] || exit 0; \
18255 r=`${PWD_COMMAND}`; export r; \
18256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 installcheck in shellutils" ; \
18262 (cd $(HOST_SUBDIR)/shellutils && \
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 installcheck) \
18268 || exit 1
18270 @endif shellutils
18272 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
18273 maybe-mostlyclean-shellutils:
18274 @if shellutils
18275 maybe-mostlyclean-shellutils: mostlyclean-shellutils
18277 mostlyclean-shellutils:
18278 @[ -f ./shellutils/Makefile ] || exit 0; \
18279 r=`${PWD_COMMAND}`; export r; \
18280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18281 $(HOST_EXPORTS) \
18282 for flag in $(EXTRA_HOST_FLAGS) ; do \
18283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18284 done; \
18285 echo "Doing mostlyclean in shellutils" ; \
18286 (cd $(HOST_SUBDIR)/shellutils && \
18287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18289 "RANLIB=$${RANLIB}" \
18290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18291 mostlyclean) \
18292 || exit 1
18294 @endif shellutils
18296 .PHONY: maybe-clean-shellutils clean-shellutils
18297 maybe-clean-shellutils:
18298 @if shellutils
18299 maybe-clean-shellutils: clean-shellutils
18301 clean-shellutils:
18302 @[ -f ./shellutils/Makefile ] || exit 0; \
18303 r=`${PWD_COMMAND}`; export r; \
18304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18305 $(HOST_EXPORTS) \
18306 for flag in $(EXTRA_HOST_FLAGS) ; do \
18307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18308 done; \
18309 echo "Doing clean in shellutils" ; \
18310 (cd $(HOST_SUBDIR)/shellutils && \
18311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18313 "RANLIB=$${RANLIB}" \
18314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18315 clean) \
18316 || exit 1
18318 @endif shellutils
18320 .PHONY: maybe-distclean-shellutils distclean-shellutils
18321 maybe-distclean-shellutils:
18322 @if shellutils
18323 maybe-distclean-shellutils: distclean-shellutils
18325 distclean-shellutils:
18326 @[ -f ./shellutils/Makefile ] || exit 0; \
18327 r=`${PWD_COMMAND}`; export r; \
18328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18329 $(HOST_EXPORTS) \
18330 for flag in $(EXTRA_HOST_FLAGS) ; do \
18331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18332 done; \
18333 echo "Doing distclean in shellutils" ; \
18334 (cd $(HOST_SUBDIR)/shellutils && \
18335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18337 "RANLIB=$${RANLIB}" \
18338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18339 distclean) \
18340 || exit 1
18342 @endif shellutils
18344 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
18345 maybe-maintainer-clean-shellutils:
18346 @if shellutils
18347 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
18349 maintainer-clean-shellutils:
18350 @[ -f ./shellutils/Makefile ] || exit 0; \
18351 r=`${PWD_COMMAND}`; export r; \
18352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18353 $(HOST_EXPORTS) \
18354 for flag in $(EXTRA_HOST_FLAGS) ; do \
18355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18356 done; \
18357 echo "Doing maintainer-clean in shellutils" ; \
18358 (cd $(HOST_SUBDIR)/shellutils && \
18359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18361 "RANLIB=$${RANLIB}" \
18362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18363 maintainer-clean) \
18364 || exit 1
18366 @endif shellutils
18370 .PHONY: configure-sid maybe-configure-sid
18371 maybe-configure-sid:
18372 @if sid
18373 maybe-configure-sid: configure-sid
18374 configure-sid:
18375 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
18376 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
18377 r=`${PWD_COMMAND}`; export r; \
18378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18379 $(HOST_EXPORTS) \
18380 echo Configuring in $(HOST_SUBDIR)/sid; \
18381 cd "$(HOST_SUBDIR)/sid" || exit 1; \
18382 case $(srcdir) in \
18383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18384 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
18385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18386 esac; \
18387 srcdiroption="--srcdir=$${topdir}/sid"; \
18388 libsrcdir="$$s/sid"; \
18389 $(SHELL) $${libsrcdir}/configure \
18390 $(HOST_CONFIGARGS) $${srcdiroption} \
18391 || exit 1
18392 @endif sid
18396 .PHONY: all-sid maybe-all-sid
18397 maybe-all-sid:
18398 @if sid
18399 TARGET-sid=all
18400 maybe-all-sid: all-sid
18401 all-sid: configure-sid
18402 @r=`${PWD_COMMAND}`; export r; \
18403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18404 $(HOST_EXPORTS) \
18405 (cd $(HOST_SUBDIR)/sid && \
18406 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
18407 @endif sid
18410 .PHONY: check-sid maybe-check-sid
18411 maybe-check-sid:
18412 @if sid
18413 maybe-check-sid: check-sid
18415 check-sid:
18416 @r=`${PWD_COMMAND}`; export r; \
18417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18418 $(HOST_EXPORTS) \
18419 (cd $(HOST_SUBDIR)/sid && \
18420 $(MAKE) $(FLAGS_TO_PASS) check)
18422 @endif sid
18424 .PHONY: install-sid maybe-install-sid
18425 maybe-install-sid:
18426 @if sid
18427 maybe-install-sid: install-sid
18429 install-sid: installdirs
18430 @r=`${PWD_COMMAND}`; export r; \
18431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18432 $(HOST_EXPORTS) \
18433 (cd $(HOST_SUBDIR)/sid && \
18434 $(MAKE) $(FLAGS_TO_PASS) install)
18436 @endif sid
18438 # Other targets (info, dvi, etc.)
18440 .PHONY: maybe-info-sid info-sid
18441 maybe-info-sid:
18442 @if sid
18443 maybe-info-sid: info-sid
18445 info-sid: \
18446 configure-sid
18447 @[ -f ./sid/Makefile ] || exit 0; \
18448 r=`${PWD_COMMAND}`; export r; \
18449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18450 $(HOST_EXPORTS) \
18451 for flag in $(EXTRA_HOST_FLAGS) ; do \
18452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18453 done; \
18454 echo "Doing info in sid" ; \
18455 (cd $(HOST_SUBDIR)/sid && \
18456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18458 "RANLIB=$${RANLIB}" \
18459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18460 info) \
18461 || exit 1
18463 @endif sid
18465 .PHONY: maybe-dvi-sid dvi-sid
18466 maybe-dvi-sid:
18467 @if sid
18468 maybe-dvi-sid: dvi-sid
18470 dvi-sid: \
18471 configure-sid
18472 @[ -f ./sid/Makefile ] || exit 0; \
18473 r=`${PWD_COMMAND}`; export r; \
18474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18475 $(HOST_EXPORTS) \
18476 for flag in $(EXTRA_HOST_FLAGS) ; do \
18477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18478 done; \
18479 echo "Doing dvi in sid" ; \
18480 (cd $(HOST_SUBDIR)/sid && \
18481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18483 "RANLIB=$${RANLIB}" \
18484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18485 dvi) \
18486 || exit 1
18488 @endif sid
18490 .PHONY: maybe-html-sid html-sid
18491 maybe-html-sid:
18492 @if sid
18493 maybe-html-sid: html-sid
18495 html-sid: \
18496 configure-sid
18497 @[ -f ./sid/Makefile ] || exit 0; \
18498 r=`${PWD_COMMAND}`; export r; \
18499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18500 $(HOST_EXPORTS) \
18501 for flag in $(EXTRA_HOST_FLAGS) ; do \
18502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18503 done; \
18504 echo "Doing html in sid" ; \
18505 (cd $(HOST_SUBDIR)/sid && \
18506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18508 "RANLIB=$${RANLIB}" \
18509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18510 html) \
18511 || exit 1
18513 @endif sid
18515 .PHONY: maybe-TAGS-sid TAGS-sid
18516 maybe-TAGS-sid:
18517 @if sid
18518 maybe-TAGS-sid: TAGS-sid
18520 TAGS-sid: \
18521 configure-sid
18522 @[ -f ./sid/Makefile ] || exit 0; \
18523 r=`${PWD_COMMAND}`; export r; \
18524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18525 $(HOST_EXPORTS) \
18526 for flag in $(EXTRA_HOST_FLAGS) ; do \
18527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18528 done; \
18529 echo "Doing TAGS in sid" ; \
18530 (cd $(HOST_SUBDIR)/sid && \
18531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18533 "RANLIB=$${RANLIB}" \
18534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18535 TAGS) \
18536 || exit 1
18538 @endif sid
18540 .PHONY: maybe-install-info-sid install-info-sid
18541 maybe-install-info-sid:
18542 @if sid
18543 maybe-install-info-sid: install-info-sid
18545 install-info-sid: \
18546 configure-sid \
18547 info-sid
18548 @[ -f ./sid/Makefile ] || exit 0; \
18549 r=`${PWD_COMMAND}`; export r; \
18550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18551 $(HOST_EXPORTS) \
18552 for flag in $(EXTRA_HOST_FLAGS) ; do \
18553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18554 done; \
18555 echo "Doing install-info in sid" ; \
18556 (cd $(HOST_SUBDIR)/sid && \
18557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18559 "RANLIB=$${RANLIB}" \
18560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18561 install-info) \
18562 || exit 1
18564 @endif sid
18566 .PHONY: maybe-installcheck-sid installcheck-sid
18567 maybe-installcheck-sid:
18568 @if sid
18569 maybe-installcheck-sid: installcheck-sid
18571 installcheck-sid: \
18572 configure-sid
18573 @[ -f ./sid/Makefile ] || exit 0; \
18574 r=`${PWD_COMMAND}`; export r; \
18575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18576 $(HOST_EXPORTS) \
18577 for flag in $(EXTRA_HOST_FLAGS) ; do \
18578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18579 done; \
18580 echo "Doing installcheck in sid" ; \
18581 (cd $(HOST_SUBDIR)/sid && \
18582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18584 "RANLIB=$${RANLIB}" \
18585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18586 installcheck) \
18587 || exit 1
18589 @endif sid
18591 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
18592 maybe-mostlyclean-sid:
18593 @if sid
18594 maybe-mostlyclean-sid: mostlyclean-sid
18596 mostlyclean-sid:
18597 @[ -f ./sid/Makefile ] || exit 0; \
18598 r=`${PWD_COMMAND}`; export r; \
18599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18600 $(HOST_EXPORTS) \
18601 for flag in $(EXTRA_HOST_FLAGS) ; do \
18602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18603 done; \
18604 echo "Doing mostlyclean in sid" ; \
18605 (cd $(HOST_SUBDIR)/sid && \
18606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18608 "RANLIB=$${RANLIB}" \
18609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18610 mostlyclean) \
18611 || exit 1
18613 @endif sid
18615 .PHONY: maybe-clean-sid clean-sid
18616 maybe-clean-sid:
18617 @if sid
18618 maybe-clean-sid: clean-sid
18620 clean-sid:
18621 @[ -f ./sid/Makefile ] || exit 0; \
18622 r=`${PWD_COMMAND}`; export r; \
18623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18624 $(HOST_EXPORTS) \
18625 for flag in $(EXTRA_HOST_FLAGS) ; do \
18626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18627 done; \
18628 echo "Doing clean in sid" ; \
18629 (cd $(HOST_SUBDIR)/sid && \
18630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18632 "RANLIB=$${RANLIB}" \
18633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18634 clean) \
18635 || exit 1
18637 @endif sid
18639 .PHONY: maybe-distclean-sid distclean-sid
18640 maybe-distclean-sid:
18641 @if sid
18642 maybe-distclean-sid: distclean-sid
18644 distclean-sid:
18645 @[ -f ./sid/Makefile ] || exit 0; \
18646 r=`${PWD_COMMAND}`; export r; \
18647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18648 $(HOST_EXPORTS) \
18649 for flag in $(EXTRA_HOST_FLAGS) ; do \
18650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18651 done; \
18652 echo "Doing distclean in sid" ; \
18653 (cd $(HOST_SUBDIR)/sid && \
18654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18656 "RANLIB=$${RANLIB}" \
18657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18658 distclean) \
18659 || exit 1
18661 @endif sid
18663 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
18664 maybe-maintainer-clean-sid:
18665 @if sid
18666 maybe-maintainer-clean-sid: maintainer-clean-sid
18668 maintainer-clean-sid:
18669 @[ -f ./sid/Makefile ] || exit 0; \
18670 r=`${PWD_COMMAND}`; export r; \
18671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18672 $(HOST_EXPORTS) \
18673 for flag in $(EXTRA_HOST_FLAGS) ; do \
18674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18675 done; \
18676 echo "Doing maintainer-clean in sid" ; \
18677 (cd $(HOST_SUBDIR)/sid && \
18678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18680 "RANLIB=$${RANLIB}" \
18681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18682 maintainer-clean) \
18683 || exit 1
18685 @endif sid
18689 .PHONY: configure-sim maybe-configure-sim
18690 maybe-configure-sim:
18691 @if sim
18692 maybe-configure-sim: configure-sim
18693 configure-sim:
18694 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
18695 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
18696 r=`${PWD_COMMAND}`; export r; \
18697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18698 $(HOST_EXPORTS) \
18699 echo Configuring in $(HOST_SUBDIR)/sim; \
18700 cd "$(HOST_SUBDIR)/sim" || exit 1; \
18701 case $(srcdir) in \
18702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18703 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
18704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18705 esac; \
18706 srcdiroption="--srcdir=$${topdir}/sim"; \
18707 libsrcdir="$$s/sim"; \
18708 $(SHELL) $${libsrcdir}/configure \
18709 $(HOST_CONFIGARGS) $${srcdiroption} \
18710 || exit 1
18711 @endif sim
18715 .PHONY: all-sim maybe-all-sim
18716 maybe-all-sim:
18717 @if sim
18718 TARGET-sim=all
18719 maybe-all-sim: all-sim
18720 all-sim: configure-sim
18721 @r=`${PWD_COMMAND}`; export r; \
18722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18723 $(HOST_EXPORTS) \
18724 (cd $(HOST_SUBDIR)/sim && \
18725 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
18726 @endif sim
18729 .PHONY: check-sim maybe-check-sim
18730 maybe-check-sim:
18731 @if sim
18732 maybe-check-sim: check-sim
18734 check-sim:
18735 @r=`${PWD_COMMAND}`; export r; \
18736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18737 $(HOST_EXPORTS) \
18738 (cd $(HOST_SUBDIR)/sim && \
18739 $(MAKE) $(FLAGS_TO_PASS) check)
18741 @endif sim
18743 .PHONY: install-sim maybe-install-sim
18744 maybe-install-sim:
18745 @if sim
18746 maybe-install-sim: install-sim
18748 install-sim: installdirs
18749 @r=`${PWD_COMMAND}`; export r; \
18750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18751 $(HOST_EXPORTS) \
18752 (cd $(HOST_SUBDIR)/sim && \
18753 $(MAKE) $(FLAGS_TO_PASS) install)
18755 @endif sim
18757 # Other targets (info, dvi, etc.)
18759 .PHONY: maybe-info-sim info-sim
18760 maybe-info-sim:
18761 @if sim
18762 maybe-info-sim: info-sim
18764 info-sim: \
18765 configure-sim
18766 @[ -f ./sim/Makefile ] || exit 0; \
18767 r=`${PWD_COMMAND}`; export r; \
18768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18769 $(HOST_EXPORTS) \
18770 for flag in $(EXTRA_HOST_FLAGS) ; do \
18771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18772 done; \
18773 echo "Doing info in sim" ; \
18774 (cd $(HOST_SUBDIR)/sim && \
18775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18777 "RANLIB=$${RANLIB}" \
18778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18779 info) \
18780 || exit 1
18782 @endif sim
18784 .PHONY: maybe-dvi-sim dvi-sim
18785 maybe-dvi-sim:
18786 @if sim
18787 maybe-dvi-sim: dvi-sim
18789 dvi-sim: \
18790 configure-sim
18791 @[ -f ./sim/Makefile ] || exit 0; \
18792 r=`${PWD_COMMAND}`; export r; \
18793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18794 $(HOST_EXPORTS) \
18795 for flag in $(EXTRA_HOST_FLAGS) ; do \
18796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18797 done; \
18798 echo "Doing dvi in sim" ; \
18799 (cd $(HOST_SUBDIR)/sim && \
18800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18802 "RANLIB=$${RANLIB}" \
18803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18804 dvi) \
18805 || exit 1
18807 @endif sim
18809 .PHONY: maybe-html-sim html-sim
18810 maybe-html-sim:
18811 @if sim
18812 maybe-html-sim: html-sim
18814 html-sim: \
18815 configure-sim
18816 @[ -f ./sim/Makefile ] || exit 0; \
18817 r=`${PWD_COMMAND}`; export r; \
18818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18819 $(HOST_EXPORTS) \
18820 for flag in $(EXTRA_HOST_FLAGS) ; do \
18821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18822 done; \
18823 echo "Doing html in sim" ; \
18824 (cd $(HOST_SUBDIR)/sim && \
18825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18827 "RANLIB=$${RANLIB}" \
18828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18829 html) \
18830 || exit 1
18832 @endif sim
18834 .PHONY: maybe-TAGS-sim TAGS-sim
18835 maybe-TAGS-sim:
18836 @if sim
18837 maybe-TAGS-sim: TAGS-sim
18839 TAGS-sim: \
18840 configure-sim
18841 @[ -f ./sim/Makefile ] || exit 0; \
18842 r=`${PWD_COMMAND}`; export r; \
18843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18844 $(HOST_EXPORTS) \
18845 for flag in $(EXTRA_HOST_FLAGS) ; do \
18846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18847 done; \
18848 echo "Doing TAGS in sim" ; \
18849 (cd $(HOST_SUBDIR)/sim && \
18850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18852 "RANLIB=$${RANLIB}" \
18853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18854 TAGS) \
18855 || exit 1
18857 @endif sim
18859 .PHONY: maybe-install-info-sim install-info-sim
18860 maybe-install-info-sim:
18861 @if sim
18862 maybe-install-info-sim: install-info-sim
18864 install-info-sim: \
18865 configure-sim \
18866 info-sim
18867 @[ -f ./sim/Makefile ] || exit 0; \
18868 r=`${PWD_COMMAND}`; export r; \
18869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18870 $(HOST_EXPORTS) \
18871 for flag in $(EXTRA_HOST_FLAGS) ; do \
18872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18873 done; \
18874 echo "Doing install-info in sim" ; \
18875 (cd $(HOST_SUBDIR)/sim && \
18876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18878 "RANLIB=$${RANLIB}" \
18879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18880 install-info) \
18881 || exit 1
18883 @endif sim
18885 .PHONY: maybe-installcheck-sim installcheck-sim
18886 maybe-installcheck-sim:
18887 @if sim
18888 maybe-installcheck-sim: installcheck-sim
18890 installcheck-sim: \
18891 configure-sim
18892 @[ -f ./sim/Makefile ] || exit 0; \
18893 r=`${PWD_COMMAND}`; export r; \
18894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18895 $(HOST_EXPORTS) \
18896 for flag in $(EXTRA_HOST_FLAGS) ; do \
18897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18898 done; \
18899 echo "Doing installcheck in sim" ; \
18900 (cd $(HOST_SUBDIR)/sim && \
18901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18903 "RANLIB=$${RANLIB}" \
18904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18905 installcheck) \
18906 || exit 1
18908 @endif sim
18910 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
18911 maybe-mostlyclean-sim:
18912 @if sim
18913 maybe-mostlyclean-sim: mostlyclean-sim
18915 mostlyclean-sim:
18916 @[ -f ./sim/Makefile ] || exit 0; \
18917 r=`${PWD_COMMAND}`; export r; \
18918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18919 $(HOST_EXPORTS) \
18920 for flag in $(EXTRA_HOST_FLAGS) ; do \
18921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18922 done; \
18923 echo "Doing mostlyclean in sim" ; \
18924 (cd $(HOST_SUBDIR)/sim && \
18925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18927 "RANLIB=$${RANLIB}" \
18928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18929 mostlyclean) \
18930 || exit 1
18932 @endif sim
18934 .PHONY: maybe-clean-sim clean-sim
18935 maybe-clean-sim:
18936 @if sim
18937 maybe-clean-sim: clean-sim
18939 clean-sim:
18940 @[ -f ./sim/Makefile ] || exit 0; \
18941 r=`${PWD_COMMAND}`; export r; \
18942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18943 $(HOST_EXPORTS) \
18944 for flag in $(EXTRA_HOST_FLAGS) ; do \
18945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18946 done; \
18947 echo "Doing clean in sim" ; \
18948 (cd $(HOST_SUBDIR)/sim && \
18949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18951 "RANLIB=$${RANLIB}" \
18952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18953 clean) \
18954 || exit 1
18956 @endif sim
18958 .PHONY: maybe-distclean-sim distclean-sim
18959 maybe-distclean-sim:
18960 @if sim
18961 maybe-distclean-sim: distclean-sim
18963 distclean-sim:
18964 @[ -f ./sim/Makefile ] || exit 0; \
18965 r=`${PWD_COMMAND}`; export r; \
18966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18967 $(HOST_EXPORTS) \
18968 for flag in $(EXTRA_HOST_FLAGS) ; do \
18969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18970 done; \
18971 echo "Doing distclean in sim" ; \
18972 (cd $(HOST_SUBDIR)/sim && \
18973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18975 "RANLIB=$${RANLIB}" \
18976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18977 distclean) \
18978 || exit 1
18980 @endif sim
18982 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
18983 maybe-maintainer-clean-sim:
18984 @if sim
18985 maybe-maintainer-clean-sim: maintainer-clean-sim
18987 maintainer-clean-sim:
18988 @[ -f ./sim/Makefile ] || exit 0; \
18989 r=`${PWD_COMMAND}`; export r; \
18990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18991 $(HOST_EXPORTS) \
18992 for flag in $(EXTRA_HOST_FLAGS) ; do \
18993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18994 done; \
18995 echo "Doing maintainer-clean in sim" ; \
18996 (cd $(HOST_SUBDIR)/sim && \
18997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18999 "RANLIB=$${RANLIB}" \
19000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19001 maintainer-clean) \
19002 || exit 1
19004 @endif sim
19008 .PHONY: configure-tar maybe-configure-tar
19009 maybe-configure-tar:
19010 @if tar
19011 maybe-configure-tar: configure-tar
19012 configure-tar:
19013 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
19014 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
19015 r=`${PWD_COMMAND}`; export r; \
19016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19017 $(HOST_EXPORTS) \
19018 echo Configuring in $(HOST_SUBDIR)/tar; \
19019 cd "$(HOST_SUBDIR)/tar" || exit 1; \
19020 case $(srcdir) in \
19021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19022 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
19023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19024 esac; \
19025 srcdiroption="--srcdir=$${topdir}/tar"; \
19026 libsrcdir="$$s/tar"; \
19027 $(SHELL) $${libsrcdir}/configure \
19028 $(HOST_CONFIGARGS) $${srcdiroption} \
19029 || exit 1
19030 @endif tar
19034 .PHONY: all-tar maybe-all-tar
19035 maybe-all-tar:
19036 @if tar
19037 TARGET-tar=all
19038 maybe-all-tar: all-tar
19039 all-tar: configure-tar
19040 @r=`${PWD_COMMAND}`; export r; \
19041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19042 $(HOST_EXPORTS) \
19043 (cd $(HOST_SUBDIR)/tar && \
19044 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
19045 @endif tar
19048 .PHONY: check-tar maybe-check-tar
19049 maybe-check-tar:
19050 @if tar
19051 maybe-check-tar: check-tar
19053 check-tar:
19054 @r=`${PWD_COMMAND}`; export r; \
19055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19056 $(HOST_EXPORTS) \
19057 (cd $(HOST_SUBDIR)/tar && \
19058 $(MAKE) $(FLAGS_TO_PASS) check)
19060 @endif tar
19062 .PHONY: install-tar maybe-install-tar
19063 maybe-install-tar:
19064 @if tar
19065 maybe-install-tar: install-tar
19067 install-tar: installdirs
19068 @r=`${PWD_COMMAND}`; export r; \
19069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19070 $(HOST_EXPORTS) \
19071 (cd $(HOST_SUBDIR)/tar && \
19072 $(MAKE) $(FLAGS_TO_PASS) install)
19074 @endif tar
19076 # Other targets (info, dvi, etc.)
19078 .PHONY: maybe-info-tar info-tar
19079 maybe-info-tar:
19080 @if tar
19081 maybe-info-tar: info-tar
19083 info-tar: \
19084 configure-tar
19085 @[ -f ./tar/Makefile ] || exit 0; \
19086 r=`${PWD_COMMAND}`; export r; \
19087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19088 $(HOST_EXPORTS) \
19089 for flag in $(EXTRA_HOST_FLAGS) ; do \
19090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19091 done; \
19092 echo "Doing info in tar" ; \
19093 (cd $(HOST_SUBDIR)/tar && \
19094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19096 "RANLIB=$${RANLIB}" \
19097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19098 info) \
19099 || exit 1
19101 @endif tar
19103 .PHONY: maybe-dvi-tar dvi-tar
19104 maybe-dvi-tar:
19105 @if tar
19106 maybe-dvi-tar: dvi-tar
19108 dvi-tar: \
19109 configure-tar
19110 @[ -f ./tar/Makefile ] || exit 0; \
19111 r=`${PWD_COMMAND}`; export r; \
19112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19113 $(HOST_EXPORTS) \
19114 for flag in $(EXTRA_HOST_FLAGS) ; do \
19115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19116 done; \
19117 echo "Doing dvi in tar" ; \
19118 (cd $(HOST_SUBDIR)/tar && \
19119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19121 "RANLIB=$${RANLIB}" \
19122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19123 dvi) \
19124 || exit 1
19126 @endif tar
19128 .PHONY: maybe-html-tar html-tar
19129 maybe-html-tar:
19130 @if tar
19131 maybe-html-tar: html-tar
19133 html-tar: \
19134 configure-tar
19135 @[ -f ./tar/Makefile ] || exit 0; \
19136 r=`${PWD_COMMAND}`; export r; \
19137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19138 $(HOST_EXPORTS) \
19139 for flag in $(EXTRA_HOST_FLAGS) ; do \
19140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19141 done; \
19142 echo "Doing html in tar" ; \
19143 (cd $(HOST_SUBDIR)/tar && \
19144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19146 "RANLIB=$${RANLIB}" \
19147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19148 html) \
19149 || exit 1
19151 @endif tar
19153 .PHONY: maybe-TAGS-tar TAGS-tar
19154 maybe-TAGS-tar:
19155 @if tar
19156 maybe-TAGS-tar: TAGS-tar
19158 TAGS-tar: \
19159 configure-tar
19160 @[ -f ./tar/Makefile ] || exit 0; \
19161 r=`${PWD_COMMAND}`; export r; \
19162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19163 $(HOST_EXPORTS) \
19164 for flag in $(EXTRA_HOST_FLAGS) ; do \
19165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19166 done; \
19167 echo "Doing TAGS in tar" ; \
19168 (cd $(HOST_SUBDIR)/tar && \
19169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19171 "RANLIB=$${RANLIB}" \
19172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19173 TAGS) \
19174 || exit 1
19176 @endif tar
19178 .PHONY: maybe-install-info-tar install-info-tar
19179 maybe-install-info-tar:
19180 @if tar
19181 maybe-install-info-tar: install-info-tar
19183 install-info-tar: \
19184 configure-tar \
19185 info-tar
19186 @[ -f ./tar/Makefile ] || exit 0; \
19187 r=`${PWD_COMMAND}`; export r; \
19188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 install-info in tar" ; \
19194 (cd $(HOST_SUBDIR)/tar && \
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 install-info) \
19200 || exit 1
19202 @endif tar
19204 .PHONY: maybe-installcheck-tar installcheck-tar
19205 maybe-installcheck-tar:
19206 @if tar
19207 maybe-installcheck-tar: installcheck-tar
19209 installcheck-tar: \
19210 configure-tar
19211 @[ -f ./tar/Makefile ] || exit 0; \
19212 r=`${PWD_COMMAND}`; export r; \
19213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19214 $(HOST_EXPORTS) \
19215 for flag in $(EXTRA_HOST_FLAGS) ; do \
19216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19217 done; \
19218 echo "Doing installcheck in tar" ; \
19219 (cd $(HOST_SUBDIR)/tar && \
19220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19222 "RANLIB=$${RANLIB}" \
19223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19224 installcheck) \
19225 || exit 1
19227 @endif tar
19229 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
19230 maybe-mostlyclean-tar:
19231 @if tar
19232 maybe-mostlyclean-tar: mostlyclean-tar
19234 mostlyclean-tar:
19235 @[ -f ./tar/Makefile ] || exit 0; \
19236 r=`${PWD_COMMAND}`; export r; \
19237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19238 $(HOST_EXPORTS) \
19239 for flag in $(EXTRA_HOST_FLAGS) ; do \
19240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19241 done; \
19242 echo "Doing mostlyclean in tar" ; \
19243 (cd $(HOST_SUBDIR)/tar && \
19244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19246 "RANLIB=$${RANLIB}" \
19247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19248 mostlyclean) \
19249 || exit 1
19251 @endif tar
19253 .PHONY: maybe-clean-tar clean-tar
19254 maybe-clean-tar:
19255 @if tar
19256 maybe-clean-tar: clean-tar
19258 clean-tar:
19259 @[ -f ./tar/Makefile ] || exit 0; \
19260 r=`${PWD_COMMAND}`; export r; \
19261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19262 $(HOST_EXPORTS) \
19263 for flag in $(EXTRA_HOST_FLAGS) ; do \
19264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19265 done; \
19266 echo "Doing clean in tar" ; \
19267 (cd $(HOST_SUBDIR)/tar && \
19268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19270 "RANLIB=$${RANLIB}" \
19271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19272 clean) \
19273 || exit 1
19275 @endif tar
19277 .PHONY: maybe-distclean-tar distclean-tar
19278 maybe-distclean-tar:
19279 @if tar
19280 maybe-distclean-tar: distclean-tar
19282 distclean-tar:
19283 @[ -f ./tar/Makefile ] || exit 0; \
19284 r=`${PWD_COMMAND}`; export r; \
19285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19286 $(HOST_EXPORTS) \
19287 for flag in $(EXTRA_HOST_FLAGS) ; do \
19288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19289 done; \
19290 echo "Doing distclean in tar" ; \
19291 (cd $(HOST_SUBDIR)/tar && \
19292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19294 "RANLIB=$${RANLIB}" \
19295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19296 distclean) \
19297 || exit 1
19299 @endif tar
19301 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
19302 maybe-maintainer-clean-tar:
19303 @if tar
19304 maybe-maintainer-clean-tar: maintainer-clean-tar
19306 maintainer-clean-tar:
19307 @[ -f ./tar/Makefile ] || exit 0; \
19308 r=`${PWD_COMMAND}`; export r; \
19309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19310 $(HOST_EXPORTS) \
19311 for flag in $(EXTRA_HOST_FLAGS) ; do \
19312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19313 done; \
19314 echo "Doing maintainer-clean in tar" ; \
19315 (cd $(HOST_SUBDIR)/tar && \
19316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19318 "RANLIB=$${RANLIB}" \
19319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19320 maintainer-clean) \
19321 || exit 1
19323 @endif tar
19327 .PHONY: configure-texinfo maybe-configure-texinfo
19328 maybe-configure-texinfo:
19329 @if texinfo
19330 maybe-configure-texinfo: configure-texinfo
19331 configure-texinfo:
19332 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
19333 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
19334 r=`${PWD_COMMAND}`; export r; \
19335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19336 $(HOST_EXPORTS) \
19337 echo Configuring in $(HOST_SUBDIR)/texinfo; \
19338 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
19339 case $(srcdir) in \
19340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19341 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
19342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19343 esac; \
19344 srcdiroption="--srcdir=$${topdir}/texinfo"; \
19345 libsrcdir="$$s/texinfo"; \
19346 $(SHELL) $${libsrcdir}/configure \
19347 $(HOST_CONFIGARGS) $${srcdiroption} \
19348 || exit 1
19349 @endif texinfo
19353 .PHONY: all-texinfo maybe-all-texinfo
19354 maybe-all-texinfo:
19355 @if texinfo
19356 TARGET-texinfo=all
19357 maybe-all-texinfo: all-texinfo
19358 all-texinfo: configure-texinfo
19359 @r=`${PWD_COMMAND}`; export r; \
19360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19361 $(HOST_EXPORTS) \
19362 (cd $(HOST_SUBDIR)/texinfo && \
19363 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
19364 @endif texinfo
19367 .PHONY: check-texinfo maybe-check-texinfo
19368 maybe-check-texinfo:
19369 @if texinfo
19370 maybe-check-texinfo: check-texinfo
19372 check-texinfo:
19373 @r=`${PWD_COMMAND}`; export r; \
19374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19375 $(HOST_EXPORTS) \
19376 (cd $(HOST_SUBDIR)/texinfo && \
19377 $(MAKE) $(FLAGS_TO_PASS) check)
19379 @endif texinfo
19381 .PHONY: install-texinfo maybe-install-texinfo
19382 maybe-install-texinfo:
19383 @if texinfo
19384 maybe-install-texinfo: install-texinfo
19386 install-texinfo:
19388 @endif texinfo
19390 # Other targets (info, dvi, etc.)
19392 .PHONY: maybe-info-texinfo info-texinfo
19393 maybe-info-texinfo:
19394 @if texinfo
19395 maybe-info-texinfo: info-texinfo
19397 info-texinfo: \
19398 configure-texinfo
19399 @[ -f ./texinfo/Makefile ] || exit 0; \
19400 r=`${PWD_COMMAND}`; export r; \
19401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19402 $(HOST_EXPORTS) \
19403 for flag in $(EXTRA_HOST_FLAGS) ; do \
19404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19405 done; \
19406 echo "Doing info in texinfo" ; \
19407 (cd $(HOST_SUBDIR)/texinfo && \
19408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19410 "RANLIB=$${RANLIB}" \
19411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19412 info) \
19413 || exit 1
19415 @endif texinfo
19417 .PHONY: maybe-dvi-texinfo dvi-texinfo
19418 maybe-dvi-texinfo:
19419 @if texinfo
19420 maybe-dvi-texinfo: dvi-texinfo
19422 dvi-texinfo: \
19423 configure-texinfo
19424 @[ -f ./texinfo/Makefile ] || exit 0; \
19425 r=`${PWD_COMMAND}`; export r; \
19426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19427 $(HOST_EXPORTS) \
19428 for flag in $(EXTRA_HOST_FLAGS) ; do \
19429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19430 done; \
19431 echo "Doing dvi in texinfo" ; \
19432 (cd $(HOST_SUBDIR)/texinfo && \
19433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19435 "RANLIB=$${RANLIB}" \
19436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19437 dvi) \
19438 || exit 1
19440 @endif texinfo
19442 .PHONY: maybe-html-texinfo html-texinfo
19443 maybe-html-texinfo:
19444 @if texinfo
19445 maybe-html-texinfo: html-texinfo
19447 html-texinfo: \
19448 configure-texinfo
19449 @[ -f ./texinfo/Makefile ] || exit 0; \
19450 r=`${PWD_COMMAND}`; export r; \
19451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19452 $(HOST_EXPORTS) \
19453 for flag in $(EXTRA_HOST_FLAGS) ; do \
19454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19455 done; \
19456 echo "Doing html in texinfo" ; \
19457 (cd $(HOST_SUBDIR)/texinfo && \
19458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19460 "RANLIB=$${RANLIB}" \
19461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19462 html) \
19463 || exit 1
19465 @endif texinfo
19467 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
19468 maybe-TAGS-texinfo:
19469 @if texinfo
19470 maybe-TAGS-texinfo: TAGS-texinfo
19472 TAGS-texinfo: \
19473 configure-texinfo
19474 @[ -f ./texinfo/Makefile ] || exit 0; \
19475 r=`${PWD_COMMAND}`; export r; \
19476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19477 $(HOST_EXPORTS) \
19478 for flag in $(EXTRA_HOST_FLAGS) ; do \
19479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19480 done; \
19481 echo "Doing TAGS in texinfo" ; \
19482 (cd $(HOST_SUBDIR)/texinfo && \
19483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19485 "RANLIB=$${RANLIB}" \
19486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19487 TAGS) \
19488 || exit 1
19490 @endif texinfo
19492 .PHONY: maybe-install-info-texinfo install-info-texinfo
19493 maybe-install-info-texinfo:
19494 @if texinfo
19495 maybe-install-info-texinfo: install-info-texinfo
19497 install-info-texinfo: \
19498 configure-texinfo \
19499 info-texinfo
19500 @[ -f ./texinfo/Makefile ] || exit 0; \
19501 r=`${PWD_COMMAND}`; export r; \
19502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19503 $(HOST_EXPORTS) \
19504 for flag in $(EXTRA_HOST_FLAGS) ; do \
19505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19506 done; \
19507 echo "Doing install-info in texinfo" ; \
19508 (cd $(HOST_SUBDIR)/texinfo && \
19509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19511 "RANLIB=$${RANLIB}" \
19512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19513 install-info) \
19514 || exit 1
19516 @endif texinfo
19518 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
19519 maybe-installcheck-texinfo:
19520 @if texinfo
19521 maybe-installcheck-texinfo: installcheck-texinfo
19523 installcheck-texinfo: \
19524 configure-texinfo
19525 @[ -f ./texinfo/Makefile ] || exit 0; \
19526 r=`${PWD_COMMAND}`; export r; \
19527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19528 $(HOST_EXPORTS) \
19529 for flag in $(EXTRA_HOST_FLAGS) ; do \
19530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19531 done; \
19532 echo "Doing installcheck in texinfo" ; \
19533 (cd $(HOST_SUBDIR)/texinfo && \
19534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19536 "RANLIB=$${RANLIB}" \
19537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19538 installcheck) \
19539 || exit 1
19541 @endif texinfo
19543 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
19544 maybe-mostlyclean-texinfo:
19545 @if texinfo
19546 maybe-mostlyclean-texinfo: mostlyclean-texinfo
19548 mostlyclean-texinfo:
19549 @[ -f ./texinfo/Makefile ] || exit 0; \
19550 r=`${PWD_COMMAND}`; export r; \
19551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19552 $(HOST_EXPORTS) \
19553 for flag in $(EXTRA_HOST_FLAGS) ; do \
19554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19555 done; \
19556 echo "Doing mostlyclean in texinfo" ; \
19557 (cd $(HOST_SUBDIR)/texinfo && \
19558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19560 "RANLIB=$${RANLIB}" \
19561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19562 mostlyclean) \
19563 || exit 1
19565 @endif texinfo
19567 .PHONY: maybe-clean-texinfo clean-texinfo
19568 maybe-clean-texinfo:
19569 @if texinfo
19570 maybe-clean-texinfo: clean-texinfo
19572 clean-texinfo:
19573 @[ -f ./texinfo/Makefile ] || exit 0; \
19574 r=`${PWD_COMMAND}`; export r; \
19575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19576 $(HOST_EXPORTS) \
19577 for flag in $(EXTRA_HOST_FLAGS) ; do \
19578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19579 done; \
19580 echo "Doing clean in texinfo" ; \
19581 (cd $(HOST_SUBDIR)/texinfo && \
19582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19584 "RANLIB=$${RANLIB}" \
19585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19586 clean) \
19587 || exit 1
19589 @endif texinfo
19591 .PHONY: maybe-distclean-texinfo distclean-texinfo
19592 maybe-distclean-texinfo:
19593 @if texinfo
19594 maybe-distclean-texinfo: distclean-texinfo
19596 distclean-texinfo:
19597 @[ -f ./texinfo/Makefile ] || exit 0; \
19598 r=`${PWD_COMMAND}`; export r; \
19599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19600 $(HOST_EXPORTS) \
19601 for flag in $(EXTRA_HOST_FLAGS) ; do \
19602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19603 done; \
19604 echo "Doing distclean in texinfo" ; \
19605 (cd $(HOST_SUBDIR)/texinfo && \
19606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19608 "RANLIB=$${RANLIB}" \
19609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19610 distclean) \
19611 || exit 1
19613 @endif texinfo
19615 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
19616 maybe-maintainer-clean-texinfo:
19617 @if texinfo
19618 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
19620 maintainer-clean-texinfo:
19621 @[ -f ./texinfo/Makefile ] || exit 0; \
19622 r=`${PWD_COMMAND}`; export r; \
19623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19624 $(HOST_EXPORTS) \
19625 for flag in $(EXTRA_HOST_FLAGS) ; do \
19626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19627 done; \
19628 echo "Doing maintainer-clean in texinfo" ; \
19629 (cd $(HOST_SUBDIR)/texinfo && \
19630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19632 "RANLIB=$${RANLIB}" \
19633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19634 maintainer-clean) \
19635 || exit 1
19637 @endif texinfo
19641 .PHONY: configure-textutils maybe-configure-textutils
19642 maybe-configure-textutils:
19643 @if textutils
19644 maybe-configure-textutils: configure-textutils
19645 configure-textutils:
19646 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
19647 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
19648 r=`${PWD_COMMAND}`; export r; \
19649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19650 $(HOST_EXPORTS) \
19651 echo Configuring in $(HOST_SUBDIR)/textutils; \
19652 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
19653 case $(srcdir) in \
19654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19655 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
19656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19657 esac; \
19658 srcdiroption="--srcdir=$${topdir}/textutils"; \
19659 libsrcdir="$$s/textutils"; \
19660 $(SHELL) $${libsrcdir}/configure \
19661 $(HOST_CONFIGARGS) $${srcdiroption} \
19662 || exit 1
19663 @endif textutils
19667 .PHONY: all-textutils maybe-all-textutils
19668 maybe-all-textutils:
19669 @if textutils
19670 TARGET-textutils=all
19671 maybe-all-textutils: all-textutils
19672 all-textutils: configure-textutils
19673 @r=`${PWD_COMMAND}`; export r; \
19674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19675 $(HOST_EXPORTS) \
19676 (cd $(HOST_SUBDIR)/textutils && \
19677 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
19678 @endif textutils
19681 .PHONY: check-textutils maybe-check-textutils
19682 maybe-check-textutils:
19683 @if textutils
19684 maybe-check-textutils: check-textutils
19686 check-textutils:
19687 @r=`${PWD_COMMAND}`; export r; \
19688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19689 $(HOST_EXPORTS) \
19690 (cd $(HOST_SUBDIR)/textutils && \
19691 $(MAKE) $(FLAGS_TO_PASS) check)
19693 @endif textutils
19695 .PHONY: install-textutils maybe-install-textutils
19696 maybe-install-textutils:
19697 @if textutils
19698 maybe-install-textutils: install-textutils
19700 install-textutils: installdirs
19701 @r=`${PWD_COMMAND}`; export r; \
19702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19703 $(HOST_EXPORTS) \
19704 (cd $(HOST_SUBDIR)/textutils && \
19705 $(MAKE) $(FLAGS_TO_PASS) install)
19707 @endif textutils
19709 # Other targets (info, dvi, etc.)
19711 .PHONY: maybe-info-textutils info-textutils
19712 maybe-info-textutils:
19713 @if textutils
19714 maybe-info-textutils: info-textutils
19716 info-textutils: \
19717 configure-textutils
19718 @[ -f ./textutils/Makefile ] || exit 0; \
19719 r=`${PWD_COMMAND}`; export r; \
19720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19721 $(HOST_EXPORTS) \
19722 for flag in $(EXTRA_HOST_FLAGS) ; do \
19723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19724 done; \
19725 echo "Doing info in textutils" ; \
19726 (cd $(HOST_SUBDIR)/textutils && \
19727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19729 "RANLIB=$${RANLIB}" \
19730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19731 info) \
19732 || exit 1
19734 @endif textutils
19736 .PHONY: maybe-dvi-textutils dvi-textutils
19737 maybe-dvi-textutils:
19738 @if textutils
19739 maybe-dvi-textutils: dvi-textutils
19741 dvi-textutils: \
19742 configure-textutils
19743 @[ -f ./textutils/Makefile ] || exit 0; \
19744 r=`${PWD_COMMAND}`; export r; \
19745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19746 $(HOST_EXPORTS) \
19747 for flag in $(EXTRA_HOST_FLAGS) ; do \
19748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19749 done; \
19750 echo "Doing dvi in textutils" ; \
19751 (cd $(HOST_SUBDIR)/textutils && \
19752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19754 "RANLIB=$${RANLIB}" \
19755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19756 dvi) \
19757 || exit 1
19759 @endif textutils
19761 .PHONY: maybe-html-textutils html-textutils
19762 maybe-html-textutils:
19763 @if textutils
19764 maybe-html-textutils: html-textutils
19766 html-textutils: \
19767 configure-textutils
19768 @[ -f ./textutils/Makefile ] || exit 0; \
19769 r=`${PWD_COMMAND}`; export r; \
19770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19771 $(HOST_EXPORTS) \
19772 for flag in $(EXTRA_HOST_FLAGS) ; do \
19773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19774 done; \
19775 echo "Doing html in textutils" ; \
19776 (cd $(HOST_SUBDIR)/textutils && \
19777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19779 "RANLIB=$${RANLIB}" \
19780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19781 html) \
19782 || exit 1
19784 @endif textutils
19786 .PHONY: maybe-TAGS-textutils TAGS-textutils
19787 maybe-TAGS-textutils:
19788 @if textutils
19789 maybe-TAGS-textutils: TAGS-textutils
19791 TAGS-textutils: \
19792 configure-textutils
19793 @[ -f ./textutils/Makefile ] || exit 0; \
19794 r=`${PWD_COMMAND}`; export r; \
19795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19796 $(HOST_EXPORTS) \
19797 for flag in $(EXTRA_HOST_FLAGS) ; do \
19798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19799 done; \
19800 echo "Doing TAGS in textutils" ; \
19801 (cd $(HOST_SUBDIR)/textutils && \
19802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19804 "RANLIB=$${RANLIB}" \
19805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19806 TAGS) \
19807 || exit 1
19809 @endif textutils
19811 .PHONY: maybe-install-info-textutils install-info-textutils
19812 maybe-install-info-textutils:
19813 @if textutils
19814 maybe-install-info-textutils: install-info-textutils
19816 install-info-textutils: \
19817 configure-textutils \
19818 info-textutils
19819 @[ -f ./textutils/Makefile ] || exit 0; \
19820 r=`${PWD_COMMAND}`; export r; \
19821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19822 $(HOST_EXPORTS) \
19823 for flag in $(EXTRA_HOST_FLAGS) ; do \
19824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19825 done; \
19826 echo "Doing install-info in textutils" ; \
19827 (cd $(HOST_SUBDIR)/textutils && \
19828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19830 "RANLIB=$${RANLIB}" \
19831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19832 install-info) \
19833 || exit 1
19835 @endif textutils
19837 .PHONY: maybe-installcheck-textutils installcheck-textutils
19838 maybe-installcheck-textutils:
19839 @if textutils
19840 maybe-installcheck-textutils: installcheck-textutils
19842 installcheck-textutils: \
19843 configure-textutils
19844 @[ -f ./textutils/Makefile ] || exit 0; \
19845 r=`${PWD_COMMAND}`; export r; \
19846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19847 $(HOST_EXPORTS) \
19848 for flag in $(EXTRA_HOST_FLAGS) ; do \
19849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19850 done; \
19851 echo "Doing installcheck in textutils" ; \
19852 (cd $(HOST_SUBDIR)/textutils && \
19853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19855 "RANLIB=$${RANLIB}" \
19856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19857 installcheck) \
19858 || exit 1
19860 @endif textutils
19862 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
19863 maybe-mostlyclean-textutils:
19864 @if textutils
19865 maybe-mostlyclean-textutils: mostlyclean-textutils
19867 mostlyclean-textutils:
19868 @[ -f ./textutils/Makefile ] || exit 0; \
19869 r=`${PWD_COMMAND}`; export r; \
19870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19871 $(HOST_EXPORTS) \
19872 for flag in $(EXTRA_HOST_FLAGS) ; do \
19873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19874 done; \
19875 echo "Doing mostlyclean in textutils" ; \
19876 (cd $(HOST_SUBDIR)/textutils && \
19877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19879 "RANLIB=$${RANLIB}" \
19880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19881 mostlyclean) \
19882 || exit 1
19884 @endif textutils
19886 .PHONY: maybe-clean-textutils clean-textutils
19887 maybe-clean-textutils:
19888 @if textutils
19889 maybe-clean-textutils: clean-textutils
19891 clean-textutils:
19892 @[ -f ./textutils/Makefile ] || exit 0; \
19893 r=`${PWD_COMMAND}`; export r; \
19894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19895 $(HOST_EXPORTS) \
19896 for flag in $(EXTRA_HOST_FLAGS) ; do \
19897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19898 done; \
19899 echo "Doing clean in textutils" ; \
19900 (cd $(HOST_SUBDIR)/textutils && \
19901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19903 "RANLIB=$${RANLIB}" \
19904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19905 clean) \
19906 || exit 1
19908 @endif textutils
19910 .PHONY: maybe-distclean-textutils distclean-textutils
19911 maybe-distclean-textutils:
19912 @if textutils
19913 maybe-distclean-textutils: distclean-textutils
19915 distclean-textutils:
19916 @[ -f ./textutils/Makefile ] || exit 0; \
19917 r=`${PWD_COMMAND}`; export r; \
19918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19919 $(HOST_EXPORTS) \
19920 for flag in $(EXTRA_HOST_FLAGS) ; do \
19921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19922 done; \
19923 echo "Doing distclean in textutils" ; \
19924 (cd $(HOST_SUBDIR)/textutils && \
19925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19927 "RANLIB=$${RANLIB}" \
19928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19929 distclean) \
19930 || exit 1
19932 @endif textutils
19934 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
19935 maybe-maintainer-clean-textutils:
19936 @if textutils
19937 maybe-maintainer-clean-textutils: maintainer-clean-textutils
19939 maintainer-clean-textutils:
19940 @[ -f ./textutils/Makefile ] || exit 0; \
19941 r=`${PWD_COMMAND}`; export r; \
19942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19943 $(HOST_EXPORTS) \
19944 for flag in $(EXTRA_HOST_FLAGS) ; do \
19945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19946 done; \
19947 echo "Doing maintainer-clean in textutils" ; \
19948 (cd $(HOST_SUBDIR)/textutils && \
19949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19951 "RANLIB=$${RANLIB}" \
19952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19953 maintainer-clean) \
19954 || exit 1
19956 @endif textutils
19960 .PHONY: configure-time maybe-configure-time
19961 maybe-configure-time:
19962 @if time
19963 maybe-configure-time: configure-time
19964 configure-time:
19965 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
19966 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
19967 r=`${PWD_COMMAND}`; export r; \
19968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19969 $(HOST_EXPORTS) \
19970 echo Configuring in $(HOST_SUBDIR)/time; \
19971 cd "$(HOST_SUBDIR)/time" || exit 1; \
19972 case $(srcdir) in \
19973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19974 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
19975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19976 esac; \
19977 srcdiroption="--srcdir=$${topdir}/time"; \
19978 libsrcdir="$$s/time"; \
19979 $(SHELL) $${libsrcdir}/configure \
19980 $(HOST_CONFIGARGS) $${srcdiroption} \
19981 || exit 1
19982 @endif time
19986 .PHONY: all-time maybe-all-time
19987 maybe-all-time:
19988 @if time
19989 TARGET-time=all
19990 maybe-all-time: all-time
19991 all-time: configure-time
19992 @r=`${PWD_COMMAND}`; export r; \
19993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19994 $(HOST_EXPORTS) \
19995 (cd $(HOST_SUBDIR)/time && \
19996 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
19997 @endif time
20000 .PHONY: check-time maybe-check-time
20001 maybe-check-time:
20002 @if time
20003 maybe-check-time: check-time
20005 check-time:
20006 @r=`${PWD_COMMAND}`; export r; \
20007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20008 $(HOST_EXPORTS) \
20009 (cd $(HOST_SUBDIR)/time && \
20010 $(MAKE) $(FLAGS_TO_PASS) check)
20012 @endif time
20014 .PHONY: install-time maybe-install-time
20015 maybe-install-time:
20016 @if time
20017 maybe-install-time: install-time
20019 install-time: installdirs
20020 @r=`${PWD_COMMAND}`; export r; \
20021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20022 $(HOST_EXPORTS) \
20023 (cd $(HOST_SUBDIR)/time && \
20024 $(MAKE) $(FLAGS_TO_PASS) install)
20026 @endif time
20028 # Other targets (info, dvi, etc.)
20030 .PHONY: maybe-info-time info-time
20031 maybe-info-time:
20032 @if time
20033 maybe-info-time: info-time
20035 info-time: \
20036 configure-time
20037 @[ -f ./time/Makefile ] || exit 0; \
20038 r=`${PWD_COMMAND}`; export r; \
20039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20040 $(HOST_EXPORTS) \
20041 for flag in $(EXTRA_HOST_FLAGS) ; do \
20042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20043 done; \
20044 echo "Doing info in time" ; \
20045 (cd $(HOST_SUBDIR)/time && \
20046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20048 "RANLIB=$${RANLIB}" \
20049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20050 info) \
20051 || exit 1
20053 @endif time
20055 .PHONY: maybe-dvi-time dvi-time
20056 maybe-dvi-time:
20057 @if time
20058 maybe-dvi-time: dvi-time
20060 dvi-time: \
20061 configure-time
20062 @[ -f ./time/Makefile ] || exit 0; \
20063 r=`${PWD_COMMAND}`; export r; \
20064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20065 $(HOST_EXPORTS) \
20066 for flag in $(EXTRA_HOST_FLAGS) ; do \
20067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20068 done; \
20069 echo "Doing dvi in time" ; \
20070 (cd $(HOST_SUBDIR)/time && \
20071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20073 "RANLIB=$${RANLIB}" \
20074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20075 dvi) \
20076 || exit 1
20078 @endif time
20080 .PHONY: maybe-html-time html-time
20081 maybe-html-time:
20082 @if time
20083 maybe-html-time: html-time
20085 html-time: \
20086 configure-time
20087 @[ -f ./time/Makefile ] || exit 0; \
20088 r=`${PWD_COMMAND}`; export r; \
20089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20090 $(HOST_EXPORTS) \
20091 for flag in $(EXTRA_HOST_FLAGS) ; do \
20092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20093 done; \
20094 echo "Doing html in time" ; \
20095 (cd $(HOST_SUBDIR)/time && \
20096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20098 "RANLIB=$${RANLIB}" \
20099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20100 html) \
20101 || exit 1
20103 @endif time
20105 .PHONY: maybe-TAGS-time TAGS-time
20106 maybe-TAGS-time:
20107 @if time
20108 maybe-TAGS-time: TAGS-time
20110 TAGS-time: \
20111 configure-time
20112 @[ -f ./time/Makefile ] || exit 0; \
20113 r=`${PWD_COMMAND}`; export r; \
20114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20115 $(HOST_EXPORTS) \
20116 for flag in $(EXTRA_HOST_FLAGS) ; do \
20117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20118 done; \
20119 echo "Doing TAGS in time" ; \
20120 (cd $(HOST_SUBDIR)/time && \
20121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20123 "RANLIB=$${RANLIB}" \
20124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20125 TAGS) \
20126 || exit 1
20128 @endif time
20130 .PHONY: maybe-install-info-time install-info-time
20131 maybe-install-info-time:
20132 @if time
20133 maybe-install-info-time: install-info-time
20135 install-info-time: \
20136 configure-time \
20137 info-time
20138 @[ -f ./time/Makefile ] || exit 0; \
20139 r=`${PWD_COMMAND}`; export r; \
20140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20141 $(HOST_EXPORTS) \
20142 for flag in $(EXTRA_HOST_FLAGS) ; do \
20143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20144 done; \
20145 echo "Doing install-info in time" ; \
20146 (cd $(HOST_SUBDIR)/time && \
20147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20149 "RANLIB=$${RANLIB}" \
20150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20151 install-info) \
20152 || exit 1
20154 @endif time
20156 .PHONY: maybe-installcheck-time installcheck-time
20157 maybe-installcheck-time:
20158 @if time
20159 maybe-installcheck-time: installcheck-time
20161 installcheck-time: \
20162 configure-time
20163 @[ -f ./time/Makefile ] || exit 0; \
20164 r=`${PWD_COMMAND}`; export r; \
20165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20166 $(HOST_EXPORTS) \
20167 for flag in $(EXTRA_HOST_FLAGS) ; do \
20168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20169 done; \
20170 echo "Doing installcheck in time" ; \
20171 (cd $(HOST_SUBDIR)/time && \
20172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20174 "RANLIB=$${RANLIB}" \
20175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20176 installcheck) \
20177 || exit 1
20179 @endif time
20181 .PHONY: maybe-mostlyclean-time mostlyclean-time
20182 maybe-mostlyclean-time:
20183 @if time
20184 maybe-mostlyclean-time: mostlyclean-time
20186 mostlyclean-time:
20187 @[ -f ./time/Makefile ] || exit 0; \
20188 r=`${PWD_COMMAND}`; export r; \
20189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20190 $(HOST_EXPORTS) \
20191 for flag in $(EXTRA_HOST_FLAGS) ; do \
20192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20193 done; \
20194 echo "Doing mostlyclean in time" ; \
20195 (cd $(HOST_SUBDIR)/time && \
20196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20198 "RANLIB=$${RANLIB}" \
20199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20200 mostlyclean) \
20201 || exit 1
20203 @endif time
20205 .PHONY: maybe-clean-time clean-time
20206 maybe-clean-time:
20207 @if time
20208 maybe-clean-time: clean-time
20210 clean-time:
20211 @[ -f ./time/Makefile ] || exit 0; \
20212 r=`${PWD_COMMAND}`; export r; \
20213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20214 $(HOST_EXPORTS) \
20215 for flag in $(EXTRA_HOST_FLAGS) ; do \
20216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20217 done; \
20218 echo "Doing clean in time" ; \
20219 (cd $(HOST_SUBDIR)/time && \
20220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20222 "RANLIB=$${RANLIB}" \
20223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20224 clean) \
20225 || exit 1
20227 @endif time
20229 .PHONY: maybe-distclean-time distclean-time
20230 maybe-distclean-time:
20231 @if time
20232 maybe-distclean-time: distclean-time
20234 distclean-time:
20235 @[ -f ./time/Makefile ] || exit 0; \
20236 r=`${PWD_COMMAND}`; export r; \
20237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20238 $(HOST_EXPORTS) \
20239 for flag in $(EXTRA_HOST_FLAGS) ; do \
20240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20241 done; \
20242 echo "Doing distclean in time" ; \
20243 (cd $(HOST_SUBDIR)/time && \
20244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20246 "RANLIB=$${RANLIB}" \
20247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20248 distclean) \
20249 || exit 1
20251 @endif time
20253 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
20254 maybe-maintainer-clean-time:
20255 @if time
20256 maybe-maintainer-clean-time: maintainer-clean-time
20258 maintainer-clean-time:
20259 @[ -f ./time/Makefile ] || exit 0; \
20260 r=`${PWD_COMMAND}`; export r; \
20261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20262 $(HOST_EXPORTS) \
20263 for flag in $(EXTRA_HOST_FLAGS) ; do \
20264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20265 done; \
20266 echo "Doing maintainer-clean in time" ; \
20267 (cd $(HOST_SUBDIR)/time && \
20268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20270 "RANLIB=$${RANLIB}" \
20271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20272 maintainer-clean) \
20273 || exit 1
20275 @endif time
20279 .PHONY: configure-uudecode maybe-configure-uudecode
20280 maybe-configure-uudecode:
20281 @if uudecode
20282 maybe-configure-uudecode: configure-uudecode
20283 configure-uudecode:
20284 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
20285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
20286 r=`${PWD_COMMAND}`; export r; \
20287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20288 $(HOST_EXPORTS) \
20289 echo Configuring in $(HOST_SUBDIR)/uudecode; \
20290 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
20291 case $(srcdir) in \
20292 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20293 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
20294 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20295 esac; \
20296 srcdiroption="--srcdir=$${topdir}/uudecode"; \
20297 libsrcdir="$$s/uudecode"; \
20298 $(SHELL) $${libsrcdir}/configure \
20299 $(HOST_CONFIGARGS) $${srcdiroption} \
20300 || exit 1
20301 @endif uudecode
20305 .PHONY: all-uudecode maybe-all-uudecode
20306 maybe-all-uudecode:
20307 @if uudecode
20308 TARGET-uudecode=all
20309 maybe-all-uudecode: all-uudecode
20310 all-uudecode: configure-uudecode
20311 @r=`${PWD_COMMAND}`; export r; \
20312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20313 $(HOST_EXPORTS) \
20314 (cd $(HOST_SUBDIR)/uudecode && \
20315 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
20316 @endif uudecode
20319 .PHONY: check-uudecode maybe-check-uudecode
20320 maybe-check-uudecode:
20321 @if uudecode
20322 maybe-check-uudecode: check-uudecode
20324 check-uudecode:
20325 @r=`${PWD_COMMAND}`; export r; \
20326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20327 $(HOST_EXPORTS) \
20328 (cd $(HOST_SUBDIR)/uudecode && \
20329 $(MAKE) $(FLAGS_TO_PASS) check)
20331 @endif uudecode
20333 .PHONY: install-uudecode maybe-install-uudecode
20334 maybe-install-uudecode:
20335 @if uudecode
20336 maybe-install-uudecode: install-uudecode
20338 install-uudecode: installdirs
20339 @r=`${PWD_COMMAND}`; export r; \
20340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20341 $(HOST_EXPORTS) \
20342 (cd $(HOST_SUBDIR)/uudecode && \
20343 $(MAKE) $(FLAGS_TO_PASS) install)
20345 @endif uudecode
20347 # Other targets (info, dvi, etc.)
20349 .PHONY: maybe-info-uudecode info-uudecode
20350 maybe-info-uudecode:
20351 @if uudecode
20352 maybe-info-uudecode: info-uudecode
20354 info-uudecode: \
20355 configure-uudecode
20356 @[ -f ./uudecode/Makefile ] || exit 0; \
20357 r=`${PWD_COMMAND}`; export r; \
20358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20359 $(HOST_EXPORTS) \
20360 for flag in $(EXTRA_HOST_FLAGS) ; do \
20361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20362 done; \
20363 echo "Doing info in uudecode" ; \
20364 (cd $(HOST_SUBDIR)/uudecode && \
20365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20367 "RANLIB=$${RANLIB}" \
20368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20369 info) \
20370 || exit 1
20372 @endif uudecode
20374 .PHONY: maybe-dvi-uudecode dvi-uudecode
20375 maybe-dvi-uudecode:
20376 @if uudecode
20377 maybe-dvi-uudecode: dvi-uudecode
20379 dvi-uudecode: \
20380 configure-uudecode
20381 @[ -f ./uudecode/Makefile ] || exit 0; \
20382 r=`${PWD_COMMAND}`; export r; \
20383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20384 $(HOST_EXPORTS) \
20385 for flag in $(EXTRA_HOST_FLAGS) ; do \
20386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20387 done; \
20388 echo "Doing dvi in uudecode" ; \
20389 (cd $(HOST_SUBDIR)/uudecode && \
20390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20392 "RANLIB=$${RANLIB}" \
20393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20394 dvi) \
20395 || exit 1
20397 @endif uudecode
20399 .PHONY: maybe-html-uudecode html-uudecode
20400 maybe-html-uudecode:
20401 @if uudecode
20402 maybe-html-uudecode: html-uudecode
20404 html-uudecode: \
20405 configure-uudecode
20406 @[ -f ./uudecode/Makefile ] || exit 0; \
20407 r=`${PWD_COMMAND}`; export r; \
20408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20409 $(HOST_EXPORTS) \
20410 for flag in $(EXTRA_HOST_FLAGS) ; do \
20411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20412 done; \
20413 echo "Doing html in uudecode" ; \
20414 (cd $(HOST_SUBDIR)/uudecode && \
20415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20417 "RANLIB=$${RANLIB}" \
20418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20419 html) \
20420 || exit 1
20422 @endif uudecode
20424 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
20425 maybe-TAGS-uudecode:
20426 @if uudecode
20427 maybe-TAGS-uudecode: TAGS-uudecode
20429 TAGS-uudecode: \
20430 configure-uudecode
20431 @[ -f ./uudecode/Makefile ] || exit 0; \
20432 r=`${PWD_COMMAND}`; export r; \
20433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20434 $(HOST_EXPORTS) \
20435 for flag in $(EXTRA_HOST_FLAGS) ; do \
20436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20437 done; \
20438 echo "Doing TAGS in uudecode" ; \
20439 (cd $(HOST_SUBDIR)/uudecode && \
20440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20442 "RANLIB=$${RANLIB}" \
20443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20444 TAGS) \
20445 || exit 1
20447 @endif uudecode
20449 .PHONY: maybe-install-info-uudecode install-info-uudecode
20450 maybe-install-info-uudecode:
20451 @if uudecode
20452 maybe-install-info-uudecode: install-info-uudecode
20454 install-info-uudecode: \
20455 configure-uudecode \
20456 info-uudecode
20457 @[ -f ./uudecode/Makefile ] || exit 0; \
20458 r=`${PWD_COMMAND}`; export r; \
20459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20460 $(HOST_EXPORTS) \
20461 for flag in $(EXTRA_HOST_FLAGS) ; do \
20462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20463 done; \
20464 echo "Doing install-info in uudecode" ; \
20465 (cd $(HOST_SUBDIR)/uudecode && \
20466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20468 "RANLIB=$${RANLIB}" \
20469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20470 install-info) \
20471 || exit 1
20473 @endif uudecode
20475 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
20476 maybe-installcheck-uudecode:
20477 @if uudecode
20478 maybe-installcheck-uudecode: installcheck-uudecode
20480 installcheck-uudecode: \
20481 configure-uudecode
20482 @[ -f ./uudecode/Makefile ] || exit 0; \
20483 r=`${PWD_COMMAND}`; export r; \
20484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20485 $(HOST_EXPORTS) \
20486 for flag in $(EXTRA_HOST_FLAGS) ; do \
20487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20488 done; \
20489 echo "Doing installcheck in uudecode" ; \
20490 (cd $(HOST_SUBDIR)/uudecode && \
20491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20493 "RANLIB=$${RANLIB}" \
20494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20495 installcheck) \
20496 || exit 1
20498 @endif uudecode
20500 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
20501 maybe-mostlyclean-uudecode:
20502 @if uudecode
20503 maybe-mostlyclean-uudecode: mostlyclean-uudecode
20505 mostlyclean-uudecode:
20506 @[ -f ./uudecode/Makefile ] || exit 0; \
20507 r=`${PWD_COMMAND}`; export r; \
20508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20509 $(HOST_EXPORTS) \
20510 for flag in $(EXTRA_HOST_FLAGS) ; do \
20511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20512 done; \
20513 echo "Doing mostlyclean in uudecode" ; \
20514 (cd $(HOST_SUBDIR)/uudecode && \
20515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20517 "RANLIB=$${RANLIB}" \
20518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20519 mostlyclean) \
20520 || exit 1
20522 @endif uudecode
20524 .PHONY: maybe-clean-uudecode clean-uudecode
20525 maybe-clean-uudecode:
20526 @if uudecode
20527 maybe-clean-uudecode: clean-uudecode
20529 clean-uudecode:
20530 @[ -f ./uudecode/Makefile ] || exit 0; \
20531 r=`${PWD_COMMAND}`; export r; \
20532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20533 $(HOST_EXPORTS) \
20534 for flag in $(EXTRA_HOST_FLAGS) ; do \
20535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20536 done; \
20537 echo "Doing clean in uudecode" ; \
20538 (cd $(HOST_SUBDIR)/uudecode && \
20539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20541 "RANLIB=$${RANLIB}" \
20542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20543 clean) \
20544 || exit 1
20546 @endif uudecode
20548 .PHONY: maybe-distclean-uudecode distclean-uudecode
20549 maybe-distclean-uudecode:
20550 @if uudecode
20551 maybe-distclean-uudecode: distclean-uudecode
20553 distclean-uudecode:
20554 @[ -f ./uudecode/Makefile ] || exit 0; \
20555 r=`${PWD_COMMAND}`; export r; \
20556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20557 $(HOST_EXPORTS) \
20558 for flag in $(EXTRA_HOST_FLAGS) ; do \
20559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20560 done; \
20561 echo "Doing distclean in uudecode" ; \
20562 (cd $(HOST_SUBDIR)/uudecode && \
20563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20565 "RANLIB=$${RANLIB}" \
20566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20567 distclean) \
20568 || exit 1
20570 @endif uudecode
20572 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
20573 maybe-maintainer-clean-uudecode:
20574 @if uudecode
20575 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
20577 maintainer-clean-uudecode:
20578 @[ -f ./uudecode/Makefile ] || exit 0; \
20579 r=`${PWD_COMMAND}`; export r; \
20580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20581 $(HOST_EXPORTS) \
20582 for flag in $(EXTRA_HOST_FLAGS) ; do \
20583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20584 done; \
20585 echo "Doing maintainer-clean in uudecode" ; \
20586 (cd $(HOST_SUBDIR)/uudecode && \
20587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20589 "RANLIB=$${RANLIB}" \
20590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20591 maintainer-clean) \
20592 || exit 1
20594 @endif uudecode
20598 .PHONY: configure-wdiff maybe-configure-wdiff
20599 maybe-configure-wdiff:
20600 @if wdiff
20601 maybe-configure-wdiff: configure-wdiff
20602 configure-wdiff:
20603 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
20604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
20605 r=`${PWD_COMMAND}`; export r; \
20606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20607 $(HOST_EXPORTS) \
20608 echo Configuring in $(HOST_SUBDIR)/wdiff; \
20609 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
20610 case $(srcdir) in \
20611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20612 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
20613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20614 esac; \
20615 srcdiroption="--srcdir=$${topdir}/wdiff"; \
20616 libsrcdir="$$s/wdiff"; \
20617 $(SHELL) $${libsrcdir}/configure \
20618 $(HOST_CONFIGARGS) $${srcdiroption} \
20619 || exit 1
20620 @endif wdiff
20624 .PHONY: all-wdiff maybe-all-wdiff
20625 maybe-all-wdiff:
20626 @if wdiff
20627 TARGET-wdiff=all
20628 maybe-all-wdiff: all-wdiff
20629 all-wdiff: configure-wdiff
20630 @r=`${PWD_COMMAND}`; export r; \
20631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20632 $(HOST_EXPORTS) \
20633 (cd $(HOST_SUBDIR)/wdiff && \
20634 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
20635 @endif wdiff
20638 .PHONY: check-wdiff maybe-check-wdiff
20639 maybe-check-wdiff:
20640 @if wdiff
20641 maybe-check-wdiff: check-wdiff
20643 check-wdiff:
20644 @r=`${PWD_COMMAND}`; export r; \
20645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20646 $(HOST_EXPORTS) \
20647 (cd $(HOST_SUBDIR)/wdiff && \
20648 $(MAKE) $(FLAGS_TO_PASS) check)
20650 @endif wdiff
20652 .PHONY: install-wdiff maybe-install-wdiff
20653 maybe-install-wdiff:
20654 @if wdiff
20655 maybe-install-wdiff: install-wdiff
20657 install-wdiff: installdirs
20658 @r=`${PWD_COMMAND}`; export r; \
20659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20660 $(HOST_EXPORTS) \
20661 (cd $(HOST_SUBDIR)/wdiff && \
20662 $(MAKE) $(FLAGS_TO_PASS) install)
20664 @endif wdiff
20666 # Other targets (info, dvi, etc.)
20668 .PHONY: maybe-info-wdiff info-wdiff
20669 maybe-info-wdiff:
20670 @if wdiff
20671 maybe-info-wdiff: info-wdiff
20673 info-wdiff: \
20674 configure-wdiff
20675 @[ -f ./wdiff/Makefile ] || exit 0; \
20676 r=`${PWD_COMMAND}`; export r; \
20677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20678 $(HOST_EXPORTS) \
20679 for flag in $(EXTRA_HOST_FLAGS) ; do \
20680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20681 done; \
20682 echo "Doing info in wdiff" ; \
20683 (cd $(HOST_SUBDIR)/wdiff && \
20684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20686 "RANLIB=$${RANLIB}" \
20687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20688 info) \
20689 || exit 1
20691 @endif wdiff
20693 .PHONY: maybe-dvi-wdiff dvi-wdiff
20694 maybe-dvi-wdiff:
20695 @if wdiff
20696 maybe-dvi-wdiff: dvi-wdiff
20698 dvi-wdiff: \
20699 configure-wdiff
20700 @[ -f ./wdiff/Makefile ] || exit 0; \
20701 r=`${PWD_COMMAND}`; export r; \
20702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20703 $(HOST_EXPORTS) \
20704 for flag in $(EXTRA_HOST_FLAGS) ; do \
20705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20706 done; \
20707 echo "Doing dvi in wdiff" ; \
20708 (cd $(HOST_SUBDIR)/wdiff && \
20709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20711 "RANLIB=$${RANLIB}" \
20712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20713 dvi) \
20714 || exit 1
20716 @endif wdiff
20718 .PHONY: maybe-html-wdiff html-wdiff
20719 maybe-html-wdiff:
20720 @if wdiff
20721 maybe-html-wdiff: html-wdiff
20723 html-wdiff: \
20724 configure-wdiff
20725 @[ -f ./wdiff/Makefile ] || exit 0; \
20726 r=`${PWD_COMMAND}`; export r; \
20727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20728 $(HOST_EXPORTS) \
20729 for flag in $(EXTRA_HOST_FLAGS) ; do \
20730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20731 done; \
20732 echo "Doing html in wdiff" ; \
20733 (cd $(HOST_SUBDIR)/wdiff && \
20734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20736 "RANLIB=$${RANLIB}" \
20737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20738 html) \
20739 || exit 1
20741 @endif wdiff
20743 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
20744 maybe-TAGS-wdiff:
20745 @if wdiff
20746 maybe-TAGS-wdiff: TAGS-wdiff
20748 TAGS-wdiff: \
20749 configure-wdiff
20750 @[ -f ./wdiff/Makefile ] || exit 0; \
20751 r=`${PWD_COMMAND}`; export r; \
20752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20753 $(HOST_EXPORTS) \
20754 for flag in $(EXTRA_HOST_FLAGS) ; do \
20755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20756 done; \
20757 echo "Doing TAGS in wdiff" ; \
20758 (cd $(HOST_SUBDIR)/wdiff && \
20759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20761 "RANLIB=$${RANLIB}" \
20762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20763 TAGS) \
20764 || exit 1
20766 @endif wdiff
20768 .PHONY: maybe-install-info-wdiff install-info-wdiff
20769 maybe-install-info-wdiff:
20770 @if wdiff
20771 maybe-install-info-wdiff: install-info-wdiff
20773 install-info-wdiff: \
20774 configure-wdiff \
20775 info-wdiff
20776 @[ -f ./wdiff/Makefile ] || exit 0; \
20777 r=`${PWD_COMMAND}`; export r; \
20778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20779 $(HOST_EXPORTS) \
20780 for flag in $(EXTRA_HOST_FLAGS) ; do \
20781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20782 done; \
20783 echo "Doing install-info in wdiff" ; \
20784 (cd $(HOST_SUBDIR)/wdiff && \
20785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20787 "RANLIB=$${RANLIB}" \
20788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20789 install-info) \
20790 || exit 1
20792 @endif wdiff
20794 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
20795 maybe-installcheck-wdiff:
20796 @if wdiff
20797 maybe-installcheck-wdiff: installcheck-wdiff
20799 installcheck-wdiff: \
20800 configure-wdiff
20801 @[ -f ./wdiff/Makefile ] || exit 0; \
20802 r=`${PWD_COMMAND}`; export r; \
20803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20804 $(HOST_EXPORTS) \
20805 for flag in $(EXTRA_HOST_FLAGS) ; do \
20806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20807 done; \
20808 echo "Doing installcheck in wdiff" ; \
20809 (cd $(HOST_SUBDIR)/wdiff && \
20810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20812 "RANLIB=$${RANLIB}" \
20813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20814 installcheck) \
20815 || exit 1
20817 @endif wdiff
20819 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
20820 maybe-mostlyclean-wdiff:
20821 @if wdiff
20822 maybe-mostlyclean-wdiff: mostlyclean-wdiff
20824 mostlyclean-wdiff:
20825 @[ -f ./wdiff/Makefile ] || exit 0; \
20826 r=`${PWD_COMMAND}`; export r; \
20827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20828 $(HOST_EXPORTS) \
20829 for flag in $(EXTRA_HOST_FLAGS) ; do \
20830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20831 done; \
20832 echo "Doing mostlyclean in wdiff" ; \
20833 (cd $(HOST_SUBDIR)/wdiff && \
20834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20836 "RANLIB=$${RANLIB}" \
20837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20838 mostlyclean) \
20839 || exit 1
20841 @endif wdiff
20843 .PHONY: maybe-clean-wdiff clean-wdiff
20844 maybe-clean-wdiff:
20845 @if wdiff
20846 maybe-clean-wdiff: clean-wdiff
20848 clean-wdiff:
20849 @[ -f ./wdiff/Makefile ] || exit 0; \
20850 r=`${PWD_COMMAND}`; export r; \
20851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20852 $(HOST_EXPORTS) \
20853 for flag in $(EXTRA_HOST_FLAGS) ; do \
20854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20855 done; \
20856 echo "Doing clean in wdiff" ; \
20857 (cd $(HOST_SUBDIR)/wdiff && \
20858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20860 "RANLIB=$${RANLIB}" \
20861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20862 clean) \
20863 || exit 1
20865 @endif wdiff
20867 .PHONY: maybe-distclean-wdiff distclean-wdiff
20868 maybe-distclean-wdiff:
20869 @if wdiff
20870 maybe-distclean-wdiff: distclean-wdiff
20872 distclean-wdiff:
20873 @[ -f ./wdiff/Makefile ] || exit 0; \
20874 r=`${PWD_COMMAND}`; export r; \
20875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20876 $(HOST_EXPORTS) \
20877 for flag in $(EXTRA_HOST_FLAGS) ; do \
20878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20879 done; \
20880 echo "Doing distclean in wdiff" ; \
20881 (cd $(HOST_SUBDIR)/wdiff && \
20882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20884 "RANLIB=$${RANLIB}" \
20885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20886 distclean) \
20887 || exit 1
20889 @endif wdiff
20891 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
20892 maybe-maintainer-clean-wdiff:
20893 @if wdiff
20894 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
20896 maintainer-clean-wdiff:
20897 @[ -f ./wdiff/Makefile ] || exit 0; \
20898 r=`${PWD_COMMAND}`; export r; \
20899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20900 $(HOST_EXPORTS) \
20901 for flag in $(EXTRA_HOST_FLAGS) ; do \
20902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20903 done; \
20904 echo "Doing maintainer-clean in wdiff" ; \
20905 (cd $(HOST_SUBDIR)/wdiff && \
20906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20908 "RANLIB=$${RANLIB}" \
20909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20910 maintainer-clean) \
20911 || exit 1
20913 @endif wdiff
20917 .PHONY: configure-zip maybe-configure-zip
20918 maybe-configure-zip:
20919 @if zip
20920 maybe-configure-zip: configure-zip
20921 configure-zip:
20922 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
20923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
20924 r=`${PWD_COMMAND}`; export r; \
20925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20926 $(HOST_EXPORTS) \
20927 echo Configuring in $(HOST_SUBDIR)/zip; \
20928 cd "$(HOST_SUBDIR)/zip" || exit 1; \
20929 case $(srcdir) in \
20930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20931 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
20932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20933 esac; \
20934 srcdiroption="--srcdir=$${topdir}/zip"; \
20935 libsrcdir="$$s/zip"; \
20936 $(SHELL) $${libsrcdir}/configure \
20937 $(HOST_CONFIGARGS) $${srcdiroption} \
20938 || exit 1
20939 @endif zip
20943 .PHONY: all-zip maybe-all-zip
20944 maybe-all-zip:
20945 @if zip
20946 TARGET-zip=all
20947 maybe-all-zip: all-zip
20948 all-zip: configure-zip
20949 @r=`${PWD_COMMAND}`; export r; \
20950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20951 $(HOST_EXPORTS) \
20952 (cd $(HOST_SUBDIR)/zip && \
20953 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
20954 @endif zip
20957 .PHONY: check-zip maybe-check-zip
20958 maybe-check-zip:
20959 @if zip
20960 maybe-check-zip: check-zip
20962 # This module is only tested in a native toolchain.
20963 check-zip:
20964 @if [ '$(host)' = '$(target)' ] ; then \
20965 r=`${PWD_COMMAND}`; export r; \
20966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20967 $(HOST_EXPORTS) \
20968 (cd $(HOST_SUBDIR)/zip && \
20969 $(MAKE) $(FLAGS_TO_PASS) check); \
20972 @endif zip
20974 .PHONY: install-zip maybe-install-zip
20975 maybe-install-zip:
20976 @if zip
20977 maybe-install-zip: install-zip
20979 install-zip: installdirs
20980 @r=`${PWD_COMMAND}`; export r; \
20981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20982 $(HOST_EXPORTS) \
20983 (cd $(HOST_SUBDIR)/zip && \
20984 $(MAKE) $(FLAGS_TO_PASS) install)
20986 @endif zip
20988 # Other targets (info, dvi, etc.)
20990 .PHONY: maybe-info-zip info-zip
20991 maybe-info-zip:
20992 @if zip
20993 maybe-info-zip: info-zip
20995 info-zip: \
20996 configure-zip
20997 @[ -f ./zip/Makefile ] || exit 0; \
20998 r=`${PWD_COMMAND}`; export r; \
20999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21000 $(HOST_EXPORTS) \
21001 for flag in $(EXTRA_HOST_FLAGS) ; do \
21002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21003 done; \
21004 echo "Doing info in zip" ; \
21005 (cd $(HOST_SUBDIR)/zip && \
21006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21008 "RANLIB=$${RANLIB}" \
21009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21010 info) \
21011 || exit 1
21013 @endif zip
21015 .PHONY: maybe-dvi-zip dvi-zip
21016 maybe-dvi-zip:
21017 @if zip
21018 maybe-dvi-zip: dvi-zip
21020 dvi-zip: \
21021 configure-zip
21022 @[ -f ./zip/Makefile ] || exit 0; \
21023 r=`${PWD_COMMAND}`; export r; \
21024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21025 $(HOST_EXPORTS) \
21026 for flag in $(EXTRA_HOST_FLAGS) ; do \
21027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21028 done; \
21029 echo "Doing dvi in zip" ; \
21030 (cd $(HOST_SUBDIR)/zip && \
21031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21033 "RANLIB=$${RANLIB}" \
21034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21035 dvi) \
21036 || exit 1
21038 @endif zip
21040 .PHONY: maybe-html-zip html-zip
21041 maybe-html-zip:
21042 @if zip
21043 maybe-html-zip: html-zip
21045 html-zip: \
21046 configure-zip
21047 @[ -f ./zip/Makefile ] || exit 0; \
21048 r=`${PWD_COMMAND}`; export r; \
21049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21050 $(HOST_EXPORTS) \
21051 for flag in $(EXTRA_HOST_FLAGS) ; do \
21052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21053 done; \
21054 echo "Doing html in zip" ; \
21055 (cd $(HOST_SUBDIR)/zip && \
21056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21058 "RANLIB=$${RANLIB}" \
21059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21060 html) \
21061 || exit 1
21063 @endif zip
21065 .PHONY: maybe-TAGS-zip TAGS-zip
21066 maybe-TAGS-zip:
21067 @if zip
21068 maybe-TAGS-zip: TAGS-zip
21070 TAGS-zip: \
21071 configure-zip
21072 @[ -f ./zip/Makefile ] || exit 0; \
21073 r=`${PWD_COMMAND}`; export r; \
21074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21075 $(HOST_EXPORTS) \
21076 for flag in $(EXTRA_HOST_FLAGS) ; do \
21077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21078 done; \
21079 echo "Doing TAGS in zip" ; \
21080 (cd $(HOST_SUBDIR)/zip && \
21081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21083 "RANLIB=$${RANLIB}" \
21084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21085 TAGS) \
21086 || exit 1
21088 @endif zip
21090 .PHONY: maybe-install-info-zip install-info-zip
21091 maybe-install-info-zip:
21092 @if zip
21093 maybe-install-info-zip: install-info-zip
21095 install-info-zip: \
21096 configure-zip \
21097 info-zip
21098 @[ -f ./zip/Makefile ] || exit 0; \
21099 r=`${PWD_COMMAND}`; export r; \
21100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21101 $(HOST_EXPORTS) \
21102 for flag in $(EXTRA_HOST_FLAGS) ; do \
21103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21104 done; \
21105 echo "Doing install-info in zip" ; \
21106 (cd $(HOST_SUBDIR)/zip && \
21107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21109 "RANLIB=$${RANLIB}" \
21110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21111 install-info) \
21112 || exit 1
21114 @endif zip
21116 .PHONY: maybe-installcheck-zip installcheck-zip
21117 maybe-installcheck-zip:
21118 @if zip
21119 maybe-installcheck-zip: installcheck-zip
21121 installcheck-zip: \
21122 configure-zip
21123 @[ -f ./zip/Makefile ] || exit 0; \
21124 r=`${PWD_COMMAND}`; export r; \
21125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21126 $(HOST_EXPORTS) \
21127 for flag in $(EXTRA_HOST_FLAGS) ; do \
21128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21129 done; \
21130 echo "Doing installcheck in zip" ; \
21131 (cd $(HOST_SUBDIR)/zip && \
21132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21134 "RANLIB=$${RANLIB}" \
21135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21136 installcheck) \
21137 || exit 1
21139 @endif zip
21141 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
21142 maybe-mostlyclean-zip:
21143 @if zip
21144 maybe-mostlyclean-zip: mostlyclean-zip
21146 mostlyclean-zip:
21147 @[ -f ./zip/Makefile ] || exit 0; \
21148 r=`${PWD_COMMAND}`; export r; \
21149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21150 $(HOST_EXPORTS) \
21151 for flag in $(EXTRA_HOST_FLAGS) ; do \
21152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21153 done; \
21154 echo "Doing mostlyclean in zip" ; \
21155 (cd $(HOST_SUBDIR)/zip && \
21156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21158 "RANLIB=$${RANLIB}" \
21159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21160 mostlyclean) \
21161 || exit 1
21163 @endif zip
21165 .PHONY: maybe-clean-zip clean-zip
21166 maybe-clean-zip:
21167 @if zip
21168 maybe-clean-zip: clean-zip
21170 clean-zip:
21171 @[ -f ./zip/Makefile ] || exit 0; \
21172 r=`${PWD_COMMAND}`; export r; \
21173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21174 $(HOST_EXPORTS) \
21175 for flag in $(EXTRA_HOST_FLAGS) ; do \
21176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21177 done; \
21178 echo "Doing clean in zip" ; \
21179 (cd $(HOST_SUBDIR)/zip && \
21180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21182 "RANLIB=$${RANLIB}" \
21183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21184 clean) \
21185 || exit 1
21187 @endif zip
21189 .PHONY: maybe-distclean-zip distclean-zip
21190 maybe-distclean-zip:
21191 @if zip
21192 maybe-distclean-zip: distclean-zip
21194 distclean-zip:
21195 @[ -f ./zip/Makefile ] || exit 0; \
21196 r=`${PWD_COMMAND}`; export r; \
21197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21198 $(HOST_EXPORTS) \
21199 for flag in $(EXTRA_HOST_FLAGS) ; do \
21200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21201 done; \
21202 echo "Doing distclean in zip" ; \
21203 (cd $(HOST_SUBDIR)/zip && \
21204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21206 "RANLIB=$${RANLIB}" \
21207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21208 distclean) \
21209 || exit 1
21211 @endif zip
21213 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
21214 maybe-maintainer-clean-zip:
21215 @if zip
21216 maybe-maintainer-clean-zip: maintainer-clean-zip
21218 maintainer-clean-zip:
21219 @[ -f ./zip/Makefile ] || exit 0; \
21220 r=`${PWD_COMMAND}`; export r; \
21221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21222 $(HOST_EXPORTS) \
21223 for flag in $(EXTRA_HOST_FLAGS) ; do \
21224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21225 done; \
21226 echo "Doing maintainer-clean in zip" ; \
21227 (cd $(HOST_SUBDIR)/zip && \
21228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21230 "RANLIB=$${RANLIB}" \
21231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21232 maintainer-clean) \
21233 || exit 1
21235 @endif zip
21239 .PHONY: configure-zlib maybe-configure-zlib
21240 maybe-configure-zlib:
21241 @if zlib
21242 maybe-configure-zlib: configure-zlib
21243 configure-zlib:
21244 @test -f stage_last && exit 0; \
21245 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
21246 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
21247 r=`${PWD_COMMAND}`; export r; \
21248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21249 $(HOST_EXPORTS) \
21250 echo Configuring in $(HOST_SUBDIR)/zlib; \
21251 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
21252 case $(srcdir) in \
21253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21254 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
21255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21256 esac; \
21257 srcdiroption="--srcdir=$${topdir}/zlib"; \
21258 libsrcdir="$$s/zlib"; \
21259 $(SHELL) $${libsrcdir}/configure \
21260 $(HOST_CONFIGARGS) $${srcdiroption} \
21261 || exit 1
21262 @endif zlib
21266 .PHONY: all-zlib maybe-all-zlib
21267 maybe-all-zlib:
21268 @if zlib
21269 TARGET-zlib=all
21270 maybe-all-zlib: all-zlib
21271 all-zlib: configure-zlib
21272 @test -f stage_last && exit 0; \
21273 r=`${PWD_COMMAND}`; export r; \
21274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21275 $(HOST_EXPORTS) \
21276 (cd $(HOST_SUBDIR)/zlib && \
21277 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
21278 @endif zlib
21281 .PHONY: check-zlib maybe-check-zlib
21282 maybe-check-zlib:
21283 @if zlib
21284 maybe-check-zlib: check-zlib
21286 check-zlib:
21288 @endif zlib
21290 .PHONY: install-zlib maybe-install-zlib
21291 maybe-install-zlib:
21292 @if zlib
21293 maybe-install-zlib: install-zlib
21295 install-zlib:
21297 @endif zlib
21299 # Other targets (info, dvi, etc.)
21301 .PHONY: maybe-info-zlib info-zlib
21302 maybe-info-zlib:
21303 @if zlib
21304 maybe-info-zlib: info-zlib
21306 info-zlib: \
21307 configure-zlib
21308 @[ -f ./zlib/Makefile ] || exit 0; \
21309 r=`${PWD_COMMAND}`; export r; \
21310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21311 $(HOST_EXPORTS) \
21312 for flag in $(EXTRA_HOST_FLAGS) ; do \
21313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21314 done; \
21315 echo "Doing info in zlib" ; \
21316 (cd $(HOST_SUBDIR)/zlib && \
21317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21319 "RANLIB=$${RANLIB}" \
21320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21321 info) \
21322 || exit 1
21324 @endif zlib
21326 .PHONY: maybe-dvi-zlib dvi-zlib
21327 maybe-dvi-zlib:
21328 @if zlib
21329 maybe-dvi-zlib: dvi-zlib
21331 dvi-zlib: \
21332 configure-zlib
21333 @[ -f ./zlib/Makefile ] || exit 0; \
21334 r=`${PWD_COMMAND}`; export r; \
21335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21336 $(HOST_EXPORTS) \
21337 for flag in $(EXTRA_HOST_FLAGS) ; do \
21338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21339 done; \
21340 echo "Doing dvi in zlib" ; \
21341 (cd $(HOST_SUBDIR)/zlib && \
21342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21344 "RANLIB=$${RANLIB}" \
21345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21346 dvi) \
21347 || exit 1
21349 @endif zlib
21351 .PHONY: maybe-html-zlib html-zlib
21352 maybe-html-zlib:
21353 @if zlib
21354 maybe-html-zlib: html-zlib
21356 html-zlib: \
21357 configure-zlib
21358 @[ -f ./zlib/Makefile ] || exit 0; \
21359 r=`${PWD_COMMAND}`; export r; \
21360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21361 $(HOST_EXPORTS) \
21362 for flag in $(EXTRA_HOST_FLAGS) ; do \
21363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21364 done; \
21365 echo "Doing html in zlib" ; \
21366 (cd $(HOST_SUBDIR)/zlib && \
21367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21369 "RANLIB=$${RANLIB}" \
21370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21371 html) \
21372 || exit 1
21374 @endif zlib
21376 .PHONY: maybe-TAGS-zlib TAGS-zlib
21377 maybe-TAGS-zlib:
21378 @if zlib
21379 maybe-TAGS-zlib: TAGS-zlib
21381 TAGS-zlib: \
21382 configure-zlib
21383 @[ -f ./zlib/Makefile ] || exit 0; \
21384 r=`${PWD_COMMAND}`; export r; \
21385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21386 $(HOST_EXPORTS) \
21387 for flag in $(EXTRA_HOST_FLAGS) ; do \
21388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21389 done; \
21390 echo "Doing TAGS in zlib" ; \
21391 (cd $(HOST_SUBDIR)/zlib && \
21392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21394 "RANLIB=$${RANLIB}" \
21395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21396 TAGS) \
21397 || exit 1
21399 @endif zlib
21401 .PHONY: maybe-install-info-zlib install-info-zlib
21402 maybe-install-info-zlib:
21403 @if zlib
21404 maybe-install-info-zlib: install-info-zlib
21406 install-info-zlib: \
21407 configure-zlib \
21408 info-zlib
21409 @[ -f ./zlib/Makefile ] || exit 0; \
21410 r=`${PWD_COMMAND}`; export r; \
21411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21412 $(HOST_EXPORTS) \
21413 for flag in $(EXTRA_HOST_FLAGS) ; do \
21414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21415 done; \
21416 echo "Doing install-info in zlib" ; \
21417 (cd $(HOST_SUBDIR)/zlib && \
21418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21420 "RANLIB=$${RANLIB}" \
21421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21422 install-info) \
21423 || exit 1
21425 @endif zlib
21427 .PHONY: maybe-installcheck-zlib installcheck-zlib
21428 maybe-installcheck-zlib:
21429 @if zlib
21430 maybe-installcheck-zlib: installcheck-zlib
21432 installcheck-zlib: \
21433 configure-zlib
21434 @[ -f ./zlib/Makefile ] || exit 0; \
21435 r=`${PWD_COMMAND}`; export r; \
21436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21437 $(HOST_EXPORTS) \
21438 for flag in $(EXTRA_HOST_FLAGS) ; do \
21439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21440 done; \
21441 echo "Doing installcheck in zlib" ; \
21442 (cd $(HOST_SUBDIR)/zlib && \
21443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21445 "RANLIB=$${RANLIB}" \
21446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21447 installcheck) \
21448 || exit 1
21450 @endif zlib
21452 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
21453 maybe-mostlyclean-zlib:
21454 @if zlib
21455 maybe-mostlyclean-zlib: mostlyclean-zlib
21457 mostlyclean-zlib:
21458 @[ -f ./zlib/Makefile ] || exit 0; \
21459 r=`${PWD_COMMAND}`; export r; \
21460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21461 $(HOST_EXPORTS) \
21462 for flag in $(EXTRA_HOST_FLAGS) ; do \
21463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21464 done; \
21465 echo "Doing mostlyclean in zlib" ; \
21466 (cd $(HOST_SUBDIR)/zlib && \
21467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21469 "RANLIB=$${RANLIB}" \
21470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21471 mostlyclean) \
21472 || exit 1
21474 @endif zlib
21476 .PHONY: maybe-clean-zlib clean-zlib
21477 maybe-clean-zlib:
21478 @if zlib
21479 maybe-clean-zlib: clean-zlib
21481 clean-zlib:
21482 @[ -f ./zlib/Makefile ] || exit 0; \
21483 r=`${PWD_COMMAND}`; export r; \
21484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21485 $(HOST_EXPORTS) \
21486 for flag in $(EXTRA_HOST_FLAGS) ; do \
21487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21488 done; \
21489 echo "Doing clean in zlib" ; \
21490 (cd $(HOST_SUBDIR)/zlib && \
21491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21493 "RANLIB=$${RANLIB}" \
21494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21495 clean) \
21496 || exit 1
21498 @endif zlib
21500 .PHONY: maybe-distclean-zlib distclean-zlib
21501 maybe-distclean-zlib:
21502 @if zlib
21503 maybe-distclean-zlib: distclean-zlib
21505 distclean-zlib:
21506 @[ -f ./zlib/Makefile ] || exit 0; \
21507 r=`${PWD_COMMAND}`; export r; \
21508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21509 $(HOST_EXPORTS) \
21510 for flag in $(EXTRA_HOST_FLAGS) ; do \
21511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21512 done; \
21513 echo "Doing distclean in zlib" ; \
21514 (cd $(HOST_SUBDIR)/zlib && \
21515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21517 "RANLIB=$${RANLIB}" \
21518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21519 distclean) \
21520 || exit 1
21522 @endif zlib
21524 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
21525 maybe-maintainer-clean-zlib:
21526 @if zlib
21527 maybe-maintainer-clean-zlib: maintainer-clean-zlib
21529 maintainer-clean-zlib:
21530 @[ -f ./zlib/Makefile ] || exit 0; \
21531 r=`${PWD_COMMAND}`; export r; \
21532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21533 $(HOST_EXPORTS) \
21534 for flag in $(EXTRA_HOST_FLAGS) ; do \
21535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21536 done; \
21537 echo "Doing maintainer-clean in zlib" ; \
21538 (cd $(HOST_SUBDIR)/zlib && \
21539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21541 "RANLIB=$${RANLIB}" \
21542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21543 maintainer-clean) \
21544 || exit 1
21546 @endif zlib
21550 .PHONY: configure-gdb maybe-configure-gdb
21551 maybe-configure-gdb:
21552 @if gdb
21553 maybe-configure-gdb: configure-gdb
21554 configure-gdb:
21555 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
21556 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
21557 r=`${PWD_COMMAND}`; export r; \
21558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21559 $(HOST_EXPORTS) \
21560 echo Configuring in $(HOST_SUBDIR)/gdb; \
21561 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
21562 case $(srcdir) in \
21563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21564 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
21565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21566 esac; \
21567 srcdiroption="--srcdir=$${topdir}/gdb"; \
21568 libsrcdir="$$s/gdb"; \
21569 $(SHELL) $${libsrcdir}/configure \
21570 $(HOST_CONFIGARGS) $${srcdiroption} \
21571 || exit 1
21572 @endif gdb
21576 .PHONY: all-gdb maybe-all-gdb
21577 maybe-all-gdb:
21578 @if gdb
21579 TARGET-gdb=all
21580 maybe-all-gdb: all-gdb
21581 all-gdb: configure-gdb
21582 @r=`${PWD_COMMAND}`; export r; \
21583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21584 $(HOST_EXPORTS) \
21585 (cd $(HOST_SUBDIR)/gdb && \
21586 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
21587 @endif gdb
21590 .PHONY: check-gdb maybe-check-gdb
21591 maybe-check-gdb:
21592 @if gdb
21593 maybe-check-gdb: check-gdb
21595 check-gdb:
21596 @r=`${PWD_COMMAND}`; export r; \
21597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21598 $(HOST_EXPORTS) \
21599 (cd $(HOST_SUBDIR)/gdb && \
21600 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21602 @endif gdb
21604 .PHONY: install-gdb maybe-install-gdb
21605 maybe-install-gdb:
21606 @if gdb
21607 maybe-install-gdb: install-gdb
21609 install-gdb: installdirs
21610 @r=`${PWD_COMMAND}`; export r; \
21611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21612 $(HOST_EXPORTS) \
21613 (cd $(HOST_SUBDIR)/gdb && \
21614 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21616 @endif gdb
21618 # Other targets (info, dvi, etc.)
21620 .PHONY: maybe-info-gdb info-gdb
21621 maybe-info-gdb:
21622 @if gdb
21623 maybe-info-gdb: info-gdb
21625 info-gdb: \
21626 configure-gdb
21627 @[ -f ./gdb/Makefile ] || exit 0; \
21628 r=`${PWD_COMMAND}`; export r; \
21629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21630 $(HOST_EXPORTS) \
21631 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21633 done; \
21634 echo "Doing info in gdb" ; \
21635 (cd $(HOST_SUBDIR)/gdb && \
21636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21638 "RANLIB=$${RANLIB}" \
21639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21640 info) \
21641 || exit 1
21643 @endif gdb
21645 .PHONY: maybe-dvi-gdb dvi-gdb
21646 maybe-dvi-gdb:
21647 @if gdb
21648 maybe-dvi-gdb: dvi-gdb
21650 dvi-gdb: \
21651 configure-gdb
21652 @[ -f ./gdb/Makefile ] || exit 0; \
21653 r=`${PWD_COMMAND}`; export r; \
21654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21655 $(HOST_EXPORTS) \
21656 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21658 done; \
21659 echo "Doing dvi in gdb" ; \
21660 (cd $(HOST_SUBDIR)/gdb && \
21661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21663 "RANLIB=$${RANLIB}" \
21664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21665 dvi) \
21666 || exit 1
21668 @endif gdb
21670 .PHONY: maybe-html-gdb html-gdb
21671 maybe-html-gdb:
21672 @if gdb
21673 maybe-html-gdb: html-gdb
21675 html-gdb: \
21676 configure-gdb
21677 @[ -f ./gdb/Makefile ] || exit 0; \
21678 r=`${PWD_COMMAND}`; export r; \
21679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21680 $(HOST_EXPORTS) \
21681 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21683 done; \
21684 echo "Doing html in gdb" ; \
21685 (cd $(HOST_SUBDIR)/gdb && \
21686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21688 "RANLIB=$${RANLIB}" \
21689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21690 html) \
21691 || exit 1
21693 @endif gdb
21695 .PHONY: maybe-TAGS-gdb TAGS-gdb
21696 maybe-TAGS-gdb:
21697 @if gdb
21698 maybe-TAGS-gdb: TAGS-gdb
21700 TAGS-gdb: \
21701 configure-gdb
21702 @[ -f ./gdb/Makefile ] || exit 0; \
21703 r=`${PWD_COMMAND}`; export r; \
21704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21705 $(HOST_EXPORTS) \
21706 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21708 done; \
21709 echo "Doing TAGS in gdb" ; \
21710 (cd $(HOST_SUBDIR)/gdb && \
21711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21713 "RANLIB=$${RANLIB}" \
21714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21715 TAGS) \
21716 || exit 1
21718 @endif gdb
21720 .PHONY: maybe-install-info-gdb install-info-gdb
21721 maybe-install-info-gdb:
21722 @if gdb
21723 maybe-install-info-gdb: install-info-gdb
21725 install-info-gdb: \
21726 configure-gdb \
21727 info-gdb
21728 @[ -f ./gdb/Makefile ] || exit 0; \
21729 r=`${PWD_COMMAND}`; export r; \
21730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21731 $(HOST_EXPORTS) \
21732 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21734 done; \
21735 echo "Doing install-info in gdb" ; \
21736 (cd $(HOST_SUBDIR)/gdb && \
21737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21739 "RANLIB=$${RANLIB}" \
21740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21741 install-info) \
21742 || exit 1
21744 @endif gdb
21746 .PHONY: maybe-installcheck-gdb installcheck-gdb
21747 maybe-installcheck-gdb:
21748 @if gdb
21749 maybe-installcheck-gdb: installcheck-gdb
21751 installcheck-gdb: \
21752 configure-gdb
21753 @[ -f ./gdb/Makefile ] || exit 0; \
21754 r=`${PWD_COMMAND}`; export r; \
21755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21756 $(HOST_EXPORTS) \
21757 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21759 done; \
21760 echo "Doing installcheck in gdb" ; \
21761 (cd $(HOST_SUBDIR)/gdb && \
21762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21764 "RANLIB=$${RANLIB}" \
21765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21766 installcheck) \
21767 || exit 1
21769 @endif gdb
21771 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
21772 maybe-mostlyclean-gdb:
21773 @if gdb
21774 maybe-mostlyclean-gdb: mostlyclean-gdb
21776 mostlyclean-gdb:
21777 @[ -f ./gdb/Makefile ] || exit 0; \
21778 r=`${PWD_COMMAND}`; export r; \
21779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21780 $(HOST_EXPORTS) \
21781 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21783 done; \
21784 echo "Doing mostlyclean in gdb" ; \
21785 (cd $(HOST_SUBDIR)/gdb && \
21786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21788 "RANLIB=$${RANLIB}" \
21789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21790 mostlyclean) \
21791 || exit 1
21793 @endif gdb
21795 .PHONY: maybe-clean-gdb clean-gdb
21796 maybe-clean-gdb:
21797 @if gdb
21798 maybe-clean-gdb: clean-gdb
21800 clean-gdb:
21801 @[ -f ./gdb/Makefile ] || exit 0; \
21802 r=`${PWD_COMMAND}`; export r; \
21803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21804 $(HOST_EXPORTS) \
21805 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21807 done; \
21808 echo "Doing clean in gdb" ; \
21809 (cd $(HOST_SUBDIR)/gdb && \
21810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21812 "RANLIB=$${RANLIB}" \
21813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21814 clean) \
21815 || exit 1
21817 @endif gdb
21819 .PHONY: maybe-distclean-gdb distclean-gdb
21820 maybe-distclean-gdb:
21821 @if gdb
21822 maybe-distclean-gdb: distclean-gdb
21824 distclean-gdb:
21825 @[ -f ./gdb/Makefile ] || exit 0; \
21826 r=`${PWD_COMMAND}`; export r; \
21827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21828 $(HOST_EXPORTS) \
21829 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21831 done; \
21832 echo "Doing distclean in gdb" ; \
21833 (cd $(HOST_SUBDIR)/gdb && \
21834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21836 "RANLIB=$${RANLIB}" \
21837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21838 distclean) \
21839 || exit 1
21841 @endif gdb
21843 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
21844 maybe-maintainer-clean-gdb:
21845 @if gdb
21846 maybe-maintainer-clean-gdb: maintainer-clean-gdb
21848 maintainer-clean-gdb:
21849 @[ -f ./gdb/Makefile ] || exit 0; \
21850 r=`${PWD_COMMAND}`; export r; \
21851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21852 $(HOST_EXPORTS) \
21853 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21855 done; \
21856 echo "Doing maintainer-clean in gdb" ; \
21857 (cd $(HOST_SUBDIR)/gdb && \
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 maintainer-clean) \
21863 || exit 1
21865 @endif gdb
21869 .PHONY: configure-expect maybe-configure-expect
21870 maybe-configure-expect:
21871 @if expect
21872 maybe-configure-expect: configure-expect
21873 configure-expect:
21874 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
21875 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
21876 r=`${PWD_COMMAND}`; export r; \
21877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21878 $(HOST_EXPORTS) \
21879 echo Configuring in $(HOST_SUBDIR)/expect; \
21880 cd "$(HOST_SUBDIR)/expect" || exit 1; \
21881 case $(srcdir) in \
21882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21883 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
21884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21885 esac; \
21886 srcdiroption="--srcdir=$${topdir}/expect"; \
21887 libsrcdir="$$s/expect"; \
21888 $(SHELL) $${libsrcdir}/configure \
21889 $(HOST_CONFIGARGS) $${srcdiroption} \
21890 || exit 1
21891 @endif expect
21895 .PHONY: all-expect maybe-all-expect
21896 maybe-all-expect:
21897 @if expect
21898 TARGET-expect=all
21899 maybe-all-expect: all-expect
21900 all-expect: configure-expect
21901 @r=`${PWD_COMMAND}`; export r; \
21902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21903 $(HOST_EXPORTS) \
21904 (cd $(HOST_SUBDIR)/expect && \
21905 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
21906 @endif expect
21909 .PHONY: check-expect maybe-check-expect
21910 maybe-check-expect:
21911 @if expect
21912 maybe-check-expect: check-expect
21914 check-expect:
21915 @r=`${PWD_COMMAND}`; export r; \
21916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21917 $(HOST_EXPORTS) \
21918 (cd $(HOST_SUBDIR)/expect && \
21919 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21921 @endif expect
21923 .PHONY: install-expect maybe-install-expect
21924 maybe-install-expect:
21925 @if expect
21926 maybe-install-expect: install-expect
21928 install-expect: installdirs
21929 @r=`${PWD_COMMAND}`; export r; \
21930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21931 $(HOST_EXPORTS) \
21932 (cd $(HOST_SUBDIR)/expect && \
21933 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21935 @endif expect
21937 # Other targets (info, dvi, etc.)
21939 .PHONY: maybe-info-expect info-expect
21940 maybe-info-expect:
21941 @if expect
21942 maybe-info-expect: info-expect
21944 info-expect: \
21945 configure-expect
21946 @[ -f ./expect/Makefile ] || exit 0; \
21947 r=`${PWD_COMMAND}`; export r; \
21948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21949 $(HOST_EXPORTS) \
21950 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21952 done; \
21953 echo "Doing info in expect" ; \
21954 (cd $(HOST_SUBDIR)/expect && \
21955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21957 "RANLIB=$${RANLIB}" \
21958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21959 info) \
21960 || exit 1
21962 @endif expect
21964 .PHONY: maybe-dvi-expect dvi-expect
21965 maybe-dvi-expect:
21966 @if expect
21967 maybe-dvi-expect: dvi-expect
21969 dvi-expect: \
21970 configure-expect
21971 @[ -f ./expect/Makefile ] || exit 0; \
21972 r=`${PWD_COMMAND}`; export r; \
21973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21974 $(HOST_EXPORTS) \
21975 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21977 done; \
21978 echo "Doing dvi in expect" ; \
21979 (cd $(HOST_SUBDIR)/expect && \
21980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21982 "RANLIB=$${RANLIB}" \
21983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21984 dvi) \
21985 || exit 1
21987 @endif expect
21989 .PHONY: maybe-html-expect html-expect
21990 maybe-html-expect:
21991 @if expect
21992 maybe-html-expect: html-expect
21994 html-expect: \
21995 configure-expect
21996 @[ -f ./expect/Makefile ] || exit 0; \
21997 r=`${PWD_COMMAND}`; export r; \
21998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21999 $(HOST_EXPORTS) \
22000 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22002 done; \
22003 echo "Doing html in expect" ; \
22004 (cd $(HOST_SUBDIR)/expect && \
22005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22007 "RANLIB=$${RANLIB}" \
22008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22009 html) \
22010 || exit 1
22012 @endif expect
22014 .PHONY: maybe-TAGS-expect TAGS-expect
22015 maybe-TAGS-expect:
22016 @if expect
22017 maybe-TAGS-expect: TAGS-expect
22019 TAGS-expect: \
22020 configure-expect
22021 @[ -f ./expect/Makefile ] || exit 0; \
22022 r=`${PWD_COMMAND}`; export r; \
22023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22024 $(HOST_EXPORTS) \
22025 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22027 done; \
22028 echo "Doing TAGS in expect" ; \
22029 (cd $(HOST_SUBDIR)/expect && \
22030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22032 "RANLIB=$${RANLIB}" \
22033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22034 TAGS) \
22035 || exit 1
22037 @endif expect
22039 .PHONY: maybe-install-info-expect install-info-expect
22040 maybe-install-info-expect:
22041 @if expect
22042 maybe-install-info-expect: install-info-expect
22044 install-info-expect: \
22045 configure-expect \
22046 info-expect
22047 @[ -f ./expect/Makefile ] || exit 0; \
22048 r=`${PWD_COMMAND}`; export r; \
22049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22050 $(HOST_EXPORTS) \
22051 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22053 done; \
22054 echo "Doing install-info in expect" ; \
22055 (cd $(HOST_SUBDIR)/expect && \
22056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22058 "RANLIB=$${RANLIB}" \
22059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22060 install-info) \
22061 || exit 1
22063 @endif expect
22065 .PHONY: maybe-installcheck-expect installcheck-expect
22066 maybe-installcheck-expect:
22067 @if expect
22068 maybe-installcheck-expect: installcheck-expect
22070 installcheck-expect: \
22071 configure-expect
22072 @[ -f ./expect/Makefile ] || exit 0; \
22073 r=`${PWD_COMMAND}`; export r; \
22074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22075 $(HOST_EXPORTS) \
22076 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22078 done; \
22079 echo "Doing installcheck in expect" ; \
22080 (cd $(HOST_SUBDIR)/expect && \
22081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22083 "RANLIB=$${RANLIB}" \
22084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22085 installcheck) \
22086 || exit 1
22088 @endif expect
22090 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
22091 maybe-mostlyclean-expect:
22092 @if expect
22093 maybe-mostlyclean-expect: mostlyclean-expect
22095 mostlyclean-expect:
22096 @[ -f ./expect/Makefile ] || exit 0; \
22097 r=`${PWD_COMMAND}`; export r; \
22098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22099 $(HOST_EXPORTS) \
22100 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22102 done; \
22103 echo "Doing mostlyclean in expect" ; \
22104 (cd $(HOST_SUBDIR)/expect && \
22105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22107 "RANLIB=$${RANLIB}" \
22108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22109 mostlyclean) \
22110 || exit 1
22112 @endif expect
22114 .PHONY: maybe-clean-expect clean-expect
22115 maybe-clean-expect:
22116 @if expect
22117 maybe-clean-expect: clean-expect
22119 clean-expect:
22120 @[ -f ./expect/Makefile ] || exit 0; \
22121 r=`${PWD_COMMAND}`; export r; \
22122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22123 $(HOST_EXPORTS) \
22124 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22126 done; \
22127 echo "Doing clean in expect" ; \
22128 (cd $(HOST_SUBDIR)/expect && \
22129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22131 "RANLIB=$${RANLIB}" \
22132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22133 clean) \
22134 || exit 1
22136 @endif expect
22138 .PHONY: maybe-distclean-expect distclean-expect
22139 maybe-distclean-expect:
22140 @if expect
22141 maybe-distclean-expect: distclean-expect
22143 distclean-expect:
22144 @[ -f ./expect/Makefile ] || exit 0; \
22145 r=`${PWD_COMMAND}`; export r; \
22146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22147 $(HOST_EXPORTS) \
22148 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22150 done; \
22151 echo "Doing distclean in expect" ; \
22152 (cd $(HOST_SUBDIR)/expect && \
22153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22155 "RANLIB=$${RANLIB}" \
22156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22157 distclean) \
22158 || exit 1
22160 @endif expect
22162 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
22163 maybe-maintainer-clean-expect:
22164 @if expect
22165 maybe-maintainer-clean-expect: maintainer-clean-expect
22167 maintainer-clean-expect:
22168 @[ -f ./expect/Makefile ] || exit 0; \
22169 r=`${PWD_COMMAND}`; export r; \
22170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22171 $(HOST_EXPORTS) \
22172 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22174 done; \
22175 echo "Doing maintainer-clean in expect" ; \
22176 (cd $(HOST_SUBDIR)/expect && \
22177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22179 "RANLIB=$${RANLIB}" \
22180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22181 maintainer-clean) \
22182 || exit 1
22184 @endif expect
22188 .PHONY: configure-guile maybe-configure-guile
22189 maybe-configure-guile:
22190 @if guile
22191 maybe-configure-guile: configure-guile
22192 configure-guile:
22193 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
22194 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
22195 r=`${PWD_COMMAND}`; export r; \
22196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22197 $(HOST_EXPORTS) \
22198 echo Configuring in $(HOST_SUBDIR)/guile; \
22199 cd "$(HOST_SUBDIR)/guile" || exit 1; \
22200 case $(srcdir) in \
22201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22202 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
22203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22204 esac; \
22205 srcdiroption="--srcdir=$${topdir}/guile"; \
22206 libsrcdir="$$s/guile"; \
22207 $(SHELL) $${libsrcdir}/configure \
22208 $(HOST_CONFIGARGS) $${srcdiroption} \
22209 || exit 1
22210 @endif guile
22214 .PHONY: all-guile maybe-all-guile
22215 maybe-all-guile:
22216 @if guile
22217 TARGET-guile=all
22218 maybe-all-guile: all-guile
22219 all-guile: configure-guile
22220 @r=`${PWD_COMMAND}`; export r; \
22221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22222 $(HOST_EXPORTS) \
22223 (cd $(HOST_SUBDIR)/guile && \
22224 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
22225 @endif guile
22228 .PHONY: check-guile maybe-check-guile
22229 maybe-check-guile:
22230 @if guile
22231 maybe-check-guile: check-guile
22233 check-guile:
22234 @r=`${PWD_COMMAND}`; export r; \
22235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22236 $(HOST_EXPORTS) \
22237 (cd $(HOST_SUBDIR)/guile && \
22238 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
22240 @endif guile
22242 .PHONY: install-guile maybe-install-guile
22243 maybe-install-guile:
22244 @if guile
22245 maybe-install-guile: install-guile
22247 install-guile: installdirs
22248 @r=`${PWD_COMMAND}`; export r; \
22249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22250 $(HOST_EXPORTS) \
22251 (cd $(HOST_SUBDIR)/guile && \
22252 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
22254 @endif guile
22256 # Other targets (info, dvi, etc.)
22258 .PHONY: maybe-info-guile info-guile
22259 maybe-info-guile:
22260 @if guile
22261 maybe-info-guile: info-guile
22263 info-guile: \
22264 configure-guile
22265 @[ -f ./guile/Makefile ] || exit 0; \
22266 r=`${PWD_COMMAND}`; export r; \
22267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22268 $(HOST_EXPORTS) \
22269 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22271 done; \
22272 echo "Doing info in guile" ; \
22273 (cd $(HOST_SUBDIR)/guile && \
22274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22276 "RANLIB=$${RANLIB}" \
22277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22278 info) \
22279 || exit 1
22281 @endif guile
22283 .PHONY: maybe-dvi-guile dvi-guile
22284 maybe-dvi-guile:
22285 @if guile
22286 maybe-dvi-guile: dvi-guile
22288 dvi-guile: \
22289 configure-guile
22290 @[ -f ./guile/Makefile ] || exit 0; \
22291 r=`${PWD_COMMAND}`; export r; \
22292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22293 $(HOST_EXPORTS) \
22294 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22296 done; \
22297 echo "Doing dvi in guile" ; \
22298 (cd $(HOST_SUBDIR)/guile && \
22299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22301 "RANLIB=$${RANLIB}" \
22302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22303 dvi) \
22304 || exit 1
22306 @endif guile
22308 .PHONY: maybe-html-guile html-guile
22309 maybe-html-guile:
22310 @if guile
22311 maybe-html-guile: html-guile
22313 html-guile: \
22314 configure-guile
22315 @[ -f ./guile/Makefile ] || exit 0; \
22316 r=`${PWD_COMMAND}`; export r; \
22317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22318 $(HOST_EXPORTS) \
22319 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22321 done; \
22322 echo "Doing html in guile" ; \
22323 (cd $(HOST_SUBDIR)/guile && \
22324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22326 "RANLIB=$${RANLIB}" \
22327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22328 html) \
22329 || exit 1
22331 @endif guile
22333 .PHONY: maybe-TAGS-guile TAGS-guile
22334 maybe-TAGS-guile:
22335 @if guile
22336 maybe-TAGS-guile: TAGS-guile
22338 TAGS-guile: \
22339 configure-guile
22340 @[ -f ./guile/Makefile ] || exit 0; \
22341 r=`${PWD_COMMAND}`; export r; \
22342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22343 $(HOST_EXPORTS) \
22344 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22346 done; \
22347 echo "Doing TAGS in guile" ; \
22348 (cd $(HOST_SUBDIR)/guile && \
22349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22351 "RANLIB=$${RANLIB}" \
22352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22353 TAGS) \
22354 || exit 1
22356 @endif guile
22358 .PHONY: maybe-install-info-guile install-info-guile
22359 maybe-install-info-guile:
22360 @if guile
22361 maybe-install-info-guile: install-info-guile
22363 install-info-guile: \
22364 configure-guile \
22365 info-guile
22366 @[ -f ./guile/Makefile ] || exit 0; \
22367 r=`${PWD_COMMAND}`; export r; \
22368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22369 $(HOST_EXPORTS) \
22370 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22372 done; \
22373 echo "Doing install-info in guile" ; \
22374 (cd $(HOST_SUBDIR)/guile && \
22375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22377 "RANLIB=$${RANLIB}" \
22378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22379 install-info) \
22380 || exit 1
22382 @endif guile
22384 .PHONY: maybe-installcheck-guile installcheck-guile
22385 maybe-installcheck-guile:
22386 @if guile
22387 maybe-installcheck-guile: installcheck-guile
22389 installcheck-guile: \
22390 configure-guile
22391 @[ -f ./guile/Makefile ] || exit 0; \
22392 r=`${PWD_COMMAND}`; export r; \
22393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22394 $(HOST_EXPORTS) \
22395 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22397 done; \
22398 echo "Doing installcheck in guile" ; \
22399 (cd $(HOST_SUBDIR)/guile && \
22400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22402 "RANLIB=$${RANLIB}" \
22403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22404 installcheck) \
22405 || exit 1
22407 @endif guile
22409 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
22410 maybe-mostlyclean-guile:
22411 @if guile
22412 maybe-mostlyclean-guile: mostlyclean-guile
22414 mostlyclean-guile:
22415 @[ -f ./guile/Makefile ] || exit 0; \
22416 r=`${PWD_COMMAND}`; export r; \
22417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22418 $(HOST_EXPORTS) \
22419 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22421 done; \
22422 echo "Doing mostlyclean in guile" ; \
22423 (cd $(HOST_SUBDIR)/guile && \
22424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22426 "RANLIB=$${RANLIB}" \
22427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22428 mostlyclean) \
22429 || exit 1
22431 @endif guile
22433 .PHONY: maybe-clean-guile clean-guile
22434 maybe-clean-guile:
22435 @if guile
22436 maybe-clean-guile: clean-guile
22438 clean-guile:
22439 @[ -f ./guile/Makefile ] || exit 0; \
22440 r=`${PWD_COMMAND}`; export r; \
22441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22442 $(HOST_EXPORTS) \
22443 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22445 done; \
22446 echo "Doing clean in guile" ; \
22447 (cd $(HOST_SUBDIR)/guile && \
22448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22450 "RANLIB=$${RANLIB}" \
22451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22452 clean) \
22453 || exit 1
22455 @endif guile
22457 .PHONY: maybe-distclean-guile distclean-guile
22458 maybe-distclean-guile:
22459 @if guile
22460 maybe-distclean-guile: distclean-guile
22462 distclean-guile:
22463 @[ -f ./guile/Makefile ] || exit 0; \
22464 r=`${PWD_COMMAND}`; export r; \
22465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22466 $(HOST_EXPORTS) \
22467 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22469 done; \
22470 echo "Doing distclean in guile" ; \
22471 (cd $(HOST_SUBDIR)/guile && \
22472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22474 "RANLIB=$${RANLIB}" \
22475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22476 distclean) \
22477 || exit 1
22479 @endif guile
22481 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
22482 maybe-maintainer-clean-guile:
22483 @if guile
22484 maybe-maintainer-clean-guile: maintainer-clean-guile
22486 maintainer-clean-guile:
22487 @[ -f ./guile/Makefile ] || exit 0; \
22488 r=`${PWD_COMMAND}`; export r; \
22489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22490 $(HOST_EXPORTS) \
22491 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22493 done; \
22494 echo "Doing maintainer-clean in guile" ; \
22495 (cd $(HOST_SUBDIR)/guile && \
22496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22498 "RANLIB=$${RANLIB}" \
22499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22500 maintainer-clean) \
22501 || exit 1
22503 @endif guile
22507 .PHONY: configure-tk maybe-configure-tk
22508 maybe-configure-tk:
22509 @if tk
22510 maybe-configure-tk: configure-tk
22511 configure-tk:
22512 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
22513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
22514 r=`${PWD_COMMAND}`; export r; \
22515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22516 $(HOST_EXPORTS) \
22517 echo Configuring in $(HOST_SUBDIR)/tk; \
22518 cd "$(HOST_SUBDIR)/tk" || exit 1; \
22519 case $(srcdir) in \
22520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22521 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
22522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22523 esac; \
22524 srcdiroption="--srcdir=$${topdir}/tk"; \
22525 libsrcdir="$$s/tk"; \
22526 $(SHELL) $${libsrcdir}/configure \
22527 $(HOST_CONFIGARGS) $${srcdiroption} \
22528 || exit 1
22529 @endif tk
22533 .PHONY: all-tk maybe-all-tk
22534 maybe-all-tk:
22535 @if tk
22536 TARGET-tk=all
22537 maybe-all-tk: all-tk
22538 all-tk: configure-tk
22539 @r=`${PWD_COMMAND}`; export r; \
22540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22541 $(HOST_EXPORTS) \
22542 (cd $(HOST_SUBDIR)/tk && \
22543 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
22544 @endif tk
22547 .PHONY: check-tk maybe-check-tk
22548 maybe-check-tk:
22549 @if tk
22550 maybe-check-tk: check-tk
22552 check-tk:
22553 @r=`${PWD_COMMAND}`; export r; \
22554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22555 $(HOST_EXPORTS) \
22556 (cd $(HOST_SUBDIR)/tk && \
22557 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
22559 @endif tk
22561 .PHONY: install-tk maybe-install-tk
22562 maybe-install-tk:
22563 @if tk
22564 maybe-install-tk: install-tk
22566 install-tk: installdirs
22567 @r=`${PWD_COMMAND}`; export r; \
22568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22569 $(HOST_EXPORTS) \
22570 (cd $(HOST_SUBDIR)/tk && \
22571 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
22573 @endif tk
22575 # Other targets (info, dvi, etc.)
22577 .PHONY: maybe-info-tk info-tk
22578 maybe-info-tk:
22579 @if tk
22580 maybe-info-tk: info-tk
22582 info-tk: \
22583 configure-tk
22584 @[ -f ./tk/Makefile ] || exit 0; \
22585 r=`${PWD_COMMAND}`; export r; \
22586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 info in tk" ; \
22592 (cd $(HOST_SUBDIR)/tk && \
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 info) \
22598 || exit 1
22600 @endif tk
22602 .PHONY: maybe-dvi-tk dvi-tk
22603 maybe-dvi-tk:
22604 @if tk
22605 maybe-dvi-tk: dvi-tk
22607 dvi-tk: \
22608 configure-tk
22609 @[ -f ./tk/Makefile ] || exit 0; \
22610 r=`${PWD_COMMAND}`; export r; \
22611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 dvi in tk" ; \
22617 (cd $(HOST_SUBDIR)/tk && \
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 dvi) \
22623 || exit 1
22625 @endif tk
22627 .PHONY: maybe-html-tk html-tk
22628 maybe-html-tk:
22629 @if tk
22630 maybe-html-tk: html-tk
22632 html-tk: \
22633 configure-tk
22634 @[ -f ./tk/Makefile ] || exit 0; \
22635 r=`${PWD_COMMAND}`; export r; \
22636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22637 $(HOST_EXPORTS) \
22638 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22640 done; \
22641 echo "Doing html in tk" ; \
22642 (cd $(HOST_SUBDIR)/tk && \
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 html) \
22648 || exit 1
22650 @endif tk
22652 .PHONY: maybe-TAGS-tk TAGS-tk
22653 maybe-TAGS-tk:
22654 @if tk
22655 maybe-TAGS-tk: TAGS-tk
22657 TAGS-tk: \
22658 configure-tk
22659 @[ -f ./tk/Makefile ] || exit 0; \
22660 r=`${PWD_COMMAND}`; export r; \
22661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22662 $(HOST_EXPORTS) \
22663 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22665 done; \
22666 echo "Doing TAGS in tk" ; \
22667 (cd $(HOST_SUBDIR)/tk && \
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 TAGS) \
22673 || exit 1
22675 @endif tk
22677 .PHONY: maybe-install-info-tk install-info-tk
22678 maybe-install-info-tk:
22679 @if tk
22680 maybe-install-info-tk: install-info-tk
22682 install-info-tk: \
22683 configure-tk \
22684 info-tk
22685 @[ -f ./tk/Makefile ] || exit 0; \
22686 r=`${PWD_COMMAND}`; export r; \
22687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22688 $(HOST_EXPORTS) \
22689 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22691 done; \
22692 echo "Doing install-info in tk" ; \
22693 (cd $(HOST_SUBDIR)/tk && \
22694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22696 "RANLIB=$${RANLIB}" \
22697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22698 install-info) \
22699 || exit 1
22701 @endif tk
22703 .PHONY: maybe-installcheck-tk installcheck-tk
22704 maybe-installcheck-tk:
22705 @if tk
22706 maybe-installcheck-tk: installcheck-tk
22708 installcheck-tk: \
22709 configure-tk
22710 @[ -f ./tk/Makefile ] || exit 0; \
22711 r=`${PWD_COMMAND}`; export r; \
22712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22713 $(HOST_EXPORTS) \
22714 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22716 done; \
22717 echo "Doing installcheck in tk" ; \
22718 (cd $(HOST_SUBDIR)/tk && \
22719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22721 "RANLIB=$${RANLIB}" \
22722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22723 installcheck) \
22724 || exit 1
22726 @endif tk
22728 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
22729 maybe-mostlyclean-tk:
22730 @if tk
22731 maybe-mostlyclean-tk: mostlyclean-tk
22733 mostlyclean-tk:
22734 @[ -f ./tk/Makefile ] || exit 0; \
22735 r=`${PWD_COMMAND}`; export r; \
22736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22737 $(HOST_EXPORTS) \
22738 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22740 done; \
22741 echo "Doing mostlyclean in tk" ; \
22742 (cd $(HOST_SUBDIR)/tk && \
22743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22745 "RANLIB=$${RANLIB}" \
22746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22747 mostlyclean) \
22748 || exit 1
22750 @endif tk
22752 .PHONY: maybe-clean-tk clean-tk
22753 maybe-clean-tk:
22754 @if tk
22755 maybe-clean-tk: clean-tk
22757 clean-tk:
22758 @[ -f ./tk/Makefile ] || exit 0; \
22759 r=`${PWD_COMMAND}`; export r; \
22760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22761 $(HOST_EXPORTS) \
22762 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22764 done; \
22765 echo "Doing clean in tk" ; \
22766 (cd $(HOST_SUBDIR)/tk && \
22767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22769 "RANLIB=$${RANLIB}" \
22770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22771 clean) \
22772 || exit 1
22774 @endif tk
22776 .PHONY: maybe-distclean-tk distclean-tk
22777 maybe-distclean-tk:
22778 @if tk
22779 maybe-distclean-tk: distclean-tk
22781 distclean-tk:
22782 @[ -f ./tk/Makefile ] || exit 0; \
22783 r=`${PWD_COMMAND}`; export r; \
22784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22785 $(HOST_EXPORTS) \
22786 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22788 done; \
22789 echo "Doing distclean in tk" ; \
22790 (cd $(HOST_SUBDIR)/tk && \
22791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22793 "RANLIB=$${RANLIB}" \
22794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22795 distclean) \
22796 || exit 1
22798 @endif tk
22800 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
22801 maybe-maintainer-clean-tk:
22802 @if tk
22803 maybe-maintainer-clean-tk: maintainer-clean-tk
22805 maintainer-clean-tk:
22806 @[ -f ./tk/Makefile ] || exit 0; \
22807 r=`${PWD_COMMAND}`; export r; \
22808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22809 $(HOST_EXPORTS) \
22810 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22812 done; \
22813 echo "Doing maintainer-clean in tk" ; \
22814 (cd $(HOST_SUBDIR)/tk && \
22815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22817 "RANLIB=$${RANLIB}" \
22818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22819 maintainer-clean) \
22820 || exit 1
22822 @endif tk
22826 .PHONY: configure-libtermcap maybe-configure-libtermcap
22827 maybe-configure-libtermcap:
22828 @if libtermcap
22829 maybe-configure-libtermcap: configure-libtermcap
22830 configure-libtermcap:
22831 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
22832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
22833 r=`${PWD_COMMAND}`; export r; \
22834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22835 $(HOST_EXPORTS) \
22836 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
22837 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
22838 case $(srcdir) in \
22839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22840 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
22841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22842 esac; \
22843 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
22844 libsrcdir="$$s/libtermcap"; \
22845 $(SHELL) $${libsrcdir}/configure \
22846 $(HOST_CONFIGARGS) $${srcdiroption} \
22847 || exit 1
22848 @endif libtermcap
22852 .PHONY: all-libtermcap maybe-all-libtermcap
22853 maybe-all-libtermcap:
22854 @if libtermcap
22855 TARGET-libtermcap=all
22856 maybe-all-libtermcap: all-libtermcap
22857 all-libtermcap: configure-libtermcap
22858 @r=`${PWD_COMMAND}`; export r; \
22859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22860 $(HOST_EXPORTS) \
22861 (cd $(HOST_SUBDIR)/libtermcap && \
22862 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
22863 @endif libtermcap
22866 .PHONY: check-libtermcap maybe-check-libtermcap
22867 maybe-check-libtermcap:
22868 @if libtermcap
22869 maybe-check-libtermcap: check-libtermcap
22871 check-libtermcap:
22873 @endif libtermcap
22875 .PHONY: install-libtermcap maybe-install-libtermcap
22876 maybe-install-libtermcap:
22877 @if libtermcap
22878 maybe-install-libtermcap: install-libtermcap
22880 install-libtermcap: installdirs
22881 @r=`${PWD_COMMAND}`; export r; \
22882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22883 $(HOST_EXPORTS) \
22884 (cd $(HOST_SUBDIR)/libtermcap && \
22885 $(MAKE) $(FLAGS_TO_PASS) install)
22887 @endif libtermcap
22889 # Other targets (info, dvi, etc.)
22891 .PHONY: maybe-info-libtermcap info-libtermcap
22892 maybe-info-libtermcap:
22893 @if libtermcap
22894 maybe-info-libtermcap: info-libtermcap
22896 info-libtermcap: \
22897 configure-libtermcap
22898 @[ -f ./libtermcap/Makefile ] || exit 0; \
22899 r=`${PWD_COMMAND}`; export r; \
22900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22901 $(HOST_EXPORTS) \
22902 for flag in $(EXTRA_HOST_FLAGS) ; do \
22903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22904 done; \
22905 echo "Doing info in libtermcap" ; \
22906 (cd $(HOST_SUBDIR)/libtermcap && \
22907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22909 "RANLIB=$${RANLIB}" \
22910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22911 info) \
22912 || exit 1
22914 @endif libtermcap
22916 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
22917 maybe-dvi-libtermcap:
22918 @if libtermcap
22919 maybe-dvi-libtermcap: dvi-libtermcap
22921 dvi-libtermcap: \
22922 configure-libtermcap
22923 @[ -f ./libtermcap/Makefile ] || exit 0; \
22924 r=`${PWD_COMMAND}`; export r; \
22925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22926 $(HOST_EXPORTS) \
22927 for flag in $(EXTRA_HOST_FLAGS) ; do \
22928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22929 done; \
22930 echo "Doing dvi in libtermcap" ; \
22931 (cd $(HOST_SUBDIR)/libtermcap && \
22932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22934 "RANLIB=$${RANLIB}" \
22935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22936 dvi) \
22937 || exit 1
22939 @endif libtermcap
22941 .PHONY: maybe-html-libtermcap html-libtermcap
22942 maybe-html-libtermcap:
22943 @if libtermcap
22944 maybe-html-libtermcap: html-libtermcap
22946 html-libtermcap: \
22947 configure-libtermcap
22948 @[ -f ./libtermcap/Makefile ] || exit 0; \
22949 r=`${PWD_COMMAND}`; export r; \
22950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22951 $(HOST_EXPORTS) \
22952 for flag in $(EXTRA_HOST_FLAGS) ; do \
22953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22954 done; \
22955 echo "Doing html in libtermcap" ; \
22956 (cd $(HOST_SUBDIR)/libtermcap && \
22957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22959 "RANLIB=$${RANLIB}" \
22960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22961 html) \
22962 || exit 1
22964 @endif libtermcap
22966 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
22967 maybe-TAGS-libtermcap:
22968 @if libtermcap
22969 maybe-TAGS-libtermcap: TAGS-libtermcap
22971 TAGS-libtermcap: \
22972 configure-libtermcap
22973 @[ -f ./libtermcap/Makefile ] || exit 0; \
22974 r=`${PWD_COMMAND}`; export r; \
22975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22976 $(HOST_EXPORTS) \
22977 for flag in $(EXTRA_HOST_FLAGS) ; do \
22978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22979 done; \
22980 echo "Doing TAGS in libtermcap" ; \
22981 (cd $(HOST_SUBDIR)/libtermcap && \
22982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22984 "RANLIB=$${RANLIB}" \
22985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22986 TAGS) \
22987 || exit 1
22989 @endif libtermcap
22991 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
22992 maybe-install-info-libtermcap:
22993 @if libtermcap
22994 maybe-install-info-libtermcap: install-info-libtermcap
22996 install-info-libtermcap: \
22997 configure-libtermcap \
22998 info-libtermcap
22999 @[ -f ./libtermcap/Makefile ] || exit 0; \
23000 r=`${PWD_COMMAND}`; export r; \
23001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23002 $(HOST_EXPORTS) \
23003 for flag in $(EXTRA_HOST_FLAGS) ; do \
23004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23005 done; \
23006 echo "Doing install-info in libtermcap" ; \
23007 (cd $(HOST_SUBDIR)/libtermcap && \
23008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23010 "RANLIB=$${RANLIB}" \
23011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23012 install-info) \
23013 || exit 1
23015 @endif libtermcap
23017 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
23018 maybe-installcheck-libtermcap:
23019 @if libtermcap
23020 maybe-installcheck-libtermcap: installcheck-libtermcap
23022 installcheck-libtermcap: \
23023 configure-libtermcap
23024 @[ -f ./libtermcap/Makefile ] || exit 0; \
23025 r=`${PWD_COMMAND}`; export r; \
23026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23027 $(HOST_EXPORTS) \
23028 for flag in $(EXTRA_HOST_FLAGS) ; do \
23029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23030 done; \
23031 echo "Doing installcheck in libtermcap" ; \
23032 (cd $(HOST_SUBDIR)/libtermcap && \
23033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23035 "RANLIB=$${RANLIB}" \
23036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23037 installcheck) \
23038 || exit 1
23040 @endif libtermcap
23042 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
23043 maybe-mostlyclean-libtermcap:
23044 @if libtermcap
23045 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
23047 # libtermcap doesn't support mostlyclean.
23048 mostlyclean-libtermcap:
23050 @endif libtermcap
23052 .PHONY: maybe-clean-libtermcap clean-libtermcap
23053 maybe-clean-libtermcap:
23054 @if libtermcap
23055 maybe-clean-libtermcap: clean-libtermcap
23057 # libtermcap doesn't support clean.
23058 clean-libtermcap:
23060 @endif libtermcap
23062 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
23063 maybe-distclean-libtermcap:
23064 @if libtermcap
23065 maybe-distclean-libtermcap: distclean-libtermcap
23067 # libtermcap doesn't support distclean.
23068 distclean-libtermcap:
23070 @endif libtermcap
23072 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
23073 maybe-maintainer-clean-libtermcap:
23074 @if libtermcap
23075 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
23077 # libtermcap doesn't support maintainer-clean.
23078 maintainer-clean-libtermcap:
23080 @endif libtermcap
23084 .PHONY: configure-utils maybe-configure-utils
23085 maybe-configure-utils:
23086 @if utils
23087 maybe-configure-utils: configure-utils
23088 configure-utils:
23089 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
23090 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
23091 r=`${PWD_COMMAND}`; export r; \
23092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23093 $(HOST_EXPORTS) \
23094 echo Configuring in $(HOST_SUBDIR)/utils; \
23095 cd "$(HOST_SUBDIR)/utils" || exit 1; \
23096 case $(srcdir) in \
23097 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23098 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
23099 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23100 esac; \
23101 srcdiroption="--srcdir=$${topdir}/utils"; \
23102 libsrcdir="$$s/utils"; \
23103 $(SHELL) $${libsrcdir}/configure \
23104 $(HOST_CONFIGARGS) $${srcdiroption} \
23105 || exit 1
23106 @endif utils
23110 .PHONY: all-utils maybe-all-utils
23111 maybe-all-utils:
23112 @if utils
23113 TARGET-utils=all
23114 maybe-all-utils: all-utils
23115 all-utils: configure-utils
23116 @r=`${PWD_COMMAND}`; export r; \
23117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23118 $(HOST_EXPORTS) \
23119 (cd $(HOST_SUBDIR)/utils && \
23120 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
23121 @endif utils
23124 .PHONY: check-utils maybe-check-utils
23125 maybe-check-utils:
23126 @if utils
23127 maybe-check-utils: check-utils
23129 check-utils:
23131 @endif utils
23133 .PHONY: install-utils maybe-install-utils
23134 maybe-install-utils:
23135 @if utils
23136 maybe-install-utils: install-utils
23138 install-utils: installdirs
23139 @r=`${PWD_COMMAND}`; export r; \
23140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23141 $(HOST_EXPORTS) \
23142 (cd $(HOST_SUBDIR)/utils && \
23143 $(MAKE) $(FLAGS_TO_PASS) install)
23145 @endif utils
23147 # Other targets (info, dvi, etc.)
23149 .PHONY: maybe-info-utils info-utils
23150 maybe-info-utils:
23151 @if utils
23152 maybe-info-utils: info-utils
23154 info-utils: \
23155 configure-utils
23156 @[ -f ./utils/Makefile ] || exit 0; \
23157 r=`${PWD_COMMAND}`; export r; \
23158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23159 $(HOST_EXPORTS) \
23160 for flag in $(EXTRA_HOST_FLAGS) ; do \
23161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23162 done; \
23163 echo "Doing info in utils" ; \
23164 (cd $(HOST_SUBDIR)/utils && \
23165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23167 "RANLIB=$${RANLIB}" \
23168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23169 info) \
23170 || exit 1
23172 @endif utils
23174 .PHONY: maybe-dvi-utils dvi-utils
23175 maybe-dvi-utils:
23176 @if utils
23177 maybe-dvi-utils: dvi-utils
23179 dvi-utils: \
23180 configure-utils
23181 @[ -f ./utils/Makefile ] || exit 0; \
23182 r=`${PWD_COMMAND}`; export r; \
23183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23184 $(HOST_EXPORTS) \
23185 for flag in $(EXTRA_HOST_FLAGS) ; do \
23186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23187 done; \
23188 echo "Doing dvi in utils" ; \
23189 (cd $(HOST_SUBDIR)/utils && \
23190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23192 "RANLIB=$${RANLIB}" \
23193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23194 dvi) \
23195 || exit 1
23197 @endif utils
23199 .PHONY: maybe-html-utils html-utils
23200 maybe-html-utils:
23201 @if utils
23202 maybe-html-utils: html-utils
23204 html-utils: \
23205 configure-utils
23206 @[ -f ./utils/Makefile ] || exit 0; \
23207 r=`${PWD_COMMAND}`; export r; \
23208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23209 $(HOST_EXPORTS) \
23210 for flag in $(EXTRA_HOST_FLAGS) ; do \
23211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23212 done; \
23213 echo "Doing html in utils" ; \
23214 (cd $(HOST_SUBDIR)/utils && \
23215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23217 "RANLIB=$${RANLIB}" \
23218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23219 html) \
23220 || exit 1
23222 @endif utils
23224 .PHONY: maybe-TAGS-utils TAGS-utils
23225 maybe-TAGS-utils:
23226 @if utils
23227 maybe-TAGS-utils: TAGS-utils
23229 TAGS-utils: \
23230 configure-utils
23231 @[ -f ./utils/Makefile ] || exit 0; \
23232 r=`${PWD_COMMAND}`; export r; \
23233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23234 $(HOST_EXPORTS) \
23235 for flag in $(EXTRA_HOST_FLAGS) ; do \
23236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23237 done; \
23238 echo "Doing TAGS in utils" ; \
23239 (cd $(HOST_SUBDIR)/utils && \
23240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23242 "RANLIB=$${RANLIB}" \
23243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23244 TAGS) \
23245 || exit 1
23247 @endif utils
23249 .PHONY: maybe-install-info-utils install-info-utils
23250 maybe-install-info-utils:
23251 @if utils
23252 maybe-install-info-utils: install-info-utils
23254 install-info-utils: \
23255 configure-utils \
23256 info-utils
23257 @[ -f ./utils/Makefile ] || exit 0; \
23258 r=`${PWD_COMMAND}`; export r; \
23259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23260 $(HOST_EXPORTS) \
23261 for flag in $(EXTRA_HOST_FLAGS) ; do \
23262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23263 done; \
23264 echo "Doing install-info in utils" ; \
23265 (cd $(HOST_SUBDIR)/utils && \
23266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23268 "RANLIB=$${RANLIB}" \
23269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23270 install-info) \
23271 || exit 1
23273 @endif utils
23275 .PHONY: maybe-installcheck-utils installcheck-utils
23276 maybe-installcheck-utils:
23277 @if utils
23278 maybe-installcheck-utils: installcheck-utils
23280 installcheck-utils: \
23281 configure-utils
23282 @[ -f ./utils/Makefile ] || exit 0; \
23283 r=`${PWD_COMMAND}`; export r; \
23284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23285 $(HOST_EXPORTS) \
23286 for flag in $(EXTRA_HOST_FLAGS) ; do \
23287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23288 done; \
23289 echo "Doing installcheck in utils" ; \
23290 (cd $(HOST_SUBDIR)/utils && \
23291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23293 "RANLIB=$${RANLIB}" \
23294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23295 installcheck) \
23296 || exit 1
23298 @endif utils
23300 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
23301 maybe-mostlyclean-utils:
23302 @if utils
23303 maybe-mostlyclean-utils: mostlyclean-utils
23305 mostlyclean-utils:
23306 @[ -f ./utils/Makefile ] || exit 0; \
23307 r=`${PWD_COMMAND}`; export r; \
23308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23309 $(HOST_EXPORTS) \
23310 for flag in $(EXTRA_HOST_FLAGS) ; do \
23311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23312 done; \
23313 echo "Doing mostlyclean in utils" ; \
23314 (cd $(HOST_SUBDIR)/utils && \
23315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23317 "RANLIB=$${RANLIB}" \
23318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23319 mostlyclean) \
23320 || exit 1
23322 @endif utils
23324 .PHONY: maybe-clean-utils clean-utils
23325 maybe-clean-utils:
23326 @if utils
23327 maybe-clean-utils: clean-utils
23329 clean-utils:
23330 @[ -f ./utils/Makefile ] || exit 0; \
23331 r=`${PWD_COMMAND}`; export r; \
23332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23333 $(HOST_EXPORTS) \
23334 for flag in $(EXTRA_HOST_FLAGS) ; do \
23335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23336 done; \
23337 echo "Doing clean in utils" ; \
23338 (cd $(HOST_SUBDIR)/utils && \
23339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23341 "RANLIB=$${RANLIB}" \
23342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23343 clean) \
23344 || exit 1
23346 @endif utils
23348 .PHONY: maybe-distclean-utils distclean-utils
23349 maybe-distclean-utils:
23350 @if utils
23351 maybe-distclean-utils: distclean-utils
23353 distclean-utils:
23354 @[ -f ./utils/Makefile ] || exit 0; \
23355 r=`${PWD_COMMAND}`; export r; \
23356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23357 $(HOST_EXPORTS) \
23358 for flag in $(EXTRA_HOST_FLAGS) ; do \
23359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23360 done; \
23361 echo "Doing distclean in utils" ; \
23362 (cd $(HOST_SUBDIR)/utils && \
23363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23365 "RANLIB=$${RANLIB}" \
23366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23367 distclean) \
23368 || exit 1
23370 @endif utils
23372 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
23373 maybe-maintainer-clean-utils:
23374 @if utils
23375 maybe-maintainer-clean-utils: maintainer-clean-utils
23377 maintainer-clean-utils:
23378 @[ -f ./utils/Makefile ] || exit 0; \
23379 r=`${PWD_COMMAND}`; export r; \
23380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23381 $(HOST_EXPORTS) \
23382 for flag in $(EXTRA_HOST_FLAGS) ; do \
23383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23384 done; \
23385 echo "Doing maintainer-clean in utils" ; \
23386 (cd $(HOST_SUBDIR)/utils && \
23387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23389 "RANLIB=$${RANLIB}" \
23390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23391 maintainer-clean) \
23392 || exit 1
23394 @endif utils
23398 .PHONY: configure-gnattools maybe-configure-gnattools
23399 maybe-configure-gnattools:
23400 @if gnattools
23401 maybe-configure-gnattools: configure-gnattools
23402 configure-gnattools:
23403 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
23404 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
23405 r=`${PWD_COMMAND}`; export r; \
23406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23407 $(HOST_EXPORTS) \
23408 echo Configuring in $(HOST_SUBDIR)/gnattools; \
23409 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
23410 case $(srcdir) in \
23411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23412 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
23413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23414 esac; \
23415 srcdiroption="--srcdir=$${topdir}/gnattools"; \
23416 libsrcdir="$$s/gnattools"; \
23417 $(SHELL) $${libsrcdir}/configure \
23418 $(HOST_CONFIGARGS) $${srcdiroption} \
23419 || exit 1
23420 @endif gnattools
23424 .PHONY: all-gnattools maybe-all-gnattools
23425 maybe-all-gnattools:
23426 @if gnattools
23427 TARGET-gnattools=all
23428 maybe-all-gnattools: all-gnattools
23429 all-gnattools: configure-gnattools
23430 @r=`${PWD_COMMAND}`; export r; \
23431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23432 $(HOST_EXPORTS) \
23433 (cd $(HOST_SUBDIR)/gnattools && \
23434 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
23435 @endif gnattools
23438 .PHONY: check-gnattools maybe-check-gnattools
23439 maybe-check-gnattools:
23440 @if gnattools
23441 maybe-check-gnattools: check-gnattools
23443 check-gnattools:
23444 @r=`${PWD_COMMAND}`; export r; \
23445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23446 $(HOST_EXPORTS) \
23447 (cd $(HOST_SUBDIR)/gnattools && \
23448 $(MAKE) $(FLAGS_TO_PASS) check)
23450 @endif gnattools
23452 .PHONY: install-gnattools maybe-install-gnattools
23453 maybe-install-gnattools:
23454 @if gnattools
23455 maybe-install-gnattools: install-gnattools
23457 install-gnattools: installdirs
23458 @r=`${PWD_COMMAND}`; export r; \
23459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23460 $(HOST_EXPORTS) \
23461 (cd $(HOST_SUBDIR)/gnattools && \
23462 $(MAKE) $(FLAGS_TO_PASS) install)
23464 @endif gnattools
23466 # Other targets (info, dvi, etc.)
23468 .PHONY: maybe-info-gnattools info-gnattools
23469 maybe-info-gnattools:
23470 @if gnattools
23471 maybe-info-gnattools: info-gnattools
23473 info-gnattools: \
23474 configure-gnattools
23475 @[ -f ./gnattools/Makefile ] || exit 0; \
23476 r=`${PWD_COMMAND}`; export r; \
23477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23478 $(HOST_EXPORTS) \
23479 for flag in $(EXTRA_HOST_FLAGS) ; do \
23480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23481 done; \
23482 echo "Doing info in gnattools" ; \
23483 (cd $(HOST_SUBDIR)/gnattools && \
23484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23486 "RANLIB=$${RANLIB}" \
23487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23488 info) \
23489 || exit 1
23491 @endif gnattools
23493 .PHONY: maybe-dvi-gnattools dvi-gnattools
23494 maybe-dvi-gnattools:
23495 @if gnattools
23496 maybe-dvi-gnattools: dvi-gnattools
23498 dvi-gnattools: \
23499 configure-gnattools
23500 @[ -f ./gnattools/Makefile ] || exit 0; \
23501 r=`${PWD_COMMAND}`; export r; \
23502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23503 $(HOST_EXPORTS) \
23504 for flag in $(EXTRA_HOST_FLAGS) ; do \
23505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23506 done; \
23507 echo "Doing dvi in gnattools" ; \
23508 (cd $(HOST_SUBDIR)/gnattools && \
23509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23511 "RANLIB=$${RANLIB}" \
23512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23513 dvi) \
23514 || exit 1
23516 @endif gnattools
23518 .PHONY: maybe-html-gnattools html-gnattools
23519 maybe-html-gnattools:
23520 @if gnattools
23521 maybe-html-gnattools: html-gnattools
23523 html-gnattools: \
23524 configure-gnattools
23525 @[ -f ./gnattools/Makefile ] || exit 0; \
23526 r=`${PWD_COMMAND}`; export r; \
23527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23528 $(HOST_EXPORTS) \
23529 for flag in $(EXTRA_HOST_FLAGS) ; do \
23530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23531 done; \
23532 echo "Doing html in gnattools" ; \
23533 (cd $(HOST_SUBDIR)/gnattools && \
23534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23536 "RANLIB=$${RANLIB}" \
23537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23538 html) \
23539 || exit 1
23541 @endif gnattools
23543 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
23544 maybe-TAGS-gnattools:
23545 @if gnattools
23546 maybe-TAGS-gnattools: TAGS-gnattools
23548 TAGS-gnattools: \
23549 configure-gnattools
23550 @[ -f ./gnattools/Makefile ] || exit 0; \
23551 r=`${PWD_COMMAND}`; export r; \
23552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23553 $(HOST_EXPORTS) \
23554 for flag in $(EXTRA_HOST_FLAGS) ; do \
23555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23556 done; \
23557 echo "Doing TAGS in gnattools" ; \
23558 (cd $(HOST_SUBDIR)/gnattools && \
23559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23561 "RANLIB=$${RANLIB}" \
23562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23563 TAGS) \
23564 || exit 1
23566 @endif gnattools
23568 .PHONY: maybe-install-info-gnattools install-info-gnattools
23569 maybe-install-info-gnattools:
23570 @if gnattools
23571 maybe-install-info-gnattools: install-info-gnattools
23573 install-info-gnattools: \
23574 configure-gnattools \
23575 info-gnattools
23576 @[ -f ./gnattools/Makefile ] || exit 0; \
23577 r=`${PWD_COMMAND}`; export r; \
23578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23579 $(HOST_EXPORTS) \
23580 for flag in $(EXTRA_HOST_FLAGS) ; do \
23581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23582 done; \
23583 echo "Doing install-info in gnattools" ; \
23584 (cd $(HOST_SUBDIR)/gnattools && \
23585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23587 "RANLIB=$${RANLIB}" \
23588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23589 install-info) \
23590 || exit 1
23592 @endif gnattools
23594 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
23595 maybe-installcheck-gnattools:
23596 @if gnattools
23597 maybe-installcheck-gnattools: installcheck-gnattools
23599 installcheck-gnattools: \
23600 configure-gnattools
23601 @[ -f ./gnattools/Makefile ] || exit 0; \
23602 r=`${PWD_COMMAND}`; export r; \
23603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23604 $(HOST_EXPORTS) \
23605 for flag in $(EXTRA_HOST_FLAGS) ; do \
23606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23607 done; \
23608 echo "Doing installcheck in gnattools" ; \
23609 (cd $(HOST_SUBDIR)/gnattools && \
23610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23612 "RANLIB=$${RANLIB}" \
23613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23614 installcheck) \
23615 || exit 1
23617 @endif gnattools
23619 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
23620 maybe-mostlyclean-gnattools:
23621 @if gnattools
23622 maybe-mostlyclean-gnattools: mostlyclean-gnattools
23624 mostlyclean-gnattools:
23625 @[ -f ./gnattools/Makefile ] || exit 0; \
23626 r=`${PWD_COMMAND}`; export r; \
23627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23628 $(HOST_EXPORTS) \
23629 for flag in $(EXTRA_HOST_FLAGS) ; do \
23630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23631 done; \
23632 echo "Doing mostlyclean in gnattools" ; \
23633 (cd $(HOST_SUBDIR)/gnattools && \
23634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23636 "RANLIB=$${RANLIB}" \
23637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23638 mostlyclean) \
23639 || exit 1
23641 @endif gnattools
23643 .PHONY: maybe-clean-gnattools clean-gnattools
23644 maybe-clean-gnattools:
23645 @if gnattools
23646 maybe-clean-gnattools: clean-gnattools
23648 clean-gnattools:
23649 @[ -f ./gnattools/Makefile ] || exit 0; \
23650 r=`${PWD_COMMAND}`; export r; \
23651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23652 $(HOST_EXPORTS) \
23653 for flag in $(EXTRA_HOST_FLAGS) ; do \
23654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23655 done; \
23656 echo "Doing clean in gnattools" ; \
23657 (cd $(HOST_SUBDIR)/gnattools && \
23658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23660 "RANLIB=$${RANLIB}" \
23661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23662 clean) \
23663 || exit 1
23665 @endif gnattools
23667 .PHONY: maybe-distclean-gnattools distclean-gnattools
23668 maybe-distclean-gnattools:
23669 @if gnattools
23670 maybe-distclean-gnattools: distclean-gnattools
23672 distclean-gnattools:
23673 @[ -f ./gnattools/Makefile ] || exit 0; \
23674 r=`${PWD_COMMAND}`; export r; \
23675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23676 $(HOST_EXPORTS) \
23677 for flag in $(EXTRA_HOST_FLAGS) ; do \
23678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23679 done; \
23680 echo "Doing distclean in gnattools" ; \
23681 (cd $(HOST_SUBDIR)/gnattools && \
23682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23684 "RANLIB=$${RANLIB}" \
23685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23686 distclean) \
23687 || exit 1
23689 @endif gnattools
23691 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
23692 maybe-maintainer-clean-gnattools:
23693 @if gnattools
23694 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
23696 maintainer-clean-gnattools:
23697 @[ -f ./gnattools/Makefile ] || exit 0; \
23698 r=`${PWD_COMMAND}`; export r; \
23699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23700 $(HOST_EXPORTS) \
23701 for flag in $(EXTRA_HOST_FLAGS) ; do \
23702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23703 done; \
23704 echo "Doing maintainer-clean in gnattools" ; \
23705 (cd $(HOST_SUBDIR)/gnattools && \
23706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23708 "RANLIB=$${RANLIB}" \
23709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23710 maintainer-clean) \
23711 || exit 1
23713 @endif gnattools
23717 # ---------------------------------------
23718 # Modules which run on the target machine
23719 # ---------------------------------------
23722 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23723 @if target-libstdc++-v3
23724 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
23725 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
23726 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
23727 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
23728 @endif target-libstdc++-v3
23732 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
23733 maybe-configure-target-libstdc++-v3:
23734 @if target-libstdc++-v3
23735 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
23736 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
23737 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
23738 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
23739 r=`${PWD_COMMAND}`; export r; \
23740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23741 $(RAW_CXX_TARGET_EXPORTS) \
23742 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
23743 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
23744 case $(srcdir) in \
23745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23746 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
23747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23748 esac; \
23749 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
23750 libsrcdir="$$s/libstdc++-v3"; \
23751 rm -f no-such-file || : ; \
23752 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23753 $(TARGET_CONFIGARGS) $${srcdiroption} \
23754 || exit 1
23755 @endif target-libstdc++-v3
23759 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
23760 maybe-all-target-libstdc++-v3:
23761 @if target-libstdc++-v3
23762 TARGET-target-libstdc++-v3=all
23763 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
23764 all-target-libstdc++-v3: configure-target-libstdc++-v3
23765 @r=`${PWD_COMMAND}`; export r; \
23766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23767 $(RAW_CXX_TARGET_EXPORTS) \
23768 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23769 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
23770 @endif target-libstdc++-v3
23774 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
23775 maybe-check-target-libstdc++-v3:
23776 @if target-libstdc++-v3
23777 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
23779 check-target-libstdc++-v3:
23780 @r=`${PWD_COMMAND}`; export r; \
23781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23782 $(RAW_CXX_TARGET_EXPORTS) \
23783 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23784 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
23786 @endif target-libstdc++-v3
23788 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
23789 maybe-install-target-libstdc++-v3:
23790 @if target-libstdc++-v3
23791 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
23793 install-target-libstdc++-v3: installdirs
23794 @r=`${PWD_COMMAND}`; export r; \
23795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23796 $(RAW_CXX_TARGET_EXPORTS) \
23797 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23798 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23800 @endif target-libstdc++-v3
23802 # Other targets (info, dvi, etc.)
23804 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
23805 maybe-info-target-libstdc++-v3:
23806 @if target-libstdc++-v3
23807 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
23809 info-target-libstdc++-v3: \
23810 configure-target-libstdc++-v3
23811 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23812 r=`${PWD_COMMAND}`; export r; \
23813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23814 $(RAW_CXX_TARGET_EXPORTS) \
23815 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23816 for flag in $(EXTRA_TARGET_FLAGS); do \
23817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23818 done; \
23819 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23822 "RANLIB=$${RANLIB}" \
23823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23824 info) \
23825 || exit 1
23827 @endif target-libstdc++-v3
23829 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
23830 maybe-dvi-target-libstdc++-v3:
23831 @if target-libstdc++-v3
23832 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
23834 dvi-target-libstdc++-v3: \
23835 configure-target-libstdc++-v3
23836 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23837 r=`${PWD_COMMAND}`; export r; \
23838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23839 $(RAW_CXX_TARGET_EXPORTS) \
23840 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23841 for flag in $(EXTRA_TARGET_FLAGS); do \
23842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23843 done; \
23844 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23847 "RANLIB=$${RANLIB}" \
23848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23849 dvi) \
23850 || exit 1
23852 @endif target-libstdc++-v3
23854 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
23855 maybe-html-target-libstdc++-v3:
23856 @if target-libstdc++-v3
23857 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
23859 html-target-libstdc++-v3: \
23860 configure-target-libstdc++-v3
23861 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23862 r=`${PWD_COMMAND}`; export r; \
23863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23864 $(RAW_CXX_TARGET_EXPORTS) \
23865 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23866 for flag in $(EXTRA_TARGET_FLAGS); do \
23867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23868 done; \
23869 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23872 "RANLIB=$${RANLIB}" \
23873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23874 html) \
23875 || exit 1
23877 @endif target-libstdc++-v3
23879 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
23880 maybe-TAGS-target-libstdc++-v3:
23881 @if target-libstdc++-v3
23882 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
23884 TAGS-target-libstdc++-v3: \
23885 configure-target-libstdc++-v3
23886 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23887 r=`${PWD_COMMAND}`; export r; \
23888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23889 $(RAW_CXX_TARGET_EXPORTS) \
23890 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23891 for flag in $(EXTRA_TARGET_FLAGS); do \
23892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23893 done; \
23894 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23897 "RANLIB=$${RANLIB}" \
23898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23899 TAGS) \
23900 || exit 1
23902 @endif target-libstdc++-v3
23904 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
23905 maybe-install-info-target-libstdc++-v3:
23906 @if target-libstdc++-v3
23907 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
23909 install-info-target-libstdc++-v3: \
23910 configure-target-libstdc++-v3 \
23911 info-target-libstdc++-v3
23912 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23913 r=`${PWD_COMMAND}`; export r; \
23914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23915 $(RAW_CXX_TARGET_EXPORTS) \
23916 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23917 for flag in $(EXTRA_TARGET_FLAGS); do \
23918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23919 done; \
23920 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23923 "RANLIB=$${RANLIB}" \
23924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23925 install-info) \
23926 || exit 1
23928 @endif target-libstdc++-v3
23930 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
23931 maybe-installcheck-target-libstdc++-v3:
23932 @if target-libstdc++-v3
23933 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
23935 installcheck-target-libstdc++-v3: \
23936 configure-target-libstdc++-v3
23937 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23938 r=`${PWD_COMMAND}`; export r; \
23939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23940 $(RAW_CXX_TARGET_EXPORTS) \
23941 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23942 for flag in $(EXTRA_TARGET_FLAGS); do \
23943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23944 done; \
23945 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23948 "RANLIB=$${RANLIB}" \
23949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23950 installcheck) \
23951 || exit 1
23953 @endif target-libstdc++-v3
23955 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
23956 maybe-mostlyclean-target-libstdc++-v3:
23957 @if target-libstdc++-v3
23958 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
23960 mostlyclean-target-libstdc++-v3:
23961 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23962 r=`${PWD_COMMAND}`; export r; \
23963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23964 $(RAW_CXX_TARGET_EXPORTS) \
23965 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23966 for flag in $(EXTRA_TARGET_FLAGS); do \
23967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23968 done; \
23969 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23972 "RANLIB=$${RANLIB}" \
23973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23974 mostlyclean) \
23975 || exit 1
23977 @endif target-libstdc++-v3
23979 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
23980 maybe-clean-target-libstdc++-v3:
23981 @if target-libstdc++-v3
23982 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
23984 clean-target-libstdc++-v3:
23985 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
23986 r=`${PWD_COMMAND}`; export r; \
23987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23988 $(RAW_CXX_TARGET_EXPORTS) \
23989 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
23990 for flag in $(EXTRA_TARGET_FLAGS); do \
23991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23992 done; \
23993 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
23994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23996 "RANLIB=$${RANLIB}" \
23997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23998 clean) \
23999 || exit 1
24001 @endif target-libstdc++-v3
24003 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
24004 maybe-distclean-target-libstdc++-v3:
24005 @if target-libstdc++-v3
24006 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
24008 distclean-target-libstdc++-v3:
24009 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24010 r=`${PWD_COMMAND}`; export r; \
24011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24012 $(RAW_CXX_TARGET_EXPORTS) \
24013 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24014 for flag in $(EXTRA_TARGET_FLAGS); do \
24015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24016 done; \
24017 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24020 "RANLIB=$${RANLIB}" \
24021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24022 distclean) \
24023 || exit 1
24025 @endif target-libstdc++-v3
24027 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
24028 maybe-maintainer-clean-target-libstdc++-v3:
24029 @if target-libstdc++-v3
24030 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
24032 maintainer-clean-target-libstdc++-v3:
24033 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24034 r=`${PWD_COMMAND}`; export r; \
24035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24036 $(RAW_CXX_TARGET_EXPORTS) \
24037 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24038 for flag in $(EXTRA_TARGET_FLAGS); do \
24039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24040 done; \
24041 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24044 "RANLIB=$${RANLIB}" \
24045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24046 maintainer-clean) \
24047 || exit 1
24049 @endif target-libstdc++-v3
24053 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24054 @if target-libmudflap
24055 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
24056 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24057 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
24058 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
24059 @endif target-libmudflap
24063 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
24064 maybe-configure-target-libmudflap:
24065 @if target-libmudflap
24066 maybe-configure-target-libmudflap: configure-target-libmudflap
24067 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
24068 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
24069 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24070 r=`${PWD_COMMAND}`; export r; \
24071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24072 $(NORMAL_TARGET_EXPORTS) \
24073 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
24074 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
24075 case $(srcdir) in \
24076 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24077 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
24078 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24079 esac; \
24080 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
24081 libsrcdir="$$s/libmudflap"; \
24082 rm -f no-such-file || : ; \
24083 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24084 $(TARGET_CONFIGARGS) $${srcdiroption} \
24085 || exit 1
24086 @endif target-libmudflap
24090 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
24091 maybe-all-target-libmudflap:
24092 @if target-libmudflap
24093 TARGET-target-libmudflap=all
24094 maybe-all-target-libmudflap: all-target-libmudflap
24095 all-target-libmudflap: configure-target-libmudflap
24096 @r=`${PWD_COMMAND}`; export r; \
24097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24098 $(NORMAL_TARGET_EXPORTS) \
24099 (cd $(TARGET_SUBDIR)/libmudflap && \
24100 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
24101 @endif target-libmudflap
24105 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
24106 maybe-check-target-libmudflap:
24107 @if target-libmudflap
24108 maybe-check-target-libmudflap: check-target-libmudflap
24110 check-target-libmudflap:
24111 @r=`${PWD_COMMAND}`; export r; \
24112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24113 $(NORMAL_TARGET_EXPORTS) \
24114 (cd $(TARGET_SUBDIR)/libmudflap && \
24115 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24117 @endif target-libmudflap
24119 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
24120 maybe-install-target-libmudflap:
24121 @if target-libmudflap
24122 maybe-install-target-libmudflap: install-target-libmudflap
24124 install-target-libmudflap: installdirs
24125 @r=`${PWD_COMMAND}`; export r; \
24126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24127 $(NORMAL_TARGET_EXPORTS) \
24128 (cd $(TARGET_SUBDIR)/libmudflap && \
24129 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24131 @endif target-libmudflap
24133 # Other targets (info, dvi, etc.)
24135 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
24136 maybe-info-target-libmudflap:
24137 @if target-libmudflap
24138 maybe-info-target-libmudflap: info-target-libmudflap
24140 info-target-libmudflap: \
24141 configure-target-libmudflap
24142 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24143 r=`${PWD_COMMAND}`; export r; \
24144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24145 $(NORMAL_TARGET_EXPORTS) \
24146 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
24147 for flag in $(EXTRA_TARGET_FLAGS); do \
24148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24149 done; \
24150 (cd $(TARGET_SUBDIR)/libmudflap && \
24151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24153 "RANLIB=$${RANLIB}" \
24154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24155 info) \
24156 || exit 1
24158 @endif target-libmudflap
24160 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
24161 maybe-dvi-target-libmudflap:
24162 @if target-libmudflap
24163 maybe-dvi-target-libmudflap: dvi-target-libmudflap
24165 dvi-target-libmudflap: \
24166 configure-target-libmudflap
24167 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24168 r=`${PWD_COMMAND}`; export r; \
24169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24170 $(NORMAL_TARGET_EXPORTS) \
24171 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
24172 for flag in $(EXTRA_TARGET_FLAGS); do \
24173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24174 done; \
24175 (cd $(TARGET_SUBDIR)/libmudflap && \
24176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24178 "RANLIB=$${RANLIB}" \
24179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24180 dvi) \
24181 || exit 1
24183 @endif target-libmudflap
24185 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
24186 maybe-html-target-libmudflap:
24187 @if target-libmudflap
24188 maybe-html-target-libmudflap: html-target-libmudflap
24190 html-target-libmudflap: \
24191 configure-target-libmudflap
24192 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24193 r=`${PWD_COMMAND}`; export r; \
24194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24195 $(NORMAL_TARGET_EXPORTS) \
24196 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
24197 for flag in $(EXTRA_TARGET_FLAGS); do \
24198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24199 done; \
24200 (cd $(TARGET_SUBDIR)/libmudflap && \
24201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24203 "RANLIB=$${RANLIB}" \
24204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24205 html) \
24206 || exit 1
24208 @endif target-libmudflap
24210 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
24211 maybe-TAGS-target-libmudflap:
24212 @if target-libmudflap
24213 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
24215 TAGS-target-libmudflap: \
24216 configure-target-libmudflap
24217 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24218 r=`${PWD_COMMAND}`; export r; \
24219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24220 $(NORMAL_TARGET_EXPORTS) \
24221 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
24222 for flag in $(EXTRA_TARGET_FLAGS); do \
24223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24224 done; \
24225 (cd $(TARGET_SUBDIR)/libmudflap && \
24226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24228 "RANLIB=$${RANLIB}" \
24229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24230 TAGS) \
24231 || exit 1
24233 @endif target-libmudflap
24235 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
24236 maybe-install-info-target-libmudflap:
24237 @if target-libmudflap
24238 maybe-install-info-target-libmudflap: install-info-target-libmudflap
24240 install-info-target-libmudflap: \
24241 configure-target-libmudflap \
24242 info-target-libmudflap
24243 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24244 r=`${PWD_COMMAND}`; export r; \
24245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24246 $(NORMAL_TARGET_EXPORTS) \
24247 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
24248 for flag in $(EXTRA_TARGET_FLAGS); do \
24249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24250 done; \
24251 (cd $(TARGET_SUBDIR)/libmudflap && \
24252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24254 "RANLIB=$${RANLIB}" \
24255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24256 install-info) \
24257 || exit 1
24259 @endif target-libmudflap
24261 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
24262 maybe-installcheck-target-libmudflap:
24263 @if target-libmudflap
24264 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
24266 installcheck-target-libmudflap: \
24267 configure-target-libmudflap
24268 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24269 r=`${PWD_COMMAND}`; export r; \
24270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24271 $(NORMAL_TARGET_EXPORTS) \
24272 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
24273 for flag in $(EXTRA_TARGET_FLAGS); do \
24274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24275 done; \
24276 (cd $(TARGET_SUBDIR)/libmudflap && \
24277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24279 "RANLIB=$${RANLIB}" \
24280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24281 installcheck) \
24282 || exit 1
24284 @endif target-libmudflap
24286 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
24287 maybe-mostlyclean-target-libmudflap:
24288 @if target-libmudflap
24289 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
24291 mostlyclean-target-libmudflap:
24292 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24293 r=`${PWD_COMMAND}`; export r; \
24294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24295 $(NORMAL_TARGET_EXPORTS) \
24296 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
24297 for flag in $(EXTRA_TARGET_FLAGS); do \
24298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24299 done; \
24300 (cd $(TARGET_SUBDIR)/libmudflap && \
24301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24303 "RANLIB=$${RANLIB}" \
24304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24305 mostlyclean) \
24306 || exit 1
24308 @endif target-libmudflap
24310 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
24311 maybe-clean-target-libmudflap:
24312 @if target-libmudflap
24313 maybe-clean-target-libmudflap: clean-target-libmudflap
24315 clean-target-libmudflap:
24316 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24317 r=`${PWD_COMMAND}`; export r; \
24318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24319 $(NORMAL_TARGET_EXPORTS) \
24320 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
24321 for flag in $(EXTRA_TARGET_FLAGS); do \
24322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24323 done; \
24324 (cd $(TARGET_SUBDIR)/libmudflap && \
24325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24327 "RANLIB=$${RANLIB}" \
24328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24329 clean) \
24330 || exit 1
24332 @endif target-libmudflap
24334 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
24335 maybe-distclean-target-libmudflap:
24336 @if target-libmudflap
24337 maybe-distclean-target-libmudflap: distclean-target-libmudflap
24339 distclean-target-libmudflap:
24340 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24341 r=`${PWD_COMMAND}`; export r; \
24342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24343 $(NORMAL_TARGET_EXPORTS) \
24344 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
24345 for flag in $(EXTRA_TARGET_FLAGS); do \
24346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24347 done; \
24348 (cd $(TARGET_SUBDIR)/libmudflap && \
24349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24351 "RANLIB=$${RANLIB}" \
24352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24353 distclean) \
24354 || exit 1
24356 @endif target-libmudflap
24358 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
24359 maybe-maintainer-clean-target-libmudflap:
24360 @if target-libmudflap
24361 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
24363 maintainer-clean-target-libmudflap:
24364 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24365 r=`${PWD_COMMAND}`; export r; \
24366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24367 $(NORMAL_TARGET_EXPORTS) \
24368 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
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)/libmudflap && \
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 maintainer-clean) \
24378 || exit 1
24380 @endif target-libmudflap
24384 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24385 @if target-newlib
24386 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
24387 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24388 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
24389 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
24390 @endif target-newlib
24394 .PHONY: configure-target-newlib maybe-configure-target-newlib
24395 maybe-configure-target-newlib:
24396 @if target-newlib
24397 maybe-configure-target-newlib: configure-target-newlib
24398 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
24399 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
24400 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24401 r=`${PWD_COMMAND}`; export r; \
24402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24403 $(NORMAL_TARGET_EXPORTS) \
24404 echo Configuring in $(TARGET_SUBDIR)/newlib; \
24405 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
24406 case $(srcdir) in \
24407 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24408 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
24409 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24410 esac; \
24411 srcdiroption="--srcdir=$${topdir}/newlib"; \
24412 libsrcdir="$$s/newlib"; \
24413 rm -f no-such-file || : ; \
24414 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24415 $(TARGET_CONFIGARGS) $${srcdiroption} \
24416 || exit 1
24417 @endif target-newlib
24421 .PHONY: all-target-newlib maybe-all-target-newlib
24422 maybe-all-target-newlib:
24423 @if target-newlib
24424 TARGET-target-newlib=all
24425 maybe-all-target-newlib: all-target-newlib
24426 all-target-newlib: configure-target-newlib
24427 @r=`${PWD_COMMAND}`; export r; \
24428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24429 $(NORMAL_TARGET_EXPORTS) \
24430 (cd $(TARGET_SUBDIR)/newlib && \
24431 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
24432 @endif target-newlib
24436 .PHONY: check-target-newlib maybe-check-target-newlib
24437 maybe-check-target-newlib:
24438 @if target-newlib
24439 maybe-check-target-newlib: check-target-newlib
24441 check-target-newlib:
24442 @r=`${PWD_COMMAND}`; export r; \
24443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24444 $(NORMAL_TARGET_EXPORTS) \
24445 (cd $(TARGET_SUBDIR)/newlib && \
24446 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24448 @endif target-newlib
24450 .PHONY: install-target-newlib maybe-install-target-newlib
24451 maybe-install-target-newlib:
24452 @if target-newlib
24453 maybe-install-target-newlib: install-target-newlib
24455 install-target-newlib: installdirs
24456 @r=`${PWD_COMMAND}`; export r; \
24457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24458 $(NORMAL_TARGET_EXPORTS) \
24459 (cd $(TARGET_SUBDIR)/newlib && \
24460 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24462 @endif target-newlib
24464 # Other targets (info, dvi, etc.)
24466 .PHONY: maybe-info-target-newlib info-target-newlib
24467 maybe-info-target-newlib:
24468 @if target-newlib
24469 maybe-info-target-newlib: info-target-newlib
24471 info-target-newlib: \
24472 configure-target-newlib
24473 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24474 r=`${PWD_COMMAND}`; export r; \
24475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24476 $(NORMAL_TARGET_EXPORTS) \
24477 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
24478 for flag in $(EXTRA_TARGET_FLAGS); do \
24479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24480 done; \
24481 (cd $(TARGET_SUBDIR)/newlib && \
24482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24484 "RANLIB=$${RANLIB}" \
24485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24486 info) \
24487 || exit 1
24489 @endif target-newlib
24491 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
24492 maybe-dvi-target-newlib:
24493 @if target-newlib
24494 maybe-dvi-target-newlib: dvi-target-newlib
24496 dvi-target-newlib: \
24497 configure-target-newlib
24498 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24499 r=`${PWD_COMMAND}`; export r; \
24500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24501 $(NORMAL_TARGET_EXPORTS) \
24502 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
24503 for flag in $(EXTRA_TARGET_FLAGS); do \
24504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24505 done; \
24506 (cd $(TARGET_SUBDIR)/newlib && \
24507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24509 "RANLIB=$${RANLIB}" \
24510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24511 dvi) \
24512 || exit 1
24514 @endif target-newlib
24516 .PHONY: maybe-html-target-newlib html-target-newlib
24517 maybe-html-target-newlib:
24518 @if target-newlib
24519 maybe-html-target-newlib: html-target-newlib
24521 html-target-newlib: \
24522 configure-target-newlib
24523 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24524 r=`${PWD_COMMAND}`; export r; \
24525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24526 $(NORMAL_TARGET_EXPORTS) \
24527 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
24528 for flag in $(EXTRA_TARGET_FLAGS); do \
24529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24530 done; \
24531 (cd $(TARGET_SUBDIR)/newlib && \
24532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24534 "RANLIB=$${RANLIB}" \
24535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24536 html) \
24537 || exit 1
24539 @endif target-newlib
24541 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
24542 maybe-TAGS-target-newlib:
24543 @if target-newlib
24544 maybe-TAGS-target-newlib: TAGS-target-newlib
24546 TAGS-target-newlib: \
24547 configure-target-newlib
24548 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24549 r=`${PWD_COMMAND}`; export r; \
24550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24551 $(NORMAL_TARGET_EXPORTS) \
24552 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
24553 for flag in $(EXTRA_TARGET_FLAGS); do \
24554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24555 done; \
24556 (cd $(TARGET_SUBDIR)/newlib && \
24557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24559 "RANLIB=$${RANLIB}" \
24560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24561 TAGS) \
24562 || exit 1
24564 @endif target-newlib
24566 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
24567 maybe-install-info-target-newlib:
24568 @if target-newlib
24569 maybe-install-info-target-newlib: install-info-target-newlib
24571 install-info-target-newlib: \
24572 configure-target-newlib \
24573 info-target-newlib
24574 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24575 r=`${PWD_COMMAND}`; export r; \
24576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24577 $(NORMAL_TARGET_EXPORTS) \
24578 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
24579 for flag in $(EXTRA_TARGET_FLAGS); do \
24580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24581 done; \
24582 (cd $(TARGET_SUBDIR)/newlib && \
24583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24585 "RANLIB=$${RANLIB}" \
24586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24587 install-info) \
24588 || exit 1
24590 @endif target-newlib
24592 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
24593 maybe-installcheck-target-newlib:
24594 @if target-newlib
24595 maybe-installcheck-target-newlib: installcheck-target-newlib
24597 installcheck-target-newlib: \
24598 configure-target-newlib
24599 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24600 r=`${PWD_COMMAND}`; export r; \
24601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24602 $(NORMAL_TARGET_EXPORTS) \
24603 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
24604 for flag in $(EXTRA_TARGET_FLAGS); do \
24605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24606 done; \
24607 (cd $(TARGET_SUBDIR)/newlib && \
24608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24610 "RANLIB=$${RANLIB}" \
24611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24612 installcheck) \
24613 || exit 1
24615 @endif target-newlib
24617 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
24618 maybe-mostlyclean-target-newlib:
24619 @if target-newlib
24620 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
24622 mostlyclean-target-newlib:
24623 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24624 r=`${PWD_COMMAND}`; export r; \
24625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24626 $(NORMAL_TARGET_EXPORTS) \
24627 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
24628 for flag in $(EXTRA_TARGET_FLAGS); do \
24629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24630 done; \
24631 (cd $(TARGET_SUBDIR)/newlib && \
24632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24634 "RANLIB=$${RANLIB}" \
24635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24636 mostlyclean) \
24637 || exit 1
24639 @endif target-newlib
24641 .PHONY: maybe-clean-target-newlib clean-target-newlib
24642 maybe-clean-target-newlib:
24643 @if target-newlib
24644 maybe-clean-target-newlib: clean-target-newlib
24646 clean-target-newlib:
24647 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24648 r=`${PWD_COMMAND}`; export r; \
24649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24650 $(NORMAL_TARGET_EXPORTS) \
24651 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
24652 for flag in $(EXTRA_TARGET_FLAGS); do \
24653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24654 done; \
24655 (cd $(TARGET_SUBDIR)/newlib && \
24656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24658 "RANLIB=$${RANLIB}" \
24659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24660 clean) \
24661 || exit 1
24663 @endif target-newlib
24665 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
24666 maybe-distclean-target-newlib:
24667 @if target-newlib
24668 maybe-distclean-target-newlib: distclean-target-newlib
24670 distclean-target-newlib:
24671 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24672 r=`${PWD_COMMAND}`; export r; \
24673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24674 $(NORMAL_TARGET_EXPORTS) \
24675 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
24676 for flag in $(EXTRA_TARGET_FLAGS); do \
24677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24678 done; \
24679 (cd $(TARGET_SUBDIR)/newlib && \
24680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24682 "RANLIB=$${RANLIB}" \
24683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24684 distclean) \
24685 || exit 1
24687 @endif target-newlib
24689 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
24690 maybe-maintainer-clean-target-newlib:
24691 @if target-newlib
24692 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
24694 maintainer-clean-target-newlib:
24695 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
24696 r=`${PWD_COMMAND}`; export r; \
24697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24698 $(NORMAL_TARGET_EXPORTS) \
24699 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
24700 for flag in $(EXTRA_TARGET_FLAGS); do \
24701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24702 done; \
24703 (cd $(TARGET_SUBDIR)/newlib && \
24704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24706 "RANLIB=$${RANLIB}" \
24707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24708 maintainer-clean) \
24709 || exit 1
24711 @endif target-newlib
24715 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24716 @if target-libgfortran
24717 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
24718 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
24719 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
24720 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
24721 @endif target-libgfortran
24725 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
24726 maybe-configure-target-libgfortran:
24727 @if target-libgfortran
24728 maybe-configure-target-libgfortran: configure-target-libgfortran
24729 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
24730 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
24731 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
24732 r=`${PWD_COMMAND}`; export r; \
24733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24734 $(NORMAL_TARGET_EXPORTS) \
24735 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
24736 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
24737 case $(srcdir) in \
24738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24739 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
24740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24741 esac; \
24742 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
24743 libsrcdir="$$s/libgfortran"; \
24744 rm -f no-such-file || : ; \
24745 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24746 $(TARGET_CONFIGARGS) $${srcdiroption} \
24747 || exit 1
24748 @endif target-libgfortran
24752 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
24753 maybe-all-target-libgfortran:
24754 @if target-libgfortran
24755 TARGET-target-libgfortran=all
24756 maybe-all-target-libgfortran: all-target-libgfortran
24757 all-target-libgfortran: configure-target-libgfortran
24758 @r=`${PWD_COMMAND}`; export r; \
24759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24760 $(NORMAL_TARGET_EXPORTS) \
24761 (cd $(TARGET_SUBDIR)/libgfortran && \
24762 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
24763 @endif target-libgfortran
24767 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
24768 maybe-check-target-libgfortran:
24769 @if target-libgfortran
24770 maybe-check-target-libgfortran: check-target-libgfortran
24772 check-target-libgfortran:
24773 @r=`${PWD_COMMAND}`; export r; \
24774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24775 $(NORMAL_TARGET_EXPORTS) \
24776 (cd $(TARGET_SUBDIR)/libgfortran && \
24777 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24779 @endif target-libgfortran
24781 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
24782 maybe-install-target-libgfortran:
24783 @if target-libgfortran
24784 maybe-install-target-libgfortran: install-target-libgfortran
24786 install-target-libgfortran: installdirs
24787 @r=`${PWD_COMMAND}`; export r; \
24788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24789 $(NORMAL_TARGET_EXPORTS) \
24790 (cd $(TARGET_SUBDIR)/libgfortran && \
24791 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24793 @endif target-libgfortran
24795 # Other targets (info, dvi, etc.)
24797 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
24798 maybe-info-target-libgfortran:
24799 @if target-libgfortran
24800 maybe-info-target-libgfortran: info-target-libgfortran
24802 info-target-libgfortran: \
24803 configure-target-libgfortran
24804 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24805 r=`${PWD_COMMAND}`; export r; \
24806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24807 $(NORMAL_TARGET_EXPORTS) \
24808 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
24809 for flag in $(EXTRA_TARGET_FLAGS); do \
24810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24811 done; \
24812 (cd $(TARGET_SUBDIR)/libgfortran && \
24813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24815 "RANLIB=$${RANLIB}" \
24816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24817 info) \
24818 || exit 1
24820 @endif target-libgfortran
24822 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
24823 maybe-dvi-target-libgfortran:
24824 @if target-libgfortran
24825 maybe-dvi-target-libgfortran: dvi-target-libgfortran
24827 dvi-target-libgfortran: \
24828 configure-target-libgfortran
24829 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24830 r=`${PWD_COMMAND}`; export r; \
24831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24832 $(NORMAL_TARGET_EXPORTS) \
24833 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
24834 for flag in $(EXTRA_TARGET_FLAGS); do \
24835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24836 done; \
24837 (cd $(TARGET_SUBDIR)/libgfortran && \
24838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24840 "RANLIB=$${RANLIB}" \
24841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24842 dvi) \
24843 || exit 1
24845 @endif target-libgfortran
24847 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
24848 maybe-html-target-libgfortran:
24849 @if target-libgfortran
24850 maybe-html-target-libgfortran: html-target-libgfortran
24852 html-target-libgfortran: \
24853 configure-target-libgfortran
24854 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24855 r=`${PWD_COMMAND}`; export r; \
24856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24857 $(NORMAL_TARGET_EXPORTS) \
24858 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
24859 for flag in $(EXTRA_TARGET_FLAGS); do \
24860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24861 done; \
24862 (cd $(TARGET_SUBDIR)/libgfortran && \
24863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24865 "RANLIB=$${RANLIB}" \
24866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24867 html) \
24868 || exit 1
24870 @endif target-libgfortran
24872 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
24873 maybe-TAGS-target-libgfortran:
24874 @if target-libgfortran
24875 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
24877 TAGS-target-libgfortran: \
24878 configure-target-libgfortran
24879 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24880 r=`${PWD_COMMAND}`; export r; \
24881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24882 $(NORMAL_TARGET_EXPORTS) \
24883 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
24884 for flag in $(EXTRA_TARGET_FLAGS); do \
24885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24886 done; \
24887 (cd $(TARGET_SUBDIR)/libgfortran && \
24888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24890 "RANLIB=$${RANLIB}" \
24891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24892 TAGS) \
24893 || exit 1
24895 @endif target-libgfortran
24897 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
24898 maybe-install-info-target-libgfortran:
24899 @if target-libgfortran
24900 maybe-install-info-target-libgfortran: install-info-target-libgfortran
24902 install-info-target-libgfortran: \
24903 configure-target-libgfortran \
24904 info-target-libgfortran
24905 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24906 r=`${PWD_COMMAND}`; export r; \
24907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24908 $(NORMAL_TARGET_EXPORTS) \
24909 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
24910 for flag in $(EXTRA_TARGET_FLAGS); do \
24911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24912 done; \
24913 (cd $(TARGET_SUBDIR)/libgfortran && \
24914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24916 "RANLIB=$${RANLIB}" \
24917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24918 install-info) \
24919 || exit 1
24921 @endif target-libgfortran
24923 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
24924 maybe-installcheck-target-libgfortran:
24925 @if target-libgfortran
24926 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
24928 installcheck-target-libgfortran: \
24929 configure-target-libgfortran
24930 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24931 r=`${PWD_COMMAND}`; export r; \
24932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24933 $(NORMAL_TARGET_EXPORTS) \
24934 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
24935 for flag in $(EXTRA_TARGET_FLAGS); do \
24936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24937 done; \
24938 (cd $(TARGET_SUBDIR)/libgfortran && \
24939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24941 "RANLIB=$${RANLIB}" \
24942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24943 installcheck) \
24944 || exit 1
24946 @endif target-libgfortran
24948 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
24949 maybe-mostlyclean-target-libgfortran:
24950 @if target-libgfortran
24951 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
24953 mostlyclean-target-libgfortran:
24954 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24955 r=`${PWD_COMMAND}`; export r; \
24956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24957 $(NORMAL_TARGET_EXPORTS) \
24958 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
24959 for flag in $(EXTRA_TARGET_FLAGS); do \
24960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24961 done; \
24962 (cd $(TARGET_SUBDIR)/libgfortran && \
24963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24965 "RANLIB=$${RANLIB}" \
24966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24967 mostlyclean) \
24968 || exit 1
24970 @endif target-libgfortran
24972 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
24973 maybe-clean-target-libgfortran:
24974 @if target-libgfortran
24975 maybe-clean-target-libgfortran: clean-target-libgfortran
24977 clean-target-libgfortran:
24978 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
24979 r=`${PWD_COMMAND}`; export r; \
24980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24981 $(NORMAL_TARGET_EXPORTS) \
24982 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
24983 for flag in $(EXTRA_TARGET_FLAGS); do \
24984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24985 done; \
24986 (cd $(TARGET_SUBDIR)/libgfortran && \
24987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24989 "RANLIB=$${RANLIB}" \
24990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24991 clean) \
24992 || exit 1
24994 @endif target-libgfortran
24996 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
24997 maybe-distclean-target-libgfortran:
24998 @if target-libgfortran
24999 maybe-distclean-target-libgfortran: distclean-target-libgfortran
25001 distclean-target-libgfortran:
25002 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25003 r=`${PWD_COMMAND}`; export r; \
25004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25005 $(NORMAL_TARGET_EXPORTS) \
25006 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
25007 for flag in $(EXTRA_TARGET_FLAGS); do \
25008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25009 done; \
25010 (cd $(TARGET_SUBDIR)/libgfortran && \
25011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25013 "RANLIB=$${RANLIB}" \
25014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25015 distclean) \
25016 || exit 1
25018 @endif target-libgfortran
25020 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
25021 maybe-maintainer-clean-target-libgfortran:
25022 @if target-libgfortran
25023 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
25025 maintainer-clean-target-libgfortran:
25026 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25027 r=`${PWD_COMMAND}`; export r; \
25028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25029 $(NORMAL_TARGET_EXPORTS) \
25030 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
25031 for flag in $(EXTRA_TARGET_FLAGS); do \
25032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25033 done; \
25034 (cd $(TARGET_SUBDIR)/libgfortran && \
25035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25037 "RANLIB=$${RANLIB}" \
25038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25039 maintainer-clean) \
25040 || exit 1
25042 @endif target-libgfortran
25046 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25047 @if target-libobjc
25048 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
25049 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25050 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
25051 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
25052 @endif target-libobjc
25056 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
25057 maybe-configure-target-libobjc:
25058 @if target-libobjc
25059 maybe-configure-target-libobjc: configure-target-libobjc
25060 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
25061 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
25062 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25063 r=`${PWD_COMMAND}`; export r; \
25064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25065 $(NORMAL_TARGET_EXPORTS) \
25066 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
25067 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
25068 case $(srcdir) in \
25069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25070 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
25071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25072 esac; \
25073 srcdiroption="--srcdir=$${topdir}/libobjc"; \
25074 libsrcdir="$$s/libobjc"; \
25075 rm -f no-such-file || : ; \
25076 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25077 $(TARGET_CONFIGARGS) $${srcdiroption} \
25078 || exit 1
25079 @endif target-libobjc
25083 .PHONY: all-target-libobjc maybe-all-target-libobjc
25084 maybe-all-target-libobjc:
25085 @if target-libobjc
25086 TARGET-target-libobjc=all
25087 maybe-all-target-libobjc: all-target-libobjc
25088 all-target-libobjc: configure-target-libobjc
25089 @r=`${PWD_COMMAND}`; export r; \
25090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25091 $(NORMAL_TARGET_EXPORTS) \
25092 (cd $(TARGET_SUBDIR)/libobjc && \
25093 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
25094 @endif target-libobjc
25098 .PHONY: check-target-libobjc maybe-check-target-libobjc
25099 maybe-check-target-libobjc:
25100 @if target-libobjc
25101 maybe-check-target-libobjc: check-target-libobjc
25103 check-target-libobjc:
25104 @r=`${PWD_COMMAND}`; export r; \
25105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25106 $(NORMAL_TARGET_EXPORTS) \
25107 (cd $(TARGET_SUBDIR)/libobjc && \
25108 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25110 @endif target-libobjc
25112 .PHONY: install-target-libobjc maybe-install-target-libobjc
25113 maybe-install-target-libobjc:
25114 @if target-libobjc
25115 maybe-install-target-libobjc: install-target-libobjc
25117 install-target-libobjc: installdirs
25118 @r=`${PWD_COMMAND}`; export r; \
25119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25120 $(NORMAL_TARGET_EXPORTS) \
25121 (cd $(TARGET_SUBDIR)/libobjc && \
25122 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25124 @endif target-libobjc
25126 # Other targets (info, dvi, etc.)
25128 .PHONY: maybe-info-target-libobjc info-target-libobjc
25129 maybe-info-target-libobjc:
25130 @if target-libobjc
25131 maybe-info-target-libobjc: info-target-libobjc
25133 info-target-libobjc: \
25134 configure-target-libobjc
25135 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25136 r=`${PWD_COMMAND}`; export r; \
25137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25138 $(NORMAL_TARGET_EXPORTS) \
25139 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
25140 for flag in $(EXTRA_TARGET_FLAGS); do \
25141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25142 done; \
25143 (cd $(TARGET_SUBDIR)/libobjc && \
25144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25146 "RANLIB=$${RANLIB}" \
25147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25148 info) \
25149 || exit 1
25151 @endif target-libobjc
25153 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
25154 maybe-dvi-target-libobjc:
25155 @if target-libobjc
25156 maybe-dvi-target-libobjc: dvi-target-libobjc
25158 dvi-target-libobjc: \
25159 configure-target-libobjc
25160 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25161 r=`${PWD_COMMAND}`; export r; \
25162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25163 $(NORMAL_TARGET_EXPORTS) \
25164 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
25165 for flag in $(EXTRA_TARGET_FLAGS); do \
25166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25167 done; \
25168 (cd $(TARGET_SUBDIR)/libobjc && \
25169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25171 "RANLIB=$${RANLIB}" \
25172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25173 dvi) \
25174 || exit 1
25176 @endif target-libobjc
25178 .PHONY: maybe-html-target-libobjc html-target-libobjc
25179 maybe-html-target-libobjc:
25180 @if target-libobjc
25181 maybe-html-target-libobjc: html-target-libobjc
25183 html-target-libobjc: \
25184 configure-target-libobjc
25185 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25186 r=`${PWD_COMMAND}`; export r; \
25187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25188 $(NORMAL_TARGET_EXPORTS) \
25189 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
25190 for flag in $(EXTRA_TARGET_FLAGS); do \
25191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25192 done; \
25193 (cd $(TARGET_SUBDIR)/libobjc && \
25194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25196 "RANLIB=$${RANLIB}" \
25197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25198 html) \
25199 || exit 1
25201 @endif target-libobjc
25203 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
25204 maybe-TAGS-target-libobjc:
25205 @if target-libobjc
25206 maybe-TAGS-target-libobjc: TAGS-target-libobjc
25208 TAGS-target-libobjc: \
25209 configure-target-libobjc
25210 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25211 r=`${PWD_COMMAND}`; export r; \
25212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25213 $(NORMAL_TARGET_EXPORTS) \
25214 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
25215 for flag in $(EXTRA_TARGET_FLAGS); do \
25216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25217 done; \
25218 (cd $(TARGET_SUBDIR)/libobjc && \
25219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25221 "RANLIB=$${RANLIB}" \
25222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25223 TAGS) \
25224 || exit 1
25226 @endif target-libobjc
25228 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
25229 maybe-install-info-target-libobjc:
25230 @if target-libobjc
25231 maybe-install-info-target-libobjc: install-info-target-libobjc
25233 install-info-target-libobjc: \
25234 configure-target-libobjc \
25235 info-target-libobjc
25236 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25237 r=`${PWD_COMMAND}`; export r; \
25238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25239 $(NORMAL_TARGET_EXPORTS) \
25240 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
25241 for flag in $(EXTRA_TARGET_FLAGS); do \
25242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25243 done; \
25244 (cd $(TARGET_SUBDIR)/libobjc && \
25245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25247 "RANLIB=$${RANLIB}" \
25248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25249 install-info) \
25250 || exit 1
25252 @endif target-libobjc
25254 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
25255 maybe-installcheck-target-libobjc:
25256 @if target-libobjc
25257 maybe-installcheck-target-libobjc: installcheck-target-libobjc
25259 installcheck-target-libobjc: \
25260 configure-target-libobjc
25261 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25262 r=`${PWD_COMMAND}`; export r; \
25263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25264 $(NORMAL_TARGET_EXPORTS) \
25265 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
25266 for flag in $(EXTRA_TARGET_FLAGS); do \
25267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25268 done; \
25269 (cd $(TARGET_SUBDIR)/libobjc && \
25270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25272 "RANLIB=$${RANLIB}" \
25273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25274 installcheck) \
25275 || exit 1
25277 @endif target-libobjc
25279 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
25280 maybe-mostlyclean-target-libobjc:
25281 @if target-libobjc
25282 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
25284 mostlyclean-target-libobjc:
25285 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25286 r=`${PWD_COMMAND}`; export r; \
25287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25288 $(NORMAL_TARGET_EXPORTS) \
25289 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
25290 for flag in $(EXTRA_TARGET_FLAGS); do \
25291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25292 done; \
25293 (cd $(TARGET_SUBDIR)/libobjc && \
25294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25296 "RANLIB=$${RANLIB}" \
25297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25298 mostlyclean) \
25299 || exit 1
25301 @endif target-libobjc
25303 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
25304 maybe-clean-target-libobjc:
25305 @if target-libobjc
25306 maybe-clean-target-libobjc: clean-target-libobjc
25308 clean-target-libobjc:
25309 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25310 r=`${PWD_COMMAND}`; export r; \
25311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25312 $(NORMAL_TARGET_EXPORTS) \
25313 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
25314 for flag in $(EXTRA_TARGET_FLAGS); do \
25315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25316 done; \
25317 (cd $(TARGET_SUBDIR)/libobjc && \
25318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25320 "RANLIB=$${RANLIB}" \
25321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25322 clean) \
25323 || exit 1
25325 @endif target-libobjc
25327 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
25328 maybe-distclean-target-libobjc:
25329 @if target-libobjc
25330 maybe-distclean-target-libobjc: distclean-target-libobjc
25332 distclean-target-libobjc:
25333 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25334 r=`${PWD_COMMAND}`; export r; \
25335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25336 $(NORMAL_TARGET_EXPORTS) \
25337 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
25338 for flag in $(EXTRA_TARGET_FLAGS); do \
25339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25340 done; \
25341 (cd $(TARGET_SUBDIR)/libobjc && \
25342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25344 "RANLIB=$${RANLIB}" \
25345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25346 distclean) \
25347 || exit 1
25349 @endif target-libobjc
25351 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
25352 maybe-maintainer-clean-target-libobjc:
25353 @if target-libobjc
25354 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
25356 maintainer-clean-target-libobjc:
25357 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25358 r=`${PWD_COMMAND}`; export r; \
25359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25360 $(NORMAL_TARGET_EXPORTS) \
25361 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
25362 for flag in $(EXTRA_TARGET_FLAGS); do \
25363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25364 done; \
25365 (cd $(TARGET_SUBDIR)/libobjc && \
25366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25368 "RANLIB=$${RANLIB}" \
25369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25370 maintainer-clean) \
25371 || exit 1
25373 @endif target-libobjc
25377 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25378 @if target-libtermcap
25379 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
25380 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25381 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
25382 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
25383 @endif target-libtermcap
25387 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
25388 maybe-configure-target-libtermcap:
25389 @if target-libtermcap
25390 maybe-configure-target-libtermcap: configure-target-libtermcap
25391 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
25392 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
25393 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25394 r=`${PWD_COMMAND}`; export r; \
25395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25396 $(NORMAL_TARGET_EXPORTS) \
25397 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
25398 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
25399 case $(srcdir) in \
25400 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25401 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
25402 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25403 esac; \
25404 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
25405 libsrcdir="$$s/libtermcap"; \
25406 rm -f no-such-file || : ; \
25407 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25408 $(TARGET_CONFIGARGS) $${srcdiroption} \
25409 || exit 1
25410 @endif target-libtermcap
25414 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
25415 maybe-all-target-libtermcap:
25416 @if target-libtermcap
25417 TARGET-target-libtermcap=all
25418 maybe-all-target-libtermcap: all-target-libtermcap
25419 all-target-libtermcap: configure-target-libtermcap
25420 @r=`${PWD_COMMAND}`; export r; \
25421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25422 $(NORMAL_TARGET_EXPORTS) \
25423 (cd $(TARGET_SUBDIR)/libtermcap && \
25424 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
25425 @endif target-libtermcap
25429 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
25430 maybe-check-target-libtermcap:
25431 @if target-libtermcap
25432 maybe-check-target-libtermcap: check-target-libtermcap
25434 # Dummy target for uncheckable module.
25435 check-target-libtermcap:
25437 @endif target-libtermcap
25439 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
25440 maybe-install-target-libtermcap:
25441 @if target-libtermcap
25442 maybe-install-target-libtermcap: install-target-libtermcap
25444 install-target-libtermcap: installdirs
25445 @r=`${PWD_COMMAND}`; export r; \
25446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25447 $(NORMAL_TARGET_EXPORTS) \
25448 (cd $(TARGET_SUBDIR)/libtermcap && \
25449 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25451 @endif target-libtermcap
25453 # Other targets (info, dvi, etc.)
25455 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
25456 maybe-info-target-libtermcap:
25457 @if target-libtermcap
25458 maybe-info-target-libtermcap: info-target-libtermcap
25460 info-target-libtermcap: \
25461 configure-target-libtermcap
25462 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25463 r=`${PWD_COMMAND}`; export r; \
25464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25465 $(NORMAL_TARGET_EXPORTS) \
25466 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
25467 for flag in $(EXTRA_TARGET_FLAGS); do \
25468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25469 done; \
25470 (cd $(TARGET_SUBDIR)/libtermcap && \
25471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25473 "RANLIB=$${RANLIB}" \
25474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25475 info) \
25476 || exit 1
25478 @endif target-libtermcap
25480 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
25481 maybe-dvi-target-libtermcap:
25482 @if target-libtermcap
25483 maybe-dvi-target-libtermcap: dvi-target-libtermcap
25485 dvi-target-libtermcap: \
25486 configure-target-libtermcap
25487 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25488 r=`${PWD_COMMAND}`; export r; \
25489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25490 $(NORMAL_TARGET_EXPORTS) \
25491 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
25492 for flag in $(EXTRA_TARGET_FLAGS); do \
25493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25494 done; \
25495 (cd $(TARGET_SUBDIR)/libtermcap && \
25496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25498 "RANLIB=$${RANLIB}" \
25499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25500 dvi) \
25501 || exit 1
25503 @endif target-libtermcap
25505 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
25506 maybe-html-target-libtermcap:
25507 @if target-libtermcap
25508 maybe-html-target-libtermcap: html-target-libtermcap
25510 html-target-libtermcap: \
25511 configure-target-libtermcap
25512 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25513 r=`${PWD_COMMAND}`; export r; \
25514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25515 $(NORMAL_TARGET_EXPORTS) \
25516 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
25517 for flag in $(EXTRA_TARGET_FLAGS); do \
25518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25519 done; \
25520 (cd $(TARGET_SUBDIR)/libtermcap && \
25521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25523 "RANLIB=$${RANLIB}" \
25524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25525 html) \
25526 || exit 1
25528 @endif target-libtermcap
25530 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
25531 maybe-TAGS-target-libtermcap:
25532 @if target-libtermcap
25533 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
25535 TAGS-target-libtermcap: \
25536 configure-target-libtermcap
25537 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25538 r=`${PWD_COMMAND}`; export r; \
25539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25540 $(NORMAL_TARGET_EXPORTS) \
25541 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
25542 for flag in $(EXTRA_TARGET_FLAGS); do \
25543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25544 done; \
25545 (cd $(TARGET_SUBDIR)/libtermcap && \
25546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25548 "RANLIB=$${RANLIB}" \
25549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25550 TAGS) \
25551 || exit 1
25553 @endif target-libtermcap
25555 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
25556 maybe-install-info-target-libtermcap:
25557 @if target-libtermcap
25558 maybe-install-info-target-libtermcap: install-info-target-libtermcap
25560 install-info-target-libtermcap: \
25561 configure-target-libtermcap \
25562 info-target-libtermcap
25563 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25564 r=`${PWD_COMMAND}`; export r; \
25565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25566 $(NORMAL_TARGET_EXPORTS) \
25567 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
25568 for flag in $(EXTRA_TARGET_FLAGS); do \
25569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25570 done; \
25571 (cd $(TARGET_SUBDIR)/libtermcap && \
25572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25574 "RANLIB=$${RANLIB}" \
25575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25576 install-info) \
25577 || exit 1
25579 @endif target-libtermcap
25581 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
25582 maybe-installcheck-target-libtermcap:
25583 @if target-libtermcap
25584 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
25586 installcheck-target-libtermcap: \
25587 configure-target-libtermcap
25588 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
25589 r=`${PWD_COMMAND}`; export r; \
25590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25591 $(NORMAL_TARGET_EXPORTS) \
25592 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
25593 for flag in $(EXTRA_TARGET_FLAGS); do \
25594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25595 done; \
25596 (cd $(TARGET_SUBDIR)/libtermcap && \
25597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25599 "RANLIB=$${RANLIB}" \
25600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25601 installcheck) \
25602 || exit 1
25604 @endif target-libtermcap
25606 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
25607 maybe-mostlyclean-target-libtermcap:
25608 @if target-libtermcap
25609 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
25611 # libtermcap doesn't support mostlyclean.
25612 mostlyclean-target-libtermcap:
25614 @endif target-libtermcap
25616 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
25617 maybe-clean-target-libtermcap:
25618 @if target-libtermcap
25619 maybe-clean-target-libtermcap: clean-target-libtermcap
25621 # libtermcap doesn't support clean.
25622 clean-target-libtermcap:
25624 @endif target-libtermcap
25626 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
25627 maybe-distclean-target-libtermcap:
25628 @if target-libtermcap
25629 maybe-distclean-target-libtermcap: distclean-target-libtermcap
25631 # libtermcap doesn't support distclean.
25632 distclean-target-libtermcap:
25634 @endif target-libtermcap
25636 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
25637 maybe-maintainer-clean-target-libtermcap:
25638 @if target-libtermcap
25639 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
25641 # libtermcap doesn't support maintainer-clean.
25642 maintainer-clean-target-libtermcap:
25644 @endif target-libtermcap
25648 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25649 @if target-winsup
25650 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
25651 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
25652 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
25653 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
25654 @endif target-winsup
25658 .PHONY: configure-target-winsup maybe-configure-target-winsup
25659 maybe-configure-target-winsup:
25660 @if target-winsup
25661 maybe-configure-target-winsup: configure-target-winsup
25662 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
25663 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
25664 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
25665 r=`${PWD_COMMAND}`; export r; \
25666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25667 $(NORMAL_TARGET_EXPORTS) \
25668 echo Configuring in $(TARGET_SUBDIR)/winsup; \
25669 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
25670 case $(srcdir) in \
25671 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25672 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
25673 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25674 esac; \
25675 srcdiroption="--srcdir=$${topdir}/winsup"; \
25676 libsrcdir="$$s/winsup"; \
25677 rm -f no-such-file || : ; \
25678 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25679 $(TARGET_CONFIGARGS) $${srcdiroption} \
25680 || exit 1
25681 @endif target-winsup
25685 .PHONY: all-target-winsup maybe-all-target-winsup
25686 maybe-all-target-winsup:
25687 @if target-winsup
25688 TARGET-target-winsup=all
25689 maybe-all-target-winsup: all-target-winsup
25690 all-target-winsup: configure-target-winsup
25691 @r=`${PWD_COMMAND}`; export r; \
25692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25693 $(NORMAL_TARGET_EXPORTS) \
25694 (cd $(TARGET_SUBDIR)/winsup && \
25695 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
25696 @endif target-winsup
25700 .PHONY: check-target-winsup maybe-check-target-winsup
25701 maybe-check-target-winsup:
25702 @if target-winsup
25703 maybe-check-target-winsup: check-target-winsup
25705 check-target-winsup:
25706 @r=`${PWD_COMMAND}`; export r; \
25707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25708 $(NORMAL_TARGET_EXPORTS) \
25709 (cd $(TARGET_SUBDIR)/winsup && \
25710 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25712 @endif target-winsup
25714 .PHONY: install-target-winsup maybe-install-target-winsup
25715 maybe-install-target-winsup:
25716 @if target-winsup
25717 maybe-install-target-winsup: install-target-winsup
25719 install-target-winsup: installdirs
25720 @r=`${PWD_COMMAND}`; export r; \
25721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25722 $(NORMAL_TARGET_EXPORTS) \
25723 (cd $(TARGET_SUBDIR)/winsup && \
25724 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25726 @endif target-winsup
25728 # Other targets (info, dvi, etc.)
25730 .PHONY: maybe-info-target-winsup info-target-winsup
25731 maybe-info-target-winsup:
25732 @if target-winsup
25733 maybe-info-target-winsup: info-target-winsup
25735 info-target-winsup: \
25736 configure-target-winsup
25737 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25738 r=`${PWD_COMMAND}`; export r; \
25739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25740 $(NORMAL_TARGET_EXPORTS) \
25741 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
25742 for flag in $(EXTRA_TARGET_FLAGS); do \
25743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25744 done; \
25745 (cd $(TARGET_SUBDIR)/winsup && \
25746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25748 "RANLIB=$${RANLIB}" \
25749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25750 info) \
25751 || exit 1
25753 @endif target-winsup
25755 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
25756 maybe-dvi-target-winsup:
25757 @if target-winsup
25758 maybe-dvi-target-winsup: dvi-target-winsup
25760 dvi-target-winsup: \
25761 configure-target-winsup
25762 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25763 r=`${PWD_COMMAND}`; export r; \
25764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25765 $(NORMAL_TARGET_EXPORTS) \
25766 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
25767 for flag in $(EXTRA_TARGET_FLAGS); do \
25768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25769 done; \
25770 (cd $(TARGET_SUBDIR)/winsup && \
25771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25773 "RANLIB=$${RANLIB}" \
25774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25775 dvi) \
25776 || exit 1
25778 @endif target-winsup
25780 .PHONY: maybe-html-target-winsup html-target-winsup
25781 maybe-html-target-winsup:
25782 @if target-winsup
25783 maybe-html-target-winsup: html-target-winsup
25785 html-target-winsup: \
25786 configure-target-winsup
25787 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25788 r=`${PWD_COMMAND}`; export r; \
25789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25790 $(NORMAL_TARGET_EXPORTS) \
25791 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
25792 for flag in $(EXTRA_TARGET_FLAGS); do \
25793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25794 done; \
25795 (cd $(TARGET_SUBDIR)/winsup && \
25796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25798 "RANLIB=$${RANLIB}" \
25799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25800 html) \
25801 || exit 1
25803 @endif target-winsup
25805 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
25806 maybe-TAGS-target-winsup:
25807 @if target-winsup
25808 maybe-TAGS-target-winsup: TAGS-target-winsup
25810 TAGS-target-winsup: \
25811 configure-target-winsup
25812 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25813 r=`${PWD_COMMAND}`; export r; \
25814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25815 $(NORMAL_TARGET_EXPORTS) \
25816 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
25817 for flag in $(EXTRA_TARGET_FLAGS); do \
25818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25819 done; \
25820 (cd $(TARGET_SUBDIR)/winsup && \
25821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25823 "RANLIB=$${RANLIB}" \
25824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25825 TAGS) \
25826 || exit 1
25828 @endif target-winsup
25830 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
25831 maybe-install-info-target-winsup:
25832 @if target-winsup
25833 maybe-install-info-target-winsup: install-info-target-winsup
25835 install-info-target-winsup: \
25836 configure-target-winsup \
25837 info-target-winsup
25838 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25839 r=`${PWD_COMMAND}`; export r; \
25840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25841 $(NORMAL_TARGET_EXPORTS) \
25842 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
25843 for flag in $(EXTRA_TARGET_FLAGS); do \
25844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25845 done; \
25846 (cd $(TARGET_SUBDIR)/winsup && \
25847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25849 "RANLIB=$${RANLIB}" \
25850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25851 install-info) \
25852 || exit 1
25854 @endif target-winsup
25856 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
25857 maybe-installcheck-target-winsup:
25858 @if target-winsup
25859 maybe-installcheck-target-winsup: installcheck-target-winsup
25861 installcheck-target-winsup: \
25862 configure-target-winsup
25863 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25864 r=`${PWD_COMMAND}`; export r; \
25865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25866 $(NORMAL_TARGET_EXPORTS) \
25867 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
25868 for flag in $(EXTRA_TARGET_FLAGS); do \
25869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25870 done; \
25871 (cd $(TARGET_SUBDIR)/winsup && \
25872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25874 "RANLIB=$${RANLIB}" \
25875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25876 installcheck) \
25877 || exit 1
25879 @endif target-winsup
25881 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
25882 maybe-mostlyclean-target-winsup:
25883 @if target-winsup
25884 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
25886 mostlyclean-target-winsup:
25887 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25888 r=`${PWD_COMMAND}`; export r; \
25889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25890 $(NORMAL_TARGET_EXPORTS) \
25891 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
25892 for flag in $(EXTRA_TARGET_FLAGS); do \
25893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25894 done; \
25895 (cd $(TARGET_SUBDIR)/winsup && \
25896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25898 "RANLIB=$${RANLIB}" \
25899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25900 mostlyclean) \
25901 || exit 1
25903 @endif target-winsup
25905 .PHONY: maybe-clean-target-winsup clean-target-winsup
25906 maybe-clean-target-winsup:
25907 @if target-winsup
25908 maybe-clean-target-winsup: clean-target-winsup
25910 clean-target-winsup:
25911 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25912 r=`${PWD_COMMAND}`; export r; \
25913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25914 $(NORMAL_TARGET_EXPORTS) \
25915 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
25916 for flag in $(EXTRA_TARGET_FLAGS); do \
25917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25918 done; \
25919 (cd $(TARGET_SUBDIR)/winsup && \
25920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25922 "RANLIB=$${RANLIB}" \
25923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25924 clean) \
25925 || exit 1
25927 @endif target-winsup
25929 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
25930 maybe-distclean-target-winsup:
25931 @if target-winsup
25932 maybe-distclean-target-winsup: distclean-target-winsup
25934 distclean-target-winsup:
25935 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25936 r=`${PWD_COMMAND}`; export r; \
25937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25938 $(NORMAL_TARGET_EXPORTS) \
25939 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
25940 for flag in $(EXTRA_TARGET_FLAGS); do \
25941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25942 done; \
25943 (cd $(TARGET_SUBDIR)/winsup && \
25944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25946 "RANLIB=$${RANLIB}" \
25947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25948 distclean) \
25949 || exit 1
25951 @endif target-winsup
25953 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
25954 maybe-maintainer-clean-target-winsup:
25955 @if target-winsup
25956 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
25958 maintainer-clean-target-winsup:
25959 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
25960 r=`${PWD_COMMAND}`; export r; \
25961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25962 $(NORMAL_TARGET_EXPORTS) \
25963 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
25964 for flag in $(EXTRA_TARGET_FLAGS); do \
25965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25966 done; \
25967 (cd $(TARGET_SUBDIR)/winsup && \
25968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25970 "RANLIB=$${RANLIB}" \
25971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25972 maintainer-clean) \
25973 || exit 1
25975 @endif target-winsup
25979 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25980 @if target-libgloss
25981 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
25982 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
25983 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
25984 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
25985 @endif target-libgloss
25989 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
25990 maybe-configure-target-libgloss:
25991 @if target-libgloss
25992 maybe-configure-target-libgloss: configure-target-libgloss
25993 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
25994 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
25995 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
25996 r=`${PWD_COMMAND}`; export r; \
25997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25998 $(NORMAL_TARGET_EXPORTS) \
25999 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
26000 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
26001 case $(srcdir) in \
26002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26003 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
26004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26005 esac; \
26006 srcdiroption="--srcdir=$${topdir}/libgloss"; \
26007 libsrcdir="$$s/libgloss"; \
26008 rm -f no-such-file || : ; \
26009 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26010 $(TARGET_CONFIGARGS) $${srcdiroption} \
26011 || exit 1
26012 @endif target-libgloss
26016 .PHONY: all-target-libgloss maybe-all-target-libgloss
26017 maybe-all-target-libgloss:
26018 @if target-libgloss
26019 TARGET-target-libgloss=all
26020 maybe-all-target-libgloss: all-target-libgloss
26021 all-target-libgloss: configure-target-libgloss
26022 @r=`${PWD_COMMAND}`; export r; \
26023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26024 $(NORMAL_TARGET_EXPORTS) \
26025 (cd $(TARGET_SUBDIR)/libgloss && \
26026 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
26027 @endif target-libgloss
26031 .PHONY: check-target-libgloss maybe-check-target-libgloss
26032 maybe-check-target-libgloss:
26033 @if target-libgloss
26034 maybe-check-target-libgloss: check-target-libgloss
26036 # Dummy target for uncheckable module.
26037 check-target-libgloss:
26039 @endif target-libgloss
26041 .PHONY: install-target-libgloss maybe-install-target-libgloss
26042 maybe-install-target-libgloss:
26043 @if target-libgloss
26044 maybe-install-target-libgloss: install-target-libgloss
26046 install-target-libgloss: installdirs
26047 @r=`${PWD_COMMAND}`; export r; \
26048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26049 $(NORMAL_TARGET_EXPORTS) \
26050 (cd $(TARGET_SUBDIR)/libgloss && \
26051 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26053 @endif target-libgloss
26055 # Other targets (info, dvi, etc.)
26057 .PHONY: maybe-info-target-libgloss info-target-libgloss
26058 maybe-info-target-libgloss:
26059 @if target-libgloss
26060 maybe-info-target-libgloss: info-target-libgloss
26062 info-target-libgloss: \
26063 configure-target-libgloss
26064 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26065 r=`${PWD_COMMAND}`; export r; \
26066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26067 $(NORMAL_TARGET_EXPORTS) \
26068 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
26069 for flag in $(EXTRA_TARGET_FLAGS); do \
26070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26071 done; \
26072 (cd $(TARGET_SUBDIR)/libgloss && \
26073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26075 "RANLIB=$${RANLIB}" \
26076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26077 info) \
26078 || exit 1
26080 @endif target-libgloss
26082 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
26083 maybe-dvi-target-libgloss:
26084 @if target-libgloss
26085 maybe-dvi-target-libgloss: dvi-target-libgloss
26087 dvi-target-libgloss: \
26088 configure-target-libgloss
26089 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26090 r=`${PWD_COMMAND}`; export r; \
26091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26092 $(NORMAL_TARGET_EXPORTS) \
26093 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
26094 for flag in $(EXTRA_TARGET_FLAGS); do \
26095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26096 done; \
26097 (cd $(TARGET_SUBDIR)/libgloss && \
26098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26100 "RANLIB=$${RANLIB}" \
26101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26102 dvi) \
26103 || exit 1
26105 @endif target-libgloss
26107 .PHONY: maybe-html-target-libgloss html-target-libgloss
26108 maybe-html-target-libgloss:
26109 @if target-libgloss
26110 maybe-html-target-libgloss: html-target-libgloss
26112 html-target-libgloss: \
26113 configure-target-libgloss
26114 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26115 r=`${PWD_COMMAND}`; export r; \
26116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26117 $(NORMAL_TARGET_EXPORTS) \
26118 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
26119 for flag in $(EXTRA_TARGET_FLAGS); do \
26120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26121 done; \
26122 (cd $(TARGET_SUBDIR)/libgloss && \
26123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26125 "RANLIB=$${RANLIB}" \
26126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26127 html) \
26128 || exit 1
26130 @endif target-libgloss
26132 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
26133 maybe-TAGS-target-libgloss:
26134 @if target-libgloss
26135 maybe-TAGS-target-libgloss: TAGS-target-libgloss
26137 TAGS-target-libgloss: \
26138 configure-target-libgloss
26139 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26140 r=`${PWD_COMMAND}`; export r; \
26141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26142 $(NORMAL_TARGET_EXPORTS) \
26143 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
26144 for flag in $(EXTRA_TARGET_FLAGS); do \
26145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26146 done; \
26147 (cd $(TARGET_SUBDIR)/libgloss && \
26148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26150 "RANLIB=$${RANLIB}" \
26151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26152 TAGS) \
26153 || exit 1
26155 @endif target-libgloss
26157 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
26158 maybe-install-info-target-libgloss:
26159 @if target-libgloss
26160 maybe-install-info-target-libgloss: install-info-target-libgloss
26162 install-info-target-libgloss: \
26163 configure-target-libgloss \
26164 info-target-libgloss
26165 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26166 r=`${PWD_COMMAND}`; export r; \
26167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26168 $(NORMAL_TARGET_EXPORTS) \
26169 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
26170 for flag in $(EXTRA_TARGET_FLAGS); do \
26171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26172 done; \
26173 (cd $(TARGET_SUBDIR)/libgloss && \
26174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26176 "RANLIB=$${RANLIB}" \
26177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26178 install-info) \
26179 || exit 1
26181 @endif target-libgloss
26183 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
26184 maybe-installcheck-target-libgloss:
26185 @if target-libgloss
26186 maybe-installcheck-target-libgloss: installcheck-target-libgloss
26188 installcheck-target-libgloss: \
26189 configure-target-libgloss
26190 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26191 r=`${PWD_COMMAND}`; export r; \
26192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26193 $(NORMAL_TARGET_EXPORTS) \
26194 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
26195 for flag in $(EXTRA_TARGET_FLAGS); do \
26196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26197 done; \
26198 (cd $(TARGET_SUBDIR)/libgloss && \
26199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26201 "RANLIB=$${RANLIB}" \
26202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26203 installcheck) \
26204 || exit 1
26206 @endif target-libgloss
26208 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
26209 maybe-mostlyclean-target-libgloss:
26210 @if target-libgloss
26211 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
26213 mostlyclean-target-libgloss:
26214 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26215 r=`${PWD_COMMAND}`; export r; \
26216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26217 $(NORMAL_TARGET_EXPORTS) \
26218 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
26219 for flag in $(EXTRA_TARGET_FLAGS); do \
26220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26221 done; \
26222 (cd $(TARGET_SUBDIR)/libgloss && \
26223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26225 "RANLIB=$${RANLIB}" \
26226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26227 mostlyclean) \
26228 || exit 1
26230 @endif target-libgloss
26232 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
26233 maybe-clean-target-libgloss:
26234 @if target-libgloss
26235 maybe-clean-target-libgloss: clean-target-libgloss
26237 clean-target-libgloss:
26238 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26239 r=`${PWD_COMMAND}`; export r; \
26240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26241 $(NORMAL_TARGET_EXPORTS) \
26242 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
26243 for flag in $(EXTRA_TARGET_FLAGS); do \
26244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26245 done; \
26246 (cd $(TARGET_SUBDIR)/libgloss && \
26247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26249 "RANLIB=$${RANLIB}" \
26250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26251 clean) \
26252 || exit 1
26254 @endif target-libgloss
26256 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
26257 maybe-distclean-target-libgloss:
26258 @if target-libgloss
26259 maybe-distclean-target-libgloss: distclean-target-libgloss
26261 distclean-target-libgloss:
26262 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26263 r=`${PWD_COMMAND}`; export r; \
26264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26265 $(NORMAL_TARGET_EXPORTS) \
26266 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
26267 for flag in $(EXTRA_TARGET_FLAGS); do \
26268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26269 done; \
26270 (cd $(TARGET_SUBDIR)/libgloss && \
26271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26273 "RANLIB=$${RANLIB}" \
26274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26275 distclean) \
26276 || exit 1
26278 @endif target-libgloss
26280 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
26281 maybe-maintainer-clean-target-libgloss:
26282 @if target-libgloss
26283 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
26285 maintainer-clean-target-libgloss:
26286 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26287 r=`${PWD_COMMAND}`; export r; \
26288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26289 $(NORMAL_TARGET_EXPORTS) \
26290 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
26291 for flag in $(EXTRA_TARGET_FLAGS); do \
26292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26293 done; \
26294 (cd $(TARGET_SUBDIR)/libgloss && \
26295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26297 "RANLIB=$${RANLIB}" \
26298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26299 maintainer-clean) \
26300 || exit 1
26302 @endif target-libgloss
26306 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26307 @if target-libiberty
26308 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
26309 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26310 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
26311 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
26312 @endif target-libiberty
26316 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
26317 maybe-configure-target-libiberty:
26318 @if target-libiberty
26319 maybe-configure-target-libiberty: configure-target-libiberty
26320 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
26321 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
26322 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26323 r=`${PWD_COMMAND}`; export r; \
26324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26325 $(NORMAL_TARGET_EXPORTS) \
26326 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
26327 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
26328 case $(srcdir) in \
26329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26330 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
26331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26332 esac; \
26333 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26334 libsrcdir="$$s/libiberty"; \
26335 rm -f no-such-file || : ; \
26336 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26337 $(TARGET_CONFIGARGS) $${srcdiroption} \
26338 || exit 1
26339 @endif target-libiberty
26343 .PHONY: all-target-libiberty maybe-all-target-libiberty
26344 maybe-all-target-libiberty:
26345 @if target-libiberty
26346 TARGET-target-libiberty=all
26347 maybe-all-target-libiberty: all-target-libiberty
26348 all-target-libiberty: configure-target-libiberty
26349 @r=`${PWD_COMMAND}`; export r; \
26350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26351 $(NORMAL_TARGET_EXPORTS) \
26352 (cd $(TARGET_SUBDIR)/libiberty && \
26353 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
26354 @endif target-libiberty
26358 .PHONY: check-target-libiberty maybe-check-target-libiberty
26359 maybe-check-target-libiberty:
26360 @if target-libiberty
26361 maybe-check-target-libiberty: check-target-libiberty
26363 check-target-libiberty:
26364 @r=`${PWD_COMMAND}`; export r; \
26365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26366 $(NORMAL_TARGET_EXPORTS) \
26367 (cd $(TARGET_SUBDIR)/libiberty && \
26368 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26370 @endif target-libiberty
26372 .PHONY: install-target-libiberty maybe-install-target-libiberty
26373 maybe-install-target-libiberty:
26374 @if target-libiberty
26375 maybe-install-target-libiberty: install-target-libiberty
26377 install-target-libiberty: installdirs
26378 @r=`${PWD_COMMAND}`; export r; \
26379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26380 $(NORMAL_TARGET_EXPORTS) \
26381 (cd $(TARGET_SUBDIR)/libiberty && \
26382 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26384 @endif target-libiberty
26386 # Other targets (info, dvi, etc.)
26388 .PHONY: maybe-info-target-libiberty info-target-libiberty
26389 maybe-info-target-libiberty:
26390 @if target-libiberty
26391 maybe-info-target-libiberty: info-target-libiberty
26393 info-target-libiberty: \
26394 configure-target-libiberty
26395 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26396 r=`${PWD_COMMAND}`; export r; \
26397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26398 $(NORMAL_TARGET_EXPORTS) \
26399 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
26400 for flag in $(EXTRA_TARGET_FLAGS); do \
26401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26402 done; \
26403 (cd $(TARGET_SUBDIR)/libiberty && \
26404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26406 "RANLIB=$${RANLIB}" \
26407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26408 info) \
26409 || exit 1
26411 @endif target-libiberty
26413 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
26414 maybe-dvi-target-libiberty:
26415 @if target-libiberty
26416 maybe-dvi-target-libiberty: dvi-target-libiberty
26418 dvi-target-libiberty: \
26419 configure-target-libiberty
26420 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26421 r=`${PWD_COMMAND}`; export r; \
26422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26423 $(NORMAL_TARGET_EXPORTS) \
26424 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
26425 for flag in $(EXTRA_TARGET_FLAGS); do \
26426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26427 done; \
26428 (cd $(TARGET_SUBDIR)/libiberty && \
26429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26431 "RANLIB=$${RANLIB}" \
26432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26433 dvi) \
26434 || exit 1
26436 @endif target-libiberty
26438 .PHONY: maybe-html-target-libiberty html-target-libiberty
26439 maybe-html-target-libiberty:
26440 @if target-libiberty
26441 maybe-html-target-libiberty: html-target-libiberty
26443 html-target-libiberty: \
26444 configure-target-libiberty
26445 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26446 r=`${PWD_COMMAND}`; export r; \
26447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26448 $(NORMAL_TARGET_EXPORTS) \
26449 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
26450 for flag in $(EXTRA_TARGET_FLAGS); do \
26451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26452 done; \
26453 (cd $(TARGET_SUBDIR)/libiberty && \
26454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26456 "RANLIB=$${RANLIB}" \
26457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26458 html) \
26459 || exit 1
26461 @endif target-libiberty
26463 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
26464 maybe-TAGS-target-libiberty:
26465 @if target-libiberty
26466 maybe-TAGS-target-libiberty: TAGS-target-libiberty
26468 TAGS-target-libiberty: \
26469 configure-target-libiberty
26470 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26471 r=`${PWD_COMMAND}`; export r; \
26472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26473 $(NORMAL_TARGET_EXPORTS) \
26474 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
26475 for flag in $(EXTRA_TARGET_FLAGS); do \
26476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26477 done; \
26478 (cd $(TARGET_SUBDIR)/libiberty && \
26479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26481 "RANLIB=$${RANLIB}" \
26482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26483 TAGS) \
26484 || exit 1
26486 @endif target-libiberty
26488 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
26489 maybe-install-info-target-libiberty:
26490 @if target-libiberty
26491 maybe-install-info-target-libiberty: install-info-target-libiberty
26493 install-info-target-libiberty: \
26494 configure-target-libiberty \
26495 info-target-libiberty
26496 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26497 r=`${PWD_COMMAND}`; export r; \
26498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26499 $(NORMAL_TARGET_EXPORTS) \
26500 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
26501 for flag in $(EXTRA_TARGET_FLAGS); do \
26502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26503 done; \
26504 (cd $(TARGET_SUBDIR)/libiberty && \
26505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26507 "RANLIB=$${RANLIB}" \
26508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26509 install-info) \
26510 || exit 1
26512 @endif target-libiberty
26514 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
26515 maybe-installcheck-target-libiberty:
26516 @if target-libiberty
26517 maybe-installcheck-target-libiberty: installcheck-target-libiberty
26519 installcheck-target-libiberty: \
26520 configure-target-libiberty
26521 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26522 r=`${PWD_COMMAND}`; export r; \
26523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26524 $(NORMAL_TARGET_EXPORTS) \
26525 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
26526 for flag in $(EXTRA_TARGET_FLAGS); do \
26527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26528 done; \
26529 (cd $(TARGET_SUBDIR)/libiberty && \
26530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26532 "RANLIB=$${RANLIB}" \
26533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26534 installcheck) \
26535 || exit 1
26537 @endif target-libiberty
26539 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
26540 maybe-mostlyclean-target-libiberty:
26541 @if target-libiberty
26542 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
26544 mostlyclean-target-libiberty:
26545 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26546 r=`${PWD_COMMAND}`; export r; \
26547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26548 $(NORMAL_TARGET_EXPORTS) \
26549 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
26550 for flag in $(EXTRA_TARGET_FLAGS); do \
26551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26552 done; \
26553 (cd $(TARGET_SUBDIR)/libiberty && \
26554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26556 "RANLIB=$${RANLIB}" \
26557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26558 mostlyclean) \
26559 || exit 1
26561 @endif target-libiberty
26563 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
26564 maybe-clean-target-libiberty:
26565 @if target-libiberty
26566 maybe-clean-target-libiberty: clean-target-libiberty
26568 clean-target-libiberty:
26569 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26570 r=`${PWD_COMMAND}`; export r; \
26571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26572 $(NORMAL_TARGET_EXPORTS) \
26573 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
26574 for flag in $(EXTRA_TARGET_FLAGS); do \
26575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26576 done; \
26577 (cd $(TARGET_SUBDIR)/libiberty && \
26578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26580 "RANLIB=$${RANLIB}" \
26581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26582 clean) \
26583 || exit 1
26585 @endif target-libiberty
26587 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
26588 maybe-distclean-target-libiberty:
26589 @if target-libiberty
26590 maybe-distclean-target-libiberty: distclean-target-libiberty
26592 distclean-target-libiberty:
26593 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26594 r=`${PWD_COMMAND}`; export r; \
26595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26596 $(NORMAL_TARGET_EXPORTS) \
26597 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
26598 for flag in $(EXTRA_TARGET_FLAGS); do \
26599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26600 done; \
26601 (cd $(TARGET_SUBDIR)/libiberty && \
26602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26604 "RANLIB=$${RANLIB}" \
26605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26606 distclean) \
26607 || exit 1
26609 @endif target-libiberty
26611 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
26612 maybe-maintainer-clean-target-libiberty:
26613 @if target-libiberty
26614 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
26616 maintainer-clean-target-libiberty:
26617 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26618 r=`${PWD_COMMAND}`; export r; \
26619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26620 $(NORMAL_TARGET_EXPORTS) \
26621 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
26622 for flag in $(EXTRA_TARGET_FLAGS); do \
26623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26624 done; \
26625 (cd $(TARGET_SUBDIR)/libiberty && \
26626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26628 "RANLIB=$${RANLIB}" \
26629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26630 maintainer-clean) \
26631 || exit 1
26633 @endif target-libiberty
26637 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26638 @if target-gperf
26639 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
26640 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
26641 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
26642 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
26643 @endif target-gperf
26647 .PHONY: configure-target-gperf maybe-configure-target-gperf
26648 maybe-configure-target-gperf:
26649 @if target-gperf
26650 maybe-configure-target-gperf: configure-target-gperf
26651 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
26652 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
26653 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
26654 r=`${PWD_COMMAND}`; export r; \
26655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26656 $(NORMAL_TARGET_EXPORTS) \
26657 echo Configuring in $(TARGET_SUBDIR)/gperf; \
26658 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
26659 case $(srcdir) in \
26660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26661 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
26662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26663 esac; \
26664 srcdiroption="--srcdir=$${topdir}/gperf"; \
26665 libsrcdir="$$s/gperf"; \
26666 rm -f no-such-file || : ; \
26667 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26668 $(TARGET_CONFIGARGS) $${srcdiroption} \
26669 || exit 1
26670 @endif target-gperf
26674 .PHONY: all-target-gperf maybe-all-target-gperf
26675 maybe-all-target-gperf:
26676 @if target-gperf
26677 TARGET-target-gperf=all
26678 maybe-all-target-gperf: all-target-gperf
26679 all-target-gperf: configure-target-gperf
26680 @r=`${PWD_COMMAND}`; export r; \
26681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26682 $(NORMAL_TARGET_EXPORTS) \
26683 (cd $(TARGET_SUBDIR)/gperf && \
26684 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
26685 @endif target-gperf
26689 .PHONY: check-target-gperf maybe-check-target-gperf
26690 maybe-check-target-gperf:
26691 @if target-gperf
26692 maybe-check-target-gperf: check-target-gperf
26694 check-target-gperf:
26695 @r=`${PWD_COMMAND}`; export r; \
26696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26697 $(NORMAL_TARGET_EXPORTS) \
26698 (cd $(TARGET_SUBDIR)/gperf && \
26699 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26701 @endif target-gperf
26703 .PHONY: install-target-gperf maybe-install-target-gperf
26704 maybe-install-target-gperf:
26705 @if target-gperf
26706 maybe-install-target-gperf: install-target-gperf
26708 install-target-gperf: installdirs
26709 @r=`${PWD_COMMAND}`; export r; \
26710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26711 $(NORMAL_TARGET_EXPORTS) \
26712 (cd $(TARGET_SUBDIR)/gperf && \
26713 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26715 @endif target-gperf
26717 # Other targets (info, dvi, etc.)
26719 .PHONY: maybe-info-target-gperf info-target-gperf
26720 maybe-info-target-gperf:
26721 @if target-gperf
26722 maybe-info-target-gperf: info-target-gperf
26724 info-target-gperf: \
26725 configure-target-gperf
26726 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26727 r=`${PWD_COMMAND}`; export r; \
26728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26729 $(NORMAL_TARGET_EXPORTS) \
26730 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
26731 for flag in $(EXTRA_TARGET_FLAGS); do \
26732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26733 done; \
26734 (cd $(TARGET_SUBDIR)/gperf && \
26735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26737 "RANLIB=$${RANLIB}" \
26738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26739 info) \
26740 || exit 1
26742 @endif target-gperf
26744 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
26745 maybe-dvi-target-gperf:
26746 @if target-gperf
26747 maybe-dvi-target-gperf: dvi-target-gperf
26749 dvi-target-gperf: \
26750 configure-target-gperf
26751 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26752 r=`${PWD_COMMAND}`; export r; \
26753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26754 $(NORMAL_TARGET_EXPORTS) \
26755 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
26756 for flag in $(EXTRA_TARGET_FLAGS); do \
26757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26758 done; \
26759 (cd $(TARGET_SUBDIR)/gperf && \
26760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26762 "RANLIB=$${RANLIB}" \
26763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26764 dvi) \
26765 || exit 1
26767 @endif target-gperf
26769 .PHONY: maybe-html-target-gperf html-target-gperf
26770 maybe-html-target-gperf:
26771 @if target-gperf
26772 maybe-html-target-gperf: html-target-gperf
26774 html-target-gperf: \
26775 configure-target-gperf
26776 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26777 r=`${PWD_COMMAND}`; export r; \
26778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26779 $(NORMAL_TARGET_EXPORTS) \
26780 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
26781 for flag in $(EXTRA_TARGET_FLAGS); do \
26782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26783 done; \
26784 (cd $(TARGET_SUBDIR)/gperf && \
26785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26787 "RANLIB=$${RANLIB}" \
26788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26789 html) \
26790 || exit 1
26792 @endif target-gperf
26794 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
26795 maybe-TAGS-target-gperf:
26796 @if target-gperf
26797 maybe-TAGS-target-gperf: TAGS-target-gperf
26799 TAGS-target-gperf: \
26800 configure-target-gperf
26801 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26802 r=`${PWD_COMMAND}`; export r; \
26803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26804 $(NORMAL_TARGET_EXPORTS) \
26805 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
26806 for flag in $(EXTRA_TARGET_FLAGS); do \
26807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26808 done; \
26809 (cd $(TARGET_SUBDIR)/gperf && \
26810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26812 "RANLIB=$${RANLIB}" \
26813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26814 TAGS) \
26815 || exit 1
26817 @endif target-gperf
26819 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
26820 maybe-install-info-target-gperf:
26821 @if target-gperf
26822 maybe-install-info-target-gperf: install-info-target-gperf
26824 install-info-target-gperf: \
26825 configure-target-gperf \
26826 info-target-gperf
26827 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26828 r=`${PWD_COMMAND}`; export r; \
26829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26830 $(NORMAL_TARGET_EXPORTS) \
26831 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
26832 for flag in $(EXTRA_TARGET_FLAGS); do \
26833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26834 done; \
26835 (cd $(TARGET_SUBDIR)/gperf && \
26836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26838 "RANLIB=$${RANLIB}" \
26839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26840 install-info) \
26841 || exit 1
26843 @endif target-gperf
26845 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
26846 maybe-installcheck-target-gperf:
26847 @if target-gperf
26848 maybe-installcheck-target-gperf: installcheck-target-gperf
26850 installcheck-target-gperf: \
26851 configure-target-gperf
26852 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26853 r=`${PWD_COMMAND}`; export r; \
26854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26855 $(NORMAL_TARGET_EXPORTS) \
26856 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
26857 for flag in $(EXTRA_TARGET_FLAGS); do \
26858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26859 done; \
26860 (cd $(TARGET_SUBDIR)/gperf && \
26861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26863 "RANLIB=$${RANLIB}" \
26864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26865 installcheck) \
26866 || exit 1
26868 @endif target-gperf
26870 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
26871 maybe-mostlyclean-target-gperf:
26872 @if target-gperf
26873 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
26875 mostlyclean-target-gperf:
26876 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26877 r=`${PWD_COMMAND}`; export r; \
26878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26879 $(NORMAL_TARGET_EXPORTS) \
26880 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
26881 for flag in $(EXTRA_TARGET_FLAGS); do \
26882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26883 done; \
26884 (cd $(TARGET_SUBDIR)/gperf && \
26885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26887 "RANLIB=$${RANLIB}" \
26888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26889 mostlyclean) \
26890 || exit 1
26892 @endif target-gperf
26894 .PHONY: maybe-clean-target-gperf clean-target-gperf
26895 maybe-clean-target-gperf:
26896 @if target-gperf
26897 maybe-clean-target-gperf: clean-target-gperf
26899 clean-target-gperf:
26900 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26901 r=`${PWD_COMMAND}`; export r; \
26902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26903 $(NORMAL_TARGET_EXPORTS) \
26904 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
26905 for flag in $(EXTRA_TARGET_FLAGS); do \
26906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26907 done; \
26908 (cd $(TARGET_SUBDIR)/gperf && \
26909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26911 "RANLIB=$${RANLIB}" \
26912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26913 clean) \
26914 || exit 1
26916 @endif target-gperf
26918 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
26919 maybe-distclean-target-gperf:
26920 @if target-gperf
26921 maybe-distclean-target-gperf: distclean-target-gperf
26923 distclean-target-gperf:
26924 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26925 r=`${PWD_COMMAND}`; export r; \
26926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26927 $(NORMAL_TARGET_EXPORTS) \
26928 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
26929 for flag in $(EXTRA_TARGET_FLAGS); do \
26930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26931 done; \
26932 (cd $(TARGET_SUBDIR)/gperf && \
26933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26935 "RANLIB=$${RANLIB}" \
26936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26937 distclean) \
26938 || exit 1
26940 @endif target-gperf
26942 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
26943 maybe-maintainer-clean-target-gperf:
26944 @if target-gperf
26945 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
26947 maintainer-clean-target-gperf:
26948 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
26949 r=`${PWD_COMMAND}`; export r; \
26950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26951 $(NORMAL_TARGET_EXPORTS) \
26952 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
26953 for flag in $(EXTRA_TARGET_FLAGS); do \
26954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26955 done; \
26956 (cd $(TARGET_SUBDIR)/gperf && \
26957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26959 "RANLIB=$${RANLIB}" \
26960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26961 maintainer-clean) \
26962 || exit 1
26964 @endif target-gperf
26968 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26969 @if target-examples
26970 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
26971 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
26972 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
26973 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
26974 @endif target-examples
26978 .PHONY: configure-target-examples maybe-configure-target-examples
26979 maybe-configure-target-examples:
26980 @if target-examples
26981 maybe-configure-target-examples: configure-target-examples
26982 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
26983 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
26984 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
26985 r=`${PWD_COMMAND}`; export r; \
26986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26987 $(NORMAL_TARGET_EXPORTS) \
26988 echo Configuring in $(TARGET_SUBDIR)/examples; \
26989 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
26990 case $(srcdir) in \
26991 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26992 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
26993 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26994 esac; \
26995 srcdiroption="--srcdir=$${topdir}/examples"; \
26996 libsrcdir="$$s/examples"; \
26997 rm -f no-such-file || : ; \
26998 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26999 $(TARGET_CONFIGARGS) $${srcdiroption} \
27000 || exit 1
27001 @endif target-examples
27005 .PHONY: all-target-examples maybe-all-target-examples
27006 maybe-all-target-examples:
27007 @if target-examples
27008 TARGET-target-examples=all
27009 maybe-all-target-examples: all-target-examples
27010 all-target-examples: configure-target-examples
27011 @r=`${PWD_COMMAND}`; export r; \
27012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27013 $(NORMAL_TARGET_EXPORTS) \
27014 (cd $(TARGET_SUBDIR)/examples && \
27015 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
27016 @endif target-examples
27020 .PHONY: check-target-examples maybe-check-target-examples
27021 maybe-check-target-examples:
27022 @if target-examples
27023 maybe-check-target-examples: check-target-examples
27025 # Dummy target for uncheckable module.
27026 check-target-examples:
27028 @endif target-examples
27030 .PHONY: install-target-examples maybe-install-target-examples
27031 maybe-install-target-examples:
27032 @if target-examples
27033 maybe-install-target-examples: install-target-examples
27035 # Dummy target for uninstallable.
27036 install-target-examples:
27038 @endif target-examples
27040 # Other targets (info, dvi, etc.)
27042 .PHONY: maybe-info-target-examples info-target-examples
27043 maybe-info-target-examples:
27044 @if target-examples
27045 maybe-info-target-examples: info-target-examples
27047 info-target-examples: \
27048 configure-target-examples
27049 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27050 r=`${PWD_COMMAND}`; export r; \
27051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27052 $(NORMAL_TARGET_EXPORTS) \
27053 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
27054 for flag in $(EXTRA_TARGET_FLAGS); do \
27055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27056 done; \
27057 (cd $(TARGET_SUBDIR)/examples && \
27058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27060 "RANLIB=$${RANLIB}" \
27061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27062 info) \
27063 || exit 1
27065 @endif target-examples
27067 .PHONY: maybe-dvi-target-examples dvi-target-examples
27068 maybe-dvi-target-examples:
27069 @if target-examples
27070 maybe-dvi-target-examples: dvi-target-examples
27072 dvi-target-examples: \
27073 configure-target-examples
27074 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27075 r=`${PWD_COMMAND}`; export r; \
27076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27077 $(NORMAL_TARGET_EXPORTS) \
27078 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
27079 for flag in $(EXTRA_TARGET_FLAGS); do \
27080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27081 done; \
27082 (cd $(TARGET_SUBDIR)/examples && \
27083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27085 "RANLIB=$${RANLIB}" \
27086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27087 dvi) \
27088 || exit 1
27090 @endif target-examples
27092 .PHONY: maybe-html-target-examples html-target-examples
27093 maybe-html-target-examples:
27094 @if target-examples
27095 maybe-html-target-examples: html-target-examples
27097 html-target-examples: \
27098 configure-target-examples
27099 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27100 r=`${PWD_COMMAND}`; export r; \
27101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27102 $(NORMAL_TARGET_EXPORTS) \
27103 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
27104 for flag in $(EXTRA_TARGET_FLAGS); do \
27105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27106 done; \
27107 (cd $(TARGET_SUBDIR)/examples && \
27108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27110 "RANLIB=$${RANLIB}" \
27111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27112 html) \
27113 || exit 1
27115 @endif target-examples
27117 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
27118 maybe-TAGS-target-examples:
27119 @if target-examples
27120 maybe-TAGS-target-examples: TAGS-target-examples
27122 TAGS-target-examples: \
27123 configure-target-examples
27124 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27125 r=`${PWD_COMMAND}`; export r; \
27126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27127 $(NORMAL_TARGET_EXPORTS) \
27128 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
27129 for flag in $(EXTRA_TARGET_FLAGS); do \
27130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27131 done; \
27132 (cd $(TARGET_SUBDIR)/examples && \
27133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27135 "RANLIB=$${RANLIB}" \
27136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27137 TAGS) \
27138 || exit 1
27140 @endif target-examples
27142 .PHONY: maybe-install-info-target-examples install-info-target-examples
27143 maybe-install-info-target-examples:
27144 @if target-examples
27145 maybe-install-info-target-examples: install-info-target-examples
27147 install-info-target-examples: \
27148 configure-target-examples \
27149 info-target-examples
27150 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27151 r=`${PWD_COMMAND}`; export r; \
27152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27153 $(NORMAL_TARGET_EXPORTS) \
27154 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
27155 for flag in $(EXTRA_TARGET_FLAGS); do \
27156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27157 done; \
27158 (cd $(TARGET_SUBDIR)/examples && \
27159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27161 "RANLIB=$${RANLIB}" \
27162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27163 install-info) \
27164 || exit 1
27166 @endif target-examples
27168 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
27169 maybe-installcheck-target-examples:
27170 @if target-examples
27171 maybe-installcheck-target-examples: installcheck-target-examples
27173 installcheck-target-examples: \
27174 configure-target-examples
27175 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27176 r=`${PWD_COMMAND}`; export r; \
27177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27178 $(NORMAL_TARGET_EXPORTS) \
27179 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
27180 for flag in $(EXTRA_TARGET_FLAGS); do \
27181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27182 done; \
27183 (cd $(TARGET_SUBDIR)/examples && \
27184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27186 "RANLIB=$${RANLIB}" \
27187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27188 installcheck) \
27189 || exit 1
27191 @endif target-examples
27193 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
27194 maybe-mostlyclean-target-examples:
27195 @if target-examples
27196 maybe-mostlyclean-target-examples: mostlyclean-target-examples
27198 mostlyclean-target-examples:
27199 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27200 r=`${PWD_COMMAND}`; export r; \
27201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27202 $(NORMAL_TARGET_EXPORTS) \
27203 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
27204 for flag in $(EXTRA_TARGET_FLAGS); do \
27205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27206 done; \
27207 (cd $(TARGET_SUBDIR)/examples && \
27208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27210 "RANLIB=$${RANLIB}" \
27211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27212 mostlyclean) \
27213 || exit 1
27215 @endif target-examples
27217 .PHONY: maybe-clean-target-examples clean-target-examples
27218 maybe-clean-target-examples:
27219 @if target-examples
27220 maybe-clean-target-examples: clean-target-examples
27222 clean-target-examples:
27223 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27224 r=`${PWD_COMMAND}`; export r; \
27225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27226 $(NORMAL_TARGET_EXPORTS) \
27227 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
27228 for flag in $(EXTRA_TARGET_FLAGS); do \
27229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27230 done; \
27231 (cd $(TARGET_SUBDIR)/examples && \
27232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27234 "RANLIB=$${RANLIB}" \
27235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27236 clean) \
27237 || exit 1
27239 @endif target-examples
27241 .PHONY: maybe-distclean-target-examples distclean-target-examples
27242 maybe-distclean-target-examples:
27243 @if target-examples
27244 maybe-distclean-target-examples: distclean-target-examples
27246 distclean-target-examples:
27247 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27248 r=`${PWD_COMMAND}`; export r; \
27249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27250 $(NORMAL_TARGET_EXPORTS) \
27251 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
27252 for flag in $(EXTRA_TARGET_FLAGS); do \
27253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27254 done; \
27255 (cd $(TARGET_SUBDIR)/examples && \
27256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27258 "RANLIB=$${RANLIB}" \
27259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27260 distclean) \
27261 || exit 1
27263 @endif target-examples
27265 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
27266 maybe-maintainer-clean-target-examples:
27267 @if target-examples
27268 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
27270 maintainer-clean-target-examples:
27271 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27272 r=`${PWD_COMMAND}`; export r; \
27273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27274 $(NORMAL_TARGET_EXPORTS) \
27275 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
27276 for flag in $(EXTRA_TARGET_FLAGS); do \
27277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27278 done; \
27279 (cd $(TARGET_SUBDIR)/examples && \
27280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27282 "RANLIB=$${RANLIB}" \
27283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27284 maintainer-clean) \
27285 || exit 1
27287 @endif target-examples
27291 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27292 @if target-libffi
27293 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
27294 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27295 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
27296 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
27297 @endif target-libffi
27301 .PHONY: configure-target-libffi maybe-configure-target-libffi
27302 maybe-configure-target-libffi:
27303 @if target-libffi
27304 maybe-configure-target-libffi: configure-target-libffi
27305 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
27306 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
27307 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27308 r=`${PWD_COMMAND}`; export r; \
27309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27310 $(NORMAL_TARGET_EXPORTS) \
27311 echo Configuring in $(TARGET_SUBDIR)/libffi; \
27312 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
27313 case $(srcdir) in \
27314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27315 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
27316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27317 esac; \
27318 srcdiroption="--srcdir=$${topdir}/libffi"; \
27319 libsrcdir="$$s/libffi"; \
27320 rm -f no-such-file || : ; \
27321 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27322 $(TARGET_CONFIGARGS) $${srcdiroption} \
27323 || exit 1
27324 @endif target-libffi
27328 .PHONY: all-target-libffi maybe-all-target-libffi
27329 maybe-all-target-libffi:
27330 @if target-libffi
27331 TARGET-target-libffi=all
27332 maybe-all-target-libffi: all-target-libffi
27333 all-target-libffi: configure-target-libffi
27334 @r=`${PWD_COMMAND}`; export r; \
27335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27336 $(NORMAL_TARGET_EXPORTS) \
27337 (cd $(TARGET_SUBDIR)/libffi && \
27338 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
27339 @endif target-libffi
27343 .PHONY: check-target-libffi maybe-check-target-libffi
27344 maybe-check-target-libffi:
27345 @if target-libffi
27346 maybe-check-target-libffi: check-target-libffi
27348 check-target-libffi:
27349 @r=`${PWD_COMMAND}`; export r; \
27350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27351 $(NORMAL_TARGET_EXPORTS) \
27352 (cd $(TARGET_SUBDIR)/libffi && \
27353 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27355 @endif target-libffi
27357 .PHONY: install-target-libffi maybe-install-target-libffi
27358 maybe-install-target-libffi:
27359 @if target-libffi
27360 maybe-install-target-libffi: install-target-libffi
27362 install-target-libffi: installdirs
27363 @r=`${PWD_COMMAND}`; export r; \
27364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27365 $(NORMAL_TARGET_EXPORTS) \
27366 (cd $(TARGET_SUBDIR)/libffi && \
27367 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27369 @endif target-libffi
27371 # Other targets (info, dvi, etc.)
27373 .PHONY: maybe-info-target-libffi info-target-libffi
27374 maybe-info-target-libffi:
27375 @if target-libffi
27376 maybe-info-target-libffi: info-target-libffi
27378 info-target-libffi: \
27379 configure-target-libffi
27380 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27381 r=`${PWD_COMMAND}`; export r; \
27382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27383 $(NORMAL_TARGET_EXPORTS) \
27384 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
27385 for flag in $(EXTRA_TARGET_FLAGS); do \
27386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27387 done; \
27388 (cd $(TARGET_SUBDIR)/libffi && \
27389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27391 "RANLIB=$${RANLIB}" \
27392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27393 info) \
27394 || exit 1
27396 @endif target-libffi
27398 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
27399 maybe-dvi-target-libffi:
27400 @if target-libffi
27401 maybe-dvi-target-libffi: dvi-target-libffi
27403 dvi-target-libffi: \
27404 configure-target-libffi
27405 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27406 r=`${PWD_COMMAND}`; export r; \
27407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27408 $(NORMAL_TARGET_EXPORTS) \
27409 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
27410 for flag in $(EXTRA_TARGET_FLAGS); do \
27411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27412 done; \
27413 (cd $(TARGET_SUBDIR)/libffi && \
27414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27416 "RANLIB=$${RANLIB}" \
27417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27418 dvi) \
27419 || exit 1
27421 @endif target-libffi
27423 .PHONY: maybe-html-target-libffi html-target-libffi
27424 maybe-html-target-libffi:
27425 @if target-libffi
27426 maybe-html-target-libffi: html-target-libffi
27428 html-target-libffi: \
27429 configure-target-libffi
27430 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27431 r=`${PWD_COMMAND}`; export r; \
27432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27433 $(NORMAL_TARGET_EXPORTS) \
27434 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
27435 for flag in $(EXTRA_TARGET_FLAGS); do \
27436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27437 done; \
27438 (cd $(TARGET_SUBDIR)/libffi && \
27439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27441 "RANLIB=$${RANLIB}" \
27442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27443 html) \
27444 || exit 1
27446 @endif target-libffi
27448 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
27449 maybe-TAGS-target-libffi:
27450 @if target-libffi
27451 maybe-TAGS-target-libffi: TAGS-target-libffi
27453 TAGS-target-libffi: \
27454 configure-target-libffi
27455 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27456 r=`${PWD_COMMAND}`; export r; \
27457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27458 $(NORMAL_TARGET_EXPORTS) \
27459 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
27460 for flag in $(EXTRA_TARGET_FLAGS); do \
27461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27462 done; \
27463 (cd $(TARGET_SUBDIR)/libffi && \
27464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27466 "RANLIB=$${RANLIB}" \
27467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27468 TAGS) \
27469 || exit 1
27471 @endif target-libffi
27473 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
27474 maybe-install-info-target-libffi:
27475 @if target-libffi
27476 maybe-install-info-target-libffi: install-info-target-libffi
27478 install-info-target-libffi: \
27479 configure-target-libffi \
27480 info-target-libffi
27481 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27482 r=`${PWD_COMMAND}`; export r; \
27483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27484 $(NORMAL_TARGET_EXPORTS) \
27485 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
27486 for flag in $(EXTRA_TARGET_FLAGS); do \
27487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27488 done; \
27489 (cd $(TARGET_SUBDIR)/libffi && \
27490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27492 "RANLIB=$${RANLIB}" \
27493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27494 install-info) \
27495 || exit 1
27497 @endif target-libffi
27499 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
27500 maybe-installcheck-target-libffi:
27501 @if target-libffi
27502 maybe-installcheck-target-libffi: installcheck-target-libffi
27504 installcheck-target-libffi: \
27505 configure-target-libffi
27506 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27507 r=`${PWD_COMMAND}`; export r; \
27508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27509 $(NORMAL_TARGET_EXPORTS) \
27510 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
27511 for flag in $(EXTRA_TARGET_FLAGS); do \
27512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27513 done; \
27514 (cd $(TARGET_SUBDIR)/libffi && \
27515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27517 "RANLIB=$${RANLIB}" \
27518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27519 installcheck) \
27520 || exit 1
27522 @endif target-libffi
27524 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
27525 maybe-mostlyclean-target-libffi:
27526 @if target-libffi
27527 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
27529 mostlyclean-target-libffi:
27530 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27531 r=`${PWD_COMMAND}`; export r; \
27532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27533 $(NORMAL_TARGET_EXPORTS) \
27534 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
27535 for flag in $(EXTRA_TARGET_FLAGS); do \
27536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27537 done; \
27538 (cd $(TARGET_SUBDIR)/libffi && \
27539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27541 "RANLIB=$${RANLIB}" \
27542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27543 mostlyclean) \
27544 || exit 1
27546 @endif target-libffi
27548 .PHONY: maybe-clean-target-libffi clean-target-libffi
27549 maybe-clean-target-libffi:
27550 @if target-libffi
27551 maybe-clean-target-libffi: clean-target-libffi
27553 clean-target-libffi:
27554 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27555 r=`${PWD_COMMAND}`; export r; \
27556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27557 $(NORMAL_TARGET_EXPORTS) \
27558 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
27559 for flag in $(EXTRA_TARGET_FLAGS); do \
27560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27561 done; \
27562 (cd $(TARGET_SUBDIR)/libffi && \
27563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27565 "RANLIB=$${RANLIB}" \
27566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27567 clean) \
27568 || exit 1
27570 @endif target-libffi
27572 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
27573 maybe-distclean-target-libffi:
27574 @if target-libffi
27575 maybe-distclean-target-libffi: distclean-target-libffi
27577 distclean-target-libffi:
27578 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27579 r=`${PWD_COMMAND}`; export r; \
27580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27581 $(NORMAL_TARGET_EXPORTS) \
27582 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
27583 for flag in $(EXTRA_TARGET_FLAGS); do \
27584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27585 done; \
27586 (cd $(TARGET_SUBDIR)/libffi && \
27587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27589 "RANLIB=$${RANLIB}" \
27590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27591 distclean) \
27592 || exit 1
27594 @endif target-libffi
27596 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
27597 maybe-maintainer-clean-target-libffi:
27598 @if target-libffi
27599 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
27601 maintainer-clean-target-libffi:
27602 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27603 r=`${PWD_COMMAND}`; export r; \
27604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27605 $(NORMAL_TARGET_EXPORTS) \
27606 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
27607 for flag in $(EXTRA_TARGET_FLAGS); do \
27608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27609 done; \
27610 (cd $(TARGET_SUBDIR)/libffi && \
27611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27613 "RANLIB=$${RANLIB}" \
27614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27615 maintainer-clean) \
27616 || exit 1
27618 @endif target-libffi
27622 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27623 @if target-libjava
27624 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
27625 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
27626 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
27627 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
27628 @endif target-libjava
27632 .PHONY: configure-target-libjava maybe-configure-target-libjava
27633 maybe-configure-target-libjava:
27634 @if target-libjava
27635 maybe-configure-target-libjava: configure-target-libjava
27636 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
27637 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
27638 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
27639 r=`${PWD_COMMAND}`; export r; \
27640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27641 $(RAW_CXX_TARGET_EXPORTS) \
27642 echo Configuring in $(TARGET_SUBDIR)/libjava; \
27643 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
27644 case $(srcdir) in \
27645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27646 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
27647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27648 esac; \
27649 srcdiroption="--srcdir=$${topdir}/libjava"; \
27650 libsrcdir="$$s/libjava"; \
27651 rm -f no-such-file || : ; \
27652 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27653 $(TARGET_CONFIGARGS) $${srcdiroption} \
27654 || exit 1
27655 @endif target-libjava
27659 .PHONY: all-target-libjava maybe-all-target-libjava
27660 maybe-all-target-libjava:
27661 @if target-libjava
27662 TARGET-target-libjava=all
27663 maybe-all-target-libjava: all-target-libjava
27664 all-target-libjava: configure-target-libjava
27665 @r=`${PWD_COMMAND}`; export r; \
27666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27667 $(RAW_CXX_TARGET_EXPORTS) \
27668 (cd $(TARGET_SUBDIR)/libjava && \
27669 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
27670 @endif target-libjava
27674 .PHONY: check-target-libjava maybe-check-target-libjava
27675 maybe-check-target-libjava:
27676 @if target-libjava
27677 maybe-check-target-libjava: check-target-libjava
27679 check-target-libjava:
27680 @r=`${PWD_COMMAND}`; export r; \
27681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27682 $(RAW_CXX_TARGET_EXPORTS) \
27683 (cd $(TARGET_SUBDIR)/libjava && \
27684 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
27686 @endif target-libjava
27688 .PHONY: install-target-libjava maybe-install-target-libjava
27689 maybe-install-target-libjava:
27690 @if target-libjava
27691 maybe-install-target-libjava: install-target-libjava
27693 install-target-libjava: installdirs
27694 @r=`${PWD_COMMAND}`; export r; \
27695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27696 $(RAW_CXX_TARGET_EXPORTS) \
27697 (cd $(TARGET_SUBDIR)/libjava && \
27698 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27700 @endif target-libjava
27702 # Other targets (info, dvi, etc.)
27704 .PHONY: maybe-info-target-libjava info-target-libjava
27705 maybe-info-target-libjava:
27706 @if target-libjava
27707 maybe-info-target-libjava: info-target-libjava
27709 info-target-libjava: \
27710 configure-target-libjava
27711 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27712 r=`${PWD_COMMAND}`; export r; \
27713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27714 $(RAW_CXX_TARGET_EXPORTS) \
27715 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
27716 for flag in $(EXTRA_TARGET_FLAGS); do \
27717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27718 done; \
27719 (cd $(TARGET_SUBDIR)/libjava && \
27720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27722 "RANLIB=$${RANLIB}" \
27723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27724 info) \
27725 || exit 1
27727 @endif target-libjava
27729 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
27730 maybe-dvi-target-libjava:
27731 @if target-libjava
27732 maybe-dvi-target-libjava: dvi-target-libjava
27734 dvi-target-libjava: \
27735 configure-target-libjava
27736 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27737 r=`${PWD_COMMAND}`; export r; \
27738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27739 $(RAW_CXX_TARGET_EXPORTS) \
27740 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
27741 for flag in $(EXTRA_TARGET_FLAGS); do \
27742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27743 done; \
27744 (cd $(TARGET_SUBDIR)/libjava && \
27745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27747 "RANLIB=$${RANLIB}" \
27748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27749 dvi) \
27750 || exit 1
27752 @endif target-libjava
27754 .PHONY: maybe-html-target-libjava html-target-libjava
27755 maybe-html-target-libjava:
27756 @if target-libjava
27757 maybe-html-target-libjava: html-target-libjava
27759 html-target-libjava: \
27760 configure-target-libjava
27761 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27762 r=`${PWD_COMMAND}`; export r; \
27763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27764 $(RAW_CXX_TARGET_EXPORTS) \
27765 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
27766 for flag in $(EXTRA_TARGET_FLAGS); do \
27767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27768 done; \
27769 (cd $(TARGET_SUBDIR)/libjava && \
27770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27772 "RANLIB=$${RANLIB}" \
27773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27774 html) \
27775 || exit 1
27777 @endif target-libjava
27779 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
27780 maybe-TAGS-target-libjava:
27781 @if target-libjava
27782 maybe-TAGS-target-libjava: TAGS-target-libjava
27784 TAGS-target-libjava: \
27785 configure-target-libjava
27786 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27787 r=`${PWD_COMMAND}`; export r; \
27788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27789 $(RAW_CXX_TARGET_EXPORTS) \
27790 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
27791 for flag in $(EXTRA_TARGET_FLAGS); do \
27792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27793 done; \
27794 (cd $(TARGET_SUBDIR)/libjava && \
27795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27797 "RANLIB=$${RANLIB}" \
27798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27799 TAGS) \
27800 || exit 1
27802 @endif target-libjava
27804 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
27805 maybe-install-info-target-libjava:
27806 @if target-libjava
27807 maybe-install-info-target-libjava: install-info-target-libjava
27809 install-info-target-libjava: \
27810 configure-target-libjava \
27811 info-target-libjava
27812 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27813 r=`${PWD_COMMAND}`; export r; \
27814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27815 $(RAW_CXX_TARGET_EXPORTS) \
27816 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
27817 for flag in $(EXTRA_TARGET_FLAGS); do \
27818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27819 done; \
27820 (cd $(TARGET_SUBDIR)/libjava && \
27821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27823 "RANLIB=$${RANLIB}" \
27824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27825 install-info) \
27826 || exit 1
27828 @endif target-libjava
27830 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
27831 maybe-installcheck-target-libjava:
27832 @if target-libjava
27833 maybe-installcheck-target-libjava: installcheck-target-libjava
27835 installcheck-target-libjava: \
27836 configure-target-libjava
27837 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27838 r=`${PWD_COMMAND}`; export r; \
27839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27840 $(RAW_CXX_TARGET_EXPORTS) \
27841 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
27842 for flag in $(EXTRA_TARGET_FLAGS); do \
27843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27844 done; \
27845 (cd $(TARGET_SUBDIR)/libjava && \
27846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27848 "RANLIB=$${RANLIB}" \
27849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27850 installcheck) \
27851 || exit 1
27853 @endif target-libjava
27855 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
27856 maybe-mostlyclean-target-libjava:
27857 @if target-libjava
27858 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
27860 mostlyclean-target-libjava:
27861 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27862 r=`${PWD_COMMAND}`; export r; \
27863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27864 $(RAW_CXX_TARGET_EXPORTS) \
27865 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
27866 for flag in $(EXTRA_TARGET_FLAGS); do \
27867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27868 done; \
27869 (cd $(TARGET_SUBDIR)/libjava && \
27870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27872 "RANLIB=$${RANLIB}" \
27873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27874 mostlyclean) \
27875 || exit 1
27877 @endif target-libjava
27879 .PHONY: maybe-clean-target-libjava clean-target-libjava
27880 maybe-clean-target-libjava:
27881 @if target-libjava
27882 maybe-clean-target-libjava: clean-target-libjava
27884 clean-target-libjava:
27885 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27886 r=`${PWD_COMMAND}`; export r; \
27887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27888 $(RAW_CXX_TARGET_EXPORTS) \
27889 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
27890 for flag in $(EXTRA_TARGET_FLAGS); do \
27891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27892 done; \
27893 (cd $(TARGET_SUBDIR)/libjava && \
27894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27896 "RANLIB=$${RANLIB}" \
27897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27898 clean) \
27899 || exit 1
27901 @endif target-libjava
27903 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
27904 maybe-distclean-target-libjava:
27905 @if target-libjava
27906 maybe-distclean-target-libjava: distclean-target-libjava
27908 distclean-target-libjava:
27909 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27910 r=`${PWD_COMMAND}`; export r; \
27911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27912 $(RAW_CXX_TARGET_EXPORTS) \
27913 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
27914 for flag in $(EXTRA_TARGET_FLAGS); do \
27915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27916 done; \
27917 (cd $(TARGET_SUBDIR)/libjava && \
27918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27920 "RANLIB=$${RANLIB}" \
27921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27922 distclean) \
27923 || exit 1
27925 @endif target-libjava
27927 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
27928 maybe-maintainer-clean-target-libjava:
27929 @if target-libjava
27930 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
27932 maintainer-clean-target-libjava:
27933 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
27934 r=`${PWD_COMMAND}`; export r; \
27935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27936 $(RAW_CXX_TARGET_EXPORTS) \
27937 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
27938 for flag in $(EXTRA_TARGET_FLAGS); do \
27939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27940 done; \
27941 (cd $(TARGET_SUBDIR)/libjava && \
27942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27944 "RANLIB=$${RANLIB}" \
27945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27946 maintainer-clean) \
27947 || exit 1
27949 @endif target-libjava
27953 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27954 @if target-zlib
27955 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
27956 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
27957 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
27958 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
27959 @endif target-zlib
27963 .PHONY: configure-target-zlib maybe-configure-target-zlib
27964 maybe-configure-target-zlib:
27965 @if target-zlib
27966 maybe-configure-target-zlib: configure-target-zlib
27967 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
27968 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
27969 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
27970 r=`${PWD_COMMAND}`; export r; \
27971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27972 $(NORMAL_TARGET_EXPORTS) \
27973 echo Configuring in $(TARGET_SUBDIR)/zlib; \
27974 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
27975 case $(srcdir) in \
27976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27977 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
27978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27979 esac; \
27980 srcdiroption="--srcdir=$${topdir}/zlib"; \
27981 libsrcdir="$$s/zlib"; \
27982 rm -f no-such-file || : ; \
27983 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27984 $(TARGET_CONFIGARGS) $${srcdiroption} \
27985 || exit 1
27986 @endif target-zlib
27990 .PHONY: all-target-zlib maybe-all-target-zlib
27991 maybe-all-target-zlib:
27992 @if target-zlib
27993 TARGET-target-zlib=all
27994 maybe-all-target-zlib: all-target-zlib
27995 all-target-zlib: configure-target-zlib
27996 @r=`${PWD_COMMAND}`; export r; \
27997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27998 $(NORMAL_TARGET_EXPORTS) \
27999 (cd $(TARGET_SUBDIR)/zlib && \
28000 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
28001 @endif target-zlib
28005 .PHONY: check-target-zlib maybe-check-target-zlib
28006 maybe-check-target-zlib:
28007 @if target-zlib
28008 maybe-check-target-zlib: check-target-zlib
28010 check-target-zlib:
28011 @r=`${PWD_COMMAND}`; export r; \
28012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28013 $(NORMAL_TARGET_EXPORTS) \
28014 (cd $(TARGET_SUBDIR)/zlib && \
28015 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28017 @endif target-zlib
28019 .PHONY: install-target-zlib maybe-install-target-zlib
28020 maybe-install-target-zlib:
28021 @if target-zlib
28022 maybe-install-target-zlib: install-target-zlib
28024 install-target-zlib: installdirs
28025 @r=`${PWD_COMMAND}`; export r; \
28026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28027 $(NORMAL_TARGET_EXPORTS) \
28028 (cd $(TARGET_SUBDIR)/zlib && \
28029 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28031 @endif target-zlib
28033 # Other targets (info, dvi, etc.)
28035 .PHONY: maybe-info-target-zlib info-target-zlib
28036 maybe-info-target-zlib:
28037 @if target-zlib
28038 maybe-info-target-zlib: info-target-zlib
28040 info-target-zlib: \
28041 configure-target-zlib
28042 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28043 r=`${PWD_COMMAND}`; export r; \
28044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28045 $(NORMAL_TARGET_EXPORTS) \
28046 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
28047 for flag in $(EXTRA_TARGET_FLAGS); do \
28048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28049 done; \
28050 (cd $(TARGET_SUBDIR)/zlib && \
28051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28053 "RANLIB=$${RANLIB}" \
28054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28055 info) \
28056 || exit 1
28058 @endif target-zlib
28060 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
28061 maybe-dvi-target-zlib:
28062 @if target-zlib
28063 maybe-dvi-target-zlib: dvi-target-zlib
28065 dvi-target-zlib: \
28066 configure-target-zlib
28067 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28068 r=`${PWD_COMMAND}`; export r; \
28069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28070 $(NORMAL_TARGET_EXPORTS) \
28071 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
28072 for flag in $(EXTRA_TARGET_FLAGS); do \
28073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28074 done; \
28075 (cd $(TARGET_SUBDIR)/zlib && \
28076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28078 "RANLIB=$${RANLIB}" \
28079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28080 dvi) \
28081 || exit 1
28083 @endif target-zlib
28085 .PHONY: maybe-html-target-zlib html-target-zlib
28086 maybe-html-target-zlib:
28087 @if target-zlib
28088 maybe-html-target-zlib: html-target-zlib
28090 html-target-zlib: \
28091 configure-target-zlib
28092 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28093 r=`${PWD_COMMAND}`; export r; \
28094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28095 $(NORMAL_TARGET_EXPORTS) \
28096 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
28097 for flag in $(EXTRA_TARGET_FLAGS); do \
28098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28099 done; \
28100 (cd $(TARGET_SUBDIR)/zlib && \
28101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28103 "RANLIB=$${RANLIB}" \
28104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28105 html) \
28106 || exit 1
28108 @endif target-zlib
28110 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
28111 maybe-TAGS-target-zlib:
28112 @if target-zlib
28113 maybe-TAGS-target-zlib: TAGS-target-zlib
28115 TAGS-target-zlib: \
28116 configure-target-zlib
28117 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28118 r=`${PWD_COMMAND}`; export r; \
28119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28120 $(NORMAL_TARGET_EXPORTS) \
28121 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
28122 for flag in $(EXTRA_TARGET_FLAGS); do \
28123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28124 done; \
28125 (cd $(TARGET_SUBDIR)/zlib && \
28126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28128 "RANLIB=$${RANLIB}" \
28129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28130 TAGS) \
28131 || exit 1
28133 @endif target-zlib
28135 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
28136 maybe-install-info-target-zlib:
28137 @if target-zlib
28138 maybe-install-info-target-zlib: install-info-target-zlib
28140 install-info-target-zlib: \
28141 configure-target-zlib \
28142 info-target-zlib
28143 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28144 r=`${PWD_COMMAND}`; export r; \
28145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28146 $(NORMAL_TARGET_EXPORTS) \
28147 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
28148 for flag in $(EXTRA_TARGET_FLAGS); do \
28149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28150 done; \
28151 (cd $(TARGET_SUBDIR)/zlib && \
28152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28154 "RANLIB=$${RANLIB}" \
28155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28156 install-info) \
28157 || exit 1
28159 @endif target-zlib
28161 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
28162 maybe-installcheck-target-zlib:
28163 @if target-zlib
28164 maybe-installcheck-target-zlib: installcheck-target-zlib
28166 installcheck-target-zlib: \
28167 configure-target-zlib
28168 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28169 r=`${PWD_COMMAND}`; export r; \
28170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28171 $(NORMAL_TARGET_EXPORTS) \
28172 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
28173 for flag in $(EXTRA_TARGET_FLAGS); do \
28174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28175 done; \
28176 (cd $(TARGET_SUBDIR)/zlib && \
28177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28179 "RANLIB=$${RANLIB}" \
28180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28181 installcheck) \
28182 || exit 1
28184 @endif target-zlib
28186 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
28187 maybe-mostlyclean-target-zlib:
28188 @if target-zlib
28189 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
28191 mostlyclean-target-zlib:
28192 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28193 r=`${PWD_COMMAND}`; export r; \
28194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28195 $(NORMAL_TARGET_EXPORTS) \
28196 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
28197 for flag in $(EXTRA_TARGET_FLAGS); do \
28198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28199 done; \
28200 (cd $(TARGET_SUBDIR)/zlib && \
28201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28203 "RANLIB=$${RANLIB}" \
28204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28205 mostlyclean) \
28206 || exit 1
28208 @endif target-zlib
28210 .PHONY: maybe-clean-target-zlib clean-target-zlib
28211 maybe-clean-target-zlib:
28212 @if target-zlib
28213 maybe-clean-target-zlib: clean-target-zlib
28215 clean-target-zlib:
28216 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28217 r=`${PWD_COMMAND}`; export r; \
28218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28219 $(NORMAL_TARGET_EXPORTS) \
28220 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
28221 for flag in $(EXTRA_TARGET_FLAGS); do \
28222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28223 done; \
28224 (cd $(TARGET_SUBDIR)/zlib && \
28225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28227 "RANLIB=$${RANLIB}" \
28228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28229 clean) \
28230 || exit 1
28232 @endif target-zlib
28234 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
28235 maybe-distclean-target-zlib:
28236 @if target-zlib
28237 maybe-distclean-target-zlib: distclean-target-zlib
28239 distclean-target-zlib:
28240 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28241 r=`${PWD_COMMAND}`; export r; \
28242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28243 $(NORMAL_TARGET_EXPORTS) \
28244 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
28245 for flag in $(EXTRA_TARGET_FLAGS); do \
28246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28247 done; \
28248 (cd $(TARGET_SUBDIR)/zlib && \
28249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28251 "RANLIB=$${RANLIB}" \
28252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28253 distclean) \
28254 || exit 1
28256 @endif target-zlib
28258 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
28259 maybe-maintainer-clean-target-zlib:
28260 @if target-zlib
28261 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
28263 maintainer-clean-target-zlib:
28264 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28265 r=`${PWD_COMMAND}`; export r; \
28266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28267 $(NORMAL_TARGET_EXPORTS) \
28268 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
28269 for flag in $(EXTRA_TARGET_FLAGS); do \
28270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28271 done; \
28272 (cd $(TARGET_SUBDIR)/zlib && \
28273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28275 "RANLIB=$${RANLIB}" \
28276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28277 maintainer-clean) \
28278 || exit 1
28280 @endif target-zlib
28284 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28285 @if target-boehm-gc
28286 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
28287 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
28288 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
28289 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
28290 @endif target-boehm-gc
28294 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
28295 maybe-configure-target-boehm-gc:
28296 @if target-boehm-gc
28297 maybe-configure-target-boehm-gc: configure-target-boehm-gc
28298 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
28299 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
28300 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
28301 r=`${PWD_COMMAND}`; export r; \
28302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28303 $(NORMAL_TARGET_EXPORTS) \
28304 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
28305 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
28306 case $(srcdir) in \
28307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28308 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
28309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28310 esac; \
28311 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
28312 libsrcdir="$$s/boehm-gc"; \
28313 rm -f no-such-file || : ; \
28314 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28315 $(TARGET_CONFIGARGS) $${srcdiroption} \
28316 || exit 1
28317 @endif target-boehm-gc
28321 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
28322 maybe-all-target-boehm-gc:
28323 @if target-boehm-gc
28324 TARGET-target-boehm-gc=all
28325 maybe-all-target-boehm-gc: all-target-boehm-gc
28326 all-target-boehm-gc: configure-target-boehm-gc
28327 @r=`${PWD_COMMAND}`; export r; \
28328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28329 $(NORMAL_TARGET_EXPORTS) \
28330 (cd $(TARGET_SUBDIR)/boehm-gc && \
28331 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
28332 @endif target-boehm-gc
28336 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
28337 maybe-check-target-boehm-gc:
28338 @if target-boehm-gc
28339 maybe-check-target-boehm-gc: check-target-boehm-gc
28341 check-target-boehm-gc:
28342 @r=`${PWD_COMMAND}`; export r; \
28343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28344 $(NORMAL_TARGET_EXPORTS) \
28345 (cd $(TARGET_SUBDIR)/boehm-gc && \
28346 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28348 @endif target-boehm-gc
28350 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
28351 maybe-install-target-boehm-gc:
28352 @if target-boehm-gc
28353 maybe-install-target-boehm-gc: install-target-boehm-gc
28355 install-target-boehm-gc: installdirs
28356 @r=`${PWD_COMMAND}`; export r; \
28357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28358 $(NORMAL_TARGET_EXPORTS) \
28359 (cd $(TARGET_SUBDIR)/boehm-gc && \
28360 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28362 @endif target-boehm-gc
28364 # Other targets (info, dvi, etc.)
28366 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
28367 maybe-info-target-boehm-gc:
28368 @if target-boehm-gc
28369 maybe-info-target-boehm-gc: info-target-boehm-gc
28371 info-target-boehm-gc: \
28372 configure-target-boehm-gc
28373 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28374 r=`${PWD_COMMAND}`; export r; \
28375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28376 $(NORMAL_TARGET_EXPORTS) \
28377 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
28378 for flag in $(EXTRA_TARGET_FLAGS); do \
28379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28380 done; \
28381 (cd $(TARGET_SUBDIR)/boehm-gc && \
28382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28384 "RANLIB=$${RANLIB}" \
28385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28386 info) \
28387 || exit 1
28389 @endif target-boehm-gc
28391 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
28392 maybe-dvi-target-boehm-gc:
28393 @if target-boehm-gc
28394 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
28396 dvi-target-boehm-gc: \
28397 configure-target-boehm-gc
28398 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28399 r=`${PWD_COMMAND}`; export r; \
28400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28401 $(NORMAL_TARGET_EXPORTS) \
28402 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
28403 for flag in $(EXTRA_TARGET_FLAGS); do \
28404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28405 done; \
28406 (cd $(TARGET_SUBDIR)/boehm-gc && \
28407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28409 "RANLIB=$${RANLIB}" \
28410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28411 dvi) \
28412 || exit 1
28414 @endif target-boehm-gc
28416 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
28417 maybe-html-target-boehm-gc:
28418 @if target-boehm-gc
28419 maybe-html-target-boehm-gc: html-target-boehm-gc
28421 html-target-boehm-gc: \
28422 configure-target-boehm-gc
28423 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28424 r=`${PWD_COMMAND}`; export r; \
28425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28426 $(NORMAL_TARGET_EXPORTS) \
28427 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
28428 for flag in $(EXTRA_TARGET_FLAGS); do \
28429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28430 done; \
28431 (cd $(TARGET_SUBDIR)/boehm-gc && \
28432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28434 "RANLIB=$${RANLIB}" \
28435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28436 html) \
28437 || exit 1
28439 @endif target-boehm-gc
28441 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
28442 maybe-TAGS-target-boehm-gc:
28443 @if target-boehm-gc
28444 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
28446 TAGS-target-boehm-gc: \
28447 configure-target-boehm-gc
28448 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28449 r=`${PWD_COMMAND}`; export r; \
28450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28451 $(NORMAL_TARGET_EXPORTS) \
28452 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
28453 for flag in $(EXTRA_TARGET_FLAGS); do \
28454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28455 done; \
28456 (cd $(TARGET_SUBDIR)/boehm-gc && \
28457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28459 "RANLIB=$${RANLIB}" \
28460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28461 TAGS) \
28462 || exit 1
28464 @endif target-boehm-gc
28466 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
28467 maybe-install-info-target-boehm-gc:
28468 @if target-boehm-gc
28469 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
28471 install-info-target-boehm-gc: \
28472 configure-target-boehm-gc \
28473 info-target-boehm-gc
28474 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28475 r=`${PWD_COMMAND}`; export r; \
28476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28477 $(NORMAL_TARGET_EXPORTS) \
28478 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
28479 for flag in $(EXTRA_TARGET_FLAGS); do \
28480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28481 done; \
28482 (cd $(TARGET_SUBDIR)/boehm-gc && \
28483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28485 "RANLIB=$${RANLIB}" \
28486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28487 install-info) \
28488 || exit 1
28490 @endif target-boehm-gc
28492 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
28493 maybe-installcheck-target-boehm-gc:
28494 @if target-boehm-gc
28495 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
28497 installcheck-target-boehm-gc: \
28498 configure-target-boehm-gc
28499 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28500 r=`${PWD_COMMAND}`; export r; \
28501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28502 $(NORMAL_TARGET_EXPORTS) \
28503 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
28504 for flag in $(EXTRA_TARGET_FLAGS); do \
28505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28506 done; \
28507 (cd $(TARGET_SUBDIR)/boehm-gc && \
28508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28510 "RANLIB=$${RANLIB}" \
28511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28512 installcheck) \
28513 || exit 1
28515 @endif target-boehm-gc
28517 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
28518 maybe-mostlyclean-target-boehm-gc:
28519 @if target-boehm-gc
28520 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
28522 mostlyclean-target-boehm-gc:
28523 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28524 r=`${PWD_COMMAND}`; export r; \
28525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28526 $(NORMAL_TARGET_EXPORTS) \
28527 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
28528 for flag in $(EXTRA_TARGET_FLAGS); do \
28529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28530 done; \
28531 (cd $(TARGET_SUBDIR)/boehm-gc && \
28532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28534 "RANLIB=$${RANLIB}" \
28535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28536 mostlyclean) \
28537 || exit 1
28539 @endif target-boehm-gc
28541 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
28542 maybe-clean-target-boehm-gc:
28543 @if target-boehm-gc
28544 maybe-clean-target-boehm-gc: clean-target-boehm-gc
28546 clean-target-boehm-gc:
28547 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28548 r=`${PWD_COMMAND}`; export r; \
28549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28550 $(NORMAL_TARGET_EXPORTS) \
28551 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
28552 for flag in $(EXTRA_TARGET_FLAGS); do \
28553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28554 done; \
28555 (cd $(TARGET_SUBDIR)/boehm-gc && \
28556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28558 "RANLIB=$${RANLIB}" \
28559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28560 clean) \
28561 || exit 1
28563 @endif target-boehm-gc
28565 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
28566 maybe-distclean-target-boehm-gc:
28567 @if target-boehm-gc
28568 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
28570 distclean-target-boehm-gc:
28571 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28572 r=`${PWD_COMMAND}`; export r; \
28573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28574 $(NORMAL_TARGET_EXPORTS) \
28575 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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 distclean) \
28585 || exit 1
28587 @endif target-boehm-gc
28589 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
28590 maybe-maintainer-clean-target-boehm-gc:
28591 @if target-boehm-gc
28592 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
28594 maintainer-clean-target-boehm-gc:
28595 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
28596 r=`${PWD_COMMAND}`; export r; \
28597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28598 $(NORMAL_TARGET_EXPORTS) \
28599 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
28600 for flag in $(EXTRA_TARGET_FLAGS); do \
28601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28602 done; \
28603 (cd $(TARGET_SUBDIR)/boehm-gc && \
28604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28606 "RANLIB=$${RANLIB}" \
28607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28608 maintainer-clean) \
28609 || exit 1
28611 @endif target-boehm-gc
28615 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28616 @if target-qthreads
28617 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
28618 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
28619 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
28620 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
28621 @endif target-qthreads
28625 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
28626 maybe-configure-target-qthreads:
28627 @if target-qthreads
28628 maybe-configure-target-qthreads: configure-target-qthreads
28629 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
28630 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
28631 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
28632 r=`${PWD_COMMAND}`; export r; \
28633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28634 $(NORMAL_TARGET_EXPORTS) \
28635 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
28636 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
28637 case $(srcdir) in \
28638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28639 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
28640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28641 esac; \
28642 srcdiroption="--srcdir=$${topdir}/qthreads"; \
28643 libsrcdir="$$s/qthreads"; \
28644 rm -f no-such-file || : ; \
28645 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28646 $(TARGET_CONFIGARGS) $${srcdiroption} \
28647 || exit 1
28648 @endif target-qthreads
28652 .PHONY: all-target-qthreads maybe-all-target-qthreads
28653 maybe-all-target-qthreads:
28654 @if target-qthreads
28655 TARGET-target-qthreads=all
28656 maybe-all-target-qthreads: all-target-qthreads
28657 all-target-qthreads: configure-target-qthreads
28658 @r=`${PWD_COMMAND}`; export r; \
28659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28660 $(NORMAL_TARGET_EXPORTS) \
28661 (cd $(TARGET_SUBDIR)/qthreads && \
28662 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
28663 @endif target-qthreads
28667 .PHONY: check-target-qthreads maybe-check-target-qthreads
28668 maybe-check-target-qthreads:
28669 @if target-qthreads
28670 maybe-check-target-qthreads: check-target-qthreads
28672 check-target-qthreads:
28673 @r=`${PWD_COMMAND}`; export r; \
28674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28675 $(NORMAL_TARGET_EXPORTS) \
28676 (cd $(TARGET_SUBDIR)/qthreads && \
28677 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28679 @endif target-qthreads
28681 .PHONY: install-target-qthreads maybe-install-target-qthreads
28682 maybe-install-target-qthreads:
28683 @if target-qthreads
28684 maybe-install-target-qthreads: install-target-qthreads
28686 install-target-qthreads: installdirs
28687 @r=`${PWD_COMMAND}`; export r; \
28688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28689 $(NORMAL_TARGET_EXPORTS) \
28690 (cd $(TARGET_SUBDIR)/qthreads && \
28691 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28693 @endif target-qthreads
28695 # Other targets (info, dvi, etc.)
28697 .PHONY: maybe-info-target-qthreads info-target-qthreads
28698 maybe-info-target-qthreads:
28699 @if target-qthreads
28700 maybe-info-target-qthreads: info-target-qthreads
28702 info-target-qthreads: \
28703 configure-target-qthreads
28704 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28705 r=`${PWD_COMMAND}`; export r; \
28706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28707 $(NORMAL_TARGET_EXPORTS) \
28708 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
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)/qthreads && \
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 info) \
28718 || exit 1
28720 @endif target-qthreads
28722 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
28723 maybe-dvi-target-qthreads:
28724 @if target-qthreads
28725 maybe-dvi-target-qthreads: dvi-target-qthreads
28727 dvi-target-qthreads: \
28728 configure-target-qthreads
28729 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28730 r=`${PWD_COMMAND}`; export r; \
28731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28732 $(NORMAL_TARGET_EXPORTS) \
28733 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
28734 for flag in $(EXTRA_TARGET_FLAGS); do \
28735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28736 done; \
28737 (cd $(TARGET_SUBDIR)/qthreads && \
28738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28740 "RANLIB=$${RANLIB}" \
28741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28742 dvi) \
28743 || exit 1
28745 @endif target-qthreads
28747 .PHONY: maybe-html-target-qthreads html-target-qthreads
28748 maybe-html-target-qthreads:
28749 @if target-qthreads
28750 maybe-html-target-qthreads: html-target-qthreads
28752 html-target-qthreads: \
28753 configure-target-qthreads
28754 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28755 r=`${PWD_COMMAND}`; export r; \
28756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28757 $(NORMAL_TARGET_EXPORTS) \
28758 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
28759 for flag in $(EXTRA_TARGET_FLAGS); do \
28760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28761 done; \
28762 (cd $(TARGET_SUBDIR)/qthreads && \
28763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28765 "RANLIB=$${RANLIB}" \
28766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28767 html) \
28768 || exit 1
28770 @endif target-qthreads
28772 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
28773 maybe-TAGS-target-qthreads:
28774 @if target-qthreads
28775 maybe-TAGS-target-qthreads: TAGS-target-qthreads
28777 TAGS-target-qthreads: \
28778 configure-target-qthreads
28779 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28780 r=`${PWD_COMMAND}`; export r; \
28781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28782 $(NORMAL_TARGET_EXPORTS) \
28783 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
28784 for flag in $(EXTRA_TARGET_FLAGS); do \
28785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28786 done; \
28787 (cd $(TARGET_SUBDIR)/qthreads && \
28788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28790 "RANLIB=$${RANLIB}" \
28791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28792 TAGS) \
28793 || exit 1
28795 @endif target-qthreads
28797 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
28798 maybe-install-info-target-qthreads:
28799 @if target-qthreads
28800 maybe-install-info-target-qthreads: install-info-target-qthreads
28802 install-info-target-qthreads: \
28803 configure-target-qthreads \
28804 info-target-qthreads
28805 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28806 r=`${PWD_COMMAND}`; export r; \
28807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28808 $(NORMAL_TARGET_EXPORTS) \
28809 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
28810 for flag in $(EXTRA_TARGET_FLAGS); do \
28811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28812 done; \
28813 (cd $(TARGET_SUBDIR)/qthreads && \
28814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28816 "RANLIB=$${RANLIB}" \
28817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28818 install-info) \
28819 || exit 1
28821 @endif target-qthreads
28823 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
28824 maybe-installcheck-target-qthreads:
28825 @if target-qthreads
28826 maybe-installcheck-target-qthreads: installcheck-target-qthreads
28828 installcheck-target-qthreads: \
28829 configure-target-qthreads
28830 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28831 r=`${PWD_COMMAND}`; export r; \
28832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28833 $(NORMAL_TARGET_EXPORTS) \
28834 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
28835 for flag in $(EXTRA_TARGET_FLAGS); do \
28836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28837 done; \
28838 (cd $(TARGET_SUBDIR)/qthreads && \
28839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28841 "RANLIB=$${RANLIB}" \
28842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28843 installcheck) \
28844 || exit 1
28846 @endif target-qthreads
28848 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
28849 maybe-mostlyclean-target-qthreads:
28850 @if target-qthreads
28851 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
28853 mostlyclean-target-qthreads:
28854 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28855 r=`${PWD_COMMAND}`; export r; \
28856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28857 $(NORMAL_TARGET_EXPORTS) \
28858 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
28859 for flag in $(EXTRA_TARGET_FLAGS); do \
28860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28861 done; \
28862 (cd $(TARGET_SUBDIR)/qthreads && \
28863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28865 "RANLIB=$${RANLIB}" \
28866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28867 mostlyclean) \
28868 || exit 1
28870 @endif target-qthreads
28872 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
28873 maybe-clean-target-qthreads:
28874 @if target-qthreads
28875 maybe-clean-target-qthreads: clean-target-qthreads
28877 clean-target-qthreads:
28878 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28879 r=`${PWD_COMMAND}`; export r; \
28880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28881 $(NORMAL_TARGET_EXPORTS) \
28882 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
28883 for flag in $(EXTRA_TARGET_FLAGS); do \
28884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28885 done; \
28886 (cd $(TARGET_SUBDIR)/qthreads && \
28887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28889 "RANLIB=$${RANLIB}" \
28890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28891 clean) \
28892 || exit 1
28894 @endif target-qthreads
28896 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
28897 maybe-distclean-target-qthreads:
28898 @if target-qthreads
28899 maybe-distclean-target-qthreads: distclean-target-qthreads
28901 distclean-target-qthreads:
28902 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28903 r=`${PWD_COMMAND}`; export r; \
28904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28905 $(NORMAL_TARGET_EXPORTS) \
28906 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
28907 for flag in $(EXTRA_TARGET_FLAGS); do \
28908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28909 done; \
28910 (cd $(TARGET_SUBDIR)/qthreads && \
28911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28913 "RANLIB=$${RANLIB}" \
28914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28915 distclean) \
28916 || exit 1
28918 @endif target-qthreads
28920 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
28921 maybe-maintainer-clean-target-qthreads:
28922 @if target-qthreads
28923 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
28925 maintainer-clean-target-qthreads:
28926 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
28927 r=`${PWD_COMMAND}`; export r; \
28928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28929 $(NORMAL_TARGET_EXPORTS) \
28930 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
28931 for flag in $(EXTRA_TARGET_FLAGS); do \
28932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28933 done; \
28934 (cd $(TARGET_SUBDIR)/qthreads && \
28935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28937 "RANLIB=$${RANLIB}" \
28938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28939 maintainer-clean) \
28940 || exit 1
28942 @endif target-qthreads
28946 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28947 @if target-rda
28948 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
28949 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
28950 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
28951 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
28952 @endif target-rda
28956 .PHONY: configure-target-rda maybe-configure-target-rda
28957 maybe-configure-target-rda:
28958 @if target-rda
28959 maybe-configure-target-rda: configure-target-rda
28960 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
28961 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
28962 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
28963 r=`${PWD_COMMAND}`; export r; \
28964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28965 $(NORMAL_TARGET_EXPORTS) \
28966 echo Configuring in $(TARGET_SUBDIR)/rda; \
28967 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
28968 case $(srcdir) in \
28969 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28970 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
28971 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28972 esac; \
28973 srcdiroption="--srcdir=$${topdir}/rda"; \
28974 libsrcdir="$$s/rda"; \
28975 rm -f no-such-file || : ; \
28976 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28977 $(TARGET_CONFIGARGS) $${srcdiroption} \
28978 || exit 1
28979 @endif target-rda
28983 .PHONY: all-target-rda maybe-all-target-rda
28984 maybe-all-target-rda:
28985 @if target-rda
28986 TARGET-target-rda=all
28987 maybe-all-target-rda: all-target-rda
28988 all-target-rda: configure-target-rda
28989 @r=`${PWD_COMMAND}`; export r; \
28990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28991 $(NORMAL_TARGET_EXPORTS) \
28992 (cd $(TARGET_SUBDIR)/rda && \
28993 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
28994 @endif target-rda
28998 .PHONY: check-target-rda maybe-check-target-rda
28999 maybe-check-target-rda:
29000 @if target-rda
29001 maybe-check-target-rda: check-target-rda
29003 check-target-rda:
29004 @r=`${PWD_COMMAND}`; export r; \
29005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29006 $(NORMAL_TARGET_EXPORTS) \
29007 (cd $(TARGET_SUBDIR)/rda && \
29008 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29010 @endif target-rda
29012 .PHONY: install-target-rda maybe-install-target-rda
29013 maybe-install-target-rda:
29014 @if target-rda
29015 maybe-install-target-rda: install-target-rda
29017 install-target-rda: installdirs
29018 @r=`${PWD_COMMAND}`; export r; \
29019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29020 $(NORMAL_TARGET_EXPORTS) \
29021 (cd $(TARGET_SUBDIR)/rda && \
29022 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29024 @endif target-rda
29026 # Other targets (info, dvi, etc.)
29028 .PHONY: maybe-info-target-rda info-target-rda
29029 maybe-info-target-rda:
29030 @if target-rda
29031 maybe-info-target-rda: info-target-rda
29033 info-target-rda: \
29034 configure-target-rda
29035 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29036 r=`${PWD_COMMAND}`; export r; \
29037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29038 $(NORMAL_TARGET_EXPORTS) \
29039 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
29040 for flag in $(EXTRA_TARGET_FLAGS); do \
29041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29042 done; \
29043 (cd $(TARGET_SUBDIR)/rda && \
29044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29046 "RANLIB=$${RANLIB}" \
29047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29048 info) \
29049 || exit 1
29051 @endif target-rda
29053 .PHONY: maybe-dvi-target-rda dvi-target-rda
29054 maybe-dvi-target-rda:
29055 @if target-rda
29056 maybe-dvi-target-rda: dvi-target-rda
29058 dvi-target-rda: \
29059 configure-target-rda
29060 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29061 r=`${PWD_COMMAND}`; export r; \
29062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29063 $(NORMAL_TARGET_EXPORTS) \
29064 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
29065 for flag in $(EXTRA_TARGET_FLAGS); do \
29066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29067 done; \
29068 (cd $(TARGET_SUBDIR)/rda && \
29069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29071 "RANLIB=$${RANLIB}" \
29072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29073 dvi) \
29074 || exit 1
29076 @endif target-rda
29078 .PHONY: maybe-html-target-rda html-target-rda
29079 maybe-html-target-rda:
29080 @if target-rda
29081 maybe-html-target-rda: html-target-rda
29083 html-target-rda: \
29084 configure-target-rda
29085 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29086 r=`${PWD_COMMAND}`; export r; \
29087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29088 $(NORMAL_TARGET_EXPORTS) \
29089 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
29090 for flag in $(EXTRA_TARGET_FLAGS); do \
29091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29092 done; \
29093 (cd $(TARGET_SUBDIR)/rda && \
29094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29096 "RANLIB=$${RANLIB}" \
29097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29098 html) \
29099 || exit 1
29101 @endif target-rda
29103 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
29104 maybe-TAGS-target-rda:
29105 @if target-rda
29106 maybe-TAGS-target-rda: TAGS-target-rda
29108 TAGS-target-rda: \
29109 configure-target-rda
29110 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29111 r=`${PWD_COMMAND}`; export r; \
29112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29113 $(NORMAL_TARGET_EXPORTS) \
29114 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
29115 for flag in $(EXTRA_TARGET_FLAGS); do \
29116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29117 done; \
29118 (cd $(TARGET_SUBDIR)/rda && \
29119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29121 "RANLIB=$${RANLIB}" \
29122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29123 TAGS) \
29124 || exit 1
29126 @endif target-rda
29128 .PHONY: maybe-install-info-target-rda install-info-target-rda
29129 maybe-install-info-target-rda:
29130 @if target-rda
29131 maybe-install-info-target-rda: install-info-target-rda
29133 install-info-target-rda: \
29134 configure-target-rda \
29135 info-target-rda
29136 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29137 r=`${PWD_COMMAND}`; export r; \
29138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29139 $(NORMAL_TARGET_EXPORTS) \
29140 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
29141 for flag in $(EXTRA_TARGET_FLAGS); do \
29142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29143 done; \
29144 (cd $(TARGET_SUBDIR)/rda && \
29145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29147 "RANLIB=$${RANLIB}" \
29148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29149 install-info) \
29150 || exit 1
29152 @endif target-rda
29154 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
29155 maybe-installcheck-target-rda:
29156 @if target-rda
29157 maybe-installcheck-target-rda: installcheck-target-rda
29159 installcheck-target-rda: \
29160 configure-target-rda
29161 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29162 r=`${PWD_COMMAND}`; export r; \
29163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29164 $(NORMAL_TARGET_EXPORTS) \
29165 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
29166 for flag in $(EXTRA_TARGET_FLAGS); do \
29167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29168 done; \
29169 (cd $(TARGET_SUBDIR)/rda && \
29170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29172 "RANLIB=$${RANLIB}" \
29173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29174 installcheck) \
29175 || exit 1
29177 @endif target-rda
29179 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
29180 maybe-mostlyclean-target-rda:
29181 @if target-rda
29182 maybe-mostlyclean-target-rda: mostlyclean-target-rda
29184 mostlyclean-target-rda:
29185 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29186 r=`${PWD_COMMAND}`; export r; \
29187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29188 $(NORMAL_TARGET_EXPORTS) \
29189 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
29190 for flag in $(EXTRA_TARGET_FLAGS); do \
29191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29192 done; \
29193 (cd $(TARGET_SUBDIR)/rda && \
29194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29196 "RANLIB=$${RANLIB}" \
29197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29198 mostlyclean) \
29199 || exit 1
29201 @endif target-rda
29203 .PHONY: maybe-clean-target-rda clean-target-rda
29204 maybe-clean-target-rda:
29205 @if target-rda
29206 maybe-clean-target-rda: clean-target-rda
29208 clean-target-rda:
29209 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29210 r=`${PWD_COMMAND}`; export r; \
29211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29212 $(NORMAL_TARGET_EXPORTS) \
29213 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
29214 for flag in $(EXTRA_TARGET_FLAGS); do \
29215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29216 done; \
29217 (cd $(TARGET_SUBDIR)/rda && \
29218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29220 "RANLIB=$${RANLIB}" \
29221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29222 clean) \
29223 || exit 1
29225 @endif target-rda
29227 .PHONY: maybe-distclean-target-rda distclean-target-rda
29228 maybe-distclean-target-rda:
29229 @if target-rda
29230 maybe-distclean-target-rda: distclean-target-rda
29232 distclean-target-rda:
29233 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29234 r=`${PWD_COMMAND}`; export r; \
29235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29236 $(NORMAL_TARGET_EXPORTS) \
29237 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
29238 for flag in $(EXTRA_TARGET_FLAGS); do \
29239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29240 done; \
29241 (cd $(TARGET_SUBDIR)/rda && \
29242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29244 "RANLIB=$${RANLIB}" \
29245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29246 distclean) \
29247 || exit 1
29249 @endif target-rda
29251 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
29252 maybe-maintainer-clean-target-rda:
29253 @if target-rda
29254 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
29256 maintainer-clean-target-rda:
29257 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29258 r=`${PWD_COMMAND}`; export r; \
29259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29260 $(NORMAL_TARGET_EXPORTS) \
29261 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
29262 for flag in $(EXTRA_TARGET_FLAGS); do \
29263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29264 done; \
29265 (cd $(TARGET_SUBDIR)/rda && \
29266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29268 "RANLIB=$${RANLIB}" \
29269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29270 maintainer-clean) \
29271 || exit 1
29273 @endif target-rda
29277 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29278 @if target-libada
29279 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
29280 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
29281 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
29282 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
29283 @endif target-libada
29287 .PHONY: configure-target-libada maybe-configure-target-libada
29288 maybe-configure-target-libada:
29289 @if target-libada
29290 maybe-configure-target-libada: configure-target-libada
29291 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
29292 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
29293 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
29294 r=`${PWD_COMMAND}`; export r; \
29295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29296 $(NORMAL_TARGET_EXPORTS) \
29297 echo Configuring in $(TARGET_SUBDIR)/libada; \
29298 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
29299 case $(srcdir) in \
29300 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29301 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
29302 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29303 esac; \
29304 srcdiroption="--srcdir=$${topdir}/libada"; \
29305 libsrcdir="$$s/libada"; \
29306 rm -f no-such-file || : ; \
29307 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29308 $(TARGET_CONFIGARGS) $${srcdiroption} \
29309 || exit 1
29310 @endif target-libada
29314 .PHONY: all-target-libada maybe-all-target-libada
29315 maybe-all-target-libada:
29316 @if target-libada
29317 TARGET-target-libada=all
29318 maybe-all-target-libada: all-target-libada
29319 all-target-libada: configure-target-libada
29320 @r=`${PWD_COMMAND}`; export r; \
29321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29322 $(NORMAL_TARGET_EXPORTS) \
29323 (cd $(TARGET_SUBDIR)/libada && \
29324 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
29325 @endif target-libada
29329 .PHONY: check-target-libada maybe-check-target-libada
29330 maybe-check-target-libada:
29331 @if target-libada
29332 maybe-check-target-libada: check-target-libada
29334 check-target-libada:
29335 @r=`${PWD_COMMAND}`; export r; \
29336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29337 $(NORMAL_TARGET_EXPORTS) \
29338 (cd $(TARGET_SUBDIR)/libada && \
29339 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29341 @endif target-libada
29343 .PHONY: install-target-libada maybe-install-target-libada
29344 maybe-install-target-libada:
29345 @if target-libada
29346 maybe-install-target-libada: install-target-libada
29348 install-target-libada: installdirs
29349 @r=`${PWD_COMMAND}`; export r; \
29350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29351 $(NORMAL_TARGET_EXPORTS) \
29352 (cd $(TARGET_SUBDIR)/libada && \
29353 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29355 @endif target-libada
29357 # Other targets (info, dvi, etc.)
29359 .PHONY: maybe-info-target-libada info-target-libada
29360 maybe-info-target-libada:
29361 @if target-libada
29362 maybe-info-target-libada: info-target-libada
29364 info-target-libada: \
29365 configure-target-libada
29366 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29367 r=`${PWD_COMMAND}`; export r; \
29368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29369 $(NORMAL_TARGET_EXPORTS) \
29370 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
29371 for flag in $(EXTRA_TARGET_FLAGS); do \
29372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29373 done; \
29374 (cd $(TARGET_SUBDIR)/libada && \
29375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29377 "RANLIB=$${RANLIB}" \
29378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29379 info) \
29380 || exit 1
29382 @endif target-libada
29384 .PHONY: maybe-dvi-target-libada dvi-target-libada
29385 maybe-dvi-target-libada:
29386 @if target-libada
29387 maybe-dvi-target-libada: dvi-target-libada
29389 dvi-target-libada: \
29390 configure-target-libada
29391 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29392 r=`${PWD_COMMAND}`; export r; \
29393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29394 $(NORMAL_TARGET_EXPORTS) \
29395 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
29396 for flag in $(EXTRA_TARGET_FLAGS); do \
29397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29398 done; \
29399 (cd $(TARGET_SUBDIR)/libada && \
29400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29402 "RANLIB=$${RANLIB}" \
29403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29404 dvi) \
29405 || exit 1
29407 @endif target-libada
29409 .PHONY: maybe-html-target-libada html-target-libada
29410 maybe-html-target-libada:
29411 @if target-libada
29412 maybe-html-target-libada: html-target-libada
29414 html-target-libada: \
29415 configure-target-libada
29416 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29417 r=`${PWD_COMMAND}`; export r; \
29418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29419 $(NORMAL_TARGET_EXPORTS) \
29420 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
29421 for flag in $(EXTRA_TARGET_FLAGS); do \
29422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29423 done; \
29424 (cd $(TARGET_SUBDIR)/libada && \
29425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29427 "RANLIB=$${RANLIB}" \
29428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29429 html) \
29430 || exit 1
29432 @endif target-libada
29434 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
29435 maybe-TAGS-target-libada:
29436 @if target-libada
29437 maybe-TAGS-target-libada: TAGS-target-libada
29439 TAGS-target-libada: \
29440 configure-target-libada
29441 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29442 r=`${PWD_COMMAND}`; export r; \
29443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29444 $(NORMAL_TARGET_EXPORTS) \
29445 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
29446 for flag in $(EXTRA_TARGET_FLAGS); do \
29447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29448 done; \
29449 (cd $(TARGET_SUBDIR)/libada && \
29450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29452 "RANLIB=$${RANLIB}" \
29453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29454 TAGS) \
29455 || exit 1
29457 @endif target-libada
29459 .PHONY: maybe-install-info-target-libada install-info-target-libada
29460 maybe-install-info-target-libada:
29461 @if target-libada
29462 maybe-install-info-target-libada: install-info-target-libada
29464 install-info-target-libada: \
29465 configure-target-libada \
29466 info-target-libada
29467 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29468 r=`${PWD_COMMAND}`; export r; \
29469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29470 $(NORMAL_TARGET_EXPORTS) \
29471 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
29472 for flag in $(EXTRA_TARGET_FLAGS); do \
29473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29474 done; \
29475 (cd $(TARGET_SUBDIR)/libada && \
29476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29478 "RANLIB=$${RANLIB}" \
29479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29480 install-info) \
29481 || exit 1
29483 @endif target-libada
29485 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
29486 maybe-installcheck-target-libada:
29487 @if target-libada
29488 maybe-installcheck-target-libada: installcheck-target-libada
29490 installcheck-target-libada: \
29491 configure-target-libada
29492 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29493 r=`${PWD_COMMAND}`; export r; \
29494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29495 $(NORMAL_TARGET_EXPORTS) \
29496 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
29497 for flag in $(EXTRA_TARGET_FLAGS); do \
29498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29499 done; \
29500 (cd $(TARGET_SUBDIR)/libada && \
29501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29503 "RANLIB=$${RANLIB}" \
29504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29505 installcheck) \
29506 || exit 1
29508 @endif target-libada
29510 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
29511 maybe-mostlyclean-target-libada:
29512 @if target-libada
29513 maybe-mostlyclean-target-libada: mostlyclean-target-libada
29515 mostlyclean-target-libada:
29516 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29517 r=`${PWD_COMMAND}`; export r; \
29518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29519 $(NORMAL_TARGET_EXPORTS) \
29520 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
29521 for flag in $(EXTRA_TARGET_FLAGS); do \
29522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29523 done; \
29524 (cd $(TARGET_SUBDIR)/libada && \
29525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29527 "RANLIB=$${RANLIB}" \
29528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29529 mostlyclean) \
29530 || exit 1
29532 @endif target-libada
29534 .PHONY: maybe-clean-target-libada clean-target-libada
29535 maybe-clean-target-libada:
29536 @if target-libada
29537 maybe-clean-target-libada: clean-target-libada
29539 clean-target-libada:
29540 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29541 r=`${PWD_COMMAND}`; export r; \
29542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29543 $(NORMAL_TARGET_EXPORTS) \
29544 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
29545 for flag in $(EXTRA_TARGET_FLAGS); do \
29546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29547 done; \
29548 (cd $(TARGET_SUBDIR)/libada && \
29549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29551 "RANLIB=$${RANLIB}" \
29552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29553 clean) \
29554 || exit 1
29556 @endif target-libada
29558 .PHONY: maybe-distclean-target-libada distclean-target-libada
29559 maybe-distclean-target-libada:
29560 @if target-libada
29561 maybe-distclean-target-libada: distclean-target-libada
29563 distclean-target-libada:
29564 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29565 r=`${PWD_COMMAND}`; export r; \
29566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29567 $(NORMAL_TARGET_EXPORTS) \
29568 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
29569 for flag in $(EXTRA_TARGET_FLAGS); do \
29570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29571 done; \
29572 (cd $(TARGET_SUBDIR)/libada && \
29573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29575 "RANLIB=$${RANLIB}" \
29576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29577 distclean) \
29578 || exit 1
29580 @endif target-libada
29582 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
29583 maybe-maintainer-clean-target-libada:
29584 @if target-libada
29585 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
29587 maintainer-clean-target-libada:
29588 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
29589 r=`${PWD_COMMAND}`; export r; \
29590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29591 $(NORMAL_TARGET_EXPORTS) \
29592 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
29593 for flag in $(EXTRA_TARGET_FLAGS); do \
29594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29595 done; \
29596 (cd $(TARGET_SUBDIR)/libada && \
29597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29599 "RANLIB=$${RANLIB}" \
29600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29601 maintainer-clean) \
29602 || exit 1
29604 @endif target-libada
29608 # ----------
29609 # GCC module
29610 # ----------
29612 @if gcc-no-bootstrap
29613 # GCC has some more recursive targets, which trigger the old
29614 # (but still current, until the toplevel bootstrap project
29615 # is finished) compiler bootstrapping rules.
29617 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
29618 .PHONY: $(GCC_STRAP_TARGETS)
29619 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
29620 @r=`${PWD_COMMAND}`; export r; \
29621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29622 $(HOST_EXPORTS) \
29623 echo "Bootstrapping the compiler"; \
29624 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
29625 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
29626 @r=`${PWD_COMMAND}`; export r; \
29627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29628 case "$@" in \
29629 *bootstrap4-lean ) \
29630 msg="Comparing stage3 and stage4 of the compiler"; \
29631 compare=compare3-lean ;; \
29632 *bootstrap4 ) \
29633 msg="Comparing stage3 and stage4 of the compiler"; \
29634 compare=compare3 ;; \
29635 *-lean ) \
29636 msg="Comparing stage2 and stage3 of the compiler"; \
29637 compare=compare-lean ;; \
29638 * ) \
29639 msg="Comparing stage2 and stage3 of the compiler"; \
29640 compare=compare ;; \
29641 esac; \
29642 $(HOST_EXPORTS) \
29643 echo "$$msg"; \
29644 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
29645 @r=`${PWD_COMMAND}`; export r; \
29646 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
29647 echo "Building runtime libraries"; \
29648 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
29650 profiledbootstrap: all-prebootstrap configure-gcc
29651 @r=`${PWD_COMMAND}`; export r; \
29652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29653 $(HOST_EXPORTS) \
29654 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
29655 echo "Bootstrapping training compiler"; \
29656 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
29657 @r=`${PWD_COMMAND}`; export r; \
29658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29659 $(HOST_EXPORTS) \
29660 echo "Building feedback based compiler"; \
29661 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
29662 @r=`${PWD_COMMAND}`; export r; \
29663 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
29664 echo "Building runtime libraries"; \
29665 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
29667 .PHONY: cross
29668 cross: all-build all-gas all-ld
29669 @r=`${PWD_COMMAND}`; export r; \
29670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29671 $(HOST_EXPORTS) \
29672 echo "Building the C and C++ compiler"; \
29673 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
29674 @r=`${PWD_COMMAND}`; export r; \
29675 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
29676 echo "Building runtime libraries"; \
29677 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
29678 @endif gcc-no-bootstrap
29680 @if gcc
29681 .PHONY: check-gcc-c++
29682 check-gcc-c++:
29683 @if [ -f ./gcc/Makefile ] ; then \
29684 r=`${PWD_COMMAND}`; export r; \
29685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29686 $(HOST_EXPORTS) \
29687 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
29688 else \
29689 true; \
29692 .PHONY: check-c++
29693 check-c++: check-target-libstdc++-v3 check-gcc-c++
29695 # Install the gcc headers files, but not the fixed include files,
29696 # which Cygnus is not allowed to distribute. This rule is very
29697 # dependent on the workings of the gcc Makefile.in.
29698 .PHONY: gcc-no-fixedincludes
29699 gcc-no-fixedincludes:
29700 @if [ -f ./gcc/Makefile ]; then \
29701 rm -rf gcc/tmp-include; \
29702 mv gcc/include gcc/tmp-include 2>/dev/null; \
29703 mkdir gcc/include; \
29704 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
29705 touch gcc/stmp-fixinc gcc/include/fixed; \
29706 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
29707 r=`${PWD_COMMAND}`; export r; \
29708 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
29709 $(HOST_EXPORTS) \
29710 (cd ./gcc && \
29711 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
29712 rm -rf gcc/include; \
29713 mv gcc/tmp-include gcc/include 2>/dev/null; \
29714 else true; fi
29715 @endif gcc
29717 # ---------------------
29718 # GCC bootstrap support
29719 # ---------------------
29721 # We track the current stage (the one in 'gcc') in the stage_current file.
29722 # stage_last instead tracks the stage that was built last. These targets
29723 # are dummy when toplevel bootstrap is not active.
29725 .PHONY: unstage
29726 unstage:
29727 @if gcc-bootstrap
29728 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
29729 @endif gcc-bootstrap
29731 .PHONY: stage
29732 stage:
29733 @if gcc-bootstrap
29734 @$(MAKE) `cat stage_current`-end
29735 @endif gcc-bootstrap
29737 # We name the build directories for the various stages "stage1-gcc",
29738 # "stage2-gcc","stage3-gcc", etc.
29740 # Since the 'compare' process will fail (on debugging information) if any
29741 # directory names are different, we need to link the gcc directory for
29742 # the previous stage to a constant name ('gcc-prev'), and to make the name of
29743 # the build directories constant as well. For the latter, we use naked names
29744 # like 'gcc', because the scripts in that directory assume it. We use
29745 # mv on platforms where symlinks to directories do not work or are not
29746 # reliable.
29748 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
29749 # be kept, so that libraries can find it. Ick!
29751 # It would be best to preinstall gcc into a staging area (and in the
29752 # future, gather there all prebootstrap packages). This would allow
29753 # assemblers and linkers can be bootstrapped as well as the compiler
29754 # (both in a combined tree, or separately). This however requires some
29755 # change to the gcc driver, again in order to avoid comparison failures.
29757 # Bugs: This is crippled when doing parallel make, the `make all-host'
29758 # and `make all-target' phases can be parallelized.
29761 # 'touch' doesn't work right on some platforms.
29762 STAMP = echo timestamp >
29764 # Only build the C compiler for stage1, because that is the only one that
29765 # we can guarantee will build with the native compiler, and also it is the
29766 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
29767 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
29768 # overrideable (for a bootstrap build stage1 also builds gcc.info).
29770 STAGE1_CFLAGS=@stage1_cflags@
29771 STAGE1_LANGUAGES=@stage1_languages@
29773 # We only want to compare .o files, so set this!
29774 objext = .o
29776 # Flags to pass to stage2 and later makes.
29777 POSTSTAGE1_FLAGS_TO_PASS = \
29778 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
29779 STAGE_PREFIX=$$r/stage-gcc/ \
29780 CFLAGS="$(BOOT_CFLAGS)" \
29781 ADAC="\$$(CC)"
29783 # For stage 1:
29784 # * We force-disable intermodule optimizations, even if
29785 # --enable-intermodule was passed, since the installed compiler probably
29786 # can't handle them. Luckily, autoconf always respects
29787 # the last argument when conflicting --enable arguments are passed.
29788 # * Likewise, we force-disable coverage flags, since the installed compiler
29789 # probably has never heard of them.
29790 # * We build only C (and possibly Ada).
29793 .PHONY: stage1-start stage1-end
29795 stage1-start::
29796 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
29797 echo stage1 > stage_current ; \
29798 echo stage1 > stage_last; \
29799 $(mkinstalldirs) $(HOST_SUBDIR)
29800 @if bfd
29801 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
29802 mkdir stage1-bfd; \
29803 set stage1-bfd bfd ; \
29804 @CREATE_LINK_TO_DIR@
29805 @endif bfd
29806 @if opcodes
29807 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
29808 mkdir stage1-opcodes; \
29809 set stage1-opcodes opcodes ; \
29810 @CREATE_LINK_TO_DIR@
29811 @endif opcodes
29812 @if binutils
29813 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
29814 mkdir stage1-binutils; \
29815 set stage1-binutils binutils ; \
29816 @CREATE_LINK_TO_DIR@
29817 @endif binutils
29818 @if gas
29819 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
29820 mkdir stage1-gas; \
29821 set stage1-gas gas ; \
29822 @CREATE_LINK_TO_DIR@
29823 @endif gas
29824 @if gcc
29825 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
29826 mkdir stage1-gcc; \
29827 set stage1-gcc gcc ; \
29828 @CREATE_LINK_TO_DIR@
29829 @endif gcc
29830 @if intl
29831 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
29832 mkdir stage1-intl; \
29833 set stage1-intl intl ; \
29834 @CREATE_LINK_TO_DIR@
29835 @endif intl
29836 @if ld
29837 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
29838 mkdir stage1-ld; \
29839 set stage1-ld ld ; \
29840 @CREATE_LINK_TO_DIR@
29841 @endif ld
29842 @if libcpp
29843 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
29844 mkdir stage1-libcpp; \
29845 set stage1-libcpp libcpp ; \
29846 @CREATE_LINK_TO_DIR@
29847 @endif libcpp
29848 @if libiberty
29849 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
29850 mkdir stage1-libiberty; \
29851 set stage1-libiberty libiberty ; \
29852 @CREATE_LINK_TO_DIR@
29853 @endif libiberty
29854 @if zlib
29855 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
29856 mkdir stage1-zlib; \
29857 set stage1-zlib zlib ; \
29858 @CREATE_LINK_TO_DIR@
29859 @endif zlib
29861 stage1-end::
29862 @rm -f stage_current
29863 @if bfd
29864 @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
29865 @UNDO_LINK_TO_DIR@
29866 @endif bfd
29867 @if opcodes
29868 @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
29869 @UNDO_LINK_TO_DIR@
29870 @endif opcodes
29871 @if binutils
29872 @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
29873 @UNDO_LINK_TO_DIR@
29874 @endif binutils
29875 @if gas
29876 @cd $(HOST_SUBDIR); set gas stage1-gas ; \
29877 @UNDO_LINK_TO_DIR@
29878 @endif gas
29879 @if gcc
29880 @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
29881 @UNDO_LINK_TO_DIR@
29882 @endif gcc
29883 @if intl
29884 @cd $(HOST_SUBDIR); set intl stage1-intl ; \
29885 @UNDO_LINK_TO_DIR@
29886 @endif intl
29887 @if ld
29888 @cd $(HOST_SUBDIR); set ld stage1-ld ; \
29889 @UNDO_LINK_TO_DIR@
29890 @endif ld
29891 @if libcpp
29892 @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
29893 @UNDO_LINK_TO_DIR@
29894 @endif libcpp
29895 @if libiberty
29896 @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
29897 @UNDO_LINK_TO_DIR@
29898 @endif libiberty
29899 @if zlib
29900 @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
29901 @UNDO_LINK_TO_DIR@
29902 @endif zlib
29904 # Bubble a bugfix through all the stages up to stage 1. They
29905 # are remade, but not reconfigured. The next stage (if any) will not
29906 # be reconfigured as well.
29907 .PHONY: stage1-bubble
29908 stage1-bubble::
29909 @if test -f stage1-lean ; then \
29910 echo Skipping rebuild of stage1 ; \
29911 else \
29912 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
29915 .PHONY: all-stage1 clean-stage1
29916 all-stage1: \
29917 maybe-all-stage1-bfd \
29918 maybe-all-stage1-opcodes \
29919 maybe-all-stage1-binutils \
29920 maybe-all-stage1-gas \
29921 maybe-all-stage1-gcc \
29922 maybe-all-stage1-intl \
29923 maybe-all-stage1-ld \
29924 maybe-all-stage1-libcpp \
29925 maybe-all-stage1-libiberty \
29926 maybe-all-stage1-zlib
29928 do-clean: clean-stage1
29929 clean-stage1: \
29930 maybe-clean-stage1-bfd \
29931 maybe-clean-stage1-opcodes \
29932 maybe-clean-stage1-binutils \
29933 maybe-clean-stage1-gas \
29934 maybe-clean-stage1-gcc \
29935 maybe-clean-stage1-intl \
29936 maybe-clean-stage1-ld \
29937 maybe-clean-stage1-libcpp \
29938 maybe-clean-stage1-libiberty \
29939 maybe-clean-stage1-zlib
29942 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
29943 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
29944 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
29946 maybe-configure-stage1-bfd:
29947 maybe-all-stage1-bfd:
29948 maybe-clean-stage1-bfd:
29950 @if bfd-bootstrap
29951 maybe-configure-stage1-bfd: configure-stage1-bfd
29952 configure-stage1-bfd:
29953 @$(MAKE) stage1-start
29954 @[ -f bfd/Makefile ] && exit 0 || : ; \
29955 r=`${PWD_COMMAND}`; export r; \
29956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29957 $(HOST_EXPORTS) \
29958 echo Configuring stage 1 in bfd ; \
29959 cd $(HOST_SUBDIR)/bfd || exit 1; \
29960 case $(srcdir) in \
29961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29962 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
29963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29964 esac; \
29965 srcdiroption="--srcdir=$${topdir}/bfd"; \
29966 libsrcdir="$$s/bfd"; \
29967 $(SHELL) $${libsrcdir}/configure \
29968 $(HOST_CONFIGARGS) $${srcdiroption} \
29969 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
29971 maybe-all-stage1-bfd: all-stage1-bfd
29972 all-stage1-bfd: configure-stage1-bfd
29973 @$(MAKE) stage1-start
29974 @r=`${PWD_COMMAND}`; export r; \
29975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29976 $(HOST_EXPORTS) \
29977 cd $(HOST_SUBDIR)/bfd && \
29978 $(MAKE) $(FLAGS_TO_PASS) \
29979 CFLAGS="$(STAGE1_CFLAGS)"
29981 maybe-clean-stage1-bfd: clean-stage1-bfd
29982 clean-stage1-bfd:
29983 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
29984 || exit 0 ; \
29985 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
29986 cd $(HOST_SUBDIR)/bfd && \
29987 $(MAKE) $(FLAGS_TO_PASS) \
29988 CFLAGS="$(STAGE1_CFLAGS)" clean
29989 @endif bfd-bootstrap
29992 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
29993 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
29994 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
29996 maybe-configure-stage1-opcodes:
29997 maybe-all-stage1-opcodes:
29998 maybe-clean-stage1-opcodes:
30000 @if opcodes-bootstrap
30001 maybe-configure-stage1-opcodes: configure-stage1-opcodes
30002 configure-stage1-opcodes:
30003 @$(MAKE) stage1-start
30004 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30005 r=`${PWD_COMMAND}`; export r; \
30006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30007 $(HOST_EXPORTS) \
30008 echo Configuring stage 1 in opcodes ; \
30009 cd $(HOST_SUBDIR)/opcodes || exit 1; \
30010 case $(srcdir) in \
30011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30012 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
30013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30014 esac; \
30015 srcdiroption="--srcdir=$${topdir}/opcodes"; \
30016 libsrcdir="$$s/opcodes"; \
30017 $(SHELL) $${libsrcdir}/configure \
30018 $(HOST_CONFIGARGS) $${srcdiroption} \
30019 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30021 maybe-all-stage1-opcodes: all-stage1-opcodes
30022 all-stage1-opcodes: configure-stage1-opcodes
30023 @$(MAKE) stage1-start
30024 @r=`${PWD_COMMAND}`; export r; \
30025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30026 $(HOST_EXPORTS) \
30027 cd $(HOST_SUBDIR)/opcodes && \
30028 $(MAKE) $(FLAGS_TO_PASS) \
30029 CFLAGS="$(STAGE1_CFLAGS)"
30031 maybe-clean-stage1-opcodes: clean-stage1-opcodes
30032 clean-stage1-opcodes:
30033 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
30034 || exit 0 ; \
30035 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
30036 cd $(HOST_SUBDIR)/opcodes && \
30037 $(MAKE) $(FLAGS_TO_PASS) \
30038 CFLAGS="$(STAGE1_CFLAGS)" clean
30039 @endif opcodes-bootstrap
30042 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
30043 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
30044 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
30046 maybe-configure-stage1-binutils:
30047 maybe-all-stage1-binutils:
30048 maybe-clean-stage1-binutils:
30050 @if binutils-bootstrap
30051 maybe-configure-stage1-binutils: configure-stage1-binutils
30052 configure-stage1-binutils:
30053 @$(MAKE) stage1-start
30054 @[ -f binutils/Makefile ] && exit 0 || : ; \
30055 r=`${PWD_COMMAND}`; export r; \
30056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30057 $(HOST_EXPORTS) \
30058 echo Configuring stage 1 in binutils ; \
30059 cd $(HOST_SUBDIR)/binutils || exit 1; \
30060 case $(srcdir) in \
30061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30062 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
30063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30064 esac; \
30065 srcdiroption="--srcdir=$${topdir}/binutils"; \
30066 libsrcdir="$$s/binutils"; \
30067 $(SHELL) $${libsrcdir}/configure \
30068 $(HOST_CONFIGARGS) $${srcdiroption} \
30069 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30071 maybe-all-stage1-binutils: all-stage1-binutils
30072 all-stage1-binutils: configure-stage1-binutils
30073 @$(MAKE) stage1-start
30074 @r=`${PWD_COMMAND}`; export r; \
30075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30076 $(HOST_EXPORTS) \
30077 cd $(HOST_SUBDIR)/binutils && \
30078 $(MAKE) $(FLAGS_TO_PASS) \
30079 CFLAGS="$(STAGE1_CFLAGS)"
30081 maybe-clean-stage1-binutils: clean-stage1-binutils
30082 clean-stage1-binutils:
30083 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
30084 || exit 0 ; \
30085 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
30086 cd $(HOST_SUBDIR)/binutils && \
30087 $(MAKE) $(FLAGS_TO_PASS) \
30088 CFLAGS="$(STAGE1_CFLAGS)" clean
30089 @endif binutils-bootstrap
30092 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
30093 .PHONY: all-stage1-gas maybe-all-stage1-gas
30094 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
30096 maybe-configure-stage1-gas:
30097 maybe-all-stage1-gas:
30098 maybe-clean-stage1-gas:
30100 @if gas-bootstrap
30101 maybe-configure-stage1-gas: configure-stage1-gas
30102 configure-stage1-gas:
30103 @$(MAKE) stage1-start
30104 @[ -f gas/Makefile ] && exit 0 || : ; \
30105 r=`${PWD_COMMAND}`; export r; \
30106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30107 $(HOST_EXPORTS) \
30108 echo Configuring stage 1 in gas ; \
30109 cd $(HOST_SUBDIR)/gas || exit 1; \
30110 case $(srcdir) in \
30111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30112 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
30113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30114 esac; \
30115 srcdiroption="--srcdir=$${topdir}/gas"; \
30116 libsrcdir="$$s/gas"; \
30117 $(SHELL) $${libsrcdir}/configure \
30118 $(HOST_CONFIGARGS) $${srcdiroption} \
30119 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30121 maybe-all-stage1-gas: all-stage1-gas
30122 all-stage1-gas: configure-stage1-gas
30123 @$(MAKE) stage1-start
30124 @r=`${PWD_COMMAND}`; export r; \
30125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30126 $(HOST_EXPORTS) \
30127 cd $(HOST_SUBDIR)/gas && \
30128 $(MAKE) $(FLAGS_TO_PASS) \
30129 CFLAGS="$(STAGE1_CFLAGS)"
30131 maybe-clean-stage1-gas: clean-stage1-gas
30132 clean-stage1-gas:
30133 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
30134 || exit 0 ; \
30135 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
30136 cd $(HOST_SUBDIR)/gas && \
30137 $(MAKE) $(FLAGS_TO_PASS) \
30138 CFLAGS="$(STAGE1_CFLAGS)" clean
30139 @endif gas-bootstrap
30142 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
30143 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
30144 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
30146 maybe-configure-stage1-gcc:
30147 maybe-all-stage1-gcc:
30148 maybe-clean-stage1-gcc:
30150 @if gcc-bootstrap
30151 maybe-configure-stage1-gcc: configure-stage1-gcc
30152 configure-stage1-gcc:
30153 @$(MAKE) stage1-start
30154 @[ -f gcc/Makefile ] && exit 0 || : ; \
30155 r=`${PWD_COMMAND}`; export r; \
30156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30157 $(HOST_EXPORTS) \
30158 echo Configuring stage 1 in gcc ; \
30159 cd $(HOST_SUBDIR)/gcc || exit 1; \
30160 case $(srcdir) in \
30161 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30162 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
30163 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30164 esac; \
30165 srcdiroption="--srcdir=$${topdir}/gcc"; \
30166 libsrcdir="$$s/gcc"; \
30167 $(SHELL) $${libsrcdir}/configure \
30168 $(HOST_CONFIGARGS) $${srcdiroption} \
30169 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30171 maybe-all-stage1-gcc: all-stage1-gcc
30172 all-stage1-gcc: configure-stage1-gcc
30173 @$(MAKE) stage1-start
30174 @r=`${PWD_COMMAND}`; export r; \
30175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30176 $(HOST_EXPORTS) \
30177 cd $(HOST_SUBDIR)/gcc && \
30178 $(MAKE) $(FLAGS_TO_PASS) \
30179 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
30181 maybe-clean-stage1-gcc: clean-stage1-gcc
30182 clean-stage1-gcc:
30183 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
30184 || exit 0 ; \
30185 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
30186 cd $(HOST_SUBDIR)/gcc && \
30187 $(MAKE) $(FLAGS_TO_PASS) \
30188 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
30189 @endif gcc-bootstrap
30192 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
30193 .PHONY: all-stage1-intl maybe-all-stage1-intl
30194 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
30196 maybe-configure-stage1-intl:
30197 maybe-all-stage1-intl:
30198 maybe-clean-stage1-intl:
30200 @if intl-bootstrap
30201 maybe-configure-stage1-intl: configure-stage1-intl
30202 configure-stage1-intl:
30203 @$(MAKE) stage1-start
30204 @[ -f intl/Makefile ] && exit 0 || : ; \
30205 r=`${PWD_COMMAND}`; export r; \
30206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30207 $(HOST_EXPORTS) \
30208 echo Configuring stage 1 in intl ; \
30209 cd $(HOST_SUBDIR)/intl || exit 1; \
30210 case $(srcdir) in \
30211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30212 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
30213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30214 esac; \
30215 srcdiroption="--srcdir=$${topdir}/intl"; \
30216 libsrcdir="$$s/intl"; \
30217 $(SHELL) $${libsrcdir}/configure \
30218 $(HOST_CONFIGARGS) $${srcdiroption} \
30219 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30221 maybe-all-stage1-intl: all-stage1-intl
30222 all-stage1-intl: configure-stage1-intl
30223 @$(MAKE) stage1-start
30224 @r=`${PWD_COMMAND}`; export r; \
30225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30226 $(HOST_EXPORTS) \
30227 cd $(HOST_SUBDIR)/intl && \
30228 $(MAKE) $(FLAGS_TO_PASS) \
30229 CFLAGS="$(STAGE1_CFLAGS)"
30231 maybe-clean-stage1-intl: clean-stage1-intl
30232 clean-stage1-intl:
30233 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
30234 || exit 0 ; \
30235 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
30236 cd $(HOST_SUBDIR)/intl && \
30237 $(MAKE) $(FLAGS_TO_PASS) \
30238 CFLAGS="$(STAGE1_CFLAGS)" clean
30239 @endif intl-bootstrap
30242 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
30243 .PHONY: all-stage1-ld maybe-all-stage1-ld
30244 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
30246 maybe-configure-stage1-ld:
30247 maybe-all-stage1-ld:
30248 maybe-clean-stage1-ld:
30250 @if ld-bootstrap
30251 maybe-configure-stage1-ld: configure-stage1-ld
30252 configure-stage1-ld:
30253 @$(MAKE) stage1-start
30254 @[ -f ld/Makefile ] && exit 0 || : ; \
30255 r=`${PWD_COMMAND}`; export r; \
30256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30257 $(HOST_EXPORTS) \
30258 echo Configuring stage 1 in ld ; \
30259 cd $(HOST_SUBDIR)/ld || exit 1; \
30260 case $(srcdir) in \
30261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30262 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
30263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30264 esac; \
30265 srcdiroption="--srcdir=$${topdir}/ld"; \
30266 libsrcdir="$$s/ld"; \
30267 $(SHELL) $${libsrcdir}/configure \
30268 $(HOST_CONFIGARGS) $${srcdiroption} \
30269 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30271 maybe-all-stage1-ld: all-stage1-ld
30272 all-stage1-ld: configure-stage1-ld
30273 @$(MAKE) stage1-start
30274 @r=`${PWD_COMMAND}`; export r; \
30275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30276 $(HOST_EXPORTS) \
30277 cd $(HOST_SUBDIR)/ld && \
30278 $(MAKE) $(FLAGS_TO_PASS) \
30279 CFLAGS="$(STAGE1_CFLAGS)"
30281 maybe-clean-stage1-ld: clean-stage1-ld
30282 clean-stage1-ld:
30283 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
30284 || exit 0 ; \
30285 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
30286 cd $(HOST_SUBDIR)/ld && \
30287 $(MAKE) $(FLAGS_TO_PASS) \
30288 CFLAGS="$(STAGE1_CFLAGS)" clean
30289 @endif ld-bootstrap
30292 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
30293 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
30294 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
30296 maybe-configure-stage1-libcpp:
30297 maybe-all-stage1-libcpp:
30298 maybe-clean-stage1-libcpp:
30300 @if libcpp-bootstrap
30301 maybe-configure-stage1-libcpp: configure-stage1-libcpp
30302 configure-stage1-libcpp:
30303 @$(MAKE) stage1-start
30304 @[ -f libcpp/Makefile ] && exit 0 || : ; \
30305 r=`${PWD_COMMAND}`; export r; \
30306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30307 $(HOST_EXPORTS) \
30308 echo Configuring stage 1 in libcpp ; \
30309 cd $(HOST_SUBDIR)/libcpp || exit 1; \
30310 case $(srcdir) in \
30311 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30312 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
30313 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30314 esac; \
30315 srcdiroption="--srcdir=$${topdir}/libcpp"; \
30316 libsrcdir="$$s/libcpp"; \
30317 $(SHELL) $${libsrcdir}/configure \
30318 $(HOST_CONFIGARGS) $${srcdiroption} \
30319 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30321 maybe-all-stage1-libcpp: all-stage1-libcpp
30322 all-stage1-libcpp: configure-stage1-libcpp
30323 @$(MAKE) stage1-start
30324 @r=`${PWD_COMMAND}`; export r; \
30325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30326 $(HOST_EXPORTS) \
30327 cd $(HOST_SUBDIR)/libcpp && \
30328 $(MAKE) $(FLAGS_TO_PASS) \
30329 CFLAGS="$(STAGE1_CFLAGS)"
30331 maybe-clean-stage1-libcpp: clean-stage1-libcpp
30332 clean-stage1-libcpp:
30333 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
30334 || exit 0 ; \
30335 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
30336 cd $(HOST_SUBDIR)/libcpp && \
30337 $(MAKE) $(FLAGS_TO_PASS) \
30338 CFLAGS="$(STAGE1_CFLAGS)" clean
30339 @endif libcpp-bootstrap
30342 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
30343 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
30344 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
30346 maybe-configure-stage1-libiberty:
30347 maybe-all-stage1-libiberty:
30348 maybe-clean-stage1-libiberty:
30350 @if libiberty-bootstrap
30351 maybe-configure-stage1-libiberty: configure-stage1-libiberty
30352 configure-stage1-libiberty:
30353 @$(MAKE) stage1-start
30354 @[ -f libiberty/Makefile ] && exit 0 || : ; \
30355 r=`${PWD_COMMAND}`; export r; \
30356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30357 $(HOST_EXPORTS) \
30358 echo Configuring stage 1 in libiberty ; \
30359 cd $(HOST_SUBDIR)/libiberty || exit 1; \
30360 case $(srcdir) in \
30361 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30362 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
30363 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30364 esac; \
30365 srcdiroption="--srcdir=$${topdir}/libiberty"; \
30366 libsrcdir="$$s/libiberty"; \
30367 $(SHELL) $${libsrcdir}/configure \
30368 $(HOST_CONFIGARGS) $${srcdiroption} \
30369 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30371 maybe-all-stage1-libiberty: all-stage1-libiberty
30372 all-stage1-libiberty: configure-stage1-libiberty
30373 @$(MAKE) stage1-start
30374 @r=`${PWD_COMMAND}`; export r; \
30375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30376 $(HOST_EXPORTS) \
30377 cd $(HOST_SUBDIR)/libiberty && \
30378 $(MAKE) $(FLAGS_TO_PASS) \
30379 CFLAGS="$(STAGE1_CFLAGS)"
30381 maybe-clean-stage1-libiberty: clean-stage1-libiberty
30382 clean-stage1-libiberty:
30383 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
30384 || exit 0 ; \
30385 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
30386 cd $(HOST_SUBDIR)/libiberty && \
30387 $(MAKE) $(FLAGS_TO_PASS) \
30388 CFLAGS="$(STAGE1_CFLAGS)" clean
30389 @endif libiberty-bootstrap
30392 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
30393 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
30394 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
30396 maybe-configure-stage1-zlib:
30397 maybe-all-stage1-zlib:
30398 maybe-clean-stage1-zlib:
30400 @if zlib-bootstrap
30401 maybe-configure-stage1-zlib: configure-stage1-zlib
30402 configure-stage1-zlib:
30403 @$(MAKE) stage1-start
30404 @[ -f zlib/Makefile ] && exit 0 || : ; \
30405 r=`${PWD_COMMAND}`; export r; \
30406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30407 $(HOST_EXPORTS) \
30408 echo Configuring stage 1 in zlib ; \
30409 cd $(HOST_SUBDIR)/zlib || exit 1; \
30410 case $(srcdir) in \
30411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30412 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30414 esac; \
30415 srcdiroption="--srcdir=$${topdir}/zlib"; \
30416 libsrcdir="$$s/zlib"; \
30417 $(SHELL) $${libsrcdir}/configure \
30418 $(HOST_CONFIGARGS) $${srcdiroption} \
30419 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30421 maybe-all-stage1-zlib: all-stage1-zlib
30422 all-stage1-zlib: configure-stage1-zlib
30423 @$(MAKE) stage1-start
30424 @r=`${PWD_COMMAND}`; export r; \
30425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30426 $(HOST_EXPORTS) \
30427 cd $(HOST_SUBDIR)/zlib && \
30428 $(MAKE) $(FLAGS_TO_PASS) \
30429 CFLAGS="$(STAGE1_CFLAGS)"
30431 maybe-clean-stage1-zlib: clean-stage1-zlib
30432 clean-stage1-zlib:
30433 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
30434 || exit 0 ; \
30435 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
30436 cd $(HOST_SUBDIR)/zlib && \
30437 $(MAKE) $(FLAGS_TO_PASS) \
30438 CFLAGS="$(STAGE1_CFLAGS)" clean
30439 @endif zlib-bootstrap
30443 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30444 # only possibility, but now it conflicts with no-bootstrap rules
30445 @if gcc-bootstrap
30450 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30452 .PHONY: distclean-stage1
30453 distclean-stage1::
30454 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30455 rm -rf stage1-*
30458 @endif gcc-bootstrap
30461 .PHONY: stage2-start stage2-end
30463 stage2-start::
30464 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30465 echo stage2 > stage_current ; \
30466 echo stage2 > stage_last; \
30467 $(mkinstalldirs) $(HOST_SUBDIR)
30468 @if bfd
30469 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
30470 mkdir stage2-bfd; \
30471 set stage2-bfd bfd ; \
30472 @CREATE_LINK_TO_DIR@ ; \
30473 set stage1-bfd prev-bfd ; \
30474 @CREATE_LINK_TO_DIR@
30475 @endif bfd
30476 @if opcodes
30477 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
30478 mkdir stage2-opcodes; \
30479 set stage2-opcodes opcodes ; \
30480 @CREATE_LINK_TO_DIR@ ; \
30481 set stage1-opcodes prev-opcodes ; \
30482 @CREATE_LINK_TO_DIR@
30483 @endif opcodes
30484 @if binutils
30485 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
30486 mkdir stage2-binutils; \
30487 set stage2-binutils binutils ; \
30488 @CREATE_LINK_TO_DIR@ ; \
30489 set stage1-binutils prev-binutils ; \
30490 @CREATE_LINK_TO_DIR@
30491 @endif binutils
30492 @if gas
30493 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
30494 mkdir stage2-gas; \
30495 set stage2-gas gas ; \
30496 @CREATE_LINK_TO_DIR@ ; \
30497 set stage1-gas prev-gas ; \
30498 @CREATE_LINK_TO_DIR@
30499 @endif gas
30500 @if gcc
30501 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
30502 mkdir stage2-gcc; \
30503 set stage2-gcc gcc ; \
30504 @CREATE_LINK_TO_DIR@ ; \
30505 set stage1-gcc prev-gcc ; \
30506 @CREATE_LINK_TO_DIR@
30507 @endif gcc
30508 @if intl
30509 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
30510 mkdir stage2-intl; \
30511 set stage2-intl intl ; \
30512 @CREATE_LINK_TO_DIR@ ; \
30513 set stage1-intl prev-intl ; \
30514 @CREATE_LINK_TO_DIR@
30515 @endif intl
30516 @if ld
30517 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
30518 mkdir stage2-ld; \
30519 set stage2-ld ld ; \
30520 @CREATE_LINK_TO_DIR@ ; \
30521 set stage1-ld prev-ld ; \
30522 @CREATE_LINK_TO_DIR@
30523 @endif ld
30524 @if libcpp
30525 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
30526 mkdir stage2-libcpp; \
30527 set stage2-libcpp libcpp ; \
30528 @CREATE_LINK_TO_DIR@ ; \
30529 set stage1-libcpp prev-libcpp ; \
30530 @CREATE_LINK_TO_DIR@
30531 @endif libcpp
30532 @if libiberty
30533 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
30534 mkdir stage2-libiberty; \
30535 set stage2-libiberty libiberty ; \
30536 @CREATE_LINK_TO_DIR@ ; \
30537 set stage1-libiberty prev-libiberty ; \
30538 @CREATE_LINK_TO_DIR@
30539 @endif libiberty
30540 @if zlib
30541 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
30542 mkdir stage2-zlib; \
30543 set stage2-zlib zlib ; \
30544 @CREATE_LINK_TO_DIR@ ; \
30545 set stage1-zlib prev-zlib ; \
30546 @CREATE_LINK_TO_DIR@
30547 @endif zlib
30549 stage2-end::
30550 @rm -f stage_current
30551 @if bfd
30552 @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
30553 @UNDO_LINK_TO_DIR@ ; \
30554 set prev-bfd stage1-bfd ; \
30555 @UNDO_LINK_TO_DIR@
30556 @endif bfd
30557 @if opcodes
30558 @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
30559 @UNDO_LINK_TO_DIR@ ; \
30560 set prev-opcodes stage1-opcodes ; \
30561 @UNDO_LINK_TO_DIR@
30562 @endif opcodes
30563 @if binutils
30564 @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
30565 @UNDO_LINK_TO_DIR@ ; \
30566 set prev-binutils stage1-binutils ; \
30567 @UNDO_LINK_TO_DIR@
30568 @endif binutils
30569 @if gas
30570 @cd $(HOST_SUBDIR); set gas stage2-gas ; \
30571 @UNDO_LINK_TO_DIR@ ; \
30572 set prev-gas stage1-gas ; \
30573 @UNDO_LINK_TO_DIR@
30574 @endif gas
30575 @if gcc
30576 @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
30577 @UNDO_LINK_TO_DIR@ ; \
30578 set prev-gcc stage1-gcc ; \
30579 @UNDO_LINK_TO_DIR@
30580 @endif gcc
30581 @if intl
30582 @cd $(HOST_SUBDIR); set intl stage2-intl ; \
30583 @UNDO_LINK_TO_DIR@ ; \
30584 set prev-intl stage1-intl ; \
30585 @UNDO_LINK_TO_DIR@
30586 @endif intl
30587 @if ld
30588 @cd $(HOST_SUBDIR); set ld stage2-ld ; \
30589 @UNDO_LINK_TO_DIR@ ; \
30590 set prev-ld stage1-ld ; \
30591 @UNDO_LINK_TO_DIR@
30592 @endif ld
30593 @if libcpp
30594 @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
30595 @UNDO_LINK_TO_DIR@ ; \
30596 set prev-libcpp stage1-libcpp ; \
30597 @UNDO_LINK_TO_DIR@
30598 @endif libcpp
30599 @if libiberty
30600 @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
30601 @UNDO_LINK_TO_DIR@ ; \
30602 set prev-libiberty stage1-libiberty ; \
30603 @UNDO_LINK_TO_DIR@
30604 @endif libiberty
30605 @if zlib
30606 @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
30607 @UNDO_LINK_TO_DIR@ ; \
30608 set prev-zlib stage1-zlib ; \
30609 @UNDO_LINK_TO_DIR@
30610 @endif zlib
30612 # Bubble a bugfix through all the stages up to stage 2. They
30613 # are remade, but not reconfigured. The next stage (if any) will not
30614 # be reconfigured as well.
30615 .PHONY: stage2-bubble
30616 stage2-bubble:: stage1-bubble
30617 @if test -f stage2-lean || test -f stage1-lean ; then \
30618 echo Skipping rebuild of stage2 ; \
30619 else \
30620 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
30623 .PHONY: all-stage2 clean-stage2
30624 all-stage2: \
30625 maybe-all-stage2-bfd \
30626 maybe-all-stage2-opcodes \
30627 maybe-all-stage2-binutils \
30628 maybe-all-stage2-gas \
30629 maybe-all-stage2-gcc \
30630 maybe-all-stage2-intl \
30631 maybe-all-stage2-ld \
30632 maybe-all-stage2-libcpp \
30633 maybe-all-stage2-libiberty \
30634 maybe-all-stage2-zlib
30636 do-clean: clean-stage2
30637 clean-stage2: \
30638 maybe-clean-stage2-bfd \
30639 maybe-clean-stage2-opcodes \
30640 maybe-clean-stage2-binutils \
30641 maybe-clean-stage2-gas \
30642 maybe-clean-stage2-gcc \
30643 maybe-clean-stage2-intl \
30644 maybe-clean-stage2-ld \
30645 maybe-clean-stage2-libcpp \
30646 maybe-clean-stage2-libiberty \
30647 maybe-clean-stage2-zlib
30650 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
30651 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
30652 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
30654 maybe-configure-stage2-bfd:
30655 maybe-all-stage2-bfd:
30656 maybe-clean-stage2-bfd:
30658 @if bfd-bootstrap
30659 maybe-configure-stage2-bfd: configure-stage2-bfd
30660 configure-stage2-bfd:
30661 @$(MAKE) stage2-start
30662 @[ -f bfd/Makefile ] && exit 0 || : ; \
30663 r=`${PWD_COMMAND}`; export r; \
30664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30665 $(STAGE_HOST_EXPORTS) \
30666 echo Configuring stage 2 in bfd ; \
30667 cd $(HOST_SUBDIR)/bfd || exit 1; \
30668 case $(srcdir) in \
30669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30670 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
30671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30672 esac; \
30673 srcdiroption="--srcdir=$${topdir}/bfd"; \
30674 libsrcdir="$$s/bfd"; \
30675 $(SHELL) $${libsrcdir}/configure \
30676 $(HOST_CONFIGARGS) $${srcdiroption} \
30677 @stage2_werror_flag@
30679 maybe-all-stage2-bfd: all-stage2-bfd
30680 all-stage2-bfd: configure-stage2-bfd
30681 @$(MAKE) stage2-start
30682 @r=`${PWD_COMMAND}`; export r; \
30683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30684 $(STAGE_HOST_EXPORTS) \
30685 cd $(HOST_SUBDIR)/bfd && \
30686 $(MAKE) $(FLAGS_TO_PASS) \
30687 $(POSTSTAGE1_FLAGS_TO_PASS) \
30690 maybe-clean-stage2-bfd: clean-stage2-bfd
30691 clean-stage2-bfd:
30692 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
30693 || exit 0 ; \
30694 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
30695 cd $(HOST_SUBDIR)/bfd && \
30696 $(MAKE) $(FLAGS_TO_PASS) \
30697 $(POSTSTAGE1_FLAGS_TO_PASS) \
30698 clean
30699 @endif bfd-bootstrap
30702 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
30703 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
30704 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
30706 maybe-configure-stage2-opcodes:
30707 maybe-all-stage2-opcodes:
30708 maybe-clean-stage2-opcodes:
30710 @if opcodes-bootstrap
30711 maybe-configure-stage2-opcodes: configure-stage2-opcodes
30712 configure-stage2-opcodes:
30713 @$(MAKE) stage2-start
30714 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30715 r=`${PWD_COMMAND}`; export r; \
30716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30717 $(STAGE_HOST_EXPORTS) \
30718 echo Configuring stage 2 in opcodes ; \
30719 cd $(HOST_SUBDIR)/opcodes || exit 1; \
30720 case $(srcdir) in \
30721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30722 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
30723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30724 esac; \
30725 srcdiroption="--srcdir=$${topdir}/opcodes"; \
30726 libsrcdir="$$s/opcodes"; \
30727 $(SHELL) $${libsrcdir}/configure \
30728 $(HOST_CONFIGARGS) $${srcdiroption} \
30729 @stage2_werror_flag@
30731 maybe-all-stage2-opcodes: all-stage2-opcodes
30732 all-stage2-opcodes: configure-stage2-opcodes
30733 @$(MAKE) stage2-start
30734 @r=`${PWD_COMMAND}`; export r; \
30735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30736 $(STAGE_HOST_EXPORTS) \
30737 cd $(HOST_SUBDIR)/opcodes && \
30738 $(MAKE) $(FLAGS_TO_PASS) \
30739 $(POSTSTAGE1_FLAGS_TO_PASS) \
30742 maybe-clean-stage2-opcodes: clean-stage2-opcodes
30743 clean-stage2-opcodes:
30744 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
30745 || exit 0 ; \
30746 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
30747 cd $(HOST_SUBDIR)/opcodes && \
30748 $(MAKE) $(FLAGS_TO_PASS) \
30749 $(POSTSTAGE1_FLAGS_TO_PASS) \
30750 clean
30751 @endif opcodes-bootstrap
30754 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
30755 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
30756 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
30758 maybe-configure-stage2-binutils:
30759 maybe-all-stage2-binutils:
30760 maybe-clean-stage2-binutils:
30762 @if binutils-bootstrap
30763 maybe-configure-stage2-binutils: configure-stage2-binutils
30764 configure-stage2-binutils:
30765 @$(MAKE) stage2-start
30766 @[ -f binutils/Makefile ] && exit 0 || : ; \
30767 r=`${PWD_COMMAND}`; export r; \
30768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30769 $(STAGE_HOST_EXPORTS) \
30770 echo Configuring stage 2 in binutils ; \
30771 cd $(HOST_SUBDIR)/binutils || exit 1; \
30772 case $(srcdir) in \
30773 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30774 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
30775 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30776 esac; \
30777 srcdiroption="--srcdir=$${topdir}/binutils"; \
30778 libsrcdir="$$s/binutils"; \
30779 $(SHELL) $${libsrcdir}/configure \
30780 $(HOST_CONFIGARGS) $${srcdiroption} \
30781 @stage2_werror_flag@
30783 maybe-all-stage2-binutils: all-stage2-binutils
30784 all-stage2-binutils: configure-stage2-binutils
30785 @$(MAKE) stage2-start
30786 @r=`${PWD_COMMAND}`; export r; \
30787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30788 $(STAGE_HOST_EXPORTS) \
30789 cd $(HOST_SUBDIR)/binutils && \
30790 $(MAKE) $(FLAGS_TO_PASS) \
30791 $(POSTSTAGE1_FLAGS_TO_PASS) \
30794 maybe-clean-stage2-binutils: clean-stage2-binutils
30795 clean-stage2-binutils:
30796 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
30797 || exit 0 ; \
30798 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
30799 cd $(HOST_SUBDIR)/binutils && \
30800 $(MAKE) $(FLAGS_TO_PASS) \
30801 $(POSTSTAGE1_FLAGS_TO_PASS) \
30802 clean
30803 @endif binutils-bootstrap
30806 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
30807 .PHONY: all-stage2-gas maybe-all-stage2-gas
30808 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
30810 maybe-configure-stage2-gas:
30811 maybe-all-stage2-gas:
30812 maybe-clean-stage2-gas:
30814 @if gas-bootstrap
30815 maybe-configure-stage2-gas: configure-stage2-gas
30816 configure-stage2-gas:
30817 @$(MAKE) stage2-start
30818 @[ -f gas/Makefile ] && exit 0 || : ; \
30819 r=`${PWD_COMMAND}`; export r; \
30820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30821 $(STAGE_HOST_EXPORTS) \
30822 echo Configuring stage 2 in gas ; \
30823 cd $(HOST_SUBDIR)/gas || exit 1; \
30824 case $(srcdir) in \
30825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30826 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
30827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30828 esac; \
30829 srcdiroption="--srcdir=$${topdir}/gas"; \
30830 libsrcdir="$$s/gas"; \
30831 $(SHELL) $${libsrcdir}/configure \
30832 $(HOST_CONFIGARGS) $${srcdiroption} \
30833 @stage2_werror_flag@
30835 maybe-all-stage2-gas: all-stage2-gas
30836 all-stage2-gas: configure-stage2-gas
30837 @$(MAKE) stage2-start
30838 @r=`${PWD_COMMAND}`; export r; \
30839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30840 $(STAGE_HOST_EXPORTS) \
30841 cd $(HOST_SUBDIR)/gas && \
30842 $(MAKE) $(FLAGS_TO_PASS) \
30843 $(POSTSTAGE1_FLAGS_TO_PASS) \
30846 maybe-clean-stage2-gas: clean-stage2-gas
30847 clean-stage2-gas:
30848 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
30849 || exit 0 ; \
30850 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
30851 cd $(HOST_SUBDIR)/gas && \
30852 $(MAKE) $(FLAGS_TO_PASS) \
30853 $(POSTSTAGE1_FLAGS_TO_PASS) \
30854 clean
30855 @endif gas-bootstrap
30858 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
30859 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
30860 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
30862 maybe-configure-stage2-gcc:
30863 maybe-all-stage2-gcc:
30864 maybe-clean-stage2-gcc:
30866 @if gcc-bootstrap
30867 maybe-configure-stage2-gcc: configure-stage2-gcc
30868 configure-stage2-gcc:
30869 @$(MAKE) stage2-start
30870 @[ -f gcc/Makefile ] && exit 0 || : ; \
30871 r=`${PWD_COMMAND}`; export r; \
30872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30873 $(STAGE_HOST_EXPORTS) \
30874 echo Configuring stage 2 in gcc ; \
30875 cd $(HOST_SUBDIR)/gcc || exit 1; \
30876 case $(srcdir) in \
30877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30878 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
30879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30880 esac; \
30881 srcdiroption="--srcdir=$${topdir}/gcc"; \
30882 libsrcdir="$$s/gcc"; \
30883 $(SHELL) $${libsrcdir}/configure \
30884 $(HOST_CONFIGARGS) $${srcdiroption} \
30885 @stage2_werror_flag@
30887 maybe-all-stage2-gcc: all-stage2-gcc
30888 all-stage2-gcc: configure-stage2-gcc
30889 @$(MAKE) stage2-start
30890 @r=`${PWD_COMMAND}`; export r; \
30891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30892 $(STAGE_HOST_EXPORTS) \
30893 cd $(HOST_SUBDIR)/gcc && \
30894 $(MAKE) $(FLAGS_TO_PASS) \
30895 $(POSTSTAGE1_FLAGS_TO_PASS) \
30896 $(EXTRA_GCC_FLAGS)
30898 maybe-clean-stage2-gcc: clean-stage2-gcc
30899 clean-stage2-gcc:
30900 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
30901 || exit 0 ; \
30902 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
30903 cd $(HOST_SUBDIR)/gcc && \
30904 $(MAKE) $(FLAGS_TO_PASS) \
30905 $(POSTSTAGE1_FLAGS_TO_PASS) \
30906 $(EXTRA_GCC_FLAGS) clean
30907 @endif gcc-bootstrap
30910 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
30911 .PHONY: all-stage2-intl maybe-all-stage2-intl
30912 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
30914 maybe-configure-stage2-intl:
30915 maybe-all-stage2-intl:
30916 maybe-clean-stage2-intl:
30918 @if intl-bootstrap
30919 maybe-configure-stage2-intl: configure-stage2-intl
30920 configure-stage2-intl:
30921 @$(MAKE) stage2-start
30922 @[ -f intl/Makefile ] && exit 0 || : ; \
30923 r=`${PWD_COMMAND}`; export r; \
30924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30925 $(STAGE_HOST_EXPORTS) \
30926 echo Configuring stage 2 in intl ; \
30927 cd $(HOST_SUBDIR)/intl || exit 1; \
30928 case $(srcdir) in \
30929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30930 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
30931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30932 esac; \
30933 srcdiroption="--srcdir=$${topdir}/intl"; \
30934 libsrcdir="$$s/intl"; \
30935 $(SHELL) $${libsrcdir}/configure \
30936 $(HOST_CONFIGARGS) $${srcdiroption} \
30937 @stage2_werror_flag@
30939 maybe-all-stage2-intl: all-stage2-intl
30940 all-stage2-intl: configure-stage2-intl
30941 @$(MAKE) stage2-start
30942 @r=`${PWD_COMMAND}`; export r; \
30943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30944 $(STAGE_HOST_EXPORTS) \
30945 cd $(HOST_SUBDIR)/intl && \
30946 $(MAKE) $(FLAGS_TO_PASS) \
30947 $(POSTSTAGE1_FLAGS_TO_PASS) \
30950 maybe-clean-stage2-intl: clean-stage2-intl
30951 clean-stage2-intl:
30952 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
30953 || exit 0 ; \
30954 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
30955 cd $(HOST_SUBDIR)/intl && \
30956 $(MAKE) $(FLAGS_TO_PASS) \
30957 $(POSTSTAGE1_FLAGS_TO_PASS) \
30958 clean
30959 @endif intl-bootstrap
30962 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
30963 .PHONY: all-stage2-ld maybe-all-stage2-ld
30964 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
30966 maybe-configure-stage2-ld:
30967 maybe-all-stage2-ld:
30968 maybe-clean-stage2-ld:
30970 @if ld-bootstrap
30971 maybe-configure-stage2-ld: configure-stage2-ld
30972 configure-stage2-ld:
30973 @$(MAKE) stage2-start
30974 @[ -f ld/Makefile ] && exit 0 || : ; \
30975 r=`${PWD_COMMAND}`; export r; \
30976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30977 $(STAGE_HOST_EXPORTS) \
30978 echo Configuring stage 2 in ld ; \
30979 cd $(HOST_SUBDIR)/ld || exit 1; \
30980 case $(srcdir) in \
30981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30982 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
30983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30984 esac; \
30985 srcdiroption="--srcdir=$${topdir}/ld"; \
30986 libsrcdir="$$s/ld"; \
30987 $(SHELL) $${libsrcdir}/configure \
30988 $(HOST_CONFIGARGS) $${srcdiroption} \
30989 @stage2_werror_flag@
30991 maybe-all-stage2-ld: all-stage2-ld
30992 all-stage2-ld: configure-stage2-ld
30993 @$(MAKE) stage2-start
30994 @r=`${PWD_COMMAND}`; export r; \
30995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30996 $(STAGE_HOST_EXPORTS) \
30997 cd $(HOST_SUBDIR)/ld && \
30998 $(MAKE) $(FLAGS_TO_PASS) \
30999 $(POSTSTAGE1_FLAGS_TO_PASS) \
31002 maybe-clean-stage2-ld: clean-stage2-ld
31003 clean-stage2-ld:
31004 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
31005 || exit 0 ; \
31006 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
31007 cd $(HOST_SUBDIR)/ld && \
31008 $(MAKE) $(FLAGS_TO_PASS) \
31009 $(POSTSTAGE1_FLAGS_TO_PASS) \
31010 clean
31011 @endif ld-bootstrap
31014 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
31015 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
31016 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
31018 maybe-configure-stage2-libcpp:
31019 maybe-all-stage2-libcpp:
31020 maybe-clean-stage2-libcpp:
31022 @if libcpp-bootstrap
31023 maybe-configure-stage2-libcpp: configure-stage2-libcpp
31024 configure-stage2-libcpp:
31025 @$(MAKE) stage2-start
31026 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31027 r=`${PWD_COMMAND}`; export r; \
31028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31029 $(STAGE_HOST_EXPORTS) \
31030 echo Configuring stage 2 in libcpp ; \
31031 cd $(HOST_SUBDIR)/libcpp || exit 1; \
31032 case $(srcdir) in \
31033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31034 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
31035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31036 esac; \
31037 srcdiroption="--srcdir=$${topdir}/libcpp"; \
31038 libsrcdir="$$s/libcpp"; \
31039 $(SHELL) $${libsrcdir}/configure \
31040 $(HOST_CONFIGARGS) $${srcdiroption} \
31041 @stage2_werror_flag@
31043 maybe-all-stage2-libcpp: all-stage2-libcpp
31044 all-stage2-libcpp: configure-stage2-libcpp
31045 @$(MAKE) stage2-start
31046 @r=`${PWD_COMMAND}`; export r; \
31047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31048 $(STAGE_HOST_EXPORTS) \
31049 cd $(HOST_SUBDIR)/libcpp && \
31050 $(MAKE) $(FLAGS_TO_PASS) \
31051 $(POSTSTAGE1_FLAGS_TO_PASS) \
31054 maybe-clean-stage2-libcpp: clean-stage2-libcpp
31055 clean-stage2-libcpp:
31056 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
31057 || exit 0 ; \
31058 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
31059 cd $(HOST_SUBDIR)/libcpp && \
31060 $(MAKE) $(FLAGS_TO_PASS) \
31061 $(POSTSTAGE1_FLAGS_TO_PASS) \
31062 clean
31063 @endif libcpp-bootstrap
31066 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
31067 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
31068 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
31070 maybe-configure-stage2-libiberty:
31071 maybe-all-stage2-libiberty:
31072 maybe-clean-stage2-libiberty:
31074 @if libiberty-bootstrap
31075 maybe-configure-stage2-libiberty: configure-stage2-libiberty
31076 configure-stage2-libiberty:
31077 @$(MAKE) stage2-start
31078 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31079 r=`${PWD_COMMAND}`; export r; \
31080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31081 $(STAGE_HOST_EXPORTS) \
31082 echo Configuring stage 2 in libiberty ; \
31083 cd $(HOST_SUBDIR)/libiberty || exit 1; \
31084 case $(srcdir) in \
31085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31086 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
31087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31088 esac; \
31089 srcdiroption="--srcdir=$${topdir}/libiberty"; \
31090 libsrcdir="$$s/libiberty"; \
31091 $(SHELL) $${libsrcdir}/configure \
31092 $(HOST_CONFIGARGS) $${srcdiroption} \
31093 @stage2_werror_flag@
31095 maybe-all-stage2-libiberty: all-stage2-libiberty
31096 all-stage2-libiberty: configure-stage2-libiberty
31097 @$(MAKE) stage2-start
31098 @r=`${PWD_COMMAND}`; export r; \
31099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31100 $(STAGE_HOST_EXPORTS) \
31101 cd $(HOST_SUBDIR)/libiberty && \
31102 $(MAKE) $(FLAGS_TO_PASS) \
31103 $(POSTSTAGE1_FLAGS_TO_PASS) \
31106 maybe-clean-stage2-libiberty: clean-stage2-libiberty
31107 clean-stage2-libiberty:
31108 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
31109 || exit 0 ; \
31110 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
31111 cd $(HOST_SUBDIR)/libiberty && \
31112 $(MAKE) $(FLAGS_TO_PASS) \
31113 $(POSTSTAGE1_FLAGS_TO_PASS) \
31114 clean
31115 @endif libiberty-bootstrap
31118 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31119 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
31120 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
31122 maybe-configure-stage2-zlib:
31123 maybe-all-stage2-zlib:
31124 maybe-clean-stage2-zlib:
31126 @if zlib-bootstrap
31127 maybe-configure-stage2-zlib: configure-stage2-zlib
31128 configure-stage2-zlib:
31129 @$(MAKE) stage2-start
31130 @[ -f zlib/Makefile ] && exit 0 || : ; \
31131 r=`${PWD_COMMAND}`; export r; \
31132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31133 $(STAGE_HOST_EXPORTS) \
31134 echo Configuring stage 2 in zlib ; \
31135 cd $(HOST_SUBDIR)/zlib || exit 1; \
31136 case $(srcdir) in \
31137 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31138 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31139 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31140 esac; \
31141 srcdiroption="--srcdir=$${topdir}/zlib"; \
31142 libsrcdir="$$s/zlib"; \
31143 $(SHELL) $${libsrcdir}/configure \
31144 $(HOST_CONFIGARGS) $${srcdiroption} \
31145 @stage2_werror_flag@
31147 maybe-all-stage2-zlib: all-stage2-zlib
31148 all-stage2-zlib: configure-stage2-zlib
31149 @$(MAKE) stage2-start
31150 @r=`${PWD_COMMAND}`; export r; \
31151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31152 $(STAGE_HOST_EXPORTS) \
31153 cd $(HOST_SUBDIR)/zlib && \
31154 $(MAKE) $(FLAGS_TO_PASS) \
31155 $(POSTSTAGE1_FLAGS_TO_PASS) \
31158 maybe-clean-stage2-zlib: clean-stage2-zlib
31159 clean-stage2-zlib:
31160 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
31161 || exit 0 ; \
31162 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
31163 cd $(HOST_SUBDIR)/zlib && \
31164 $(MAKE) $(FLAGS_TO_PASS) \
31165 $(POSTSTAGE1_FLAGS_TO_PASS) \
31166 clean
31167 @endif zlib-bootstrap
31171 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31172 # only possibility, but now it conflicts with no-bootstrap rules
31173 @if gcc-bootstrap
31177 .PHONY: bootstrap2
31178 bootstrap2: stage2-bubble all
31181 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31182 distclean-stage1:: distclean-stage2
31183 .PHONY: distclean-stage2
31184 distclean-stage2::
31185 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31186 rm -rf stage2-*
31189 @endif gcc-bootstrap
31192 .PHONY: stage3-start stage3-end
31194 stage3-start::
31195 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31196 echo stage3 > stage_current ; \
31197 echo stage3 > stage_last; \
31198 $(mkinstalldirs) $(HOST_SUBDIR)
31199 @if bfd
31200 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
31201 mkdir stage3-bfd; \
31202 set stage3-bfd bfd ; \
31203 @CREATE_LINK_TO_DIR@ ; \
31204 set stage2-bfd prev-bfd ; \
31205 @CREATE_LINK_TO_DIR@
31206 @endif bfd
31207 @if opcodes
31208 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
31209 mkdir stage3-opcodes; \
31210 set stage3-opcodes opcodes ; \
31211 @CREATE_LINK_TO_DIR@ ; \
31212 set stage2-opcodes prev-opcodes ; \
31213 @CREATE_LINK_TO_DIR@
31214 @endif opcodes
31215 @if binutils
31216 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
31217 mkdir stage3-binutils; \
31218 set stage3-binutils binutils ; \
31219 @CREATE_LINK_TO_DIR@ ; \
31220 set stage2-binutils prev-binutils ; \
31221 @CREATE_LINK_TO_DIR@
31222 @endif binutils
31223 @if gas
31224 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
31225 mkdir stage3-gas; \
31226 set stage3-gas gas ; \
31227 @CREATE_LINK_TO_DIR@ ; \
31228 set stage2-gas prev-gas ; \
31229 @CREATE_LINK_TO_DIR@
31230 @endif gas
31231 @if gcc
31232 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
31233 mkdir stage3-gcc; \
31234 set stage3-gcc gcc ; \
31235 @CREATE_LINK_TO_DIR@ ; \
31236 set stage2-gcc prev-gcc ; \
31237 @CREATE_LINK_TO_DIR@
31238 @endif gcc
31239 @if intl
31240 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
31241 mkdir stage3-intl; \
31242 set stage3-intl intl ; \
31243 @CREATE_LINK_TO_DIR@ ; \
31244 set stage2-intl prev-intl ; \
31245 @CREATE_LINK_TO_DIR@
31246 @endif intl
31247 @if ld
31248 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
31249 mkdir stage3-ld; \
31250 set stage3-ld ld ; \
31251 @CREATE_LINK_TO_DIR@ ; \
31252 set stage2-ld prev-ld ; \
31253 @CREATE_LINK_TO_DIR@
31254 @endif ld
31255 @if libcpp
31256 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
31257 mkdir stage3-libcpp; \
31258 set stage3-libcpp libcpp ; \
31259 @CREATE_LINK_TO_DIR@ ; \
31260 set stage2-libcpp prev-libcpp ; \
31261 @CREATE_LINK_TO_DIR@
31262 @endif libcpp
31263 @if libiberty
31264 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
31265 mkdir stage3-libiberty; \
31266 set stage3-libiberty libiberty ; \
31267 @CREATE_LINK_TO_DIR@ ; \
31268 set stage2-libiberty prev-libiberty ; \
31269 @CREATE_LINK_TO_DIR@
31270 @endif libiberty
31271 @if zlib
31272 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
31273 mkdir stage3-zlib; \
31274 set stage3-zlib zlib ; \
31275 @CREATE_LINK_TO_DIR@ ; \
31276 set stage2-zlib prev-zlib ; \
31277 @CREATE_LINK_TO_DIR@
31278 @endif zlib
31280 stage3-end::
31281 @rm -f stage_current
31282 @if bfd
31283 @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
31284 @UNDO_LINK_TO_DIR@ ; \
31285 set prev-bfd stage2-bfd ; \
31286 @UNDO_LINK_TO_DIR@
31287 @endif bfd
31288 @if opcodes
31289 @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
31290 @UNDO_LINK_TO_DIR@ ; \
31291 set prev-opcodes stage2-opcodes ; \
31292 @UNDO_LINK_TO_DIR@
31293 @endif opcodes
31294 @if binutils
31295 @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
31296 @UNDO_LINK_TO_DIR@ ; \
31297 set prev-binutils stage2-binutils ; \
31298 @UNDO_LINK_TO_DIR@
31299 @endif binutils
31300 @if gas
31301 @cd $(HOST_SUBDIR); set gas stage3-gas ; \
31302 @UNDO_LINK_TO_DIR@ ; \
31303 set prev-gas stage2-gas ; \
31304 @UNDO_LINK_TO_DIR@
31305 @endif gas
31306 @if gcc
31307 @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
31308 @UNDO_LINK_TO_DIR@ ; \
31309 set prev-gcc stage2-gcc ; \
31310 @UNDO_LINK_TO_DIR@
31311 @endif gcc
31312 @if intl
31313 @cd $(HOST_SUBDIR); set intl stage3-intl ; \
31314 @UNDO_LINK_TO_DIR@ ; \
31315 set prev-intl stage2-intl ; \
31316 @UNDO_LINK_TO_DIR@
31317 @endif intl
31318 @if ld
31319 @cd $(HOST_SUBDIR); set ld stage3-ld ; \
31320 @UNDO_LINK_TO_DIR@ ; \
31321 set prev-ld stage2-ld ; \
31322 @UNDO_LINK_TO_DIR@
31323 @endif ld
31324 @if libcpp
31325 @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
31326 @UNDO_LINK_TO_DIR@ ; \
31327 set prev-libcpp stage2-libcpp ; \
31328 @UNDO_LINK_TO_DIR@
31329 @endif libcpp
31330 @if libiberty
31331 @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
31332 @UNDO_LINK_TO_DIR@ ; \
31333 set prev-libiberty stage2-libiberty ; \
31334 @UNDO_LINK_TO_DIR@
31335 @endif libiberty
31336 @if zlib
31337 @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
31338 @UNDO_LINK_TO_DIR@ ; \
31339 set prev-zlib stage2-zlib ; \
31340 @UNDO_LINK_TO_DIR@
31341 @endif zlib
31343 # Bubble a bugfix through all the stages up to stage 3. They
31344 # are remade, but not reconfigured. The next stage (if any) will not
31345 # be reconfigured as well.
31346 .PHONY: stage3-bubble
31347 stage3-bubble:: stage2-bubble
31348 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
31349 @if test -f stage3-lean || test -f stage2-lean ; then \
31350 echo Skipping rebuild of stage3 ; \
31351 else \
31352 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
31355 .PHONY: all-stage3 clean-stage3
31356 all-stage3: \
31357 maybe-all-stage3-bfd \
31358 maybe-all-stage3-opcodes \
31359 maybe-all-stage3-binutils \
31360 maybe-all-stage3-gas \
31361 maybe-all-stage3-gcc \
31362 maybe-all-stage3-intl \
31363 maybe-all-stage3-ld \
31364 maybe-all-stage3-libcpp \
31365 maybe-all-stage3-libiberty \
31366 maybe-all-stage3-zlib
31368 do-clean: clean-stage3
31369 clean-stage3: \
31370 maybe-clean-stage3-bfd \
31371 maybe-clean-stage3-opcodes \
31372 maybe-clean-stage3-binutils \
31373 maybe-clean-stage3-gas \
31374 maybe-clean-stage3-gcc \
31375 maybe-clean-stage3-intl \
31376 maybe-clean-stage3-ld \
31377 maybe-clean-stage3-libcpp \
31378 maybe-clean-stage3-libiberty \
31379 maybe-clean-stage3-zlib
31382 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
31383 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
31384 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
31386 maybe-configure-stage3-bfd:
31387 maybe-all-stage3-bfd:
31388 maybe-clean-stage3-bfd:
31390 @if bfd-bootstrap
31391 maybe-configure-stage3-bfd: configure-stage3-bfd
31392 configure-stage3-bfd:
31393 @$(MAKE) stage3-start
31394 @[ -f bfd/Makefile ] && exit 0 || : ; \
31395 r=`${PWD_COMMAND}`; export r; \
31396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31397 $(STAGE_HOST_EXPORTS) \
31398 echo Configuring stage 3 in bfd ; \
31399 cd $(HOST_SUBDIR)/bfd || exit 1; \
31400 case $(srcdir) in \
31401 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31402 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
31403 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31404 esac; \
31405 srcdiroption="--srcdir=$${topdir}/bfd"; \
31406 libsrcdir="$$s/bfd"; \
31407 $(SHELL) $${libsrcdir}/configure \
31408 $(HOST_CONFIGARGS) $${srcdiroption} \
31409 @stage2_werror_flag@
31411 maybe-all-stage3-bfd: all-stage3-bfd
31412 all-stage3-bfd: configure-stage3-bfd
31413 @$(MAKE) stage3-start
31414 @r=`${PWD_COMMAND}`; export r; \
31415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31416 $(STAGE_HOST_EXPORTS) \
31417 cd $(HOST_SUBDIR)/bfd && \
31418 $(MAKE) $(FLAGS_TO_PASS) \
31419 $(POSTSTAGE1_FLAGS_TO_PASS) \
31422 maybe-clean-stage3-bfd: clean-stage3-bfd
31423 clean-stage3-bfd:
31424 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
31425 || exit 0 ; \
31426 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
31427 cd $(HOST_SUBDIR)/bfd && \
31428 $(MAKE) $(FLAGS_TO_PASS) \
31429 $(POSTSTAGE1_FLAGS_TO_PASS) \
31430 clean
31431 @endif bfd-bootstrap
31434 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
31435 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
31436 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
31438 maybe-configure-stage3-opcodes:
31439 maybe-all-stage3-opcodes:
31440 maybe-clean-stage3-opcodes:
31442 @if opcodes-bootstrap
31443 maybe-configure-stage3-opcodes: configure-stage3-opcodes
31444 configure-stage3-opcodes:
31445 @$(MAKE) stage3-start
31446 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31447 r=`${PWD_COMMAND}`; export r; \
31448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31449 $(STAGE_HOST_EXPORTS) \
31450 echo Configuring stage 3 in opcodes ; \
31451 cd $(HOST_SUBDIR)/opcodes || exit 1; \
31452 case $(srcdir) in \
31453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31454 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
31455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31456 esac; \
31457 srcdiroption="--srcdir=$${topdir}/opcodes"; \
31458 libsrcdir="$$s/opcodes"; \
31459 $(SHELL) $${libsrcdir}/configure \
31460 $(HOST_CONFIGARGS) $${srcdiroption} \
31461 @stage2_werror_flag@
31463 maybe-all-stage3-opcodes: all-stage3-opcodes
31464 all-stage3-opcodes: configure-stage3-opcodes
31465 @$(MAKE) stage3-start
31466 @r=`${PWD_COMMAND}`; export r; \
31467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31468 $(STAGE_HOST_EXPORTS) \
31469 cd $(HOST_SUBDIR)/opcodes && \
31470 $(MAKE) $(FLAGS_TO_PASS) \
31471 $(POSTSTAGE1_FLAGS_TO_PASS) \
31474 maybe-clean-stage3-opcodes: clean-stage3-opcodes
31475 clean-stage3-opcodes:
31476 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
31477 || exit 0 ; \
31478 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
31479 cd $(HOST_SUBDIR)/opcodes && \
31480 $(MAKE) $(FLAGS_TO_PASS) \
31481 $(POSTSTAGE1_FLAGS_TO_PASS) \
31482 clean
31483 @endif opcodes-bootstrap
31486 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
31487 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
31488 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
31490 maybe-configure-stage3-binutils:
31491 maybe-all-stage3-binutils:
31492 maybe-clean-stage3-binutils:
31494 @if binutils-bootstrap
31495 maybe-configure-stage3-binutils: configure-stage3-binutils
31496 configure-stage3-binutils:
31497 @$(MAKE) stage3-start
31498 @[ -f binutils/Makefile ] && exit 0 || : ; \
31499 r=`${PWD_COMMAND}`; export r; \
31500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31501 $(STAGE_HOST_EXPORTS) \
31502 echo Configuring stage 3 in binutils ; \
31503 cd $(HOST_SUBDIR)/binutils || exit 1; \
31504 case $(srcdir) in \
31505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31506 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
31507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31508 esac; \
31509 srcdiroption="--srcdir=$${topdir}/binutils"; \
31510 libsrcdir="$$s/binutils"; \
31511 $(SHELL) $${libsrcdir}/configure \
31512 $(HOST_CONFIGARGS) $${srcdiroption} \
31513 @stage2_werror_flag@
31515 maybe-all-stage3-binutils: all-stage3-binutils
31516 all-stage3-binutils: configure-stage3-binutils
31517 @$(MAKE) stage3-start
31518 @r=`${PWD_COMMAND}`; export r; \
31519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31520 $(STAGE_HOST_EXPORTS) \
31521 cd $(HOST_SUBDIR)/binutils && \
31522 $(MAKE) $(FLAGS_TO_PASS) \
31523 $(POSTSTAGE1_FLAGS_TO_PASS) \
31526 maybe-clean-stage3-binutils: clean-stage3-binutils
31527 clean-stage3-binutils:
31528 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
31529 || exit 0 ; \
31530 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
31531 cd $(HOST_SUBDIR)/binutils && \
31532 $(MAKE) $(FLAGS_TO_PASS) \
31533 $(POSTSTAGE1_FLAGS_TO_PASS) \
31534 clean
31535 @endif binutils-bootstrap
31538 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
31539 .PHONY: all-stage3-gas maybe-all-stage3-gas
31540 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
31542 maybe-configure-stage3-gas:
31543 maybe-all-stage3-gas:
31544 maybe-clean-stage3-gas:
31546 @if gas-bootstrap
31547 maybe-configure-stage3-gas: configure-stage3-gas
31548 configure-stage3-gas:
31549 @$(MAKE) stage3-start
31550 @[ -f gas/Makefile ] && exit 0 || : ; \
31551 r=`${PWD_COMMAND}`; export r; \
31552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31553 $(STAGE_HOST_EXPORTS) \
31554 echo Configuring stage 3 in gas ; \
31555 cd $(HOST_SUBDIR)/gas || exit 1; \
31556 case $(srcdir) in \
31557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31558 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
31559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31560 esac; \
31561 srcdiroption="--srcdir=$${topdir}/gas"; \
31562 libsrcdir="$$s/gas"; \
31563 $(SHELL) $${libsrcdir}/configure \
31564 $(HOST_CONFIGARGS) $${srcdiroption} \
31565 @stage2_werror_flag@
31567 maybe-all-stage3-gas: all-stage3-gas
31568 all-stage3-gas: configure-stage3-gas
31569 @$(MAKE) stage3-start
31570 @r=`${PWD_COMMAND}`; export r; \
31571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31572 $(STAGE_HOST_EXPORTS) \
31573 cd $(HOST_SUBDIR)/gas && \
31574 $(MAKE) $(FLAGS_TO_PASS) \
31575 $(POSTSTAGE1_FLAGS_TO_PASS) \
31578 maybe-clean-stage3-gas: clean-stage3-gas
31579 clean-stage3-gas:
31580 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
31581 || exit 0 ; \
31582 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
31583 cd $(HOST_SUBDIR)/gas && \
31584 $(MAKE) $(FLAGS_TO_PASS) \
31585 $(POSTSTAGE1_FLAGS_TO_PASS) \
31586 clean
31587 @endif gas-bootstrap
31590 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
31591 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
31592 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
31594 maybe-configure-stage3-gcc:
31595 maybe-all-stage3-gcc:
31596 maybe-clean-stage3-gcc:
31598 @if gcc-bootstrap
31599 maybe-configure-stage3-gcc: configure-stage3-gcc
31600 configure-stage3-gcc:
31601 @$(MAKE) stage3-start
31602 @[ -f gcc/Makefile ] && exit 0 || : ; \
31603 r=`${PWD_COMMAND}`; export r; \
31604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31605 $(STAGE_HOST_EXPORTS) \
31606 echo Configuring stage 3 in gcc ; \
31607 cd $(HOST_SUBDIR)/gcc || exit 1; \
31608 case $(srcdir) in \
31609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31610 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
31611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31612 esac; \
31613 srcdiroption="--srcdir=$${topdir}/gcc"; \
31614 libsrcdir="$$s/gcc"; \
31615 $(SHELL) $${libsrcdir}/configure \
31616 $(HOST_CONFIGARGS) $${srcdiroption} \
31617 @stage2_werror_flag@
31619 maybe-all-stage3-gcc: all-stage3-gcc
31620 all-stage3-gcc: configure-stage3-gcc
31621 @$(MAKE) stage3-start
31622 @r=`${PWD_COMMAND}`; export r; \
31623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31624 $(STAGE_HOST_EXPORTS) \
31625 cd $(HOST_SUBDIR)/gcc && \
31626 $(MAKE) $(FLAGS_TO_PASS) \
31627 $(POSTSTAGE1_FLAGS_TO_PASS) \
31628 $(EXTRA_GCC_FLAGS)
31630 maybe-clean-stage3-gcc: clean-stage3-gcc
31631 clean-stage3-gcc:
31632 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
31633 || exit 0 ; \
31634 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
31635 cd $(HOST_SUBDIR)/gcc && \
31636 $(MAKE) $(FLAGS_TO_PASS) \
31637 $(POSTSTAGE1_FLAGS_TO_PASS) \
31638 $(EXTRA_GCC_FLAGS) clean
31639 @endif gcc-bootstrap
31642 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
31643 .PHONY: all-stage3-intl maybe-all-stage3-intl
31644 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
31646 maybe-configure-stage3-intl:
31647 maybe-all-stage3-intl:
31648 maybe-clean-stage3-intl:
31650 @if intl-bootstrap
31651 maybe-configure-stage3-intl: configure-stage3-intl
31652 configure-stage3-intl:
31653 @$(MAKE) stage3-start
31654 @[ -f intl/Makefile ] && exit 0 || : ; \
31655 r=`${PWD_COMMAND}`; export r; \
31656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31657 $(STAGE_HOST_EXPORTS) \
31658 echo Configuring stage 3 in intl ; \
31659 cd $(HOST_SUBDIR)/intl || exit 1; \
31660 case $(srcdir) in \
31661 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31662 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
31663 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31664 esac; \
31665 srcdiroption="--srcdir=$${topdir}/intl"; \
31666 libsrcdir="$$s/intl"; \
31667 $(SHELL) $${libsrcdir}/configure \
31668 $(HOST_CONFIGARGS) $${srcdiroption} \
31669 @stage2_werror_flag@
31671 maybe-all-stage3-intl: all-stage3-intl
31672 all-stage3-intl: configure-stage3-intl
31673 @$(MAKE) stage3-start
31674 @r=`${PWD_COMMAND}`; export r; \
31675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31676 $(STAGE_HOST_EXPORTS) \
31677 cd $(HOST_SUBDIR)/intl && \
31678 $(MAKE) $(FLAGS_TO_PASS) \
31679 $(POSTSTAGE1_FLAGS_TO_PASS) \
31682 maybe-clean-stage3-intl: clean-stage3-intl
31683 clean-stage3-intl:
31684 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
31685 || exit 0 ; \
31686 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
31687 cd $(HOST_SUBDIR)/intl && \
31688 $(MAKE) $(FLAGS_TO_PASS) \
31689 $(POSTSTAGE1_FLAGS_TO_PASS) \
31690 clean
31691 @endif intl-bootstrap
31694 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
31695 .PHONY: all-stage3-ld maybe-all-stage3-ld
31696 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
31698 maybe-configure-stage3-ld:
31699 maybe-all-stage3-ld:
31700 maybe-clean-stage3-ld:
31702 @if ld-bootstrap
31703 maybe-configure-stage3-ld: configure-stage3-ld
31704 configure-stage3-ld:
31705 @$(MAKE) stage3-start
31706 @[ -f ld/Makefile ] && exit 0 || : ; \
31707 r=`${PWD_COMMAND}`; export r; \
31708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31709 $(STAGE_HOST_EXPORTS) \
31710 echo Configuring stage 3 in ld ; \
31711 cd $(HOST_SUBDIR)/ld || exit 1; \
31712 case $(srcdir) in \
31713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31714 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
31715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31716 esac; \
31717 srcdiroption="--srcdir=$${topdir}/ld"; \
31718 libsrcdir="$$s/ld"; \
31719 $(SHELL) $${libsrcdir}/configure \
31720 $(HOST_CONFIGARGS) $${srcdiroption} \
31721 @stage2_werror_flag@
31723 maybe-all-stage3-ld: all-stage3-ld
31724 all-stage3-ld: configure-stage3-ld
31725 @$(MAKE) stage3-start
31726 @r=`${PWD_COMMAND}`; export r; \
31727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31728 $(STAGE_HOST_EXPORTS) \
31729 cd $(HOST_SUBDIR)/ld && \
31730 $(MAKE) $(FLAGS_TO_PASS) \
31731 $(POSTSTAGE1_FLAGS_TO_PASS) \
31734 maybe-clean-stage3-ld: clean-stage3-ld
31735 clean-stage3-ld:
31736 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
31737 || exit 0 ; \
31738 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
31739 cd $(HOST_SUBDIR)/ld && \
31740 $(MAKE) $(FLAGS_TO_PASS) \
31741 $(POSTSTAGE1_FLAGS_TO_PASS) \
31742 clean
31743 @endif ld-bootstrap
31746 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
31747 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
31748 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
31750 maybe-configure-stage3-libcpp:
31751 maybe-all-stage3-libcpp:
31752 maybe-clean-stage3-libcpp:
31754 @if libcpp-bootstrap
31755 maybe-configure-stage3-libcpp: configure-stage3-libcpp
31756 configure-stage3-libcpp:
31757 @$(MAKE) stage3-start
31758 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31759 r=`${PWD_COMMAND}`; export r; \
31760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31761 $(STAGE_HOST_EXPORTS) \
31762 echo Configuring stage 3 in libcpp ; \
31763 cd $(HOST_SUBDIR)/libcpp || exit 1; \
31764 case $(srcdir) in \
31765 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31766 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
31767 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31768 esac; \
31769 srcdiroption="--srcdir=$${topdir}/libcpp"; \
31770 libsrcdir="$$s/libcpp"; \
31771 $(SHELL) $${libsrcdir}/configure \
31772 $(HOST_CONFIGARGS) $${srcdiroption} \
31773 @stage2_werror_flag@
31775 maybe-all-stage3-libcpp: all-stage3-libcpp
31776 all-stage3-libcpp: configure-stage3-libcpp
31777 @$(MAKE) stage3-start
31778 @r=`${PWD_COMMAND}`; export r; \
31779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31780 $(STAGE_HOST_EXPORTS) \
31781 cd $(HOST_SUBDIR)/libcpp && \
31782 $(MAKE) $(FLAGS_TO_PASS) \
31783 $(POSTSTAGE1_FLAGS_TO_PASS) \
31786 maybe-clean-stage3-libcpp: clean-stage3-libcpp
31787 clean-stage3-libcpp:
31788 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
31789 || exit 0 ; \
31790 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
31791 cd $(HOST_SUBDIR)/libcpp && \
31792 $(MAKE) $(FLAGS_TO_PASS) \
31793 $(POSTSTAGE1_FLAGS_TO_PASS) \
31794 clean
31795 @endif libcpp-bootstrap
31798 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
31799 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
31800 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
31802 maybe-configure-stage3-libiberty:
31803 maybe-all-stage3-libiberty:
31804 maybe-clean-stage3-libiberty:
31806 @if libiberty-bootstrap
31807 maybe-configure-stage3-libiberty: configure-stage3-libiberty
31808 configure-stage3-libiberty:
31809 @$(MAKE) stage3-start
31810 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31811 r=`${PWD_COMMAND}`; export r; \
31812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31813 $(STAGE_HOST_EXPORTS) \
31814 echo Configuring stage 3 in libiberty ; \
31815 cd $(HOST_SUBDIR)/libiberty || exit 1; \
31816 case $(srcdir) in \
31817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31818 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
31819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31820 esac; \
31821 srcdiroption="--srcdir=$${topdir}/libiberty"; \
31822 libsrcdir="$$s/libiberty"; \
31823 $(SHELL) $${libsrcdir}/configure \
31824 $(HOST_CONFIGARGS) $${srcdiroption} \
31825 @stage2_werror_flag@
31827 maybe-all-stage3-libiberty: all-stage3-libiberty
31828 all-stage3-libiberty: configure-stage3-libiberty
31829 @$(MAKE) stage3-start
31830 @r=`${PWD_COMMAND}`; export r; \
31831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31832 $(STAGE_HOST_EXPORTS) \
31833 cd $(HOST_SUBDIR)/libiberty && \
31834 $(MAKE) $(FLAGS_TO_PASS) \
31835 $(POSTSTAGE1_FLAGS_TO_PASS) \
31838 maybe-clean-stage3-libiberty: clean-stage3-libiberty
31839 clean-stage3-libiberty:
31840 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
31841 || exit 0 ; \
31842 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
31843 cd $(HOST_SUBDIR)/libiberty && \
31844 $(MAKE) $(FLAGS_TO_PASS) \
31845 $(POSTSTAGE1_FLAGS_TO_PASS) \
31846 clean
31847 @endif libiberty-bootstrap
31850 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
31851 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
31852 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
31854 maybe-configure-stage3-zlib:
31855 maybe-all-stage3-zlib:
31856 maybe-clean-stage3-zlib:
31858 @if zlib-bootstrap
31859 maybe-configure-stage3-zlib: configure-stage3-zlib
31860 configure-stage3-zlib:
31861 @$(MAKE) stage3-start
31862 @[ -f zlib/Makefile ] && exit 0 || : ; \
31863 r=`${PWD_COMMAND}`; export r; \
31864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31865 $(STAGE_HOST_EXPORTS) \
31866 echo Configuring stage 3 in zlib ; \
31867 cd $(HOST_SUBDIR)/zlib || exit 1; \
31868 case $(srcdir) in \
31869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31870 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31872 esac; \
31873 srcdiroption="--srcdir=$${topdir}/zlib"; \
31874 libsrcdir="$$s/zlib"; \
31875 $(SHELL) $${libsrcdir}/configure \
31876 $(HOST_CONFIGARGS) $${srcdiroption} \
31877 @stage2_werror_flag@
31879 maybe-all-stage3-zlib: all-stage3-zlib
31880 all-stage3-zlib: configure-stage3-zlib
31881 @$(MAKE) stage3-start
31882 @r=`${PWD_COMMAND}`; export r; \
31883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31884 $(STAGE_HOST_EXPORTS) \
31885 cd $(HOST_SUBDIR)/zlib && \
31886 $(MAKE) $(FLAGS_TO_PASS) \
31887 $(POSTSTAGE1_FLAGS_TO_PASS) \
31890 maybe-clean-stage3-zlib: clean-stage3-zlib
31891 clean-stage3-zlib:
31892 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
31893 || exit 0 ; \
31894 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
31895 cd $(HOST_SUBDIR)/zlib && \
31896 $(MAKE) $(FLAGS_TO_PASS) \
31897 $(POSTSTAGE1_FLAGS_TO_PASS) \
31898 clean
31899 @endif zlib-bootstrap
31903 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31904 # only possibility, but now it conflicts with no-bootstrap rules
31905 @if gcc-bootstrap
31907 compare:
31908 @if test -f stage2-lean; then \
31909 echo Cannot compare object files as stage 2 was deleted. ; \
31910 exit 0 ; \
31911 fi; \
31912 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31913 @r=`${PWD_COMMAND}`; export r; \
31914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31915 rm -f .bad_compare ; \
31916 cd stage3-gcc; \
31917 files=`find . -name "*$(objext)" -print` ; \
31918 cd .. ; \
31919 for file in $${files} ; do \
31920 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
31921 @do_compare@ > /dev/null 2>&1; \
31922 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
31923 done ; \
31924 if [ -f .bad_compare ]; then \
31925 echo "Bootstrap comparison failure!"; \
31926 cat .bad_compare; \
31927 exit 1; \
31928 else \
31929 true; \
31930 fi ; \
31931 $(STAMP) compare
31932 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
31936 .PHONY: bootstrap
31937 bootstrap: stage3-bubble compare all
31940 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31941 distclean-stage2:: distclean-stage3
31942 .PHONY: distclean-stage3
31943 distclean-stage3::
31944 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31945 rm -rf stage3-* compare
31948 .PHONY: cleanstrap
31949 cleanstrap: distclean bootstrap
31951 @endif gcc-bootstrap
31954 .PHONY: stage4-start stage4-end
31956 stage4-start::
31957 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31958 echo stage4 > stage_current ; \
31959 echo stage4 > stage_last; \
31960 $(mkinstalldirs) $(HOST_SUBDIR)
31961 @if bfd
31962 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
31963 mkdir stage4-bfd; \
31964 set stage4-bfd bfd ; \
31965 @CREATE_LINK_TO_DIR@ ; \
31966 set stage3-bfd prev-bfd ; \
31967 @CREATE_LINK_TO_DIR@
31968 @endif bfd
31969 @if opcodes
31970 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
31971 mkdir stage4-opcodes; \
31972 set stage4-opcodes opcodes ; \
31973 @CREATE_LINK_TO_DIR@ ; \
31974 set stage3-opcodes prev-opcodes ; \
31975 @CREATE_LINK_TO_DIR@
31976 @endif opcodes
31977 @if binutils
31978 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
31979 mkdir stage4-binutils; \
31980 set stage4-binutils binutils ; \
31981 @CREATE_LINK_TO_DIR@ ; \
31982 set stage3-binutils prev-binutils ; \
31983 @CREATE_LINK_TO_DIR@
31984 @endif binutils
31985 @if gas
31986 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
31987 mkdir stage4-gas; \
31988 set stage4-gas gas ; \
31989 @CREATE_LINK_TO_DIR@ ; \
31990 set stage3-gas prev-gas ; \
31991 @CREATE_LINK_TO_DIR@
31992 @endif gas
31993 @if gcc
31994 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
31995 mkdir stage4-gcc; \
31996 set stage4-gcc gcc ; \
31997 @CREATE_LINK_TO_DIR@ ; \
31998 set stage3-gcc prev-gcc ; \
31999 @CREATE_LINK_TO_DIR@
32000 @endif gcc
32001 @if intl
32002 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
32003 mkdir stage4-intl; \
32004 set stage4-intl intl ; \
32005 @CREATE_LINK_TO_DIR@ ; \
32006 set stage3-intl prev-intl ; \
32007 @CREATE_LINK_TO_DIR@
32008 @endif intl
32009 @if ld
32010 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
32011 mkdir stage4-ld; \
32012 set stage4-ld ld ; \
32013 @CREATE_LINK_TO_DIR@ ; \
32014 set stage3-ld prev-ld ; \
32015 @CREATE_LINK_TO_DIR@
32016 @endif ld
32017 @if libcpp
32018 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
32019 mkdir stage4-libcpp; \
32020 set stage4-libcpp libcpp ; \
32021 @CREATE_LINK_TO_DIR@ ; \
32022 set stage3-libcpp prev-libcpp ; \
32023 @CREATE_LINK_TO_DIR@
32024 @endif libcpp
32025 @if libiberty
32026 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
32027 mkdir stage4-libiberty; \
32028 set stage4-libiberty libiberty ; \
32029 @CREATE_LINK_TO_DIR@ ; \
32030 set stage3-libiberty prev-libiberty ; \
32031 @CREATE_LINK_TO_DIR@
32032 @endif libiberty
32033 @if zlib
32034 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
32035 mkdir stage4-zlib; \
32036 set stage4-zlib zlib ; \
32037 @CREATE_LINK_TO_DIR@ ; \
32038 set stage3-zlib prev-zlib ; \
32039 @CREATE_LINK_TO_DIR@
32040 @endif zlib
32042 stage4-end::
32043 @rm -f stage_current
32044 @if bfd
32045 @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
32046 @UNDO_LINK_TO_DIR@ ; \
32047 set prev-bfd stage3-bfd ; \
32048 @UNDO_LINK_TO_DIR@
32049 @endif bfd
32050 @if opcodes
32051 @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
32052 @UNDO_LINK_TO_DIR@ ; \
32053 set prev-opcodes stage3-opcodes ; \
32054 @UNDO_LINK_TO_DIR@
32055 @endif opcodes
32056 @if binutils
32057 @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
32058 @UNDO_LINK_TO_DIR@ ; \
32059 set prev-binutils stage3-binutils ; \
32060 @UNDO_LINK_TO_DIR@
32061 @endif binutils
32062 @if gas
32063 @cd $(HOST_SUBDIR); set gas stage4-gas ; \
32064 @UNDO_LINK_TO_DIR@ ; \
32065 set prev-gas stage3-gas ; \
32066 @UNDO_LINK_TO_DIR@
32067 @endif gas
32068 @if gcc
32069 @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
32070 @UNDO_LINK_TO_DIR@ ; \
32071 set prev-gcc stage3-gcc ; \
32072 @UNDO_LINK_TO_DIR@
32073 @endif gcc
32074 @if intl
32075 @cd $(HOST_SUBDIR); set intl stage4-intl ; \
32076 @UNDO_LINK_TO_DIR@ ; \
32077 set prev-intl stage3-intl ; \
32078 @UNDO_LINK_TO_DIR@
32079 @endif intl
32080 @if ld
32081 @cd $(HOST_SUBDIR); set ld stage4-ld ; \
32082 @UNDO_LINK_TO_DIR@ ; \
32083 set prev-ld stage3-ld ; \
32084 @UNDO_LINK_TO_DIR@
32085 @endif ld
32086 @if libcpp
32087 @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
32088 @UNDO_LINK_TO_DIR@ ; \
32089 set prev-libcpp stage3-libcpp ; \
32090 @UNDO_LINK_TO_DIR@
32091 @endif libcpp
32092 @if libiberty
32093 @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
32094 @UNDO_LINK_TO_DIR@ ; \
32095 set prev-libiberty stage3-libiberty ; \
32096 @UNDO_LINK_TO_DIR@
32097 @endif libiberty
32098 @if zlib
32099 @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
32100 @UNDO_LINK_TO_DIR@ ; \
32101 set prev-zlib stage3-zlib ; \
32102 @UNDO_LINK_TO_DIR@
32103 @endif zlib
32105 # Bubble a bugfix through all the stages up to stage 4. They
32106 # are remade, but not reconfigured. The next stage (if any) will not
32107 # be reconfigured as well.
32108 .PHONY: stage4-bubble
32109 stage4-bubble:: stage3-bubble
32110 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32111 @if test -f stage4-lean || test -f stage3-lean ; then \
32112 echo Skipping rebuild of stage4 ; \
32113 else \
32114 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
32117 .PHONY: all-stage4 clean-stage4
32118 all-stage4: \
32119 maybe-all-stage4-bfd \
32120 maybe-all-stage4-opcodes \
32121 maybe-all-stage4-binutils \
32122 maybe-all-stage4-gas \
32123 maybe-all-stage4-gcc \
32124 maybe-all-stage4-intl \
32125 maybe-all-stage4-ld \
32126 maybe-all-stage4-libcpp \
32127 maybe-all-stage4-libiberty \
32128 maybe-all-stage4-zlib
32130 do-clean: clean-stage4
32131 clean-stage4: \
32132 maybe-clean-stage4-bfd \
32133 maybe-clean-stage4-opcodes \
32134 maybe-clean-stage4-binutils \
32135 maybe-clean-stage4-gas \
32136 maybe-clean-stage4-gcc \
32137 maybe-clean-stage4-intl \
32138 maybe-clean-stage4-ld \
32139 maybe-clean-stage4-libcpp \
32140 maybe-clean-stage4-libiberty \
32141 maybe-clean-stage4-zlib
32144 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
32145 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
32146 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
32148 maybe-configure-stage4-bfd:
32149 maybe-all-stage4-bfd:
32150 maybe-clean-stage4-bfd:
32152 @if bfd-bootstrap
32153 maybe-configure-stage4-bfd: configure-stage4-bfd
32154 configure-stage4-bfd:
32155 @$(MAKE) stage4-start
32156 @[ -f bfd/Makefile ] && exit 0 || : ; \
32157 r=`${PWD_COMMAND}`; export r; \
32158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32159 $(STAGE_HOST_EXPORTS) \
32160 echo Configuring stage 4 in bfd ; \
32161 cd $(HOST_SUBDIR)/bfd || exit 1; \
32162 case $(srcdir) in \
32163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32164 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
32165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32166 esac; \
32167 srcdiroption="--srcdir=$${topdir}/bfd"; \
32168 libsrcdir="$$s/bfd"; \
32169 $(SHELL) $${libsrcdir}/configure \
32170 $(HOST_CONFIGARGS) $${srcdiroption} \
32171 @stage2_werror_flag@
32173 maybe-all-stage4-bfd: all-stage4-bfd
32174 all-stage4-bfd: configure-stage4-bfd
32175 @$(MAKE) stage4-start
32176 @r=`${PWD_COMMAND}`; export r; \
32177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32178 $(STAGE_HOST_EXPORTS) \
32179 cd $(HOST_SUBDIR)/bfd && \
32180 $(MAKE) $(FLAGS_TO_PASS) \
32181 $(POSTSTAGE1_FLAGS_TO_PASS) \
32184 maybe-clean-stage4-bfd: clean-stage4-bfd
32185 clean-stage4-bfd:
32186 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
32187 || exit 0 ; \
32188 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
32189 cd $(HOST_SUBDIR)/bfd && \
32190 $(MAKE) $(FLAGS_TO_PASS) \
32191 $(POSTSTAGE1_FLAGS_TO_PASS) \
32192 clean
32193 @endif bfd-bootstrap
32196 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
32197 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
32198 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
32200 maybe-configure-stage4-opcodes:
32201 maybe-all-stage4-opcodes:
32202 maybe-clean-stage4-opcodes:
32204 @if opcodes-bootstrap
32205 maybe-configure-stage4-opcodes: configure-stage4-opcodes
32206 configure-stage4-opcodes:
32207 @$(MAKE) stage4-start
32208 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32209 r=`${PWD_COMMAND}`; export r; \
32210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32211 $(STAGE_HOST_EXPORTS) \
32212 echo Configuring stage 4 in opcodes ; \
32213 cd $(HOST_SUBDIR)/opcodes || exit 1; \
32214 case $(srcdir) in \
32215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32216 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
32217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32218 esac; \
32219 srcdiroption="--srcdir=$${topdir}/opcodes"; \
32220 libsrcdir="$$s/opcodes"; \
32221 $(SHELL) $${libsrcdir}/configure \
32222 $(HOST_CONFIGARGS) $${srcdiroption} \
32223 @stage2_werror_flag@
32225 maybe-all-stage4-opcodes: all-stage4-opcodes
32226 all-stage4-opcodes: configure-stage4-opcodes
32227 @$(MAKE) stage4-start
32228 @r=`${PWD_COMMAND}`; export r; \
32229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32230 $(STAGE_HOST_EXPORTS) \
32231 cd $(HOST_SUBDIR)/opcodes && \
32232 $(MAKE) $(FLAGS_TO_PASS) \
32233 $(POSTSTAGE1_FLAGS_TO_PASS) \
32236 maybe-clean-stage4-opcodes: clean-stage4-opcodes
32237 clean-stage4-opcodes:
32238 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
32239 || exit 0 ; \
32240 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
32241 cd $(HOST_SUBDIR)/opcodes && \
32242 $(MAKE) $(FLAGS_TO_PASS) \
32243 $(POSTSTAGE1_FLAGS_TO_PASS) \
32244 clean
32245 @endif opcodes-bootstrap
32248 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
32249 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
32250 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
32252 maybe-configure-stage4-binutils:
32253 maybe-all-stage4-binutils:
32254 maybe-clean-stage4-binutils:
32256 @if binutils-bootstrap
32257 maybe-configure-stage4-binutils: configure-stage4-binutils
32258 configure-stage4-binutils:
32259 @$(MAKE) stage4-start
32260 @[ -f binutils/Makefile ] && exit 0 || : ; \
32261 r=`${PWD_COMMAND}`; export r; \
32262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32263 $(STAGE_HOST_EXPORTS) \
32264 echo Configuring stage 4 in binutils ; \
32265 cd $(HOST_SUBDIR)/binutils || exit 1; \
32266 case $(srcdir) in \
32267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32268 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
32269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32270 esac; \
32271 srcdiroption="--srcdir=$${topdir}/binutils"; \
32272 libsrcdir="$$s/binutils"; \
32273 $(SHELL) $${libsrcdir}/configure \
32274 $(HOST_CONFIGARGS) $${srcdiroption} \
32275 @stage2_werror_flag@
32277 maybe-all-stage4-binutils: all-stage4-binutils
32278 all-stage4-binutils: configure-stage4-binutils
32279 @$(MAKE) stage4-start
32280 @r=`${PWD_COMMAND}`; export r; \
32281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32282 $(STAGE_HOST_EXPORTS) \
32283 cd $(HOST_SUBDIR)/binutils && \
32284 $(MAKE) $(FLAGS_TO_PASS) \
32285 $(POSTSTAGE1_FLAGS_TO_PASS) \
32288 maybe-clean-stage4-binutils: clean-stage4-binutils
32289 clean-stage4-binutils:
32290 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
32291 || exit 0 ; \
32292 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
32293 cd $(HOST_SUBDIR)/binutils && \
32294 $(MAKE) $(FLAGS_TO_PASS) \
32295 $(POSTSTAGE1_FLAGS_TO_PASS) \
32296 clean
32297 @endif binutils-bootstrap
32300 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
32301 .PHONY: all-stage4-gas maybe-all-stage4-gas
32302 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
32304 maybe-configure-stage4-gas:
32305 maybe-all-stage4-gas:
32306 maybe-clean-stage4-gas:
32308 @if gas-bootstrap
32309 maybe-configure-stage4-gas: configure-stage4-gas
32310 configure-stage4-gas:
32311 @$(MAKE) stage4-start
32312 @[ -f gas/Makefile ] && exit 0 || : ; \
32313 r=`${PWD_COMMAND}`; export r; \
32314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32315 $(STAGE_HOST_EXPORTS) \
32316 echo Configuring stage 4 in gas ; \
32317 cd $(HOST_SUBDIR)/gas || exit 1; \
32318 case $(srcdir) in \
32319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32320 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
32321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32322 esac; \
32323 srcdiroption="--srcdir=$${topdir}/gas"; \
32324 libsrcdir="$$s/gas"; \
32325 $(SHELL) $${libsrcdir}/configure \
32326 $(HOST_CONFIGARGS) $${srcdiroption} \
32327 @stage2_werror_flag@
32329 maybe-all-stage4-gas: all-stage4-gas
32330 all-stage4-gas: configure-stage4-gas
32331 @$(MAKE) stage4-start
32332 @r=`${PWD_COMMAND}`; export r; \
32333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32334 $(STAGE_HOST_EXPORTS) \
32335 cd $(HOST_SUBDIR)/gas && \
32336 $(MAKE) $(FLAGS_TO_PASS) \
32337 $(POSTSTAGE1_FLAGS_TO_PASS) \
32340 maybe-clean-stage4-gas: clean-stage4-gas
32341 clean-stage4-gas:
32342 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
32343 || exit 0 ; \
32344 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
32345 cd $(HOST_SUBDIR)/gas && \
32346 $(MAKE) $(FLAGS_TO_PASS) \
32347 $(POSTSTAGE1_FLAGS_TO_PASS) \
32348 clean
32349 @endif gas-bootstrap
32352 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
32353 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
32354 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
32356 maybe-configure-stage4-gcc:
32357 maybe-all-stage4-gcc:
32358 maybe-clean-stage4-gcc:
32360 @if gcc-bootstrap
32361 maybe-configure-stage4-gcc: configure-stage4-gcc
32362 configure-stage4-gcc:
32363 @$(MAKE) stage4-start
32364 @[ -f gcc/Makefile ] && exit 0 || : ; \
32365 r=`${PWD_COMMAND}`; export r; \
32366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32367 $(STAGE_HOST_EXPORTS) \
32368 echo Configuring stage 4 in gcc ; \
32369 cd $(HOST_SUBDIR)/gcc || exit 1; \
32370 case $(srcdir) in \
32371 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32372 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
32373 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32374 esac; \
32375 srcdiroption="--srcdir=$${topdir}/gcc"; \
32376 libsrcdir="$$s/gcc"; \
32377 $(SHELL) $${libsrcdir}/configure \
32378 $(HOST_CONFIGARGS) $${srcdiroption} \
32379 @stage2_werror_flag@
32381 maybe-all-stage4-gcc: all-stage4-gcc
32382 all-stage4-gcc: configure-stage4-gcc
32383 @$(MAKE) stage4-start
32384 @r=`${PWD_COMMAND}`; export r; \
32385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32386 $(STAGE_HOST_EXPORTS) \
32387 cd $(HOST_SUBDIR)/gcc && \
32388 $(MAKE) $(FLAGS_TO_PASS) \
32389 $(POSTSTAGE1_FLAGS_TO_PASS) \
32390 $(EXTRA_GCC_FLAGS)
32392 maybe-clean-stage4-gcc: clean-stage4-gcc
32393 clean-stage4-gcc:
32394 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
32395 || exit 0 ; \
32396 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
32397 cd $(HOST_SUBDIR)/gcc && \
32398 $(MAKE) $(FLAGS_TO_PASS) \
32399 $(POSTSTAGE1_FLAGS_TO_PASS) \
32400 $(EXTRA_GCC_FLAGS) clean
32401 @endif gcc-bootstrap
32404 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
32405 .PHONY: all-stage4-intl maybe-all-stage4-intl
32406 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
32408 maybe-configure-stage4-intl:
32409 maybe-all-stage4-intl:
32410 maybe-clean-stage4-intl:
32412 @if intl-bootstrap
32413 maybe-configure-stage4-intl: configure-stage4-intl
32414 configure-stage4-intl:
32415 @$(MAKE) stage4-start
32416 @[ -f intl/Makefile ] && exit 0 || : ; \
32417 r=`${PWD_COMMAND}`; export r; \
32418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32419 $(STAGE_HOST_EXPORTS) \
32420 echo Configuring stage 4 in intl ; \
32421 cd $(HOST_SUBDIR)/intl || exit 1; \
32422 case $(srcdir) in \
32423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32424 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
32425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32426 esac; \
32427 srcdiroption="--srcdir=$${topdir}/intl"; \
32428 libsrcdir="$$s/intl"; \
32429 $(SHELL) $${libsrcdir}/configure \
32430 $(HOST_CONFIGARGS) $${srcdiroption} \
32431 @stage2_werror_flag@
32433 maybe-all-stage4-intl: all-stage4-intl
32434 all-stage4-intl: configure-stage4-intl
32435 @$(MAKE) stage4-start
32436 @r=`${PWD_COMMAND}`; export r; \
32437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32438 $(STAGE_HOST_EXPORTS) \
32439 cd $(HOST_SUBDIR)/intl && \
32440 $(MAKE) $(FLAGS_TO_PASS) \
32441 $(POSTSTAGE1_FLAGS_TO_PASS) \
32444 maybe-clean-stage4-intl: clean-stage4-intl
32445 clean-stage4-intl:
32446 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
32447 || exit 0 ; \
32448 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
32449 cd $(HOST_SUBDIR)/intl && \
32450 $(MAKE) $(FLAGS_TO_PASS) \
32451 $(POSTSTAGE1_FLAGS_TO_PASS) \
32452 clean
32453 @endif intl-bootstrap
32456 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
32457 .PHONY: all-stage4-ld maybe-all-stage4-ld
32458 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
32460 maybe-configure-stage4-ld:
32461 maybe-all-stage4-ld:
32462 maybe-clean-stage4-ld:
32464 @if ld-bootstrap
32465 maybe-configure-stage4-ld: configure-stage4-ld
32466 configure-stage4-ld:
32467 @$(MAKE) stage4-start
32468 @[ -f ld/Makefile ] && exit 0 || : ; \
32469 r=`${PWD_COMMAND}`; export r; \
32470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32471 $(STAGE_HOST_EXPORTS) \
32472 echo Configuring stage 4 in ld ; \
32473 cd $(HOST_SUBDIR)/ld || exit 1; \
32474 case $(srcdir) in \
32475 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32476 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
32477 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32478 esac; \
32479 srcdiroption="--srcdir=$${topdir}/ld"; \
32480 libsrcdir="$$s/ld"; \
32481 $(SHELL) $${libsrcdir}/configure \
32482 $(HOST_CONFIGARGS) $${srcdiroption} \
32483 @stage2_werror_flag@
32485 maybe-all-stage4-ld: all-stage4-ld
32486 all-stage4-ld: configure-stage4-ld
32487 @$(MAKE) stage4-start
32488 @r=`${PWD_COMMAND}`; export r; \
32489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32490 $(STAGE_HOST_EXPORTS) \
32491 cd $(HOST_SUBDIR)/ld && \
32492 $(MAKE) $(FLAGS_TO_PASS) \
32493 $(POSTSTAGE1_FLAGS_TO_PASS) \
32496 maybe-clean-stage4-ld: clean-stage4-ld
32497 clean-stage4-ld:
32498 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
32499 || exit 0 ; \
32500 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
32501 cd $(HOST_SUBDIR)/ld && \
32502 $(MAKE) $(FLAGS_TO_PASS) \
32503 $(POSTSTAGE1_FLAGS_TO_PASS) \
32504 clean
32505 @endif ld-bootstrap
32508 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
32509 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
32510 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
32512 maybe-configure-stage4-libcpp:
32513 maybe-all-stage4-libcpp:
32514 maybe-clean-stage4-libcpp:
32516 @if libcpp-bootstrap
32517 maybe-configure-stage4-libcpp: configure-stage4-libcpp
32518 configure-stage4-libcpp:
32519 @$(MAKE) stage4-start
32520 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32521 r=`${PWD_COMMAND}`; export r; \
32522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32523 $(STAGE_HOST_EXPORTS) \
32524 echo Configuring stage 4 in libcpp ; \
32525 cd $(HOST_SUBDIR)/libcpp || exit 1; \
32526 case $(srcdir) in \
32527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32528 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
32529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32530 esac; \
32531 srcdiroption="--srcdir=$${topdir}/libcpp"; \
32532 libsrcdir="$$s/libcpp"; \
32533 $(SHELL) $${libsrcdir}/configure \
32534 $(HOST_CONFIGARGS) $${srcdiroption} \
32535 @stage2_werror_flag@
32537 maybe-all-stage4-libcpp: all-stage4-libcpp
32538 all-stage4-libcpp: configure-stage4-libcpp
32539 @$(MAKE) stage4-start
32540 @r=`${PWD_COMMAND}`; export r; \
32541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32542 $(STAGE_HOST_EXPORTS) \
32543 cd $(HOST_SUBDIR)/libcpp && \
32544 $(MAKE) $(FLAGS_TO_PASS) \
32545 $(POSTSTAGE1_FLAGS_TO_PASS) \
32548 maybe-clean-stage4-libcpp: clean-stage4-libcpp
32549 clean-stage4-libcpp:
32550 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
32551 || exit 0 ; \
32552 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
32553 cd $(HOST_SUBDIR)/libcpp && \
32554 $(MAKE) $(FLAGS_TO_PASS) \
32555 $(POSTSTAGE1_FLAGS_TO_PASS) \
32556 clean
32557 @endif libcpp-bootstrap
32560 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
32561 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
32562 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
32564 maybe-configure-stage4-libiberty:
32565 maybe-all-stage4-libiberty:
32566 maybe-clean-stage4-libiberty:
32568 @if libiberty-bootstrap
32569 maybe-configure-stage4-libiberty: configure-stage4-libiberty
32570 configure-stage4-libiberty:
32571 @$(MAKE) stage4-start
32572 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32573 r=`${PWD_COMMAND}`; export r; \
32574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32575 $(STAGE_HOST_EXPORTS) \
32576 echo Configuring stage 4 in libiberty ; \
32577 cd $(HOST_SUBDIR)/libiberty || exit 1; \
32578 case $(srcdir) in \
32579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32580 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
32581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32582 esac; \
32583 srcdiroption="--srcdir=$${topdir}/libiberty"; \
32584 libsrcdir="$$s/libiberty"; \
32585 $(SHELL) $${libsrcdir}/configure \
32586 $(HOST_CONFIGARGS) $${srcdiroption} \
32587 @stage2_werror_flag@
32589 maybe-all-stage4-libiberty: all-stage4-libiberty
32590 all-stage4-libiberty: configure-stage4-libiberty
32591 @$(MAKE) stage4-start
32592 @r=`${PWD_COMMAND}`; export r; \
32593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32594 $(STAGE_HOST_EXPORTS) \
32595 cd $(HOST_SUBDIR)/libiberty && \
32596 $(MAKE) $(FLAGS_TO_PASS) \
32597 $(POSTSTAGE1_FLAGS_TO_PASS) \
32600 maybe-clean-stage4-libiberty: clean-stage4-libiberty
32601 clean-stage4-libiberty:
32602 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
32603 || exit 0 ; \
32604 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
32605 cd $(HOST_SUBDIR)/libiberty && \
32606 $(MAKE) $(FLAGS_TO_PASS) \
32607 $(POSTSTAGE1_FLAGS_TO_PASS) \
32608 clean
32609 @endif libiberty-bootstrap
32612 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
32613 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
32614 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
32616 maybe-configure-stage4-zlib:
32617 maybe-all-stage4-zlib:
32618 maybe-clean-stage4-zlib:
32620 @if zlib-bootstrap
32621 maybe-configure-stage4-zlib: configure-stage4-zlib
32622 configure-stage4-zlib:
32623 @$(MAKE) stage4-start
32624 @[ -f zlib/Makefile ] && exit 0 || : ; \
32625 r=`${PWD_COMMAND}`; export r; \
32626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32627 $(STAGE_HOST_EXPORTS) \
32628 echo Configuring stage 4 in zlib ; \
32629 cd $(HOST_SUBDIR)/zlib || exit 1; \
32630 case $(srcdir) in \
32631 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32632 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32633 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32634 esac; \
32635 srcdiroption="--srcdir=$${topdir}/zlib"; \
32636 libsrcdir="$$s/zlib"; \
32637 $(SHELL) $${libsrcdir}/configure \
32638 $(HOST_CONFIGARGS) $${srcdiroption} \
32639 @stage2_werror_flag@
32641 maybe-all-stage4-zlib: all-stage4-zlib
32642 all-stage4-zlib: configure-stage4-zlib
32643 @$(MAKE) stage4-start
32644 @r=`${PWD_COMMAND}`; export r; \
32645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32646 $(STAGE_HOST_EXPORTS) \
32647 cd $(HOST_SUBDIR)/zlib && \
32648 $(MAKE) $(FLAGS_TO_PASS) \
32649 $(POSTSTAGE1_FLAGS_TO_PASS) \
32652 maybe-clean-stage4-zlib: clean-stage4-zlib
32653 clean-stage4-zlib:
32654 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
32655 || exit 0 ; \
32656 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
32657 cd $(HOST_SUBDIR)/zlib && \
32658 $(MAKE) $(FLAGS_TO_PASS) \
32659 $(POSTSTAGE1_FLAGS_TO_PASS) \
32660 clean
32661 @endif zlib-bootstrap
32665 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32666 # only possibility, but now it conflicts with no-bootstrap rules
32667 @if gcc-bootstrap
32669 compare3:
32670 @if test -f stage3-lean; then \
32671 echo Cannot compare object files as stage 3 was deleted. ; \
32672 exit 0 ; \
32673 fi; \
32674 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32675 @r=`${PWD_COMMAND}`; export r; \
32676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32677 rm -f .bad_compare ; \
32678 cd stage4-gcc; \
32679 files=`find . -name "*$(objext)" -print` ; \
32680 cd .. ; \
32681 for file in $${files} ; do \
32682 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
32683 @do_compare@ > /dev/null 2>&1; \
32684 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
32685 done ; \
32686 if [ -f .bad_compare ]; then \
32687 echo "Bootstrap comparison failure!"; \
32688 cat .bad_compare; \
32689 exit 1; \
32690 else \
32691 true; \
32692 fi ; \
32693 $(STAMP) compare3
32694 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
32698 .PHONY: bootstrap4
32699 bootstrap4: stage4-bubble compare3 all
32702 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32703 distclean-stage3:: distclean-stage4
32704 .PHONY: distclean-stage4
32705 distclean-stage4::
32706 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32707 rm -rf stage4-* compare3
32710 @endif gcc-bootstrap
32713 .PHONY: stageprofile-start stageprofile-end
32715 stageprofile-start::
32716 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32717 echo stageprofile > stage_current ; \
32718 echo stageprofile > stage_last; \
32719 $(mkinstalldirs) $(HOST_SUBDIR)
32720 @if bfd
32721 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
32722 mkdir stageprofile-bfd; \
32723 set stageprofile-bfd bfd ; \
32724 @CREATE_LINK_TO_DIR@ ; \
32725 set stage1-bfd prev-bfd ; \
32726 @CREATE_LINK_TO_DIR@
32727 @endif bfd
32728 @if opcodes
32729 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
32730 mkdir stageprofile-opcodes; \
32731 set stageprofile-opcodes opcodes ; \
32732 @CREATE_LINK_TO_DIR@ ; \
32733 set stage1-opcodes prev-opcodes ; \
32734 @CREATE_LINK_TO_DIR@
32735 @endif opcodes
32736 @if binutils
32737 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
32738 mkdir stageprofile-binutils; \
32739 set stageprofile-binutils binutils ; \
32740 @CREATE_LINK_TO_DIR@ ; \
32741 set stage1-binutils prev-binutils ; \
32742 @CREATE_LINK_TO_DIR@
32743 @endif binutils
32744 @if gas
32745 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
32746 mkdir stageprofile-gas; \
32747 set stageprofile-gas gas ; \
32748 @CREATE_LINK_TO_DIR@ ; \
32749 set stage1-gas prev-gas ; \
32750 @CREATE_LINK_TO_DIR@
32751 @endif gas
32752 @if gcc
32753 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
32754 mkdir stageprofile-gcc; \
32755 set stageprofile-gcc gcc ; \
32756 @CREATE_LINK_TO_DIR@ ; \
32757 set stage1-gcc prev-gcc ; \
32758 @CREATE_LINK_TO_DIR@
32759 @endif gcc
32760 @if intl
32761 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
32762 mkdir stageprofile-intl; \
32763 set stageprofile-intl intl ; \
32764 @CREATE_LINK_TO_DIR@ ; \
32765 set stage1-intl prev-intl ; \
32766 @CREATE_LINK_TO_DIR@
32767 @endif intl
32768 @if ld
32769 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
32770 mkdir stageprofile-ld; \
32771 set stageprofile-ld ld ; \
32772 @CREATE_LINK_TO_DIR@ ; \
32773 set stage1-ld prev-ld ; \
32774 @CREATE_LINK_TO_DIR@
32775 @endif ld
32776 @if libcpp
32777 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
32778 mkdir stageprofile-libcpp; \
32779 set stageprofile-libcpp libcpp ; \
32780 @CREATE_LINK_TO_DIR@ ; \
32781 set stage1-libcpp prev-libcpp ; \
32782 @CREATE_LINK_TO_DIR@
32783 @endif libcpp
32784 @if libiberty
32785 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
32786 mkdir stageprofile-libiberty; \
32787 set stageprofile-libiberty libiberty ; \
32788 @CREATE_LINK_TO_DIR@ ; \
32789 set stage1-libiberty prev-libiberty ; \
32790 @CREATE_LINK_TO_DIR@
32791 @endif libiberty
32792 @if zlib
32793 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
32794 mkdir stageprofile-zlib; \
32795 set stageprofile-zlib zlib ; \
32796 @CREATE_LINK_TO_DIR@ ; \
32797 set stage1-zlib prev-zlib ; \
32798 @CREATE_LINK_TO_DIR@
32799 @endif zlib
32801 stageprofile-end::
32802 @rm -f stage_current
32803 @if bfd
32804 @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
32805 @UNDO_LINK_TO_DIR@ ; \
32806 set prev-bfd stage1-bfd ; \
32807 @UNDO_LINK_TO_DIR@
32808 @endif bfd
32809 @if opcodes
32810 @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
32811 @UNDO_LINK_TO_DIR@ ; \
32812 set prev-opcodes stage1-opcodes ; \
32813 @UNDO_LINK_TO_DIR@
32814 @endif opcodes
32815 @if binutils
32816 @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
32817 @UNDO_LINK_TO_DIR@ ; \
32818 set prev-binutils stage1-binutils ; \
32819 @UNDO_LINK_TO_DIR@
32820 @endif binutils
32821 @if gas
32822 @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
32823 @UNDO_LINK_TO_DIR@ ; \
32824 set prev-gas stage1-gas ; \
32825 @UNDO_LINK_TO_DIR@
32826 @endif gas
32827 @if gcc
32828 @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
32829 @UNDO_LINK_TO_DIR@ ; \
32830 set prev-gcc stage1-gcc ; \
32831 @UNDO_LINK_TO_DIR@
32832 @endif gcc
32833 @if intl
32834 @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
32835 @UNDO_LINK_TO_DIR@ ; \
32836 set prev-intl stage1-intl ; \
32837 @UNDO_LINK_TO_DIR@
32838 @endif intl
32839 @if ld
32840 @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
32841 @UNDO_LINK_TO_DIR@ ; \
32842 set prev-ld stage1-ld ; \
32843 @UNDO_LINK_TO_DIR@
32844 @endif ld
32845 @if libcpp
32846 @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
32847 @UNDO_LINK_TO_DIR@ ; \
32848 set prev-libcpp stage1-libcpp ; \
32849 @UNDO_LINK_TO_DIR@
32850 @endif libcpp
32851 @if libiberty
32852 @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
32853 @UNDO_LINK_TO_DIR@ ; \
32854 set prev-libiberty stage1-libiberty ; \
32855 @UNDO_LINK_TO_DIR@
32856 @endif libiberty
32857 @if zlib
32858 @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
32859 @UNDO_LINK_TO_DIR@ ; \
32860 set prev-zlib stage1-zlib ; \
32861 @UNDO_LINK_TO_DIR@
32862 @endif zlib
32864 # Bubble a bugfix through all the stages up to stage profile. They
32865 # are remade, but not reconfigured. The next stage (if any) will not
32866 # be reconfigured as well.
32867 .PHONY: stageprofile-bubble
32868 stageprofile-bubble:: stage1-bubble
32869 @if test -f stageprofile-lean || test -f stage1-lean ; then \
32870 echo Skipping rebuild of stageprofile ; \
32871 else \
32872 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
32875 .PHONY: all-stageprofile clean-stageprofile
32876 all-stageprofile: \
32877 maybe-all-stageprofile-bfd \
32878 maybe-all-stageprofile-opcodes \
32879 maybe-all-stageprofile-binutils \
32880 maybe-all-stageprofile-gas \
32881 maybe-all-stageprofile-gcc \
32882 maybe-all-stageprofile-intl \
32883 maybe-all-stageprofile-ld \
32884 maybe-all-stageprofile-libcpp \
32885 maybe-all-stageprofile-libiberty \
32886 maybe-all-stageprofile-zlib
32888 do-clean: clean-stageprofile
32889 clean-stageprofile: \
32890 maybe-clean-stageprofile-bfd \
32891 maybe-clean-stageprofile-opcodes \
32892 maybe-clean-stageprofile-binutils \
32893 maybe-clean-stageprofile-gas \
32894 maybe-clean-stageprofile-gcc \
32895 maybe-clean-stageprofile-intl \
32896 maybe-clean-stageprofile-ld \
32897 maybe-clean-stageprofile-libcpp \
32898 maybe-clean-stageprofile-libiberty \
32899 maybe-clean-stageprofile-zlib
32902 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
32903 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
32904 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
32906 maybe-configure-stageprofile-bfd:
32907 maybe-all-stageprofile-bfd:
32908 maybe-clean-stageprofile-bfd:
32910 @if bfd-bootstrap
32911 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
32912 configure-stageprofile-bfd:
32913 @$(MAKE) stageprofile-start
32914 @[ -f bfd/Makefile ] && exit 0 || : ; \
32915 r=`${PWD_COMMAND}`; export r; \
32916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32917 $(STAGE_HOST_EXPORTS) \
32918 echo Configuring stage profile in bfd ; \
32919 cd $(HOST_SUBDIR)/bfd || exit 1; \
32920 case $(srcdir) in \
32921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32922 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
32923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32924 esac; \
32925 srcdiroption="--srcdir=$${topdir}/bfd"; \
32926 libsrcdir="$$s/bfd"; \
32927 $(SHELL) $${libsrcdir}/configure \
32928 $(HOST_CONFIGARGS) $${srcdiroption} \
32929 @stage2_werror_flag@
32931 maybe-all-stageprofile-bfd: all-stageprofile-bfd
32932 all-stageprofile-bfd: configure-stageprofile-bfd
32933 @$(MAKE) stageprofile-start
32934 @r=`${PWD_COMMAND}`; export r; \
32935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32936 $(STAGE_HOST_EXPORTS) \
32937 cd $(HOST_SUBDIR)/bfd && \
32938 $(MAKE) $(FLAGS_TO_PASS) \
32939 $(POSTSTAGE1_FLAGS_TO_PASS) \
32940 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
32942 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
32943 clean-stageprofile-bfd:
32944 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
32945 || exit 0 ; \
32946 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
32947 cd $(HOST_SUBDIR)/bfd && \
32948 $(MAKE) $(FLAGS_TO_PASS) \
32949 $(POSTSTAGE1_FLAGS_TO_PASS) \
32950 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
32951 @endif bfd-bootstrap
32954 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
32955 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
32956 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
32958 maybe-configure-stageprofile-opcodes:
32959 maybe-all-stageprofile-opcodes:
32960 maybe-clean-stageprofile-opcodes:
32962 @if opcodes-bootstrap
32963 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
32964 configure-stageprofile-opcodes:
32965 @$(MAKE) stageprofile-start
32966 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32967 r=`${PWD_COMMAND}`; export r; \
32968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32969 $(STAGE_HOST_EXPORTS) \
32970 echo Configuring stage profile in opcodes ; \
32971 cd $(HOST_SUBDIR)/opcodes || exit 1; \
32972 case $(srcdir) in \
32973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32974 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
32975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32976 esac; \
32977 srcdiroption="--srcdir=$${topdir}/opcodes"; \
32978 libsrcdir="$$s/opcodes"; \
32979 $(SHELL) $${libsrcdir}/configure \
32980 $(HOST_CONFIGARGS) $${srcdiroption} \
32981 @stage2_werror_flag@
32983 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
32984 all-stageprofile-opcodes: configure-stageprofile-opcodes
32985 @$(MAKE) stageprofile-start
32986 @r=`${PWD_COMMAND}`; export r; \
32987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32988 $(STAGE_HOST_EXPORTS) \
32989 cd $(HOST_SUBDIR)/opcodes && \
32990 $(MAKE) $(FLAGS_TO_PASS) \
32991 $(POSTSTAGE1_FLAGS_TO_PASS) \
32992 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
32994 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
32995 clean-stageprofile-opcodes:
32996 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
32997 || exit 0 ; \
32998 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
32999 cd $(HOST_SUBDIR)/opcodes && \
33000 $(MAKE) $(FLAGS_TO_PASS) \
33001 $(POSTSTAGE1_FLAGS_TO_PASS) \
33002 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33003 @endif opcodes-bootstrap
33006 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
33007 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
33008 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
33010 maybe-configure-stageprofile-binutils:
33011 maybe-all-stageprofile-binutils:
33012 maybe-clean-stageprofile-binutils:
33014 @if binutils-bootstrap
33015 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
33016 configure-stageprofile-binutils:
33017 @$(MAKE) stageprofile-start
33018 @[ -f binutils/Makefile ] && exit 0 || : ; \
33019 r=`${PWD_COMMAND}`; export r; \
33020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33021 $(STAGE_HOST_EXPORTS) \
33022 echo Configuring stage profile in binutils ; \
33023 cd $(HOST_SUBDIR)/binutils || exit 1; \
33024 case $(srcdir) in \
33025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33026 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
33027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33028 esac; \
33029 srcdiroption="--srcdir=$${topdir}/binutils"; \
33030 libsrcdir="$$s/binutils"; \
33031 $(SHELL) $${libsrcdir}/configure \
33032 $(HOST_CONFIGARGS) $${srcdiroption} \
33033 @stage2_werror_flag@
33035 maybe-all-stageprofile-binutils: all-stageprofile-binutils
33036 all-stageprofile-binutils: configure-stageprofile-binutils
33037 @$(MAKE) stageprofile-start
33038 @r=`${PWD_COMMAND}`; export r; \
33039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33040 $(STAGE_HOST_EXPORTS) \
33041 cd $(HOST_SUBDIR)/binutils && \
33042 $(MAKE) $(FLAGS_TO_PASS) \
33043 $(POSTSTAGE1_FLAGS_TO_PASS) \
33044 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33046 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
33047 clean-stageprofile-binutils:
33048 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
33049 || exit 0 ; \
33050 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
33051 cd $(HOST_SUBDIR)/binutils && \
33052 $(MAKE) $(FLAGS_TO_PASS) \
33053 $(POSTSTAGE1_FLAGS_TO_PASS) \
33054 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33055 @endif binutils-bootstrap
33058 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
33059 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
33060 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
33062 maybe-configure-stageprofile-gas:
33063 maybe-all-stageprofile-gas:
33064 maybe-clean-stageprofile-gas:
33066 @if gas-bootstrap
33067 maybe-configure-stageprofile-gas: configure-stageprofile-gas
33068 configure-stageprofile-gas:
33069 @$(MAKE) stageprofile-start
33070 @[ -f gas/Makefile ] && exit 0 || : ; \
33071 r=`${PWD_COMMAND}`; export r; \
33072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33073 $(STAGE_HOST_EXPORTS) \
33074 echo Configuring stage profile in gas ; \
33075 cd $(HOST_SUBDIR)/gas || exit 1; \
33076 case $(srcdir) in \
33077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33078 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
33079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33080 esac; \
33081 srcdiroption="--srcdir=$${topdir}/gas"; \
33082 libsrcdir="$$s/gas"; \
33083 $(SHELL) $${libsrcdir}/configure \
33084 $(HOST_CONFIGARGS) $${srcdiroption} \
33085 @stage2_werror_flag@
33087 maybe-all-stageprofile-gas: all-stageprofile-gas
33088 all-stageprofile-gas: configure-stageprofile-gas
33089 @$(MAKE) stageprofile-start
33090 @r=`${PWD_COMMAND}`; export r; \
33091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33092 $(STAGE_HOST_EXPORTS) \
33093 cd $(HOST_SUBDIR)/gas && \
33094 $(MAKE) $(FLAGS_TO_PASS) \
33095 $(POSTSTAGE1_FLAGS_TO_PASS) \
33096 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33098 maybe-clean-stageprofile-gas: clean-stageprofile-gas
33099 clean-stageprofile-gas:
33100 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
33101 || exit 0 ; \
33102 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
33103 cd $(HOST_SUBDIR)/gas && \
33104 $(MAKE) $(FLAGS_TO_PASS) \
33105 $(POSTSTAGE1_FLAGS_TO_PASS) \
33106 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33107 @endif gas-bootstrap
33110 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
33111 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
33112 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
33114 maybe-configure-stageprofile-gcc:
33115 maybe-all-stageprofile-gcc:
33116 maybe-clean-stageprofile-gcc:
33118 @if gcc-bootstrap
33119 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
33120 configure-stageprofile-gcc:
33121 @$(MAKE) stageprofile-start
33122 @[ -f gcc/Makefile ] && exit 0 || : ; \
33123 r=`${PWD_COMMAND}`; export r; \
33124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33125 $(STAGE_HOST_EXPORTS) \
33126 echo Configuring stage profile in gcc ; \
33127 cd $(HOST_SUBDIR)/gcc || exit 1; \
33128 case $(srcdir) in \
33129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33130 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
33131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33132 esac; \
33133 srcdiroption="--srcdir=$${topdir}/gcc"; \
33134 libsrcdir="$$s/gcc"; \
33135 $(SHELL) $${libsrcdir}/configure \
33136 $(HOST_CONFIGARGS) $${srcdiroption} \
33137 @stage2_werror_flag@
33139 maybe-all-stageprofile-gcc: all-stageprofile-gcc
33140 all-stageprofile-gcc: configure-stageprofile-gcc
33141 @$(MAKE) stageprofile-start
33142 @r=`${PWD_COMMAND}`; export r; \
33143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33144 $(STAGE_HOST_EXPORTS) \
33145 cd $(HOST_SUBDIR)/gcc && \
33146 $(MAKE) $(FLAGS_TO_PASS) \
33147 $(POSTSTAGE1_FLAGS_TO_PASS) \
33148 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
33150 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
33151 clean-stageprofile-gcc:
33152 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
33153 || exit 0 ; \
33154 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
33155 cd $(HOST_SUBDIR)/gcc && \
33156 $(MAKE) $(FLAGS_TO_PASS) \
33157 $(POSTSTAGE1_FLAGS_TO_PASS) \
33158 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
33159 @endif gcc-bootstrap
33162 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
33163 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
33164 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
33166 maybe-configure-stageprofile-intl:
33167 maybe-all-stageprofile-intl:
33168 maybe-clean-stageprofile-intl:
33170 @if intl-bootstrap
33171 maybe-configure-stageprofile-intl: configure-stageprofile-intl
33172 configure-stageprofile-intl:
33173 @$(MAKE) stageprofile-start
33174 @[ -f intl/Makefile ] && exit 0 || : ; \
33175 r=`${PWD_COMMAND}`; export r; \
33176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33177 $(STAGE_HOST_EXPORTS) \
33178 echo Configuring stage profile in intl ; \
33179 cd $(HOST_SUBDIR)/intl || exit 1; \
33180 case $(srcdir) in \
33181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33182 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
33183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33184 esac; \
33185 srcdiroption="--srcdir=$${topdir}/intl"; \
33186 libsrcdir="$$s/intl"; \
33187 $(SHELL) $${libsrcdir}/configure \
33188 $(HOST_CONFIGARGS) $${srcdiroption} \
33189 @stage2_werror_flag@
33191 maybe-all-stageprofile-intl: all-stageprofile-intl
33192 all-stageprofile-intl: configure-stageprofile-intl
33193 @$(MAKE) stageprofile-start
33194 @r=`${PWD_COMMAND}`; export r; \
33195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33196 $(STAGE_HOST_EXPORTS) \
33197 cd $(HOST_SUBDIR)/intl && \
33198 $(MAKE) $(FLAGS_TO_PASS) \
33199 $(POSTSTAGE1_FLAGS_TO_PASS) \
33200 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33202 maybe-clean-stageprofile-intl: clean-stageprofile-intl
33203 clean-stageprofile-intl:
33204 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
33205 || exit 0 ; \
33206 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
33207 cd $(HOST_SUBDIR)/intl && \
33208 $(MAKE) $(FLAGS_TO_PASS) \
33209 $(POSTSTAGE1_FLAGS_TO_PASS) \
33210 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33211 @endif intl-bootstrap
33214 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
33215 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
33216 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
33218 maybe-configure-stageprofile-ld:
33219 maybe-all-stageprofile-ld:
33220 maybe-clean-stageprofile-ld:
33222 @if ld-bootstrap
33223 maybe-configure-stageprofile-ld: configure-stageprofile-ld
33224 configure-stageprofile-ld:
33225 @$(MAKE) stageprofile-start
33226 @[ -f ld/Makefile ] && exit 0 || : ; \
33227 r=`${PWD_COMMAND}`; export r; \
33228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33229 $(STAGE_HOST_EXPORTS) \
33230 echo Configuring stage profile in ld ; \
33231 cd $(HOST_SUBDIR)/ld || exit 1; \
33232 case $(srcdir) in \
33233 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33234 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
33235 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33236 esac; \
33237 srcdiroption="--srcdir=$${topdir}/ld"; \
33238 libsrcdir="$$s/ld"; \
33239 $(SHELL) $${libsrcdir}/configure \
33240 $(HOST_CONFIGARGS) $${srcdiroption} \
33241 @stage2_werror_flag@
33243 maybe-all-stageprofile-ld: all-stageprofile-ld
33244 all-stageprofile-ld: configure-stageprofile-ld
33245 @$(MAKE) stageprofile-start
33246 @r=`${PWD_COMMAND}`; export r; \
33247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33248 $(STAGE_HOST_EXPORTS) \
33249 cd $(HOST_SUBDIR)/ld && \
33250 $(MAKE) $(FLAGS_TO_PASS) \
33251 $(POSTSTAGE1_FLAGS_TO_PASS) \
33252 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33254 maybe-clean-stageprofile-ld: clean-stageprofile-ld
33255 clean-stageprofile-ld:
33256 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
33257 || exit 0 ; \
33258 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
33259 cd $(HOST_SUBDIR)/ld && \
33260 $(MAKE) $(FLAGS_TO_PASS) \
33261 $(POSTSTAGE1_FLAGS_TO_PASS) \
33262 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33263 @endif ld-bootstrap
33266 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
33267 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
33268 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
33270 maybe-configure-stageprofile-libcpp:
33271 maybe-all-stageprofile-libcpp:
33272 maybe-clean-stageprofile-libcpp:
33274 @if libcpp-bootstrap
33275 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
33276 configure-stageprofile-libcpp:
33277 @$(MAKE) stageprofile-start
33278 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33279 r=`${PWD_COMMAND}`; export r; \
33280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33281 $(STAGE_HOST_EXPORTS) \
33282 echo Configuring stage profile in libcpp ; \
33283 cd $(HOST_SUBDIR)/libcpp || exit 1; \
33284 case $(srcdir) in \
33285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33286 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
33287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33288 esac; \
33289 srcdiroption="--srcdir=$${topdir}/libcpp"; \
33290 libsrcdir="$$s/libcpp"; \
33291 $(SHELL) $${libsrcdir}/configure \
33292 $(HOST_CONFIGARGS) $${srcdiroption} \
33293 @stage2_werror_flag@
33295 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
33296 all-stageprofile-libcpp: configure-stageprofile-libcpp
33297 @$(MAKE) stageprofile-start
33298 @r=`${PWD_COMMAND}`; export r; \
33299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33300 $(STAGE_HOST_EXPORTS) \
33301 cd $(HOST_SUBDIR)/libcpp && \
33302 $(MAKE) $(FLAGS_TO_PASS) \
33303 $(POSTSTAGE1_FLAGS_TO_PASS) \
33304 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33306 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
33307 clean-stageprofile-libcpp:
33308 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
33309 || exit 0 ; \
33310 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
33311 cd $(HOST_SUBDIR)/libcpp && \
33312 $(MAKE) $(FLAGS_TO_PASS) \
33313 $(POSTSTAGE1_FLAGS_TO_PASS) \
33314 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33315 @endif libcpp-bootstrap
33318 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
33319 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
33320 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
33322 maybe-configure-stageprofile-libiberty:
33323 maybe-all-stageprofile-libiberty:
33324 maybe-clean-stageprofile-libiberty:
33326 @if libiberty-bootstrap
33327 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
33328 configure-stageprofile-libiberty:
33329 @$(MAKE) stageprofile-start
33330 @[ -f libiberty/Makefile ] && exit 0 || : ; \
33331 r=`${PWD_COMMAND}`; export r; \
33332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33333 $(STAGE_HOST_EXPORTS) \
33334 echo Configuring stage profile in libiberty ; \
33335 cd $(HOST_SUBDIR)/libiberty || exit 1; \
33336 case $(srcdir) in \
33337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33338 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
33339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33340 esac; \
33341 srcdiroption="--srcdir=$${topdir}/libiberty"; \
33342 libsrcdir="$$s/libiberty"; \
33343 $(SHELL) $${libsrcdir}/configure \
33344 $(HOST_CONFIGARGS) $${srcdiroption} \
33345 @stage2_werror_flag@
33347 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
33348 all-stageprofile-libiberty: configure-stageprofile-libiberty
33349 @$(MAKE) stageprofile-start
33350 @r=`${PWD_COMMAND}`; export r; \
33351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33352 $(STAGE_HOST_EXPORTS) \
33353 cd $(HOST_SUBDIR)/libiberty && \
33354 $(MAKE) $(FLAGS_TO_PASS) \
33355 $(POSTSTAGE1_FLAGS_TO_PASS) \
33356 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33358 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
33359 clean-stageprofile-libiberty:
33360 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
33361 || exit 0 ; \
33362 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
33363 cd $(HOST_SUBDIR)/libiberty && \
33364 $(MAKE) $(FLAGS_TO_PASS) \
33365 $(POSTSTAGE1_FLAGS_TO_PASS) \
33366 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33367 @endif libiberty-bootstrap
33370 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
33371 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
33372 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
33374 maybe-configure-stageprofile-zlib:
33375 maybe-all-stageprofile-zlib:
33376 maybe-clean-stageprofile-zlib:
33378 @if zlib-bootstrap
33379 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
33380 configure-stageprofile-zlib:
33381 @$(MAKE) stageprofile-start
33382 @[ -f zlib/Makefile ] && exit 0 || : ; \
33383 r=`${PWD_COMMAND}`; export r; \
33384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33385 $(STAGE_HOST_EXPORTS) \
33386 echo Configuring stage profile in zlib ; \
33387 cd $(HOST_SUBDIR)/zlib || exit 1; \
33388 case $(srcdir) in \
33389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33390 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33392 esac; \
33393 srcdiroption="--srcdir=$${topdir}/zlib"; \
33394 libsrcdir="$$s/zlib"; \
33395 $(SHELL) $${libsrcdir}/configure \
33396 $(HOST_CONFIGARGS) $${srcdiroption} \
33397 @stage2_werror_flag@
33399 maybe-all-stageprofile-zlib: all-stageprofile-zlib
33400 all-stageprofile-zlib: configure-stageprofile-zlib
33401 @$(MAKE) stageprofile-start
33402 @r=`${PWD_COMMAND}`; export r; \
33403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33404 $(STAGE_HOST_EXPORTS) \
33405 cd $(HOST_SUBDIR)/zlib && \
33406 $(MAKE) $(FLAGS_TO_PASS) \
33407 $(POSTSTAGE1_FLAGS_TO_PASS) \
33408 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33410 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
33411 clean-stageprofile-zlib:
33412 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
33413 || exit 0 ; \
33414 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
33415 cd $(HOST_SUBDIR)/zlib && \
33416 $(MAKE) $(FLAGS_TO_PASS) \
33417 $(POSTSTAGE1_FLAGS_TO_PASS) \
33418 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33419 @endif zlib-bootstrap
33423 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33424 # only possibility, but now it conflicts with no-bootstrap rules
33425 @if gcc-bootstrap
33430 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33431 distclean-stage1:: distclean-stageprofile
33432 .PHONY: distclean-stageprofile
33433 distclean-stageprofile::
33434 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33435 rm -rf stageprofile-*
33438 @endif gcc-bootstrap
33441 .PHONY: stagefeedback-start stagefeedback-end
33443 stagefeedback-start::
33444 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33445 echo stagefeedback > stage_current ; \
33446 echo stagefeedback > stage_last; \
33447 $(mkinstalldirs) $(HOST_SUBDIR)
33448 @if bfd
33449 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
33450 mkdir stagefeedback-bfd; \
33451 set stagefeedback-bfd bfd ; \
33452 @CREATE_LINK_TO_DIR@ ; \
33453 set stage1-bfd prev-bfd ; \
33454 @CREATE_LINK_TO_DIR@
33455 @endif bfd
33456 @if opcodes
33457 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
33458 mkdir stagefeedback-opcodes; \
33459 set stagefeedback-opcodes opcodes ; \
33460 @CREATE_LINK_TO_DIR@ ; \
33461 set stage1-opcodes prev-opcodes ; \
33462 @CREATE_LINK_TO_DIR@
33463 @endif opcodes
33464 @if binutils
33465 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
33466 mkdir stagefeedback-binutils; \
33467 set stagefeedback-binutils binutils ; \
33468 @CREATE_LINK_TO_DIR@ ; \
33469 set stage1-binutils prev-binutils ; \
33470 @CREATE_LINK_TO_DIR@
33471 @endif binutils
33472 @if gas
33473 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
33474 mkdir stagefeedback-gas; \
33475 set stagefeedback-gas gas ; \
33476 @CREATE_LINK_TO_DIR@ ; \
33477 set stage1-gas prev-gas ; \
33478 @CREATE_LINK_TO_DIR@
33479 @endif gas
33480 @if gcc
33481 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
33482 mkdir stagefeedback-gcc; \
33483 set stagefeedback-gcc gcc ; \
33484 @CREATE_LINK_TO_DIR@ ; \
33485 set stage1-gcc prev-gcc ; \
33486 @CREATE_LINK_TO_DIR@
33487 @endif gcc
33488 @if intl
33489 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
33490 mkdir stagefeedback-intl; \
33491 set stagefeedback-intl intl ; \
33492 @CREATE_LINK_TO_DIR@ ; \
33493 set stage1-intl prev-intl ; \
33494 @CREATE_LINK_TO_DIR@
33495 @endif intl
33496 @if ld
33497 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
33498 mkdir stagefeedback-ld; \
33499 set stagefeedback-ld ld ; \
33500 @CREATE_LINK_TO_DIR@ ; \
33501 set stage1-ld prev-ld ; \
33502 @CREATE_LINK_TO_DIR@
33503 @endif ld
33504 @if libcpp
33505 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
33506 mkdir stagefeedback-libcpp; \
33507 set stagefeedback-libcpp libcpp ; \
33508 @CREATE_LINK_TO_DIR@ ; \
33509 set stage1-libcpp prev-libcpp ; \
33510 @CREATE_LINK_TO_DIR@
33511 @endif libcpp
33512 @if libiberty
33513 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
33514 mkdir stagefeedback-libiberty; \
33515 set stagefeedback-libiberty libiberty ; \
33516 @CREATE_LINK_TO_DIR@ ; \
33517 set stage1-libiberty prev-libiberty ; \
33518 @CREATE_LINK_TO_DIR@
33519 @endif libiberty
33520 @if zlib
33521 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
33522 mkdir stagefeedback-zlib; \
33523 set stagefeedback-zlib zlib ; \
33524 @CREATE_LINK_TO_DIR@ ; \
33525 set stage1-zlib prev-zlib ; \
33526 @CREATE_LINK_TO_DIR@
33527 @endif zlib
33529 stagefeedback-end::
33530 @rm -f stage_current
33531 @if bfd
33532 @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
33533 @UNDO_LINK_TO_DIR@ ; \
33534 set prev-bfd stage1-bfd ; \
33535 @UNDO_LINK_TO_DIR@
33536 @endif bfd
33537 @if opcodes
33538 @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
33539 @UNDO_LINK_TO_DIR@ ; \
33540 set prev-opcodes stage1-opcodes ; \
33541 @UNDO_LINK_TO_DIR@
33542 @endif opcodes
33543 @if binutils
33544 @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
33545 @UNDO_LINK_TO_DIR@ ; \
33546 set prev-binutils stage1-binutils ; \
33547 @UNDO_LINK_TO_DIR@
33548 @endif binutils
33549 @if gas
33550 @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
33551 @UNDO_LINK_TO_DIR@ ; \
33552 set prev-gas stage1-gas ; \
33553 @UNDO_LINK_TO_DIR@
33554 @endif gas
33555 @if gcc
33556 @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
33557 @UNDO_LINK_TO_DIR@ ; \
33558 set prev-gcc stage1-gcc ; \
33559 @UNDO_LINK_TO_DIR@
33560 @endif gcc
33561 @if intl
33562 @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
33563 @UNDO_LINK_TO_DIR@ ; \
33564 set prev-intl stage1-intl ; \
33565 @UNDO_LINK_TO_DIR@
33566 @endif intl
33567 @if ld
33568 @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
33569 @UNDO_LINK_TO_DIR@ ; \
33570 set prev-ld stage1-ld ; \
33571 @UNDO_LINK_TO_DIR@
33572 @endif ld
33573 @if libcpp
33574 @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
33575 @UNDO_LINK_TO_DIR@ ; \
33576 set prev-libcpp stage1-libcpp ; \
33577 @UNDO_LINK_TO_DIR@
33578 @endif libcpp
33579 @if libiberty
33580 @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
33581 @UNDO_LINK_TO_DIR@ ; \
33582 set prev-libiberty stage1-libiberty ; \
33583 @UNDO_LINK_TO_DIR@
33584 @endif libiberty
33585 @if zlib
33586 @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
33587 @UNDO_LINK_TO_DIR@ ; \
33588 set prev-zlib stage1-zlib ; \
33589 @UNDO_LINK_TO_DIR@
33590 @endif zlib
33592 # Bubble a bugfix through all the stages up to stage feedback. They
33593 # are remade, but not reconfigured. The next stage (if any) will not
33594 # be reconfigured as well.
33595 .PHONY: stagefeedback-bubble
33596 stagefeedback-bubble:: stage1-bubble
33597 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
33598 echo Skipping rebuild of stagefeedback ; \
33599 else \
33600 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
33603 .PHONY: all-stagefeedback clean-stagefeedback
33604 all-stagefeedback: \
33605 maybe-all-stagefeedback-bfd \
33606 maybe-all-stagefeedback-opcodes \
33607 maybe-all-stagefeedback-binutils \
33608 maybe-all-stagefeedback-gas \
33609 maybe-all-stagefeedback-gcc \
33610 maybe-all-stagefeedback-intl \
33611 maybe-all-stagefeedback-ld \
33612 maybe-all-stagefeedback-libcpp \
33613 maybe-all-stagefeedback-libiberty \
33614 maybe-all-stagefeedback-zlib
33616 do-clean: clean-stagefeedback
33617 clean-stagefeedback: \
33618 maybe-clean-stagefeedback-bfd \
33619 maybe-clean-stagefeedback-opcodes \
33620 maybe-clean-stagefeedback-binutils \
33621 maybe-clean-stagefeedback-gas \
33622 maybe-clean-stagefeedback-gcc \
33623 maybe-clean-stagefeedback-intl \
33624 maybe-clean-stagefeedback-ld \
33625 maybe-clean-stagefeedback-libcpp \
33626 maybe-clean-stagefeedback-libiberty \
33627 maybe-clean-stagefeedback-zlib
33630 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
33631 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
33632 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
33634 maybe-configure-stagefeedback-bfd:
33635 maybe-all-stagefeedback-bfd:
33636 maybe-clean-stagefeedback-bfd:
33638 @if bfd-bootstrap
33639 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
33640 configure-stagefeedback-bfd:
33641 @$(MAKE) stagefeedback-start
33642 @[ -f bfd/Makefile ] && exit 0 || : ; \
33643 r=`${PWD_COMMAND}`; export r; \
33644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33645 $(STAGE_HOST_EXPORTS) \
33646 echo Configuring stage feedback in bfd ; \
33647 cd $(HOST_SUBDIR)/bfd || exit 1; \
33648 case $(srcdir) in \
33649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33650 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
33651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33652 esac; \
33653 srcdiroption="--srcdir=$${topdir}/bfd"; \
33654 libsrcdir="$$s/bfd"; \
33655 $(SHELL) $${libsrcdir}/configure \
33656 $(HOST_CONFIGARGS) $${srcdiroption} \
33657 @stage2_werror_flag@
33659 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
33660 all-stagefeedback-bfd: configure-stagefeedback-bfd
33661 @$(MAKE) stagefeedback-start
33662 @r=`${PWD_COMMAND}`; export r; \
33663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33664 $(STAGE_HOST_EXPORTS) \
33665 cd $(HOST_SUBDIR)/bfd && \
33666 $(MAKE) $(FLAGS_TO_PASS) \
33667 $(POSTSTAGE1_FLAGS_TO_PASS) \
33668 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
33670 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
33671 clean-stagefeedback-bfd:
33672 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
33673 || exit 0 ; \
33674 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
33675 cd $(HOST_SUBDIR)/bfd && \
33676 $(MAKE) $(FLAGS_TO_PASS) \
33677 $(POSTSTAGE1_FLAGS_TO_PASS) \
33678 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
33679 @endif bfd-bootstrap
33682 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
33683 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
33684 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
33686 maybe-configure-stagefeedback-opcodes:
33687 maybe-all-stagefeedback-opcodes:
33688 maybe-clean-stagefeedback-opcodes:
33690 @if opcodes-bootstrap
33691 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
33692 configure-stagefeedback-opcodes:
33693 @$(MAKE) stagefeedback-start
33694 @[ -f opcodes/Makefile ] && exit 0 || : ; \
33695 r=`${PWD_COMMAND}`; export r; \
33696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33697 $(STAGE_HOST_EXPORTS) \
33698 echo Configuring stage feedback in opcodes ; \
33699 cd $(HOST_SUBDIR)/opcodes || exit 1; \
33700 case $(srcdir) in \
33701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33702 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
33703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33704 esac; \
33705 srcdiroption="--srcdir=$${topdir}/opcodes"; \
33706 libsrcdir="$$s/opcodes"; \
33707 $(SHELL) $${libsrcdir}/configure \
33708 $(HOST_CONFIGARGS) $${srcdiroption} \
33709 @stage2_werror_flag@
33711 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
33712 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
33713 @$(MAKE) stagefeedback-start
33714 @r=`${PWD_COMMAND}`; export r; \
33715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33716 $(STAGE_HOST_EXPORTS) \
33717 cd $(HOST_SUBDIR)/opcodes && \
33718 $(MAKE) $(FLAGS_TO_PASS) \
33719 $(POSTSTAGE1_FLAGS_TO_PASS) \
33720 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
33722 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
33723 clean-stagefeedback-opcodes:
33724 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
33725 || exit 0 ; \
33726 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
33727 cd $(HOST_SUBDIR)/opcodes && \
33728 $(MAKE) $(FLAGS_TO_PASS) \
33729 $(POSTSTAGE1_FLAGS_TO_PASS) \
33730 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
33731 @endif opcodes-bootstrap
33734 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
33735 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
33736 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
33738 maybe-configure-stagefeedback-binutils:
33739 maybe-all-stagefeedback-binutils:
33740 maybe-clean-stagefeedback-binutils:
33742 @if binutils-bootstrap
33743 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
33744 configure-stagefeedback-binutils:
33745 @$(MAKE) stagefeedback-start
33746 @[ -f binutils/Makefile ] && exit 0 || : ; \
33747 r=`${PWD_COMMAND}`; export r; \
33748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33749 $(STAGE_HOST_EXPORTS) \
33750 echo Configuring stage feedback in binutils ; \
33751 cd $(HOST_SUBDIR)/binutils || exit 1; \
33752 case $(srcdir) in \
33753 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33754 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
33755 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33756 esac; \
33757 srcdiroption="--srcdir=$${topdir}/binutils"; \
33758 libsrcdir="$$s/binutils"; \
33759 $(SHELL) $${libsrcdir}/configure \
33760 $(HOST_CONFIGARGS) $${srcdiroption} \
33761 @stage2_werror_flag@
33763 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
33764 all-stagefeedback-binutils: configure-stagefeedback-binutils
33765 @$(MAKE) stagefeedback-start
33766 @r=`${PWD_COMMAND}`; export r; \
33767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33768 $(STAGE_HOST_EXPORTS) \
33769 cd $(HOST_SUBDIR)/binutils && \
33770 $(MAKE) $(FLAGS_TO_PASS) \
33771 $(POSTSTAGE1_FLAGS_TO_PASS) \
33772 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
33774 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
33775 clean-stagefeedback-binutils:
33776 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
33777 || exit 0 ; \
33778 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
33779 cd $(HOST_SUBDIR)/binutils && \
33780 $(MAKE) $(FLAGS_TO_PASS) \
33781 $(POSTSTAGE1_FLAGS_TO_PASS) \
33782 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
33783 @endif binutils-bootstrap
33786 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
33787 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
33788 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
33790 maybe-configure-stagefeedback-gas:
33791 maybe-all-stagefeedback-gas:
33792 maybe-clean-stagefeedback-gas:
33794 @if gas-bootstrap
33795 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
33796 configure-stagefeedback-gas:
33797 @$(MAKE) stagefeedback-start
33798 @[ -f gas/Makefile ] && exit 0 || : ; \
33799 r=`${PWD_COMMAND}`; export r; \
33800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33801 $(STAGE_HOST_EXPORTS) \
33802 echo Configuring stage feedback in gas ; \
33803 cd $(HOST_SUBDIR)/gas || exit 1; \
33804 case $(srcdir) in \
33805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33806 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
33807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33808 esac; \
33809 srcdiroption="--srcdir=$${topdir}/gas"; \
33810 libsrcdir="$$s/gas"; \
33811 $(SHELL) $${libsrcdir}/configure \
33812 $(HOST_CONFIGARGS) $${srcdiroption} \
33813 @stage2_werror_flag@
33815 maybe-all-stagefeedback-gas: all-stagefeedback-gas
33816 all-stagefeedback-gas: configure-stagefeedback-gas
33817 @$(MAKE) stagefeedback-start
33818 @r=`${PWD_COMMAND}`; export r; \
33819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33820 $(STAGE_HOST_EXPORTS) \
33821 cd $(HOST_SUBDIR)/gas && \
33822 $(MAKE) $(FLAGS_TO_PASS) \
33823 $(POSTSTAGE1_FLAGS_TO_PASS) \
33824 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
33826 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
33827 clean-stagefeedback-gas:
33828 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
33829 || exit 0 ; \
33830 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
33831 cd $(HOST_SUBDIR)/gas && \
33832 $(MAKE) $(FLAGS_TO_PASS) \
33833 $(POSTSTAGE1_FLAGS_TO_PASS) \
33834 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
33835 @endif gas-bootstrap
33838 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
33839 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
33840 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
33842 maybe-configure-stagefeedback-gcc:
33843 maybe-all-stagefeedback-gcc:
33844 maybe-clean-stagefeedback-gcc:
33846 @if gcc-bootstrap
33847 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
33848 configure-stagefeedback-gcc:
33849 @$(MAKE) stagefeedback-start
33850 @[ -f gcc/Makefile ] && exit 0 || : ; \
33851 r=`${PWD_COMMAND}`; export r; \
33852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33853 $(STAGE_HOST_EXPORTS) \
33854 echo Configuring stage feedback in gcc ; \
33855 cd $(HOST_SUBDIR)/gcc || exit 1; \
33856 case $(srcdir) in \
33857 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33858 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
33859 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33860 esac; \
33861 srcdiroption="--srcdir=$${topdir}/gcc"; \
33862 libsrcdir="$$s/gcc"; \
33863 $(SHELL) $${libsrcdir}/configure \
33864 $(HOST_CONFIGARGS) $${srcdiroption} \
33865 @stage2_werror_flag@
33867 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
33868 all-stagefeedback-gcc: configure-stagefeedback-gcc
33869 @$(MAKE) stagefeedback-start
33870 @r=`${PWD_COMMAND}`; export r; \
33871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33872 $(STAGE_HOST_EXPORTS) \
33873 cd $(HOST_SUBDIR)/gcc && \
33874 $(MAKE) $(FLAGS_TO_PASS) \
33875 $(POSTSTAGE1_FLAGS_TO_PASS) \
33876 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
33878 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
33879 clean-stagefeedback-gcc:
33880 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
33881 || exit 0 ; \
33882 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
33883 cd $(HOST_SUBDIR)/gcc && \
33884 $(MAKE) $(FLAGS_TO_PASS) \
33885 $(POSTSTAGE1_FLAGS_TO_PASS) \
33886 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
33887 @endif gcc-bootstrap
33890 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
33891 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
33892 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
33894 maybe-configure-stagefeedback-intl:
33895 maybe-all-stagefeedback-intl:
33896 maybe-clean-stagefeedback-intl:
33898 @if intl-bootstrap
33899 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
33900 configure-stagefeedback-intl:
33901 @$(MAKE) stagefeedback-start
33902 @[ -f intl/Makefile ] && exit 0 || : ; \
33903 r=`${PWD_COMMAND}`; export r; \
33904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33905 $(STAGE_HOST_EXPORTS) \
33906 echo Configuring stage feedback in intl ; \
33907 cd $(HOST_SUBDIR)/intl || exit 1; \
33908 case $(srcdir) in \
33909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33910 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
33911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33912 esac; \
33913 srcdiroption="--srcdir=$${topdir}/intl"; \
33914 libsrcdir="$$s/intl"; \
33915 $(SHELL) $${libsrcdir}/configure \
33916 $(HOST_CONFIGARGS) $${srcdiroption} \
33917 @stage2_werror_flag@
33919 maybe-all-stagefeedback-intl: all-stagefeedback-intl
33920 all-stagefeedback-intl: configure-stagefeedback-intl
33921 @$(MAKE) stagefeedback-start
33922 @r=`${PWD_COMMAND}`; export r; \
33923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33924 $(STAGE_HOST_EXPORTS) \
33925 cd $(HOST_SUBDIR)/intl && \
33926 $(MAKE) $(FLAGS_TO_PASS) \
33927 $(POSTSTAGE1_FLAGS_TO_PASS) \
33928 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
33930 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
33931 clean-stagefeedback-intl:
33932 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
33933 || exit 0 ; \
33934 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
33935 cd $(HOST_SUBDIR)/intl && \
33936 $(MAKE) $(FLAGS_TO_PASS) \
33937 $(POSTSTAGE1_FLAGS_TO_PASS) \
33938 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
33939 @endif intl-bootstrap
33942 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
33943 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
33944 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
33946 maybe-configure-stagefeedback-ld:
33947 maybe-all-stagefeedback-ld:
33948 maybe-clean-stagefeedback-ld:
33950 @if ld-bootstrap
33951 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
33952 configure-stagefeedback-ld:
33953 @$(MAKE) stagefeedback-start
33954 @[ -f ld/Makefile ] && exit 0 || : ; \
33955 r=`${PWD_COMMAND}`; export r; \
33956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33957 $(STAGE_HOST_EXPORTS) \
33958 echo Configuring stage feedback in ld ; \
33959 cd $(HOST_SUBDIR)/ld || exit 1; \
33960 case $(srcdir) in \
33961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33962 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
33963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33964 esac; \
33965 srcdiroption="--srcdir=$${topdir}/ld"; \
33966 libsrcdir="$$s/ld"; \
33967 $(SHELL) $${libsrcdir}/configure \
33968 $(HOST_CONFIGARGS) $${srcdiroption} \
33969 @stage2_werror_flag@
33971 maybe-all-stagefeedback-ld: all-stagefeedback-ld
33972 all-stagefeedback-ld: configure-stagefeedback-ld
33973 @$(MAKE) stagefeedback-start
33974 @r=`${PWD_COMMAND}`; export r; \
33975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33976 $(STAGE_HOST_EXPORTS) \
33977 cd $(HOST_SUBDIR)/ld && \
33978 $(MAKE) $(FLAGS_TO_PASS) \
33979 $(POSTSTAGE1_FLAGS_TO_PASS) \
33980 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
33982 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
33983 clean-stagefeedback-ld:
33984 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
33985 || exit 0 ; \
33986 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
33987 cd $(HOST_SUBDIR)/ld && \
33988 $(MAKE) $(FLAGS_TO_PASS) \
33989 $(POSTSTAGE1_FLAGS_TO_PASS) \
33990 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
33991 @endif ld-bootstrap
33994 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
33995 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
33996 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
33998 maybe-configure-stagefeedback-libcpp:
33999 maybe-all-stagefeedback-libcpp:
34000 maybe-clean-stagefeedback-libcpp:
34002 @if libcpp-bootstrap
34003 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
34004 configure-stagefeedback-libcpp:
34005 @$(MAKE) stagefeedback-start
34006 @[ -f libcpp/Makefile ] && exit 0 || : ; \
34007 r=`${PWD_COMMAND}`; export r; \
34008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34009 $(STAGE_HOST_EXPORTS) \
34010 echo Configuring stage feedback in libcpp ; \
34011 cd $(HOST_SUBDIR)/libcpp || exit 1; \
34012 case $(srcdir) in \
34013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34014 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
34015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34016 esac; \
34017 srcdiroption="--srcdir=$${topdir}/libcpp"; \
34018 libsrcdir="$$s/libcpp"; \
34019 $(SHELL) $${libsrcdir}/configure \
34020 $(HOST_CONFIGARGS) $${srcdiroption} \
34021 @stage2_werror_flag@
34023 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
34024 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
34025 @$(MAKE) stagefeedback-start
34026 @r=`${PWD_COMMAND}`; export r; \
34027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34028 $(STAGE_HOST_EXPORTS) \
34029 cd $(HOST_SUBDIR)/libcpp && \
34030 $(MAKE) $(FLAGS_TO_PASS) \
34031 $(POSTSTAGE1_FLAGS_TO_PASS) \
34032 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34034 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
34035 clean-stagefeedback-libcpp:
34036 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
34037 || exit 0 ; \
34038 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
34039 cd $(HOST_SUBDIR)/libcpp && \
34040 $(MAKE) $(FLAGS_TO_PASS) \
34041 $(POSTSTAGE1_FLAGS_TO_PASS) \
34042 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34043 @endif libcpp-bootstrap
34046 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
34047 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
34048 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
34050 maybe-configure-stagefeedback-libiberty:
34051 maybe-all-stagefeedback-libiberty:
34052 maybe-clean-stagefeedback-libiberty:
34054 @if libiberty-bootstrap
34055 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
34056 configure-stagefeedback-libiberty:
34057 @$(MAKE) stagefeedback-start
34058 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34059 r=`${PWD_COMMAND}`; export r; \
34060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34061 $(STAGE_HOST_EXPORTS) \
34062 echo Configuring stage feedback in libiberty ; \
34063 cd $(HOST_SUBDIR)/libiberty || exit 1; \
34064 case $(srcdir) in \
34065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34066 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
34067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34068 esac; \
34069 srcdiroption="--srcdir=$${topdir}/libiberty"; \
34070 libsrcdir="$$s/libiberty"; \
34071 $(SHELL) $${libsrcdir}/configure \
34072 $(HOST_CONFIGARGS) $${srcdiroption} \
34073 @stage2_werror_flag@
34075 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
34076 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
34077 @$(MAKE) stagefeedback-start
34078 @r=`${PWD_COMMAND}`; export r; \
34079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34080 $(STAGE_HOST_EXPORTS) \
34081 cd $(HOST_SUBDIR)/libiberty && \
34082 $(MAKE) $(FLAGS_TO_PASS) \
34083 $(POSTSTAGE1_FLAGS_TO_PASS) \
34084 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34086 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
34087 clean-stagefeedback-libiberty:
34088 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
34089 || exit 0 ; \
34090 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
34091 cd $(HOST_SUBDIR)/libiberty && \
34092 $(MAKE) $(FLAGS_TO_PASS) \
34093 $(POSTSTAGE1_FLAGS_TO_PASS) \
34094 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34095 @endif libiberty-bootstrap
34098 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
34099 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
34100 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
34102 maybe-configure-stagefeedback-zlib:
34103 maybe-all-stagefeedback-zlib:
34104 maybe-clean-stagefeedback-zlib:
34106 @if zlib-bootstrap
34107 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
34108 configure-stagefeedback-zlib:
34109 @$(MAKE) stagefeedback-start
34110 @[ -f zlib/Makefile ] && exit 0 || : ; \
34111 r=`${PWD_COMMAND}`; export r; \
34112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34113 $(STAGE_HOST_EXPORTS) \
34114 echo Configuring stage feedback in zlib ; \
34115 cd $(HOST_SUBDIR)/zlib || exit 1; \
34116 case $(srcdir) in \
34117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34118 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34120 esac; \
34121 srcdiroption="--srcdir=$${topdir}/zlib"; \
34122 libsrcdir="$$s/zlib"; \
34123 $(SHELL) $${libsrcdir}/configure \
34124 $(HOST_CONFIGARGS) $${srcdiroption} \
34125 @stage2_werror_flag@
34127 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
34128 all-stagefeedback-zlib: configure-stagefeedback-zlib
34129 @$(MAKE) stagefeedback-start
34130 @r=`${PWD_COMMAND}`; export r; \
34131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34132 $(STAGE_HOST_EXPORTS) \
34133 cd $(HOST_SUBDIR)/zlib && \
34134 $(MAKE) $(FLAGS_TO_PASS) \
34135 $(POSTSTAGE1_FLAGS_TO_PASS) \
34136 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34138 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
34139 clean-stagefeedback-zlib:
34140 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
34141 || exit 0 ; \
34142 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
34143 cd $(HOST_SUBDIR)/zlib && \
34144 $(MAKE) $(FLAGS_TO_PASS) \
34145 $(POSTSTAGE1_FLAGS_TO_PASS) \
34146 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34147 @endif zlib-bootstrap
34151 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34152 # only possibility, but now it conflicts with no-bootstrap rules
34153 @if gcc-bootstrap
34158 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34159 distclean-stage1:: distclean-stagefeedback
34160 .PHONY: distclean-stagefeedback
34161 distclean-stagefeedback::
34162 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34163 rm -rf stagefeedback-*
34166 @endif gcc-bootstrap
34170 stagefeedback-start::
34171 @r=`${PWD_COMMAND}`; export r; \
34172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34173 cd stageprofile-gcc && \
34174 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
34175 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
34177 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34178 # only possibility, but now it conflicts with no-bootstrap rules
34179 @if gcc-bootstrap
34180 profiledbootstrap:
34181 @r=`${PWD_COMMAND}`; export r; \
34182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34183 $(HOST_EXPORTS) \
34184 echo "Bootstrapping the compiler"; \
34185 $(MAKE) stageprofile-bubble distclean-stagefeedback
34186 @r=`${PWD_COMMAND}`; export r; \
34187 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
34188 echo "Building runtime libraries and training compiler"; \
34189 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
34190 @r=`${PWD_COMMAND}`; export r; \
34191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34192 $(HOST_EXPORTS) \
34193 echo "Building feedback based compiler"; \
34194 $(MAKE) stagefeedback-bubble stagefeedback-end
34195 @endif gcc-bootstrap
34197 @if gcc-bootstrap
34198 NOTPARALLEL = .NOTPARALLEL
34199 $(NOTPARALLEL):
34200 do-distclean: distclean-stage1
34201 @endif gcc-bootstrap
34203 # --------------------------------------
34204 # Dependencies between different modules
34205 # --------------------------------------
34207 # Generic dependencies for target modules on host stuff, especially gcc
34209 configure-target-libstdc++-v3: maybe-all-gcc
34211 configure-target-libmudflap: maybe-all-gcc
34213 configure-target-newlib: maybe-all-gcc
34215 configure-target-libgfortran: maybe-all-gcc
34217 configure-target-libobjc: maybe-all-gcc
34219 configure-target-libtermcap: maybe-all-gcc
34221 configure-target-winsup: maybe-all-gcc
34223 configure-target-libgloss: maybe-all-gcc
34225 configure-target-libiberty: maybe-all-gcc
34227 configure-target-gperf: maybe-all-gcc
34229 configure-target-examples: maybe-all-gcc
34231 configure-target-libffi: maybe-all-gcc
34233 configure-target-libjava: maybe-all-gcc
34235 configure-target-zlib: maybe-all-gcc
34237 configure-target-boehm-gc: maybe-all-gcc
34239 configure-target-qthreads: maybe-all-gcc
34241 configure-target-rda: maybe-all-gcc
34243 configure-target-libada: maybe-all-gcc
34247 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
34249 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
34250 configure-target-gperf: maybe-all-target-libstdc++-v3
34252 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
34254 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
34256 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
34258 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
34259 configure-target-libjava: maybe-all-target-libstdc++-v3
34261 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
34263 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
34265 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
34267 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
34269 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
34271 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
34273 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
34275 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
34278 # There are two types of dependencies here: 'hard' dependencies, where one
34279 # module simply won't build without the other; and 'soft' dependencies, where
34280 # if the depended-on module is missing, the depending module will do without
34281 # or find a substitute somewhere (perhaps installed). Soft dependencies
34282 # are made here to depend on a 'maybe-' target. If you're not sure,
34283 # it's safer to use a soft dependency.
34289 # With all the machinery above in place, it is pretty easy to generate
34290 # dependencies. Host dependencies are a bit more complex because we have
34291 # to check for bootstrap/prebootstrap dependencies. To resolve
34292 # prebootstrap dependencies, prebootstrap modules are gathered in
34293 # a hash table.
34294 all-build-bison: maybe-all-build-texinfo
34295 all-build-byacc: maybe-all-build-texinfo
34296 all-build-flex: maybe-all-build-texinfo
34297 all-build-flex: maybe-all-build-bison
34298 all-build-flex: maybe-all-build-byacc
34299 all-build-flex: maybe-all-build-m4
34300 all-build-libiberty: maybe-all-build-texinfo
34301 all-build-m4: maybe-all-build-texinfo
34302 all-build-fixincludes: maybe-all-build-libiberty
34303 configure-gcc: maybe-configure-intl
34305 configure-stage1-gcc: maybe-configure-stage1-intl
34306 configure-stage2-gcc: maybe-configure-stage2-intl
34307 configure-stage3-gcc: maybe-configure-stage3-intl
34308 configure-stage4-gcc: maybe-configure-stage4-intl
34309 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
34310 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
34311 configure-gcc: maybe-configure-binutils
34313 configure-stage1-gcc: maybe-configure-stage1-binutils
34314 configure-stage2-gcc: maybe-configure-stage2-binutils
34315 configure-stage3-gcc: maybe-configure-stage3-binutils
34316 configure-stage4-gcc: maybe-configure-stage4-binutils
34317 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
34318 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
34319 configure-gcc: maybe-configure-gas
34321 configure-stage1-gcc: maybe-configure-stage1-gas
34322 configure-stage2-gcc: maybe-configure-stage2-gas
34323 configure-stage3-gcc: maybe-configure-stage3-gas
34324 configure-stage4-gcc: maybe-configure-stage4-gas
34325 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
34326 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
34327 configure-gcc: maybe-configure-ld
34329 configure-stage1-gcc: maybe-configure-stage1-ld
34330 configure-stage2-gcc: maybe-configure-stage2-ld
34331 configure-stage3-gcc: maybe-configure-stage3-ld
34332 configure-stage4-gcc: maybe-configure-stage4-ld
34333 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
34334 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
34335 all-gcc: all-libiberty
34337 all-stage1-gcc: all-stage1-libiberty
34338 all-stage2-gcc: all-stage2-libiberty
34339 all-stage3-gcc: all-stage3-libiberty
34340 all-stage4-gcc: all-stage4-libiberty
34341 all-stageprofile-gcc: all-stageprofile-libiberty
34342 all-stagefeedback-gcc: all-stagefeedback-libiberty
34343 all-gcc: maybe-all-intl
34345 all-stage1-gcc: maybe-all-stage1-intl
34346 all-stage2-gcc: maybe-all-stage2-intl
34347 all-stage3-gcc: maybe-all-stage3-intl
34348 all-stage4-gcc: maybe-all-stage4-intl
34349 all-stageprofile-gcc: maybe-all-stageprofile-intl
34350 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
34351 all-gcc: maybe-all-build-texinfo
34353 all-stage1-gcc: maybe-all-build-texinfo
34354 all-stage2-gcc: maybe-all-build-texinfo
34355 all-stage3-gcc: maybe-all-build-texinfo
34356 all-stage4-gcc: maybe-all-build-texinfo
34357 all-stageprofile-gcc: maybe-all-build-texinfo
34358 all-stagefeedback-gcc: maybe-all-build-texinfo
34359 all-prebootstrap: maybe-all-build-texinfo
34360 all-gcc: maybe-all-build-bison
34362 all-stage1-gcc: maybe-all-build-bison
34363 all-stage2-gcc: maybe-all-build-bison
34364 all-stage3-gcc: maybe-all-build-bison
34365 all-stage4-gcc: maybe-all-build-bison
34366 all-stageprofile-gcc: maybe-all-build-bison
34367 all-stagefeedback-gcc: maybe-all-build-bison
34368 all-prebootstrap: maybe-all-build-bison
34369 all-gcc: maybe-all-build-byacc
34371 all-stage1-gcc: maybe-all-build-byacc
34372 all-stage2-gcc: maybe-all-build-byacc
34373 all-stage3-gcc: maybe-all-build-byacc
34374 all-stage4-gcc: maybe-all-build-byacc
34375 all-stageprofile-gcc: maybe-all-build-byacc
34376 all-stagefeedback-gcc: maybe-all-build-byacc
34377 all-prebootstrap: maybe-all-build-byacc
34378 all-gcc: maybe-all-build-flex
34380 all-stage1-gcc: maybe-all-build-flex
34381 all-stage2-gcc: maybe-all-build-flex
34382 all-stage3-gcc: maybe-all-build-flex
34383 all-stage4-gcc: maybe-all-build-flex
34384 all-stageprofile-gcc: maybe-all-build-flex
34385 all-stagefeedback-gcc: maybe-all-build-flex
34386 all-prebootstrap: maybe-all-build-flex
34387 all-gcc: maybe-all-build-libiberty
34389 all-stage1-gcc: maybe-all-build-libiberty
34390 all-stage2-gcc: maybe-all-build-libiberty
34391 all-stage3-gcc: maybe-all-build-libiberty
34392 all-stage4-gcc: maybe-all-build-libiberty
34393 all-stageprofile-gcc: maybe-all-build-libiberty
34394 all-stagefeedback-gcc: maybe-all-build-libiberty
34395 all-prebootstrap: maybe-all-build-libiberty
34396 all-gcc: maybe-all-build-fixincludes
34398 all-stage1-gcc: maybe-all-build-fixincludes
34399 all-stage2-gcc: maybe-all-build-fixincludes
34400 all-stage3-gcc: maybe-all-build-fixincludes
34401 all-stage4-gcc: maybe-all-build-fixincludes
34402 all-stageprofile-gcc: maybe-all-build-fixincludes
34403 all-stagefeedback-gcc: maybe-all-build-fixincludes
34404 all-prebootstrap: maybe-all-build-fixincludes
34405 all-gcc: maybe-all-binutils
34407 all-stage1-gcc: maybe-all-stage1-binutils
34408 all-stage2-gcc: maybe-all-stage2-binutils
34409 all-stage3-gcc: maybe-all-stage3-binutils
34410 all-stage4-gcc: maybe-all-stage4-binutils
34411 all-stageprofile-gcc: maybe-all-stageprofile-binutils
34412 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
34413 all-gcc: maybe-all-gas
34415 all-stage1-gcc: maybe-all-stage1-gas
34416 all-stage2-gcc: maybe-all-stage2-gas
34417 all-stage3-gcc: maybe-all-stage3-gas
34418 all-stage4-gcc: maybe-all-stage4-gas
34419 all-stageprofile-gcc: maybe-all-stageprofile-gas
34420 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
34421 all-gcc: maybe-all-ld
34423 all-stage1-gcc: maybe-all-stage1-ld
34424 all-stage2-gcc: maybe-all-stage2-ld
34425 all-stage3-gcc: maybe-all-stage3-ld
34426 all-stage4-gcc: maybe-all-stage4-ld
34427 all-stageprofile-gcc: maybe-all-stageprofile-ld
34428 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
34429 all-gcc: maybe-all-zlib
34431 all-stage1-gcc: maybe-all-stage1-zlib
34432 all-stage2-gcc: maybe-all-stage2-zlib
34433 all-stage3-gcc: maybe-all-stage3-zlib
34434 all-stage4-gcc: maybe-all-stage4-zlib
34435 all-stageprofile-gcc: maybe-all-stageprofile-zlib
34436 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
34437 all-gcc: all-libcpp
34439 all-stage1-gcc: all-stage1-libcpp
34440 all-stage2-gcc: all-stage2-libcpp
34441 all-stage3-gcc: all-stage3-libcpp
34442 all-stage4-gcc: all-stage4-libcpp
34443 all-stageprofile-gcc: all-stageprofile-libcpp
34444 all-stagefeedback-gcc: all-stagefeedback-libcpp
34445 all-gcc: maybe-all-libiberty
34447 all-stage1-gcc: maybe-all-stage1-libiberty
34448 all-stage2-gcc: maybe-all-stage2-libiberty
34449 all-stage3-gcc: maybe-all-stage3-libiberty
34450 all-stage4-gcc: maybe-all-stage4-libiberty
34451 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
34452 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
34453 all-gcc: maybe-all-fixincludes
34454 install-gcc: maybe-install-fixincludes
34455 configure-libcpp: configure-libiberty
34457 configure-stage1-libcpp: configure-stage1-libiberty
34458 configure-stage2-libcpp: configure-stage2-libiberty
34459 configure-stage3-libcpp: configure-stage3-libiberty
34460 configure-stage4-libcpp: configure-stage4-libiberty
34461 configure-stageprofile-libcpp: configure-stageprofile-libiberty
34462 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
34463 configure-libcpp: maybe-configure-intl
34465 configure-stage1-libcpp: maybe-configure-stage1-intl
34466 configure-stage2-libcpp: maybe-configure-stage2-intl
34467 configure-stage3-libcpp: maybe-configure-stage3-intl
34468 configure-stage4-libcpp: maybe-configure-stage4-intl
34469 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
34470 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
34471 all-libcpp: all-libiberty
34473 all-stage1-libcpp: all-stage1-libiberty
34474 all-stage2-libcpp: all-stage2-libiberty
34475 all-stage3-libcpp: all-stage3-libiberty
34476 all-stage4-libcpp: all-stage4-libiberty
34477 all-stageprofile-libcpp: all-stageprofile-libiberty
34478 all-stagefeedback-libcpp: all-stagefeedback-libiberty
34479 all-libcpp: maybe-all-intl
34481 all-stage1-libcpp: maybe-all-stage1-intl
34482 all-stage2-libcpp: maybe-all-stage2-intl
34483 all-stage3-libcpp: maybe-all-stage3-intl
34484 all-stage4-libcpp: maybe-all-stage4-intl
34485 all-stageprofile-libcpp: maybe-all-stageprofile-intl
34486 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
34487 all-fixincludes: maybe-all-libiberty
34488 all-gnattools: maybe-all-target-libada
34489 configure-gdb: maybe-configure-itcl
34490 configure-gdb: maybe-configure-tcl
34491 configure-gdb: maybe-configure-tk
34492 configure-gdb: maybe-configure-sim
34493 all-gdb: maybe-all-libiberty
34494 all-gdb: maybe-all-opcodes
34495 all-gdb: maybe-all-bfd
34496 all-gdb: maybe-all-readline
34497 all-gdb: maybe-all-build-bison
34498 all-gdb: maybe-all-build-byacc
34499 all-gdb: maybe-all-sim
34500 install-gdb: maybe-install-tcl
34501 install-gdb: maybe-install-tk
34502 install-gdb: maybe-install-itcl
34503 install-gdb: maybe-install-libgui
34504 configure-libgui: maybe-configure-tcl
34505 configure-libgui: maybe-configure-tk
34506 all-libgui: maybe-all-tcl
34507 all-libgui: maybe-all-tk
34508 all-libgui: maybe-all-itcl
34509 configure-bfd: configure-libiberty
34511 configure-stage1-bfd: configure-stage1-libiberty
34512 configure-stage2-bfd: configure-stage2-libiberty
34513 configure-stage3-bfd: configure-stage3-libiberty
34514 configure-stage4-bfd: configure-stage4-libiberty
34515 configure-stageprofile-bfd: configure-stageprofile-libiberty
34516 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
34517 all-bfd: maybe-all-libiberty
34519 all-stage1-bfd: maybe-all-stage1-libiberty
34520 all-stage2-bfd: maybe-all-stage2-libiberty
34521 all-stage3-bfd: maybe-all-stage3-libiberty
34522 all-stage4-bfd: maybe-all-stage4-libiberty
34523 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
34524 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
34525 all-bfd: maybe-all-intl
34527 all-stage1-bfd: maybe-all-stage1-intl
34528 all-stage2-bfd: maybe-all-stage2-intl
34529 all-stage3-bfd: maybe-all-stage3-intl
34530 all-stage4-bfd: maybe-all-stage4-intl
34531 all-stageprofile-bfd: maybe-all-stageprofile-intl
34532 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
34533 all-binutils: maybe-all-libiberty
34535 all-stage1-binutils: maybe-all-stage1-libiberty
34536 all-stage2-binutils: maybe-all-stage2-libiberty
34537 all-stage3-binutils: maybe-all-stage3-libiberty
34538 all-stage4-binutils: maybe-all-stage4-libiberty
34539 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
34540 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
34541 all-binutils: maybe-all-opcodes
34543 all-stage1-binutils: maybe-all-stage1-opcodes
34544 all-stage2-binutils: maybe-all-stage2-opcodes
34545 all-stage3-binutils: maybe-all-stage3-opcodes
34546 all-stage4-binutils: maybe-all-stage4-opcodes
34547 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
34548 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
34549 all-binutils: maybe-all-bfd
34551 all-stage1-binutils: maybe-all-stage1-bfd
34552 all-stage2-binutils: maybe-all-stage2-bfd
34553 all-stage3-binutils: maybe-all-stage3-bfd
34554 all-stage4-binutils: maybe-all-stage4-bfd
34555 all-stageprofile-binutils: maybe-all-stageprofile-bfd
34556 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
34557 all-binutils: maybe-all-build-flex
34559 all-stage1-binutils: maybe-all-build-flex
34560 all-stage2-binutils: maybe-all-build-flex
34561 all-stage3-binutils: maybe-all-build-flex
34562 all-stage4-binutils: maybe-all-build-flex
34563 all-stageprofile-binutils: maybe-all-build-flex
34564 all-stagefeedback-binutils: maybe-all-build-flex
34565 all-prebootstrap: maybe-all-build-flex
34566 all-binutils: maybe-all-build-bison
34568 all-stage1-binutils: maybe-all-build-bison
34569 all-stage2-binutils: maybe-all-build-bison
34570 all-stage3-binutils: maybe-all-build-bison
34571 all-stage4-binutils: maybe-all-build-bison
34572 all-stageprofile-binutils: maybe-all-build-bison
34573 all-stagefeedback-binutils: maybe-all-build-bison
34574 all-prebootstrap: maybe-all-build-bison
34575 all-binutils: maybe-all-build-byacc
34577 all-stage1-binutils: maybe-all-build-byacc
34578 all-stage2-binutils: maybe-all-build-byacc
34579 all-stage3-binutils: maybe-all-build-byacc
34580 all-stage4-binutils: maybe-all-build-byacc
34581 all-stageprofile-binutils: maybe-all-build-byacc
34582 all-stagefeedback-binutils: maybe-all-build-byacc
34583 all-prebootstrap: maybe-all-build-byacc
34584 all-binutils: maybe-all-intl
34586 all-stage1-binutils: maybe-all-stage1-intl
34587 all-stage2-binutils: maybe-all-stage2-intl
34588 all-stage3-binutils: maybe-all-stage3-intl
34589 all-stage4-binutils: maybe-all-stage4-intl
34590 all-stageprofile-binutils: maybe-all-stageprofile-intl
34591 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
34592 install-binutils: maybe-install-opcodes
34593 install-opcodes: maybe-install-bfd
34594 all-gas: maybe-all-libiberty
34596 all-stage1-gas: maybe-all-stage1-libiberty
34597 all-stage2-gas: maybe-all-stage2-libiberty
34598 all-stage3-gas: maybe-all-stage3-libiberty
34599 all-stage4-gas: maybe-all-stage4-libiberty
34600 all-stageprofile-gas: maybe-all-stageprofile-libiberty
34601 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
34602 all-gas: maybe-all-opcodes
34604 all-stage1-gas: maybe-all-stage1-opcodes
34605 all-stage2-gas: maybe-all-stage2-opcodes
34606 all-stage3-gas: maybe-all-stage3-opcodes
34607 all-stage4-gas: maybe-all-stage4-opcodes
34608 all-stageprofile-gas: maybe-all-stageprofile-opcodes
34609 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
34610 all-gas: maybe-all-bfd
34612 all-stage1-gas: maybe-all-stage1-bfd
34613 all-stage2-gas: maybe-all-stage2-bfd
34614 all-stage3-gas: maybe-all-stage3-bfd
34615 all-stage4-gas: maybe-all-stage4-bfd
34616 all-stageprofile-gas: maybe-all-stageprofile-bfd
34617 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
34618 all-gas: maybe-all-intl
34620 all-stage1-gas: maybe-all-stage1-intl
34621 all-stage2-gas: maybe-all-stage2-intl
34622 all-stage3-gas: maybe-all-stage3-intl
34623 all-stage4-gas: maybe-all-stage4-intl
34624 all-stageprofile-gas: maybe-all-stageprofile-intl
34625 all-stagefeedback-gas: maybe-all-stagefeedback-intl
34626 all-gprof: maybe-all-libiberty
34627 all-gprof: maybe-all-bfd
34628 all-gprof: maybe-all-opcodes
34629 all-gprof: maybe-all-intl
34630 all-ld: maybe-all-libiberty
34632 all-stage1-ld: maybe-all-stage1-libiberty
34633 all-stage2-ld: maybe-all-stage2-libiberty
34634 all-stage3-ld: maybe-all-stage3-libiberty
34635 all-stage4-ld: maybe-all-stage4-libiberty
34636 all-stageprofile-ld: maybe-all-stageprofile-libiberty
34637 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
34638 all-ld: maybe-all-bfd
34640 all-stage1-ld: maybe-all-stage1-bfd
34641 all-stage2-ld: maybe-all-stage2-bfd
34642 all-stage3-ld: maybe-all-stage3-bfd
34643 all-stage4-ld: maybe-all-stage4-bfd
34644 all-stageprofile-ld: maybe-all-stageprofile-bfd
34645 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
34646 all-ld: maybe-all-opcodes
34648 all-stage1-ld: maybe-all-stage1-opcodes
34649 all-stage2-ld: maybe-all-stage2-opcodes
34650 all-stage3-ld: maybe-all-stage3-opcodes
34651 all-stage4-ld: maybe-all-stage4-opcodes
34652 all-stageprofile-ld: maybe-all-stageprofile-opcodes
34653 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
34654 all-ld: maybe-all-build-bison
34656 all-stage1-ld: maybe-all-build-bison
34657 all-stage2-ld: maybe-all-build-bison
34658 all-stage3-ld: maybe-all-build-bison
34659 all-stage4-ld: maybe-all-build-bison
34660 all-stageprofile-ld: maybe-all-build-bison
34661 all-stagefeedback-ld: maybe-all-build-bison
34662 all-prebootstrap: maybe-all-build-bison
34663 all-ld: maybe-all-build-byacc
34665 all-stage1-ld: maybe-all-build-byacc
34666 all-stage2-ld: maybe-all-build-byacc
34667 all-stage3-ld: maybe-all-build-byacc
34668 all-stage4-ld: maybe-all-build-byacc
34669 all-stageprofile-ld: maybe-all-build-byacc
34670 all-stagefeedback-ld: maybe-all-build-byacc
34671 all-prebootstrap: maybe-all-build-byacc
34672 all-ld: maybe-all-build-flex
34674 all-stage1-ld: maybe-all-build-flex
34675 all-stage2-ld: maybe-all-build-flex
34676 all-stage3-ld: maybe-all-build-flex
34677 all-stage4-ld: maybe-all-build-flex
34678 all-stageprofile-ld: maybe-all-build-flex
34679 all-stagefeedback-ld: maybe-all-build-flex
34680 all-prebootstrap: maybe-all-build-flex
34681 all-ld: maybe-all-intl
34683 all-stage1-ld: maybe-all-stage1-intl
34684 all-stage2-ld: maybe-all-stage2-intl
34685 all-stage3-ld: maybe-all-stage3-intl
34686 all-stage4-ld: maybe-all-stage4-intl
34687 all-stageprofile-ld: maybe-all-stageprofile-intl
34688 all-stagefeedback-ld: maybe-all-stagefeedback-intl
34689 all-opcodes: maybe-all-bfd
34691 all-stage1-opcodes: maybe-all-stage1-bfd
34692 all-stage2-opcodes: maybe-all-stage2-bfd
34693 all-stage3-opcodes: maybe-all-stage3-bfd
34694 all-stage4-opcodes: maybe-all-stage4-bfd
34695 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
34696 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
34697 all-opcodes: maybe-all-libiberty
34699 all-stage1-opcodes: maybe-all-stage1-libiberty
34700 all-stage2-opcodes: maybe-all-stage2-libiberty
34701 all-stage3-opcodes: maybe-all-stage3-libiberty
34702 all-stage4-opcodes: maybe-all-stage4-libiberty
34703 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
34704 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
34705 all-dejagnu: maybe-all-tcl
34706 all-dejagnu: maybe-all-expect
34707 all-dejagnu: maybe-all-tk
34708 configure-expect: maybe-configure-tcl
34709 configure-expect: maybe-configure-tk
34710 all-expect: maybe-all-tcl
34711 all-expect: maybe-all-tk
34712 configure-itcl: maybe-configure-tcl
34713 configure-itcl: maybe-configure-tk
34714 all-itcl: maybe-all-tcl
34715 all-itcl: maybe-all-tk
34716 install-itcl: maybe-install-tcl
34717 configure-tk: maybe-configure-tcl
34718 all-tk: maybe-all-tcl
34719 all-sid: maybe-all-libiberty
34720 all-sid: maybe-all-bfd
34721 all-sid: maybe-all-opcodes
34722 all-sid: maybe-all-tcl
34723 all-sid: maybe-all-tk
34724 install-sid: maybe-install-tcl
34725 install-sid: maybe-install-tk
34726 all-sim: maybe-all-libiberty
34727 all-sim: maybe-all-bfd
34728 all-sim: maybe-all-opcodes
34729 all-sim: maybe-all-readline
34730 all-sim: maybe-configure-gdb
34731 all-fastjar: maybe-all-zlib
34732 all-fastjar: maybe-all-build-texinfo
34733 all-fastjar: maybe-all-libiberty
34734 all-autoconf: maybe-all-m4
34735 all-autoconf: maybe-all-build-texinfo
34736 all-automake: maybe-all-m4
34737 all-automake: maybe-all-build-texinfo
34738 all-automake: maybe-all-autoconf
34739 all-bison: maybe-all-intl
34740 all-bison: maybe-all-build-texinfo
34741 all-diff: maybe-all-intl
34742 all-diff: maybe-all-build-texinfo
34743 all-fileutils: maybe-all-intl
34744 all-fileutils: maybe-all-build-texinfo
34745 all-flex: maybe-all-build-bison
34746 all-flex: maybe-all-build-byacc
34747 all-flex: maybe-all-intl
34748 all-flex: maybe-all-m4
34749 all-flex: maybe-all-build-texinfo
34750 all-gzip: maybe-all-intl
34751 all-gzip: maybe-all-zlib
34752 all-gzip: maybe-all-build-texinfo
34753 all-hello: maybe-all-intl
34754 all-hello: maybe-all-build-texinfo
34755 all-m4: maybe-all-intl
34756 all-m4: maybe-all-build-texinfo
34757 all-make: maybe-all-intl
34758 all-make: maybe-all-build-texinfo
34759 all-patch: maybe-all-build-texinfo
34760 all-make: maybe-all-build-texinfo
34761 all-prms: maybe-all-libiberty
34762 all-recode: maybe-all-build-texinfo
34763 all-sed: maybe-all-build-texinfo
34764 all-send-pr: maybe-all-prms
34765 all-tar: maybe-all-build-texinfo
34766 all-uudecode: maybe-all-build-texinfo
34767 configure-target-boehm-gc: maybe-configure-target-qthreads
34768 configure-target-fastjar: maybe-configure-target-zlib
34769 all-target-fastjar: maybe-all-target-zlib
34770 all-target-fastjar: maybe-all-target-libiberty
34771 configure-target-libjava: maybe-configure-target-zlib
34772 configure-target-libjava: maybe-configure-target-boehm-gc
34773 configure-target-libjava: maybe-configure-target-qthreads
34774 configure-target-libjava: maybe-configure-target-libffi
34775 all-target-libjava: maybe-all-fastjar
34776 all-target-libjava: maybe-all-target-zlib
34777 all-target-libjava: maybe-all-target-boehm-gc
34778 all-target-libjava: maybe-all-target-qthreads
34779 all-target-libjava: maybe-all-target-libffi
34780 all-target-libobjc: maybe-all-target-libiberty
34781 all-target-libstdc++-v3: maybe-all-target-libiberty
34782 all-target-libgloss: maybe-configure-target-newlib
34783 all-target-winsup: maybe-all-target-libiberty
34784 all-target-winsup: maybe-all-target-libtermcap
34787 # Non-toplevel bootstrap rules must depend on several packages, to be built
34788 # before gcc. Another wart that will go away, hopefully soon.
34789 @if gcc-no-bootstrap
34791 all-prebootstrap: maybe-all-bfd
34792 all-prebootstrap: maybe-all-opcodes
34793 all-prebootstrap: maybe-all-binutils
34794 all-prebootstrap: maybe-all-gas
34795 all-prebootstrap: maybe-all-intl
34796 all-prebootstrap: maybe-all-ld
34797 all-prebootstrap: maybe-all-libcpp
34798 all-prebootstrap: maybe-all-libiberty
34799 all-prebootstrap: maybe-all-zlib
34800 @endif gcc-no-bootstrap
34802 GDB_TK = @GDB_TK@
34803 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
34805 # Serialization dependencies. Host configures don't work well in parallel to
34806 # each other, due to contention over config.cache. Target configures and
34807 # build configures are similar.
34808 @serialization_dependencies@
34810 # --------------------------------
34811 # Regenerating top level configury
34812 # --------------------------------
34814 # Multilib.out tells target dirs what multilibs they should build.
34815 # There is really only one copy. We use the 'timestamp' method to
34816 # work around various timestamp bugs on some systems.
34817 # We use move-if-change so that it's only considered updated when it
34818 # actually changes, because it has to depend on a phony target.
34819 multilib.out: maybe-all-gcc
34820 @r=`${PWD_COMMAND}`; export r; \
34821 echo "Checking multilib configuration..."; \
34822 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
34823 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
34825 # Rebuilding Makefile.in, using autogen.
34826 AUTOGEN = autogen
34827 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
34828 cd $(srcdir) && $(AUTOGEN) Makefile.def
34830 # Rebuilding Makefile.
34831 Makefile: $(srcdir)/Makefile.in config.status
34832 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
34834 config.status: configure
34835 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
34837 # Rebuilding configure.
34838 AUTOCONF = autoconf
34839 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
34840 cd $(srcdir) && $(AUTOCONF)
34842 # ------------------------------
34843 # Special directives to GNU Make
34844 # ------------------------------
34846 # Don't pass command-line variables to submakes.
34847 .NOEXPORT:
34848 MAKEOVERRIDES=
34850 # end of Makefile.in