* cpplib.pot: Regenerate.
[official-gcc.git] / Makefile.in
blob1e080926569313b2c29af15b1ef6d3e5a7706d17
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 POSTSTAGE1_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
2230 .PHONY: all-build-libiberty maybe-all-build-libiberty
2231 maybe-all-build-libiberty:
2232 @if build-libiberty
2233 TARGET-build-libiberty=all
2234 maybe-all-build-libiberty: all-build-libiberty
2235 all-build-libiberty: configure-build-libiberty
2236 @r=`${PWD_COMMAND}`; export r; \
2237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2238 $(BUILD_EXPORTS) \
2239 (cd $(BUILD_SUBDIR)/libiberty && \
2240 $(MAKE) $(TARGET-build-libiberty))
2241 @endif build-libiberty
2247 .PHONY: configure-build-bison maybe-configure-build-bison
2248 maybe-configure-build-bison:
2249 @if build-bison
2250 maybe-configure-build-bison: configure-build-bison
2251 configure-build-bison:
2252 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2253 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2254 r=`${PWD_COMMAND}`; export r; \
2255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2256 $(BUILD_EXPORTS) \
2257 echo Configuring in $(BUILD_SUBDIR)/bison; \
2258 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2259 case $(srcdir) in \
2260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2261 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2263 esac; \
2264 srcdiroption="--srcdir=$${topdir}/bison"; \
2265 libsrcdir="$$s/bison"; \
2266 rm -f no-such-file || : ; \
2267 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2268 $(BUILD_CONFIGARGS) $${srcdiroption} \
2269 || exit 1
2270 @endif build-bison
2276 .PHONY: all-build-bison maybe-all-build-bison
2277 maybe-all-build-bison:
2278 @if build-bison
2279 TARGET-build-bison=all
2280 maybe-all-build-bison: all-build-bison
2281 all-build-bison: configure-build-bison
2282 @r=`${PWD_COMMAND}`; export r; \
2283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2284 $(BUILD_EXPORTS) \
2285 (cd $(BUILD_SUBDIR)/bison && \
2286 $(MAKE) $(TARGET-build-bison))
2287 @endif build-bison
2293 .PHONY: configure-build-byacc maybe-configure-build-byacc
2294 maybe-configure-build-byacc:
2295 @if build-byacc
2296 maybe-configure-build-byacc: configure-build-byacc
2297 configure-build-byacc:
2298 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2299 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2300 r=`${PWD_COMMAND}`; export r; \
2301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2302 $(BUILD_EXPORTS) \
2303 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2304 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2305 case $(srcdir) in \
2306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2307 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2309 esac; \
2310 srcdiroption="--srcdir=$${topdir}/byacc"; \
2311 libsrcdir="$$s/byacc"; \
2312 rm -f no-such-file || : ; \
2313 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2314 $(BUILD_CONFIGARGS) $${srcdiroption} \
2315 || exit 1
2316 @endif build-byacc
2322 .PHONY: all-build-byacc maybe-all-build-byacc
2323 maybe-all-build-byacc:
2324 @if build-byacc
2325 TARGET-build-byacc=all
2326 maybe-all-build-byacc: all-build-byacc
2327 all-build-byacc: configure-build-byacc
2328 @r=`${PWD_COMMAND}`; export r; \
2329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2330 $(BUILD_EXPORTS) \
2331 (cd $(BUILD_SUBDIR)/byacc && \
2332 $(MAKE) $(TARGET-build-byacc))
2333 @endif build-byacc
2339 .PHONY: configure-build-flex maybe-configure-build-flex
2340 maybe-configure-build-flex:
2341 @if build-flex
2342 maybe-configure-build-flex: configure-build-flex
2343 configure-build-flex:
2344 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2345 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2346 r=`${PWD_COMMAND}`; export r; \
2347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2348 $(BUILD_EXPORTS) \
2349 echo Configuring in $(BUILD_SUBDIR)/flex; \
2350 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2351 case $(srcdir) in \
2352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2353 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2355 esac; \
2356 srcdiroption="--srcdir=$${topdir}/flex"; \
2357 libsrcdir="$$s/flex"; \
2358 rm -f no-such-file || : ; \
2359 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2360 $(BUILD_CONFIGARGS) $${srcdiroption} \
2361 || exit 1
2362 @endif build-flex
2368 .PHONY: all-build-flex maybe-all-build-flex
2369 maybe-all-build-flex:
2370 @if build-flex
2371 TARGET-build-flex=all
2372 maybe-all-build-flex: all-build-flex
2373 all-build-flex: configure-build-flex
2374 @r=`${PWD_COMMAND}`; export r; \
2375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2376 $(BUILD_EXPORTS) \
2377 (cd $(BUILD_SUBDIR)/flex && \
2378 $(MAKE) $(TARGET-build-flex))
2379 @endif build-flex
2385 .PHONY: configure-build-m4 maybe-configure-build-m4
2386 maybe-configure-build-m4:
2387 @if build-m4
2388 maybe-configure-build-m4: configure-build-m4
2389 configure-build-m4:
2390 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2391 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2392 r=`${PWD_COMMAND}`; export r; \
2393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2394 $(BUILD_EXPORTS) \
2395 echo Configuring in $(BUILD_SUBDIR)/m4; \
2396 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2397 case $(srcdir) in \
2398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2399 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2401 esac; \
2402 srcdiroption="--srcdir=$${topdir}/m4"; \
2403 libsrcdir="$$s/m4"; \
2404 rm -f no-such-file || : ; \
2405 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2406 $(BUILD_CONFIGARGS) $${srcdiroption} \
2407 || exit 1
2408 @endif build-m4
2414 .PHONY: all-build-m4 maybe-all-build-m4
2415 maybe-all-build-m4:
2416 @if build-m4
2417 TARGET-build-m4=all
2418 maybe-all-build-m4: all-build-m4
2419 all-build-m4: configure-build-m4
2420 @r=`${PWD_COMMAND}`; export r; \
2421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2422 $(BUILD_EXPORTS) \
2423 (cd $(BUILD_SUBDIR)/m4 && \
2424 $(MAKE) $(TARGET-build-m4))
2425 @endif build-m4
2431 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2432 maybe-configure-build-texinfo:
2433 @if build-texinfo
2434 maybe-configure-build-texinfo: configure-build-texinfo
2435 configure-build-texinfo:
2436 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2437 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2438 r=`${PWD_COMMAND}`; export r; \
2439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2440 $(BUILD_EXPORTS) \
2441 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2442 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2443 case $(srcdir) in \
2444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2445 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2447 esac; \
2448 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2449 libsrcdir="$$s/texinfo"; \
2450 rm -f no-such-file || : ; \
2451 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2452 $(BUILD_CONFIGARGS) $${srcdiroption} \
2453 || exit 1
2454 @endif build-texinfo
2460 .PHONY: all-build-texinfo maybe-all-build-texinfo
2461 maybe-all-build-texinfo:
2462 @if build-texinfo
2463 TARGET-build-texinfo=all
2464 maybe-all-build-texinfo: all-build-texinfo
2465 all-build-texinfo: configure-build-texinfo
2466 @r=`${PWD_COMMAND}`; export r; \
2467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2468 $(BUILD_EXPORTS) \
2469 (cd $(BUILD_SUBDIR)/texinfo && \
2470 $(MAKE) $(TARGET-build-texinfo))
2471 @endif build-texinfo
2477 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2478 maybe-configure-build-fixincludes:
2479 @if build-fixincludes
2480 maybe-configure-build-fixincludes: configure-build-fixincludes
2481 configure-build-fixincludes:
2482 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2483 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2484 r=`${PWD_COMMAND}`; export r; \
2485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2486 $(BUILD_EXPORTS) \
2487 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2488 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2489 case $(srcdir) in \
2490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2491 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2493 esac; \
2494 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2495 libsrcdir="$$s/fixincludes"; \
2496 rm -f no-such-file || : ; \
2497 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2498 $(BUILD_CONFIGARGS) $${srcdiroption} \
2499 || exit 1
2500 @endif build-fixincludes
2506 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2507 maybe-all-build-fixincludes:
2508 @if build-fixincludes
2509 TARGET-build-fixincludes=all
2510 maybe-all-build-fixincludes: all-build-fixincludes
2511 all-build-fixincludes: configure-build-fixincludes
2512 @r=`${PWD_COMMAND}`; export r; \
2513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2514 $(BUILD_EXPORTS) \
2515 (cd $(BUILD_SUBDIR)/fixincludes && \
2516 $(MAKE) $(TARGET-build-fixincludes))
2517 @endif build-fixincludes
2523 # --------------------------------------
2524 # Modules which run on the host machine
2525 # --------------------------------------
2528 .PHONY: configure-ash maybe-configure-ash
2529 maybe-configure-ash:
2530 @if ash
2531 maybe-configure-ash: configure-ash
2532 configure-ash:
2533 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2534 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2535 r=`${PWD_COMMAND}`; export r; \
2536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2537 $(HOST_EXPORTS) \
2538 echo Configuring in $(HOST_SUBDIR)/ash; \
2539 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2540 case $(srcdir) in \
2541 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2542 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2543 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2544 esac; \
2545 srcdiroption="--srcdir=$${topdir}/ash"; \
2546 libsrcdir="$$s/ash"; \
2547 $(SHELL) $${libsrcdir}/configure \
2548 $(HOST_CONFIGARGS) $${srcdiroption} \
2549 || exit 1
2550 @endif ash
2556 .PHONY: all-ash maybe-all-ash
2557 maybe-all-ash:
2558 @if ash
2559 TARGET-ash=all
2560 maybe-all-ash: all-ash
2561 all-ash: configure-ash
2562 @r=`${PWD_COMMAND}`; export r; \
2563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2564 $(HOST_EXPORTS) \
2565 (cd $(HOST_SUBDIR)/ash && \
2566 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2567 @endif ash
2572 .PHONY: check-ash maybe-check-ash
2573 maybe-check-ash:
2574 @if ash
2575 maybe-check-ash: check-ash
2577 check-ash:
2578 @r=`${PWD_COMMAND}`; export r; \
2579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2580 $(HOST_EXPORTS) \
2581 (cd $(HOST_SUBDIR)/ash && \
2582 $(MAKE) $(FLAGS_TO_PASS) check)
2584 @endif ash
2586 .PHONY: install-ash maybe-install-ash
2587 maybe-install-ash:
2588 @if ash
2589 maybe-install-ash: install-ash
2591 install-ash: installdirs
2592 @r=`${PWD_COMMAND}`; export r; \
2593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2594 $(HOST_EXPORTS) \
2595 (cd $(HOST_SUBDIR)/ash && \
2596 $(MAKE) $(FLAGS_TO_PASS) install)
2598 @endif ash
2600 # Other targets (info, dvi, etc.)
2602 .PHONY: maybe-info-ash info-ash
2603 maybe-info-ash:
2604 @if ash
2605 maybe-info-ash: info-ash
2607 info-ash: \
2608 configure-ash
2609 @[ -f ./ash/Makefile ] || exit 0; \
2610 r=`${PWD_COMMAND}`; export r; \
2611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2612 $(HOST_EXPORTS) \
2613 for flag in $(EXTRA_HOST_FLAGS) ; do \
2614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2615 done; \
2616 echo "Doing info in ash" ; \
2617 (cd $(HOST_SUBDIR)/ash && \
2618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2620 "RANLIB=$${RANLIB}" \
2621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2622 info) \
2623 || exit 1
2625 @endif ash
2627 .PHONY: maybe-dvi-ash dvi-ash
2628 maybe-dvi-ash:
2629 @if ash
2630 maybe-dvi-ash: dvi-ash
2632 dvi-ash: \
2633 configure-ash
2634 @[ -f ./ash/Makefile ] || exit 0; \
2635 r=`${PWD_COMMAND}`; export r; \
2636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2637 $(HOST_EXPORTS) \
2638 for flag in $(EXTRA_HOST_FLAGS) ; do \
2639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2640 done; \
2641 echo "Doing dvi in ash" ; \
2642 (cd $(HOST_SUBDIR)/ash && \
2643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2645 "RANLIB=$${RANLIB}" \
2646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2647 dvi) \
2648 || exit 1
2650 @endif ash
2652 .PHONY: maybe-html-ash html-ash
2653 maybe-html-ash:
2654 @if ash
2655 maybe-html-ash: html-ash
2657 html-ash: \
2658 configure-ash
2659 @[ -f ./ash/Makefile ] || exit 0; \
2660 r=`${PWD_COMMAND}`; export r; \
2661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2662 $(HOST_EXPORTS) \
2663 for flag in $(EXTRA_HOST_FLAGS) ; do \
2664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2665 done; \
2666 echo "Doing html in ash" ; \
2667 (cd $(HOST_SUBDIR)/ash && \
2668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2670 "RANLIB=$${RANLIB}" \
2671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2672 html) \
2673 || exit 1
2675 @endif ash
2677 .PHONY: maybe-TAGS-ash TAGS-ash
2678 maybe-TAGS-ash:
2679 @if ash
2680 maybe-TAGS-ash: TAGS-ash
2682 TAGS-ash: \
2683 configure-ash
2684 @[ -f ./ash/Makefile ] || exit 0; \
2685 r=`${PWD_COMMAND}`; export r; \
2686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2687 $(HOST_EXPORTS) \
2688 for flag in $(EXTRA_HOST_FLAGS) ; do \
2689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2690 done; \
2691 echo "Doing TAGS in ash" ; \
2692 (cd $(HOST_SUBDIR)/ash && \
2693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2695 "RANLIB=$${RANLIB}" \
2696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2697 TAGS) \
2698 || exit 1
2700 @endif ash
2702 .PHONY: maybe-install-info-ash install-info-ash
2703 maybe-install-info-ash:
2704 @if ash
2705 maybe-install-info-ash: install-info-ash
2707 install-info-ash: \
2708 configure-ash \
2709 info-ash
2710 @[ -f ./ash/Makefile ] || exit 0; \
2711 r=`${PWD_COMMAND}`; export r; \
2712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2713 $(HOST_EXPORTS) \
2714 for flag in $(EXTRA_HOST_FLAGS) ; do \
2715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2716 done; \
2717 echo "Doing install-info in ash" ; \
2718 (cd $(HOST_SUBDIR)/ash && \
2719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2721 "RANLIB=$${RANLIB}" \
2722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2723 install-info) \
2724 || exit 1
2726 @endif ash
2728 .PHONY: maybe-installcheck-ash installcheck-ash
2729 maybe-installcheck-ash:
2730 @if ash
2731 maybe-installcheck-ash: installcheck-ash
2733 installcheck-ash: \
2734 configure-ash
2735 @[ -f ./ash/Makefile ] || exit 0; \
2736 r=`${PWD_COMMAND}`; export r; \
2737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2738 $(HOST_EXPORTS) \
2739 for flag in $(EXTRA_HOST_FLAGS) ; do \
2740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2741 done; \
2742 echo "Doing installcheck in ash" ; \
2743 (cd $(HOST_SUBDIR)/ash && \
2744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2746 "RANLIB=$${RANLIB}" \
2747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2748 installcheck) \
2749 || exit 1
2751 @endif ash
2753 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2754 maybe-mostlyclean-ash:
2755 @if ash
2756 maybe-mostlyclean-ash: mostlyclean-ash
2758 mostlyclean-ash:
2759 @[ -f ./ash/Makefile ] || exit 0; \
2760 r=`${PWD_COMMAND}`; export r; \
2761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2762 $(HOST_EXPORTS) \
2763 for flag in $(EXTRA_HOST_FLAGS) ; do \
2764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2765 done; \
2766 echo "Doing mostlyclean in ash" ; \
2767 (cd $(HOST_SUBDIR)/ash && \
2768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2770 "RANLIB=$${RANLIB}" \
2771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2772 mostlyclean) \
2773 || exit 1
2775 @endif ash
2777 .PHONY: maybe-clean-ash clean-ash
2778 maybe-clean-ash:
2779 @if ash
2780 maybe-clean-ash: clean-ash
2782 clean-ash:
2783 @[ -f ./ash/Makefile ] || exit 0; \
2784 r=`${PWD_COMMAND}`; export r; \
2785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2786 $(HOST_EXPORTS) \
2787 for flag in $(EXTRA_HOST_FLAGS) ; do \
2788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2789 done; \
2790 echo "Doing clean in ash" ; \
2791 (cd $(HOST_SUBDIR)/ash && \
2792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2794 "RANLIB=$${RANLIB}" \
2795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2796 clean) \
2797 || exit 1
2799 @endif ash
2801 .PHONY: maybe-distclean-ash distclean-ash
2802 maybe-distclean-ash:
2803 @if ash
2804 maybe-distclean-ash: distclean-ash
2806 distclean-ash:
2807 @[ -f ./ash/Makefile ] || exit 0; \
2808 r=`${PWD_COMMAND}`; export r; \
2809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2810 $(HOST_EXPORTS) \
2811 for flag in $(EXTRA_HOST_FLAGS) ; do \
2812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2813 done; \
2814 echo "Doing distclean in ash" ; \
2815 (cd $(HOST_SUBDIR)/ash && \
2816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2818 "RANLIB=$${RANLIB}" \
2819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2820 distclean) \
2821 || exit 1
2823 @endif ash
2825 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2826 maybe-maintainer-clean-ash:
2827 @if ash
2828 maybe-maintainer-clean-ash: maintainer-clean-ash
2830 maintainer-clean-ash:
2831 @[ -f ./ash/Makefile ] || exit 0; \
2832 r=`${PWD_COMMAND}`; export r; \
2833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2834 $(HOST_EXPORTS) \
2835 for flag in $(EXTRA_HOST_FLAGS) ; do \
2836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2837 done; \
2838 echo "Doing maintainer-clean in ash" ; \
2839 (cd $(HOST_SUBDIR)/ash && \
2840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2842 "RANLIB=$${RANLIB}" \
2843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2844 maintainer-clean) \
2845 || exit 1
2847 @endif ash
2851 .PHONY: configure-autoconf maybe-configure-autoconf
2852 maybe-configure-autoconf:
2853 @if autoconf
2854 maybe-configure-autoconf: configure-autoconf
2855 configure-autoconf:
2856 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2857 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2858 r=`${PWD_COMMAND}`; export r; \
2859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2860 $(HOST_EXPORTS) \
2861 echo Configuring in $(HOST_SUBDIR)/autoconf; \
2862 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
2863 case $(srcdir) in \
2864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2865 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2867 esac; \
2868 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2869 libsrcdir="$$s/autoconf"; \
2870 $(SHELL) $${libsrcdir}/configure \
2871 $(HOST_CONFIGARGS) $${srcdiroption} \
2872 || exit 1
2873 @endif autoconf
2879 .PHONY: all-autoconf maybe-all-autoconf
2880 maybe-all-autoconf:
2881 @if autoconf
2882 TARGET-autoconf=all
2883 maybe-all-autoconf: all-autoconf
2884 all-autoconf: configure-autoconf
2885 @r=`${PWD_COMMAND}`; export r; \
2886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2887 $(HOST_EXPORTS) \
2888 (cd $(HOST_SUBDIR)/autoconf && \
2889 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2890 @endif autoconf
2895 .PHONY: check-autoconf maybe-check-autoconf
2896 maybe-check-autoconf:
2897 @if autoconf
2898 maybe-check-autoconf: check-autoconf
2900 check-autoconf:
2901 @r=`${PWD_COMMAND}`; export r; \
2902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2903 $(HOST_EXPORTS) \
2904 (cd $(HOST_SUBDIR)/autoconf && \
2905 $(MAKE) $(FLAGS_TO_PASS) check)
2907 @endif autoconf
2909 .PHONY: install-autoconf maybe-install-autoconf
2910 maybe-install-autoconf:
2911 @if autoconf
2912 maybe-install-autoconf: install-autoconf
2914 install-autoconf: installdirs
2915 @r=`${PWD_COMMAND}`; export r; \
2916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2917 $(HOST_EXPORTS) \
2918 (cd $(HOST_SUBDIR)/autoconf && \
2919 $(MAKE) $(FLAGS_TO_PASS) install)
2921 @endif autoconf
2923 # Other targets (info, dvi, etc.)
2925 .PHONY: maybe-info-autoconf info-autoconf
2926 maybe-info-autoconf:
2927 @if autoconf
2928 maybe-info-autoconf: info-autoconf
2930 info-autoconf: \
2931 configure-autoconf
2932 @[ -f ./autoconf/Makefile ] || exit 0; \
2933 r=`${PWD_COMMAND}`; export r; \
2934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2935 $(HOST_EXPORTS) \
2936 for flag in $(EXTRA_HOST_FLAGS) ; do \
2937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2938 done; \
2939 echo "Doing info in autoconf" ; \
2940 (cd $(HOST_SUBDIR)/autoconf && \
2941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2943 "RANLIB=$${RANLIB}" \
2944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2945 info) \
2946 || exit 1
2948 @endif autoconf
2950 .PHONY: maybe-dvi-autoconf dvi-autoconf
2951 maybe-dvi-autoconf:
2952 @if autoconf
2953 maybe-dvi-autoconf: dvi-autoconf
2955 dvi-autoconf: \
2956 configure-autoconf
2957 @[ -f ./autoconf/Makefile ] || exit 0; \
2958 r=`${PWD_COMMAND}`; export r; \
2959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2960 $(HOST_EXPORTS) \
2961 for flag in $(EXTRA_HOST_FLAGS) ; do \
2962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2963 done; \
2964 echo "Doing dvi in autoconf" ; \
2965 (cd $(HOST_SUBDIR)/autoconf && \
2966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2968 "RANLIB=$${RANLIB}" \
2969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2970 dvi) \
2971 || exit 1
2973 @endif autoconf
2975 .PHONY: maybe-html-autoconf html-autoconf
2976 maybe-html-autoconf:
2977 @if autoconf
2978 maybe-html-autoconf: html-autoconf
2980 html-autoconf: \
2981 configure-autoconf
2982 @[ -f ./autoconf/Makefile ] || exit 0; \
2983 r=`${PWD_COMMAND}`; export r; \
2984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2985 $(HOST_EXPORTS) \
2986 for flag in $(EXTRA_HOST_FLAGS) ; do \
2987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2988 done; \
2989 echo "Doing html in autoconf" ; \
2990 (cd $(HOST_SUBDIR)/autoconf && \
2991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2993 "RANLIB=$${RANLIB}" \
2994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2995 html) \
2996 || exit 1
2998 @endif autoconf
3000 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3001 maybe-TAGS-autoconf:
3002 @if autoconf
3003 maybe-TAGS-autoconf: TAGS-autoconf
3005 TAGS-autoconf: \
3006 configure-autoconf
3007 @[ -f ./autoconf/Makefile ] || exit 0; \
3008 r=`${PWD_COMMAND}`; export r; \
3009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3010 $(HOST_EXPORTS) \
3011 for flag in $(EXTRA_HOST_FLAGS) ; do \
3012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3013 done; \
3014 echo "Doing TAGS in autoconf" ; \
3015 (cd $(HOST_SUBDIR)/autoconf && \
3016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3018 "RANLIB=$${RANLIB}" \
3019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3020 TAGS) \
3021 || exit 1
3023 @endif autoconf
3025 .PHONY: maybe-install-info-autoconf install-info-autoconf
3026 maybe-install-info-autoconf:
3027 @if autoconf
3028 maybe-install-info-autoconf: install-info-autoconf
3030 install-info-autoconf: \
3031 configure-autoconf \
3032 info-autoconf
3033 @[ -f ./autoconf/Makefile ] || exit 0; \
3034 r=`${PWD_COMMAND}`; export r; \
3035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3036 $(HOST_EXPORTS) \
3037 for flag in $(EXTRA_HOST_FLAGS) ; do \
3038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3039 done; \
3040 echo "Doing install-info in autoconf" ; \
3041 (cd $(HOST_SUBDIR)/autoconf && \
3042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3044 "RANLIB=$${RANLIB}" \
3045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3046 install-info) \
3047 || exit 1
3049 @endif autoconf
3051 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3052 maybe-installcheck-autoconf:
3053 @if autoconf
3054 maybe-installcheck-autoconf: installcheck-autoconf
3056 installcheck-autoconf: \
3057 configure-autoconf
3058 @[ -f ./autoconf/Makefile ] || exit 0; \
3059 r=`${PWD_COMMAND}`; export r; \
3060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3061 $(HOST_EXPORTS) \
3062 for flag in $(EXTRA_HOST_FLAGS) ; do \
3063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3064 done; \
3065 echo "Doing installcheck in autoconf" ; \
3066 (cd $(HOST_SUBDIR)/autoconf && \
3067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3069 "RANLIB=$${RANLIB}" \
3070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3071 installcheck) \
3072 || exit 1
3074 @endif autoconf
3076 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3077 maybe-mostlyclean-autoconf:
3078 @if autoconf
3079 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3081 mostlyclean-autoconf:
3082 @[ -f ./autoconf/Makefile ] || exit 0; \
3083 r=`${PWD_COMMAND}`; export r; \
3084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3085 $(HOST_EXPORTS) \
3086 for flag in $(EXTRA_HOST_FLAGS) ; do \
3087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3088 done; \
3089 echo "Doing mostlyclean in autoconf" ; \
3090 (cd $(HOST_SUBDIR)/autoconf && \
3091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3093 "RANLIB=$${RANLIB}" \
3094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3095 mostlyclean) \
3096 || exit 1
3098 @endif autoconf
3100 .PHONY: maybe-clean-autoconf clean-autoconf
3101 maybe-clean-autoconf:
3102 @if autoconf
3103 maybe-clean-autoconf: clean-autoconf
3105 clean-autoconf:
3106 @[ -f ./autoconf/Makefile ] || exit 0; \
3107 r=`${PWD_COMMAND}`; export r; \
3108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3109 $(HOST_EXPORTS) \
3110 for flag in $(EXTRA_HOST_FLAGS) ; do \
3111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3112 done; \
3113 echo "Doing clean in autoconf" ; \
3114 (cd $(HOST_SUBDIR)/autoconf && \
3115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3117 "RANLIB=$${RANLIB}" \
3118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3119 clean) \
3120 || exit 1
3122 @endif autoconf
3124 .PHONY: maybe-distclean-autoconf distclean-autoconf
3125 maybe-distclean-autoconf:
3126 @if autoconf
3127 maybe-distclean-autoconf: distclean-autoconf
3129 distclean-autoconf:
3130 @[ -f ./autoconf/Makefile ] || exit 0; \
3131 r=`${PWD_COMMAND}`; export r; \
3132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3133 $(HOST_EXPORTS) \
3134 for flag in $(EXTRA_HOST_FLAGS) ; do \
3135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3136 done; \
3137 echo "Doing distclean in autoconf" ; \
3138 (cd $(HOST_SUBDIR)/autoconf && \
3139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3141 "RANLIB=$${RANLIB}" \
3142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3143 distclean) \
3144 || exit 1
3146 @endif autoconf
3148 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3149 maybe-maintainer-clean-autoconf:
3150 @if autoconf
3151 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3153 maintainer-clean-autoconf:
3154 @[ -f ./autoconf/Makefile ] || exit 0; \
3155 r=`${PWD_COMMAND}`; export r; \
3156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3157 $(HOST_EXPORTS) \
3158 for flag in $(EXTRA_HOST_FLAGS) ; do \
3159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3160 done; \
3161 echo "Doing maintainer-clean in autoconf" ; \
3162 (cd $(HOST_SUBDIR)/autoconf && \
3163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3165 "RANLIB=$${RANLIB}" \
3166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3167 maintainer-clean) \
3168 || exit 1
3170 @endif autoconf
3174 .PHONY: configure-automake maybe-configure-automake
3175 maybe-configure-automake:
3176 @if automake
3177 maybe-configure-automake: configure-automake
3178 configure-automake:
3179 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3181 r=`${PWD_COMMAND}`; export r; \
3182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3183 $(HOST_EXPORTS) \
3184 echo Configuring in $(HOST_SUBDIR)/automake; \
3185 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3186 case $(srcdir) in \
3187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3188 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3190 esac; \
3191 srcdiroption="--srcdir=$${topdir}/automake"; \
3192 libsrcdir="$$s/automake"; \
3193 $(SHELL) $${libsrcdir}/configure \
3194 $(HOST_CONFIGARGS) $${srcdiroption} \
3195 || exit 1
3196 @endif automake
3202 .PHONY: all-automake maybe-all-automake
3203 maybe-all-automake:
3204 @if automake
3205 TARGET-automake=all
3206 maybe-all-automake: all-automake
3207 all-automake: configure-automake
3208 @r=`${PWD_COMMAND}`; export r; \
3209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3210 $(HOST_EXPORTS) \
3211 (cd $(HOST_SUBDIR)/automake && \
3212 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3213 @endif automake
3218 .PHONY: check-automake maybe-check-automake
3219 maybe-check-automake:
3220 @if automake
3221 maybe-check-automake: check-automake
3223 check-automake:
3224 @r=`${PWD_COMMAND}`; export r; \
3225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3226 $(HOST_EXPORTS) \
3227 (cd $(HOST_SUBDIR)/automake && \
3228 $(MAKE) $(FLAGS_TO_PASS) check)
3230 @endif automake
3232 .PHONY: install-automake maybe-install-automake
3233 maybe-install-automake:
3234 @if automake
3235 maybe-install-automake: install-automake
3237 install-automake: installdirs
3238 @r=`${PWD_COMMAND}`; export r; \
3239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3240 $(HOST_EXPORTS) \
3241 (cd $(HOST_SUBDIR)/automake && \
3242 $(MAKE) $(FLAGS_TO_PASS) install)
3244 @endif automake
3246 # Other targets (info, dvi, etc.)
3248 .PHONY: maybe-info-automake info-automake
3249 maybe-info-automake:
3250 @if automake
3251 maybe-info-automake: info-automake
3253 info-automake: \
3254 configure-automake
3255 @[ -f ./automake/Makefile ] || exit 0; \
3256 r=`${PWD_COMMAND}`; export r; \
3257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3258 $(HOST_EXPORTS) \
3259 for flag in $(EXTRA_HOST_FLAGS) ; do \
3260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3261 done; \
3262 echo "Doing info in automake" ; \
3263 (cd $(HOST_SUBDIR)/automake && \
3264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3266 "RANLIB=$${RANLIB}" \
3267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3268 info) \
3269 || exit 1
3271 @endif automake
3273 .PHONY: maybe-dvi-automake dvi-automake
3274 maybe-dvi-automake:
3275 @if automake
3276 maybe-dvi-automake: dvi-automake
3278 dvi-automake: \
3279 configure-automake
3280 @[ -f ./automake/Makefile ] || exit 0; \
3281 r=`${PWD_COMMAND}`; export r; \
3282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3283 $(HOST_EXPORTS) \
3284 for flag in $(EXTRA_HOST_FLAGS) ; do \
3285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3286 done; \
3287 echo "Doing dvi in automake" ; \
3288 (cd $(HOST_SUBDIR)/automake && \
3289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3291 "RANLIB=$${RANLIB}" \
3292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3293 dvi) \
3294 || exit 1
3296 @endif automake
3298 .PHONY: maybe-html-automake html-automake
3299 maybe-html-automake:
3300 @if automake
3301 maybe-html-automake: html-automake
3303 html-automake: \
3304 configure-automake
3305 @[ -f ./automake/Makefile ] || exit 0; \
3306 r=`${PWD_COMMAND}`; export r; \
3307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3308 $(HOST_EXPORTS) \
3309 for flag in $(EXTRA_HOST_FLAGS) ; do \
3310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3311 done; \
3312 echo "Doing html in automake" ; \
3313 (cd $(HOST_SUBDIR)/automake && \
3314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3316 "RANLIB=$${RANLIB}" \
3317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3318 html) \
3319 || exit 1
3321 @endif automake
3323 .PHONY: maybe-TAGS-automake TAGS-automake
3324 maybe-TAGS-automake:
3325 @if automake
3326 maybe-TAGS-automake: TAGS-automake
3328 TAGS-automake: \
3329 configure-automake
3330 @[ -f ./automake/Makefile ] || exit 0; \
3331 r=`${PWD_COMMAND}`; export r; \
3332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3333 $(HOST_EXPORTS) \
3334 for flag in $(EXTRA_HOST_FLAGS) ; do \
3335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3336 done; \
3337 echo "Doing TAGS in automake" ; \
3338 (cd $(HOST_SUBDIR)/automake && \
3339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3341 "RANLIB=$${RANLIB}" \
3342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3343 TAGS) \
3344 || exit 1
3346 @endif automake
3348 .PHONY: maybe-install-info-automake install-info-automake
3349 maybe-install-info-automake:
3350 @if automake
3351 maybe-install-info-automake: install-info-automake
3353 install-info-automake: \
3354 configure-automake \
3355 info-automake
3356 @[ -f ./automake/Makefile ] || exit 0; \
3357 r=`${PWD_COMMAND}`; export r; \
3358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3359 $(HOST_EXPORTS) \
3360 for flag in $(EXTRA_HOST_FLAGS) ; do \
3361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3362 done; \
3363 echo "Doing install-info in automake" ; \
3364 (cd $(HOST_SUBDIR)/automake && \
3365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3367 "RANLIB=$${RANLIB}" \
3368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3369 install-info) \
3370 || exit 1
3372 @endif automake
3374 .PHONY: maybe-installcheck-automake installcheck-automake
3375 maybe-installcheck-automake:
3376 @if automake
3377 maybe-installcheck-automake: installcheck-automake
3379 installcheck-automake: \
3380 configure-automake
3381 @[ -f ./automake/Makefile ] || exit 0; \
3382 r=`${PWD_COMMAND}`; export r; \
3383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3384 $(HOST_EXPORTS) \
3385 for flag in $(EXTRA_HOST_FLAGS) ; do \
3386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3387 done; \
3388 echo "Doing installcheck in automake" ; \
3389 (cd $(HOST_SUBDIR)/automake && \
3390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3392 "RANLIB=$${RANLIB}" \
3393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3394 installcheck) \
3395 || exit 1
3397 @endif automake
3399 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3400 maybe-mostlyclean-automake:
3401 @if automake
3402 maybe-mostlyclean-automake: mostlyclean-automake
3404 mostlyclean-automake:
3405 @[ -f ./automake/Makefile ] || exit 0; \
3406 r=`${PWD_COMMAND}`; export r; \
3407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3408 $(HOST_EXPORTS) \
3409 for flag in $(EXTRA_HOST_FLAGS) ; do \
3410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3411 done; \
3412 echo "Doing mostlyclean in automake" ; \
3413 (cd $(HOST_SUBDIR)/automake && \
3414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3416 "RANLIB=$${RANLIB}" \
3417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3418 mostlyclean) \
3419 || exit 1
3421 @endif automake
3423 .PHONY: maybe-clean-automake clean-automake
3424 maybe-clean-automake:
3425 @if automake
3426 maybe-clean-automake: clean-automake
3428 clean-automake:
3429 @[ -f ./automake/Makefile ] || exit 0; \
3430 r=`${PWD_COMMAND}`; export r; \
3431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3432 $(HOST_EXPORTS) \
3433 for flag in $(EXTRA_HOST_FLAGS) ; do \
3434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3435 done; \
3436 echo "Doing clean in automake" ; \
3437 (cd $(HOST_SUBDIR)/automake && \
3438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3440 "RANLIB=$${RANLIB}" \
3441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3442 clean) \
3443 || exit 1
3445 @endif automake
3447 .PHONY: maybe-distclean-automake distclean-automake
3448 maybe-distclean-automake:
3449 @if automake
3450 maybe-distclean-automake: distclean-automake
3452 distclean-automake:
3453 @[ -f ./automake/Makefile ] || exit 0; \
3454 r=`${PWD_COMMAND}`; export r; \
3455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3456 $(HOST_EXPORTS) \
3457 for flag in $(EXTRA_HOST_FLAGS) ; do \
3458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3459 done; \
3460 echo "Doing distclean in automake" ; \
3461 (cd $(HOST_SUBDIR)/automake && \
3462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3464 "RANLIB=$${RANLIB}" \
3465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3466 distclean) \
3467 || exit 1
3469 @endif automake
3471 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3472 maybe-maintainer-clean-automake:
3473 @if automake
3474 maybe-maintainer-clean-automake: maintainer-clean-automake
3476 maintainer-clean-automake:
3477 @[ -f ./automake/Makefile ] || exit 0; \
3478 r=`${PWD_COMMAND}`; export r; \
3479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3480 $(HOST_EXPORTS) \
3481 for flag in $(EXTRA_HOST_FLAGS) ; do \
3482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3483 done; \
3484 echo "Doing maintainer-clean in automake" ; \
3485 (cd $(HOST_SUBDIR)/automake && \
3486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3488 "RANLIB=$${RANLIB}" \
3489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3490 maintainer-clean) \
3491 || exit 1
3493 @endif automake
3497 .PHONY: configure-bash maybe-configure-bash
3498 maybe-configure-bash:
3499 @if bash
3500 maybe-configure-bash: configure-bash
3501 configure-bash:
3502 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3503 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3504 r=`${PWD_COMMAND}`; export r; \
3505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3506 $(HOST_EXPORTS) \
3507 echo Configuring in $(HOST_SUBDIR)/bash; \
3508 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3509 case $(srcdir) in \
3510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3511 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3513 esac; \
3514 srcdiroption="--srcdir=$${topdir}/bash"; \
3515 libsrcdir="$$s/bash"; \
3516 $(SHELL) $${libsrcdir}/configure \
3517 $(HOST_CONFIGARGS) $${srcdiroption} \
3518 || exit 1
3519 @endif bash
3525 .PHONY: all-bash maybe-all-bash
3526 maybe-all-bash:
3527 @if bash
3528 TARGET-bash=all
3529 maybe-all-bash: all-bash
3530 all-bash: configure-bash
3531 @r=`${PWD_COMMAND}`; export r; \
3532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3533 $(HOST_EXPORTS) \
3534 (cd $(HOST_SUBDIR)/bash && \
3535 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3536 @endif bash
3541 .PHONY: check-bash maybe-check-bash
3542 maybe-check-bash:
3543 @if bash
3544 maybe-check-bash: check-bash
3546 check-bash:
3547 @r=`${PWD_COMMAND}`; export r; \
3548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3549 $(HOST_EXPORTS) \
3550 (cd $(HOST_SUBDIR)/bash && \
3551 $(MAKE) $(FLAGS_TO_PASS) check)
3553 @endif bash
3555 .PHONY: install-bash maybe-install-bash
3556 maybe-install-bash:
3557 @if bash
3558 maybe-install-bash: install-bash
3560 install-bash: installdirs
3561 @r=`${PWD_COMMAND}`; export r; \
3562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3563 $(HOST_EXPORTS) \
3564 (cd $(HOST_SUBDIR)/bash && \
3565 $(MAKE) $(FLAGS_TO_PASS) install)
3567 @endif bash
3569 # Other targets (info, dvi, etc.)
3571 .PHONY: maybe-info-bash info-bash
3572 maybe-info-bash:
3573 @if bash
3574 maybe-info-bash: info-bash
3576 info-bash: \
3577 configure-bash
3578 @[ -f ./bash/Makefile ] || exit 0; \
3579 r=`${PWD_COMMAND}`; export r; \
3580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3581 $(HOST_EXPORTS) \
3582 for flag in $(EXTRA_HOST_FLAGS) ; do \
3583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3584 done; \
3585 echo "Doing info in bash" ; \
3586 (cd $(HOST_SUBDIR)/bash && \
3587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3589 "RANLIB=$${RANLIB}" \
3590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3591 info) \
3592 || exit 1
3594 @endif bash
3596 .PHONY: maybe-dvi-bash dvi-bash
3597 maybe-dvi-bash:
3598 @if bash
3599 maybe-dvi-bash: dvi-bash
3601 dvi-bash: \
3602 configure-bash
3603 @[ -f ./bash/Makefile ] || exit 0; \
3604 r=`${PWD_COMMAND}`; export r; \
3605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3606 $(HOST_EXPORTS) \
3607 for flag in $(EXTRA_HOST_FLAGS) ; do \
3608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3609 done; \
3610 echo "Doing dvi in bash" ; \
3611 (cd $(HOST_SUBDIR)/bash && \
3612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3614 "RANLIB=$${RANLIB}" \
3615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3616 dvi) \
3617 || exit 1
3619 @endif bash
3621 .PHONY: maybe-html-bash html-bash
3622 maybe-html-bash:
3623 @if bash
3624 maybe-html-bash: html-bash
3626 html-bash: \
3627 configure-bash
3628 @[ -f ./bash/Makefile ] || exit 0; \
3629 r=`${PWD_COMMAND}`; export r; \
3630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3631 $(HOST_EXPORTS) \
3632 for flag in $(EXTRA_HOST_FLAGS) ; do \
3633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3634 done; \
3635 echo "Doing html in bash" ; \
3636 (cd $(HOST_SUBDIR)/bash && \
3637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3639 "RANLIB=$${RANLIB}" \
3640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3641 html) \
3642 || exit 1
3644 @endif bash
3646 .PHONY: maybe-TAGS-bash TAGS-bash
3647 maybe-TAGS-bash:
3648 @if bash
3649 maybe-TAGS-bash: TAGS-bash
3651 TAGS-bash: \
3652 configure-bash
3653 @[ -f ./bash/Makefile ] || exit 0; \
3654 r=`${PWD_COMMAND}`; export r; \
3655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3656 $(HOST_EXPORTS) \
3657 for flag in $(EXTRA_HOST_FLAGS) ; do \
3658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3659 done; \
3660 echo "Doing TAGS in bash" ; \
3661 (cd $(HOST_SUBDIR)/bash && \
3662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3664 "RANLIB=$${RANLIB}" \
3665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3666 TAGS) \
3667 || exit 1
3669 @endif bash
3671 .PHONY: maybe-install-info-bash install-info-bash
3672 maybe-install-info-bash:
3673 @if bash
3674 maybe-install-info-bash: install-info-bash
3676 install-info-bash: \
3677 configure-bash \
3678 info-bash
3679 @[ -f ./bash/Makefile ] || exit 0; \
3680 r=`${PWD_COMMAND}`; export r; \
3681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3682 $(HOST_EXPORTS) \
3683 for flag in $(EXTRA_HOST_FLAGS) ; do \
3684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3685 done; \
3686 echo "Doing install-info in bash" ; \
3687 (cd $(HOST_SUBDIR)/bash && \
3688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3690 "RANLIB=$${RANLIB}" \
3691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3692 install-info) \
3693 || exit 1
3695 @endif bash
3697 .PHONY: maybe-installcheck-bash installcheck-bash
3698 maybe-installcheck-bash:
3699 @if bash
3700 maybe-installcheck-bash: installcheck-bash
3702 installcheck-bash: \
3703 configure-bash
3704 @[ -f ./bash/Makefile ] || exit 0; \
3705 r=`${PWD_COMMAND}`; export r; \
3706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3707 $(HOST_EXPORTS) \
3708 for flag in $(EXTRA_HOST_FLAGS) ; do \
3709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3710 done; \
3711 echo "Doing installcheck in bash" ; \
3712 (cd $(HOST_SUBDIR)/bash && \
3713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3715 "RANLIB=$${RANLIB}" \
3716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3717 installcheck) \
3718 || exit 1
3720 @endif bash
3722 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3723 maybe-mostlyclean-bash:
3724 @if bash
3725 maybe-mostlyclean-bash: mostlyclean-bash
3727 mostlyclean-bash:
3728 @[ -f ./bash/Makefile ] || exit 0; \
3729 r=`${PWD_COMMAND}`; export r; \
3730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3731 $(HOST_EXPORTS) \
3732 for flag in $(EXTRA_HOST_FLAGS) ; do \
3733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3734 done; \
3735 echo "Doing mostlyclean in bash" ; \
3736 (cd $(HOST_SUBDIR)/bash && \
3737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3739 "RANLIB=$${RANLIB}" \
3740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3741 mostlyclean) \
3742 || exit 1
3744 @endif bash
3746 .PHONY: maybe-clean-bash clean-bash
3747 maybe-clean-bash:
3748 @if bash
3749 maybe-clean-bash: clean-bash
3751 clean-bash:
3752 @[ -f ./bash/Makefile ] || exit 0; \
3753 r=`${PWD_COMMAND}`; export r; \
3754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3755 $(HOST_EXPORTS) \
3756 for flag in $(EXTRA_HOST_FLAGS) ; do \
3757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3758 done; \
3759 echo "Doing clean in bash" ; \
3760 (cd $(HOST_SUBDIR)/bash && \
3761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3763 "RANLIB=$${RANLIB}" \
3764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3765 clean) \
3766 || exit 1
3768 @endif bash
3770 .PHONY: maybe-distclean-bash distclean-bash
3771 maybe-distclean-bash:
3772 @if bash
3773 maybe-distclean-bash: distclean-bash
3775 distclean-bash:
3776 @[ -f ./bash/Makefile ] || exit 0; \
3777 r=`${PWD_COMMAND}`; export r; \
3778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3779 $(HOST_EXPORTS) \
3780 for flag in $(EXTRA_HOST_FLAGS) ; do \
3781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3782 done; \
3783 echo "Doing distclean in bash" ; \
3784 (cd $(HOST_SUBDIR)/bash && \
3785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3787 "RANLIB=$${RANLIB}" \
3788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3789 distclean) \
3790 || exit 1
3792 @endif bash
3794 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3795 maybe-maintainer-clean-bash:
3796 @if bash
3797 maybe-maintainer-clean-bash: maintainer-clean-bash
3799 maintainer-clean-bash:
3800 @[ -f ./bash/Makefile ] || exit 0; \
3801 r=`${PWD_COMMAND}`; export r; \
3802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3803 $(HOST_EXPORTS) \
3804 for flag in $(EXTRA_HOST_FLAGS) ; do \
3805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3806 done; \
3807 echo "Doing maintainer-clean in bash" ; \
3808 (cd $(HOST_SUBDIR)/bash && \
3809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3811 "RANLIB=$${RANLIB}" \
3812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3813 maintainer-clean) \
3814 || exit 1
3816 @endif bash
3820 .PHONY: configure-bfd maybe-configure-bfd
3821 maybe-configure-bfd:
3822 @if bfd
3823 maybe-configure-bfd: configure-bfd
3824 configure-bfd:
3825 @test -f stage_last && exit 0; \
3826 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3828 r=`${PWD_COMMAND}`; export r; \
3829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3830 $(HOST_EXPORTS) \
3831 echo Configuring in $(HOST_SUBDIR)/bfd; \
3832 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3833 case $(srcdir) in \
3834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3835 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3837 esac; \
3838 srcdiroption="--srcdir=$${topdir}/bfd"; \
3839 libsrcdir="$$s/bfd"; \
3840 $(SHELL) $${libsrcdir}/configure \
3841 $(HOST_CONFIGARGS) $${srcdiroption} \
3842 || exit 1
3843 @endif bfd
3847 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3848 maybe-configure-stage1-bfd:
3849 @if bfd-bootstrap
3850 maybe-configure-stage1-bfd: configure-stage1-bfd
3851 configure-stage1-bfd:
3852 @$(MAKE) stage1-start
3853 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3854 r=`${PWD_COMMAND}`; export r; \
3855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3856 $(HOST_EXPORTS) \
3857 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3858 cd $(HOST_SUBDIR)/bfd || exit 1; \
3859 case $(srcdir) in \
3860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3861 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3863 esac; \
3864 srcdiroption="--srcdir=$${topdir}/bfd"; \
3865 libsrcdir="$$s/bfd"; \
3866 $(SHELL) $${libsrcdir}/configure \
3867 $(HOST_CONFIGARGS) $${srcdiroption} \
3868 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
3869 @endif bfd-bootstrap
3871 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3872 maybe-configure-stage2-bfd:
3873 @if bfd-bootstrap
3874 maybe-configure-stage2-bfd: configure-stage2-bfd
3875 configure-stage2-bfd:
3876 @$(MAKE) stage2-start
3877 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3878 r=`${PWD_COMMAND}`; export r; \
3879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3880 $(HOST_EXPORTS) \
3881 $(POSTSTAGE1_HOST_EXPORTS) \
3882 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3883 cd $(HOST_SUBDIR)/bfd || exit 1; \
3884 case $(srcdir) in \
3885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3886 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3888 esac; \
3889 srcdiroption="--srcdir=$${topdir}/bfd"; \
3890 libsrcdir="$$s/bfd"; \
3891 $(SHELL) $${libsrcdir}/configure \
3892 $(HOST_CONFIGARGS) $${srcdiroption} \
3893 @stage2_werror_flag@
3894 @endif bfd-bootstrap
3896 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3897 maybe-configure-stage3-bfd:
3898 @if bfd-bootstrap
3899 maybe-configure-stage3-bfd: configure-stage3-bfd
3900 configure-stage3-bfd:
3901 @$(MAKE) stage3-start
3902 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3903 r=`${PWD_COMMAND}`; export r; \
3904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3905 $(HOST_EXPORTS) \
3906 $(POSTSTAGE1_HOST_EXPORTS) \
3907 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3908 cd $(HOST_SUBDIR)/bfd || exit 1; \
3909 case $(srcdir) in \
3910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3911 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3913 esac; \
3914 srcdiroption="--srcdir=$${topdir}/bfd"; \
3915 libsrcdir="$$s/bfd"; \
3916 $(SHELL) $${libsrcdir}/configure \
3917 $(HOST_CONFIGARGS) $${srcdiroption} \
3918 @stage2_werror_flag@
3919 @endif bfd-bootstrap
3921 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3922 maybe-configure-stage4-bfd:
3923 @if bfd-bootstrap
3924 maybe-configure-stage4-bfd: configure-stage4-bfd
3925 configure-stage4-bfd:
3926 @$(MAKE) stage4-start
3927 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3928 r=`${PWD_COMMAND}`; export r; \
3929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3930 $(HOST_EXPORTS) \
3931 $(POSTSTAGE1_HOST_EXPORTS) \
3932 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3933 cd $(HOST_SUBDIR)/bfd || exit 1; \
3934 case $(srcdir) in \
3935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3936 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3938 esac; \
3939 srcdiroption="--srcdir=$${topdir}/bfd"; \
3940 libsrcdir="$$s/bfd"; \
3941 $(SHELL) $${libsrcdir}/configure \
3942 $(HOST_CONFIGARGS) $${srcdiroption} \
3943 @stage2_werror_flag@
3944 @endif bfd-bootstrap
3946 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3947 maybe-configure-stageprofile-bfd:
3948 @if bfd-bootstrap
3949 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3950 configure-stageprofile-bfd:
3951 @$(MAKE) stageprofile-start
3952 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3953 r=`${PWD_COMMAND}`; export r; \
3954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3955 $(HOST_EXPORTS) \
3956 $(POSTSTAGE1_HOST_EXPORTS) \
3957 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3958 cd $(HOST_SUBDIR)/bfd || exit 1; \
3959 case $(srcdir) in \
3960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3961 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3963 esac; \
3964 srcdiroption="--srcdir=$${topdir}/bfd"; \
3965 libsrcdir="$$s/bfd"; \
3966 $(SHELL) $${libsrcdir}/configure \
3967 $(HOST_CONFIGARGS) $${srcdiroption} \
3968 @stage2_werror_flag@
3969 @endif bfd-bootstrap
3971 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3972 maybe-configure-stagefeedback-bfd:
3973 @if bfd-bootstrap
3974 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3975 configure-stagefeedback-bfd:
3976 @$(MAKE) stagefeedback-start
3977 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3978 r=`${PWD_COMMAND}`; export r; \
3979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3980 $(HOST_EXPORTS) \
3981 $(POSTSTAGE1_HOST_EXPORTS) \
3982 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3983 cd $(HOST_SUBDIR)/bfd || exit 1; \
3984 case $(srcdir) in \
3985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3986 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3988 esac; \
3989 srcdiroption="--srcdir=$${topdir}/bfd"; \
3990 libsrcdir="$$s/bfd"; \
3991 $(SHELL) $${libsrcdir}/configure \
3992 $(HOST_CONFIGARGS) $${srcdiroption} \
3993 @stage2_werror_flag@
3994 @endif bfd-bootstrap
4000 .PHONY: all-bfd maybe-all-bfd
4001 maybe-all-bfd:
4002 @if bfd
4003 TARGET-bfd=all
4004 maybe-all-bfd: all-bfd
4005 all-bfd: configure-bfd
4006 @test -f stage_last && exit 0; \
4007 r=`${PWD_COMMAND}`; export r; \
4008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4009 $(HOST_EXPORTS) \
4010 (cd $(HOST_SUBDIR)/bfd && \
4011 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4012 @endif bfd
4016 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4017 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4018 maybe-all-stage1-bfd:
4019 maybe-clean-stage1-bfd:
4020 @if bfd-bootstrap
4021 maybe-all-stage1-bfd: all-stage1-bfd
4022 all-stage1: all-stage1-bfd
4023 all-stage1-bfd: configure-stage1-bfd
4024 @$(MAKE) stage1-start
4025 @r=`${PWD_COMMAND}`; export r; \
4026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4027 $(HOST_EXPORTS) \
4028 cd $(HOST_SUBDIR)/bfd && \
4029 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
4031 maybe-clean-stage1-bfd: clean-stage1-bfd
4032 clean-stage1: clean-stage1-bfd
4033 clean-stage1-bfd:
4034 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4035 || exit 0 ; \
4036 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage1-start ; \
4037 cd $(HOST_SUBDIR)/bfd && \
4038 $(MAKE) $(FLAGS_TO_PASS) \
4039 CFLAGS="$(STAGE1_CFLAGS)" clean
4040 @endif bfd-bootstrap
4043 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4044 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4045 maybe-all-stage2-bfd:
4046 maybe-clean-stage2-bfd:
4047 @if bfd-bootstrap
4048 maybe-all-stage2-bfd: all-stage2-bfd
4049 all-stage2: all-stage2-bfd
4050 all-stage2-bfd: configure-stage2-bfd
4051 @$(MAKE) stage2-start
4052 @r=`${PWD_COMMAND}`; export r; \
4053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4054 $(HOST_EXPORTS) \
4055 $(POSTSTAGE1_HOST_EXPORTS) \
4056 cd $(HOST_SUBDIR)/bfd && \
4057 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4059 maybe-clean-stage2-bfd: clean-stage2-bfd
4060 clean-stage2: clean-stage2-bfd
4061 clean-stage2-bfd:
4062 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4063 || exit 0 ; \
4064 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage2-start ; \
4065 cd $(HOST_SUBDIR)/bfd && \
4066 $(MAKE) $(FLAGS_TO_PASS) \
4067 $(POSTSTAGE1_FLAGS_TO_PASS) \
4068 clean
4069 @endif bfd-bootstrap
4072 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4073 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4074 maybe-all-stage3-bfd:
4075 maybe-clean-stage3-bfd:
4076 @if bfd-bootstrap
4077 maybe-all-stage3-bfd: all-stage3-bfd
4078 all-stage3: all-stage3-bfd
4079 all-stage3-bfd: configure-stage3-bfd
4080 @$(MAKE) stage3-start
4081 @r=`${PWD_COMMAND}`; export r; \
4082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4083 $(HOST_EXPORTS) \
4084 $(POSTSTAGE1_HOST_EXPORTS) \
4085 cd $(HOST_SUBDIR)/bfd && \
4086 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4088 maybe-clean-stage3-bfd: clean-stage3-bfd
4089 clean-stage3: clean-stage3-bfd
4090 clean-stage3-bfd:
4091 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4092 || exit 0 ; \
4093 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage3-start ; \
4094 cd $(HOST_SUBDIR)/bfd && \
4095 $(MAKE) $(FLAGS_TO_PASS) \
4096 $(POSTSTAGE1_FLAGS_TO_PASS) \
4097 clean
4098 @endif bfd-bootstrap
4101 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4102 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4103 maybe-all-stage4-bfd:
4104 maybe-clean-stage4-bfd:
4105 @if bfd-bootstrap
4106 maybe-all-stage4-bfd: all-stage4-bfd
4107 all-stage4: all-stage4-bfd
4108 all-stage4-bfd: configure-stage4-bfd
4109 @$(MAKE) stage4-start
4110 @r=`${PWD_COMMAND}`; export r; \
4111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4112 $(HOST_EXPORTS) \
4113 $(POSTSTAGE1_HOST_EXPORTS) \
4114 cd $(HOST_SUBDIR)/bfd && \
4115 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4117 maybe-clean-stage4-bfd: clean-stage4-bfd
4118 clean-stage4: clean-stage4-bfd
4119 clean-stage4-bfd:
4120 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4121 || exit 0 ; \
4122 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage4-start ; \
4123 cd $(HOST_SUBDIR)/bfd && \
4124 $(MAKE) $(FLAGS_TO_PASS) \
4125 $(POSTSTAGE1_FLAGS_TO_PASS) \
4126 clean
4127 @endif bfd-bootstrap
4130 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4131 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4132 maybe-all-stageprofile-bfd:
4133 maybe-clean-stageprofile-bfd:
4134 @if bfd-bootstrap
4135 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4136 all-stageprofile: all-stageprofile-bfd
4137 all-stageprofile-bfd: configure-stageprofile-bfd
4138 @$(MAKE) stageprofile-start
4139 @r=`${PWD_COMMAND}`; export r; \
4140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4141 $(HOST_EXPORTS) \
4142 $(POSTSTAGE1_HOST_EXPORTS) \
4143 cd $(HOST_SUBDIR)/bfd && \
4144 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
4146 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4147 clean-stageprofile: clean-stageprofile-bfd
4148 clean-stageprofile-bfd:
4149 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4150 || exit 0 ; \
4151 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stageprofile-start ; \
4152 cd $(HOST_SUBDIR)/bfd && \
4153 $(MAKE) $(FLAGS_TO_PASS) \
4154 $(POSTSTAGE1_FLAGS_TO_PASS) \
4155 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4156 @endif bfd-bootstrap
4159 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4160 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4161 maybe-all-stagefeedback-bfd:
4162 maybe-clean-stagefeedback-bfd:
4163 @if bfd-bootstrap
4164 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4165 all-stagefeedback: all-stagefeedback-bfd
4166 all-stagefeedback-bfd: configure-stagefeedback-bfd
4167 @$(MAKE) stagefeedback-start
4168 @r=`${PWD_COMMAND}`; export r; \
4169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4170 $(HOST_EXPORTS) \
4171 $(POSTSTAGE1_HOST_EXPORTS) \
4172 cd $(HOST_SUBDIR)/bfd && \
4173 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
4175 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4176 clean-stagefeedback: clean-stagefeedback-bfd
4177 clean-stagefeedback-bfd:
4178 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4179 || exit 0 ; \
4180 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
4181 cd $(HOST_SUBDIR)/bfd && \
4182 $(MAKE) $(FLAGS_TO_PASS) \
4183 $(POSTSTAGE1_FLAGS_TO_PASS) \
4184 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4185 @endif bfd-bootstrap
4191 .PHONY: check-bfd maybe-check-bfd
4192 maybe-check-bfd:
4193 @if bfd
4194 maybe-check-bfd: check-bfd
4196 check-bfd:
4197 @r=`${PWD_COMMAND}`; export r; \
4198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4199 $(HOST_EXPORTS) \
4200 (cd $(HOST_SUBDIR)/bfd && \
4201 $(MAKE) $(FLAGS_TO_PASS) check)
4203 @endif bfd
4205 .PHONY: install-bfd maybe-install-bfd
4206 maybe-install-bfd:
4207 @if bfd
4208 maybe-install-bfd: install-bfd
4210 install-bfd: installdirs
4211 @r=`${PWD_COMMAND}`; export r; \
4212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4213 $(HOST_EXPORTS) \
4214 (cd $(HOST_SUBDIR)/bfd && \
4215 $(MAKE) $(FLAGS_TO_PASS) install)
4217 @endif bfd
4219 # Other targets (info, dvi, etc.)
4221 .PHONY: maybe-info-bfd info-bfd
4222 maybe-info-bfd:
4223 @if bfd
4224 maybe-info-bfd: info-bfd
4226 info-bfd: \
4227 configure-bfd
4228 @[ -f ./bfd/Makefile ] || exit 0; \
4229 r=`${PWD_COMMAND}`; export r; \
4230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4231 $(HOST_EXPORTS) \
4232 for flag in $(EXTRA_HOST_FLAGS) ; do \
4233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4234 done; \
4235 echo "Doing info in bfd" ; \
4236 (cd $(HOST_SUBDIR)/bfd && \
4237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4239 "RANLIB=$${RANLIB}" \
4240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4241 info) \
4242 || exit 1
4244 @endif bfd
4246 .PHONY: maybe-dvi-bfd dvi-bfd
4247 maybe-dvi-bfd:
4248 @if bfd
4249 maybe-dvi-bfd: dvi-bfd
4251 dvi-bfd: \
4252 configure-bfd
4253 @[ -f ./bfd/Makefile ] || exit 0; \
4254 r=`${PWD_COMMAND}`; export r; \
4255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4256 $(HOST_EXPORTS) \
4257 for flag in $(EXTRA_HOST_FLAGS) ; do \
4258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4259 done; \
4260 echo "Doing dvi in bfd" ; \
4261 (cd $(HOST_SUBDIR)/bfd && \
4262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4264 "RANLIB=$${RANLIB}" \
4265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4266 dvi) \
4267 || exit 1
4269 @endif bfd
4271 .PHONY: maybe-html-bfd html-bfd
4272 maybe-html-bfd:
4273 @if bfd
4274 maybe-html-bfd: html-bfd
4276 html-bfd: \
4277 configure-bfd
4278 @[ -f ./bfd/Makefile ] || exit 0; \
4279 r=`${PWD_COMMAND}`; export r; \
4280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4281 $(HOST_EXPORTS) \
4282 for flag in $(EXTRA_HOST_FLAGS) ; do \
4283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4284 done; \
4285 echo "Doing html in bfd" ; \
4286 (cd $(HOST_SUBDIR)/bfd && \
4287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4289 "RANLIB=$${RANLIB}" \
4290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4291 html) \
4292 || exit 1
4294 @endif bfd
4296 .PHONY: maybe-TAGS-bfd TAGS-bfd
4297 maybe-TAGS-bfd:
4298 @if bfd
4299 maybe-TAGS-bfd: TAGS-bfd
4301 TAGS-bfd: \
4302 configure-bfd
4303 @[ -f ./bfd/Makefile ] || exit 0; \
4304 r=`${PWD_COMMAND}`; export r; \
4305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4306 $(HOST_EXPORTS) \
4307 for flag in $(EXTRA_HOST_FLAGS) ; do \
4308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4309 done; \
4310 echo "Doing TAGS in bfd" ; \
4311 (cd $(HOST_SUBDIR)/bfd && \
4312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4314 "RANLIB=$${RANLIB}" \
4315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4316 TAGS) \
4317 || exit 1
4319 @endif bfd
4321 .PHONY: maybe-install-info-bfd install-info-bfd
4322 maybe-install-info-bfd:
4323 @if bfd
4324 maybe-install-info-bfd: install-info-bfd
4326 install-info-bfd: \
4327 configure-bfd \
4328 info-bfd
4329 @[ -f ./bfd/Makefile ] || exit 0; \
4330 r=`${PWD_COMMAND}`; export r; \
4331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4332 $(HOST_EXPORTS) \
4333 for flag in $(EXTRA_HOST_FLAGS) ; do \
4334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4335 done; \
4336 echo "Doing install-info in bfd" ; \
4337 (cd $(HOST_SUBDIR)/bfd && \
4338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4340 "RANLIB=$${RANLIB}" \
4341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4342 install-info) \
4343 || exit 1
4345 @endif bfd
4347 .PHONY: maybe-installcheck-bfd installcheck-bfd
4348 maybe-installcheck-bfd:
4349 @if bfd
4350 maybe-installcheck-bfd: installcheck-bfd
4352 installcheck-bfd: \
4353 configure-bfd
4354 @[ -f ./bfd/Makefile ] || exit 0; \
4355 r=`${PWD_COMMAND}`; export r; \
4356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4357 $(HOST_EXPORTS) \
4358 for flag in $(EXTRA_HOST_FLAGS) ; do \
4359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4360 done; \
4361 echo "Doing installcheck in bfd" ; \
4362 (cd $(HOST_SUBDIR)/bfd && \
4363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4365 "RANLIB=$${RANLIB}" \
4366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4367 installcheck) \
4368 || exit 1
4370 @endif bfd
4372 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4373 maybe-mostlyclean-bfd:
4374 @if bfd
4375 maybe-mostlyclean-bfd: mostlyclean-bfd
4377 mostlyclean-bfd:
4378 @[ -f ./bfd/Makefile ] || exit 0; \
4379 r=`${PWD_COMMAND}`; export r; \
4380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4381 $(HOST_EXPORTS) \
4382 for flag in $(EXTRA_HOST_FLAGS) ; do \
4383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4384 done; \
4385 echo "Doing mostlyclean in bfd" ; \
4386 (cd $(HOST_SUBDIR)/bfd && \
4387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4389 "RANLIB=$${RANLIB}" \
4390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4391 mostlyclean) \
4392 || exit 1
4394 @endif bfd
4396 .PHONY: maybe-clean-bfd clean-bfd
4397 maybe-clean-bfd:
4398 @if bfd
4399 maybe-clean-bfd: clean-bfd
4401 clean-bfd:
4402 @[ -f ./bfd/Makefile ] || exit 0; \
4403 r=`${PWD_COMMAND}`; export r; \
4404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4405 $(HOST_EXPORTS) \
4406 for flag in $(EXTRA_HOST_FLAGS) ; do \
4407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4408 done; \
4409 echo "Doing clean in bfd" ; \
4410 (cd $(HOST_SUBDIR)/bfd && \
4411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4413 "RANLIB=$${RANLIB}" \
4414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4415 clean) \
4416 || exit 1
4418 @endif bfd
4420 .PHONY: maybe-distclean-bfd distclean-bfd
4421 maybe-distclean-bfd:
4422 @if bfd
4423 maybe-distclean-bfd: distclean-bfd
4425 distclean-bfd:
4426 @[ -f ./bfd/Makefile ] || exit 0; \
4427 r=`${PWD_COMMAND}`; export r; \
4428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4429 $(HOST_EXPORTS) \
4430 for flag in $(EXTRA_HOST_FLAGS) ; do \
4431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4432 done; \
4433 echo "Doing distclean in bfd" ; \
4434 (cd $(HOST_SUBDIR)/bfd && \
4435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4437 "RANLIB=$${RANLIB}" \
4438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4439 distclean) \
4440 || exit 1
4442 @endif bfd
4444 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4445 maybe-maintainer-clean-bfd:
4446 @if bfd
4447 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4449 maintainer-clean-bfd:
4450 @[ -f ./bfd/Makefile ] || exit 0; \
4451 r=`${PWD_COMMAND}`; export r; \
4452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4453 $(HOST_EXPORTS) \
4454 for flag in $(EXTRA_HOST_FLAGS) ; do \
4455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4456 done; \
4457 echo "Doing maintainer-clean in bfd" ; \
4458 (cd $(HOST_SUBDIR)/bfd && \
4459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4461 "RANLIB=$${RANLIB}" \
4462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4463 maintainer-clean) \
4464 || exit 1
4466 @endif bfd
4470 .PHONY: configure-opcodes maybe-configure-opcodes
4471 maybe-configure-opcodes:
4472 @if opcodes
4473 maybe-configure-opcodes: configure-opcodes
4474 configure-opcodes:
4475 @test -f stage_last && exit 0; \
4476 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4477 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4478 r=`${PWD_COMMAND}`; export r; \
4479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4480 $(HOST_EXPORTS) \
4481 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4482 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4483 case $(srcdir) in \
4484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4485 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4487 esac; \
4488 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4489 libsrcdir="$$s/opcodes"; \
4490 $(SHELL) $${libsrcdir}/configure \
4491 $(HOST_CONFIGARGS) $${srcdiroption} \
4492 || exit 1
4493 @endif opcodes
4497 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4498 maybe-configure-stage1-opcodes:
4499 @if opcodes-bootstrap
4500 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4501 configure-stage1-opcodes:
4502 @$(MAKE) stage1-start
4503 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4504 r=`${PWD_COMMAND}`; export r; \
4505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4506 $(HOST_EXPORTS) \
4507 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4508 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4509 case $(srcdir) in \
4510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4511 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4513 esac; \
4514 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4515 libsrcdir="$$s/opcodes"; \
4516 $(SHELL) $${libsrcdir}/configure \
4517 $(HOST_CONFIGARGS) $${srcdiroption} \
4518 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4519 @endif opcodes-bootstrap
4521 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4522 maybe-configure-stage2-opcodes:
4523 @if opcodes-bootstrap
4524 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4525 configure-stage2-opcodes:
4526 @$(MAKE) stage2-start
4527 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4528 r=`${PWD_COMMAND}`; export r; \
4529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4530 $(HOST_EXPORTS) \
4531 $(POSTSTAGE1_HOST_EXPORTS) \
4532 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4533 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4534 case $(srcdir) in \
4535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4536 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4538 esac; \
4539 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4540 libsrcdir="$$s/opcodes"; \
4541 $(SHELL) $${libsrcdir}/configure \
4542 $(HOST_CONFIGARGS) $${srcdiroption} \
4543 @stage2_werror_flag@
4544 @endif opcodes-bootstrap
4546 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4547 maybe-configure-stage3-opcodes:
4548 @if opcodes-bootstrap
4549 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4550 configure-stage3-opcodes:
4551 @$(MAKE) stage3-start
4552 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4553 r=`${PWD_COMMAND}`; export r; \
4554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4555 $(HOST_EXPORTS) \
4556 $(POSTSTAGE1_HOST_EXPORTS) \
4557 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4558 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4559 case $(srcdir) in \
4560 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4561 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4562 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4563 esac; \
4564 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4565 libsrcdir="$$s/opcodes"; \
4566 $(SHELL) $${libsrcdir}/configure \
4567 $(HOST_CONFIGARGS) $${srcdiroption} \
4568 @stage2_werror_flag@
4569 @endif opcodes-bootstrap
4571 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4572 maybe-configure-stage4-opcodes:
4573 @if opcodes-bootstrap
4574 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4575 configure-stage4-opcodes:
4576 @$(MAKE) stage4-start
4577 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4578 r=`${PWD_COMMAND}`; export r; \
4579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4580 $(HOST_EXPORTS) \
4581 $(POSTSTAGE1_HOST_EXPORTS) \
4582 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4583 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4584 case $(srcdir) in \
4585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4586 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4588 esac; \
4589 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4590 libsrcdir="$$s/opcodes"; \
4591 $(SHELL) $${libsrcdir}/configure \
4592 $(HOST_CONFIGARGS) $${srcdiroption} \
4593 @stage2_werror_flag@
4594 @endif opcodes-bootstrap
4596 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4597 maybe-configure-stageprofile-opcodes:
4598 @if opcodes-bootstrap
4599 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4600 configure-stageprofile-opcodes:
4601 @$(MAKE) stageprofile-start
4602 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4603 r=`${PWD_COMMAND}`; export r; \
4604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4605 $(HOST_EXPORTS) \
4606 $(POSTSTAGE1_HOST_EXPORTS) \
4607 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4608 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4609 case $(srcdir) in \
4610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4611 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4613 esac; \
4614 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4615 libsrcdir="$$s/opcodes"; \
4616 $(SHELL) $${libsrcdir}/configure \
4617 $(HOST_CONFIGARGS) $${srcdiroption} \
4618 @stage2_werror_flag@
4619 @endif opcodes-bootstrap
4621 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4622 maybe-configure-stagefeedback-opcodes:
4623 @if opcodes-bootstrap
4624 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4625 configure-stagefeedback-opcodes:
4626 @$(MAKE) stagefeedback-start
4627 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4628 r=`${PWD_COMMAND}`; export r; \
4629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4630 $(HOST_EXPORTS) \
4631 $(POSTSTAGE1_HOST_EXPORTS) \
4632 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4633 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4634 case $(srcdir) in \
4635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4636 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4638 esac; \
4639 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4640 libsrcdir="$$s/opcodes"; \
4641 $(SHELL) $${libsrcdir}/configure \
4642 $(HOST_CONFIGARGS) $${srcdiroption} \
4643 @stage2_werror_flag@
4644 @endif opcodes-bootstrap
4650 .PHONY: all-opcodes maybe-all-opcodes
4651 maybe-all-opcodes:
4652 @if opcodes
4653 TARGET-opcodes=all
4654 maybe-all-opcodes: all-opcodes
4655 all-opcodes: configure-opcodes
4656 @test -f stage_last && exit 0; \
4657 r=`${PWD_COMMAND}`; export r; \
4658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4659 $(HOST_EXPORTS) \
4660 (cd $(HOST_SUBDIR)/opcodes && \
4661 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4662 @endif opcodes
4666 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4667 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4668 maybe-all-stage1-opcodes:
4669 maybe-clean-stage1-opcodes:
4670 @if opcodes-bootstrap
4671 maybe-all-stage1-opcodes: all-stage1-opcodes
4672 all-stage1: all-stage1-opcodes
4673 all-stage1-opcodes: configure-stage1-opcodes
4674 @$(MAKE) stage1-start
4675 @r=`${PWD_COMMAND}`; export r; \
4676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4677 $(HOST_EXPORTS) \
4678 cd $(HOST_SUBDIR)/opcodes && \
4679 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
4681 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4682 clean-stage1: clean-stage1-opcodes
4683 clean-stage1-opcodes:
4684 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
4685 || exit 0 ; \
4686 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage1-start ; \
4687 cd $(HOST_SUBDIR)/opcodes && \
4688 $(MAKE) $(FLAGS_TO_PASS) \
4689 CFLAGS="$(STAGE1_CFLAGS)" clean
4690 @endif opcodes-bootstrap
4693 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4694 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4695 maybe-all-stage2-opcodes:
4696 maybe-clean-stage2-opcodes:
4697 @if opcodes-bootstrap
4698 maybe-all-stage2-opcodes: all-stage2-opcodes
4699 all-stage2: all-stage2-opcodes
4700 all-stage2-opcodes: configure-stage2-opcodes
4701 @$(MAKE) stage2-start
4702 @r=`${PWD_COMMAND}`; export r; \
4703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4704 $(HOST_EXPORTS) \
4705 $(POSTSTAGE1_HOST_EXPORTS) \
4706 cd $(HOST_SUBDIR)/opcodes && \
4707 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4709 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4710 clean-stage2: clean-stage2-opcodes
4711 clean-stage2-opcodes:
4712 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
4713 || exit 0 ; \
4714 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage2-start ; \
4715 cd $(HOST_SUBDIR)/opcodes && \
4716 $(MAKE) $(FLAGS_TO_PASS) \
4717 $(POSTSTAGE1_FLAGS_TO_PASS) \
4718 clean
4719 @endif opcodes-bootstrap
4722 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4723 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4724 maybe-all-stage3-opcodes:
4725 maybe-clean-stage3-opcodes:
4726 @if opcodes-bootstrap
4727 maybe-all-stage3-opcodes: all-stage3-opcodes
4728 all-stage3: all-stage3-opcodes
4729 all-stage3-opcodes: configure-stage3-opcodes
4730 @$(MAKE) stage3-start
4731 @r=`${PWD_COMMAND}`; export r; \
4732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4733 $(HOST_EXPORTS) \
4734 $(POSTSTAGE1_HOST_EXPORTS) \
4735 cd $(HOST_SUBDIR)/opcodes && \
4736 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4738 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4739 clean-stage3: clean-stage3-opcodes
4740 clean-stage3-opcodes:
4741 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
4742 || exit 0 ; \
4743 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage3-start ; \
4744 cd $(HOST_SUBDIR)/opcodes && \
4745 $(MAKE) $(FLAGS_TO_PASS) \
4746 $(POSTSTAGE1_FLAGS_TO_PASS) \
4747 clean
4748 @endif opcodes-bootstrap
4751 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4752 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4753 maybe-all-stage4-opcodes:
4754 maybe-clean-stage4-opcodes:
4755 @if opcodes-bootstrap
4756 maybe-all-stage4-opcodes: all-stage4-opcodes
4757 all-stage4: all-stage4-opcodes
4758 all-stage4-opcodes: configure-stage4-opcodes
4759 @$(MAKE) stage4-start
4760 @r=`${PWD_COMMAND}`; export r; \
4761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4762 $(HOST_EXPORTS) \
4763 $(POSTSTAGE1_HOST_EXPORTS) \
4764 cd $(HOST_SUBDIR)/opcodes && \
4765 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4767 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4768 clean-stage4: clean-stage4-opcodes
4769 clean-stage4-opcodes:
4770 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
4771 || exit 0 ; \
4772 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage4-start ; \
4773 cd $(HOST_SUBDIR)/opcodes && \
4774 $(MAKE) $(FLAGS_TO_PASS) \
4775 $(POSTSTAGE1_FLAGS_TO_PASS) \
4776 clean
4777 @endif opcodes-bootstrap
4780 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4781 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4782 maybe-all-stageprofile-opcodes:
4783 maybe-clean-stageprofile-opcodes:
4784 @if opcodes-bootstrap
4785 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4786 all-stageprofile: all-stageprofile-opcodes
4787 all-stageprofile-opcodes: configure-stageprofile-opcodes
4788 @$(MAKE) stageprofile-start
4789 @r=`${PWD_COMMAND}`; export r; \
4790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4791 $(HOST_EXPORTS) \
4792 $(POSTSTAGE1_HOST_EXPORTS) \
4793 cd $(HOST_SUBDIR)/opcodes && \
4794 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
4796 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4797 clean-stageprofile: clean-stageprofile-opcodes
4798 clean-stageprofile-opcodes:
4799 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
4800 || exit 0 ; \
4801 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
4802 cd $(HOST_SUBDIR)/opcodes && \
4803 $(MAKE) $(FLAGS_TO_PASS) \
4804 $(POSTSTAGE1_FLAGS_TO_PASS) \
4805 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4806 @endif opcodes-bootstrap
4809 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4810 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4811 maybe-all-stagefeedback-opcodes:
4812 maybe-clean-stagefeedback-opcodes:
4813 @if opcodes-bootstrap
4814 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4815 all-stagefeedback: all-stagefeedback-opcodes
4816 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4817 @$(MAKE) stagefeedback-start
4818 @r=`${PWD_COMMAND}`; export r; \
4819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4820 $(HOST_EXPORTS) \
4821 $(POSTSTAGE1_HOST_EXPORTS) \
4822 cd $(HOST_SUBDIR)/opcodes && \
4823 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
4825 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4826 clean-stagefeedback: clean-stagefeedback-opcodes
4827 clean-stagefeedback-opcodes:
4828 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
4829 || exit 0 ; \
4830 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
4831 cd $(HOST_SUBDIR)/opcodes && \
4832 $(MAKE) $(FLAGS_TO_PASS) \
4833 $(POSTSTAGE1_FLAGS_TO_PASS) \
4834 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4835 @endif opcodes-bootstrap
4841 .PHONY: check-opcodes maybe-check-opcodes
4842 maybe-check-opcodes:
4843 @if opcodes
4844 maybe-check-opcodes: check-opcodes
4846 check-opcodes:
4847 @r=`${PWD_COMMAND}`; export r; \
4848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4849 $(HOST_EXPORTS) \
4850 (cd $(HOST_SUBDIR)/opcodes && \
4851 $(MAKE) $(FLAGS_TO_PASS) check)
4853 @endif opcodes
4855 .PHONY: install-opcodes maybe-install-opcodes
4856 maybe-install-opcodes:
4857 @if opcodes
4858 maybe-install-opcodes: install-opcodes
4860 install-opcodes: installdirs
4861 @r=`${PWD_COMMAND}`; export r; \
4862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4863 $(HOST_EXPORTS) \
4864 (cd $(HOST_SUBDIR)/opcodes && \
4865 $(MAKE) $(FLAGS_TO_PASS) install)
4867 @endif opcodes
4869 # Other targets (info, dvi, etc.)
4871 .PHONY: maybe-info-opcodes info-opcodes
4872 maybe-info-opcodes:
4873 @if opcodes
4874 maybe-info-opcodes: info-opcodes
4876 info-opcodes: \
4877 configure-opcodes
4878 @[ -f ./opcodes/Makefile ] || exit 0; \
4879 r=`${PWD_COMMAND}`; export r; \
4880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4881 $(HOST_EXPORTS) \
4882 for flag in $(EXTRA_HOST_FLAGS) ; do \
4883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4884 done; \
4885 echo "Doing info in opcodes" ; \
4886 (cd $(HOST_SUBDIR)/opcodes && \
4887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4889 "RANLIB=$${RANLIB}" \
4890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4891 info) \
4892 || exit 1
4894 @endif opcodes
4896 .PHONY: maybe-dvi-opcodes dvi-opcodes
4897 maybe-dvi-opcodes:
4898 @if opcodes
4899 maybe-dvi-opcodes: dvi-opcodes
4901 dvi-opcodes: \
4902 configure-opcodes
4903 @[ -f ./opcodes/Makefile ] || exit 0; \
4904 r=`${PWD_COMMAND}`; export r; \
4905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4906 $(HOST_EXPORTS) \
4907 for flag in $(EXTRA_HOST_FLAGS) ; do \
4908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4909 done; \
4910 echo "Doing dvi in opcodes" ; \
4911 (cd $(HOST_SUBDIR)/opcodes && \
4912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4914 "RANLIB=$${RANLIB}" \
4915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4916 dvi) \
4917 || exit 1
4919 @endif opcodes
4921 .PHONY: maybe-html-opcodes html-opcodes
4922 maybe-html-opcodes:
4923 @if opcodes
4924 maybe-html-opcodes: html-opcodes
4926 html-opcodes: \
4927 configure-opcodes
4928 @[ -f ./opcodes/Makefile ] || exit 0; \
4929 r=`${PWD_COMMAND}`; export r; \
4930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4931 $(HOST_EXPORTS) \
4932 for flag in $(EXTRA_HOST_FLAGS) ; do \
4933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4934 done; \
4935 echo "Doing html in opcodes" ; \
4936 (cd $(HOST_SUBDIR)/opcodes && \
4937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4939 "RANLIB=$${RANLIB}" \
4940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4941 html) \
4942 || exit 1
4944 @endif opcodes
4946 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4947 maybe-TAGS-opcodes:
4948 @if opcodes
4949 maybe-TAGS-opcodes: TAGS-opcodes
4951 TAGS-opcodes: \
4952 configure-opcodes
4953 @[ -f ./opcodes/Makefile ] || exit 0; \
4954 r=`${PWD_COMMAND}`; export r; \
4955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4956 $(HOST_EXPORTS) \
4957 for flag in $(EXTRA_HOST_FLAGS) ; do \
4958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4959 done; \
4960 echo "Doing TAGS in opcodes" ; \
4961 (cd $(HOST_SUBDIR)/opcodes && \
4962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4964 "RANLIB=$${RANLIB}" \
4965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4966 TAGS) \
4967 || exit 1
4969 @endif opcodes
4971 .PHONY: maybe-install-info-opcodes install-info-opcodes
4972 maybe-install-info-opcodes:
4973 @if opcodes
4974 maybe-install-info-opcodes: install-info-opcodes
4976 install-info-opcodes: \
4977 configure-opcodes \
4978 info-opcodes
4979 @[ -f ./opcodes/Makefile ] || exit 0; \
4980 r=`${PWD_COMMAND}`; export r; \
4981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4982 $(HOST_EXPORTS) \
4983 for flag in $(EXTRA_HOST_FLAGS) ; do \
4984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4985 done; \
4986 echo "Doing install-info in opcodes" ; \
4987 (cd $(HOST_SUBDIR)/opcodes && \
4988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4990 "RANLIB=$${RANLIB}" \
4991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4992 install-info) \
4993 || exit 1
4995 @endif opcodes
4997 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4998 maybe-installcheck-opcodes:
4999 @if opcodes
5000 maybe-installcheck-opcodes: installcheck-opcodes
5002 installcheck-opcodes: \
5003 configure-opcodes
5004 @[ -f ./opcodes/Makefile ] || exit 0; \
5005 r=`${PWD_COMMAND}`; export r; \
5006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5007 $(HOST_EXPORTS) \
5008 for flag in $(EXTRA_HOST_FLAGS) ; do \
5009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5010 done; \
5011 echo "Doing installcheck in opcodes" ; \
5012 (cd $(HOST_SUBDIR)/opcodes && \
5013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5015 "RANLIB=$${RANLIB}" \
5016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5017 installcheck) \
5018 || exit 1
5020 @endif opcodes
5022 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5023 maybe-mostlyclean-opcodes:
5024 @if opcodes
5025 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5027 mostlyclean-opcodes:
5028 @[ -f ./opcodes/Makefile ] || exit 0; \
5029 r=`${PWD_COMMAND}`; export r; \
5030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5031 $(HOST_EXPORTS) \
5032 for flag in $(EXTRA_HOST_FLAGS) ; do \
5033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5034 done; \
5035 echo "Doing mostlyclean in opcodes" ; \
5036 (cd $(HOST_SUBDIR)/opcodes && \
5037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5039 "RANLIB=$${RANLIB}" \
5040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5041 mostlyclean) \
5042 || exit 1
5044 @endif opcodes
5046 .PHONY: maybe-clean-opcodes clean-opcodes
5047 maybe-clean-opcodes:
5048 @if opcodes
5049 maybe-clean-opcodes: clean-opcodes
5051 clean-opcodes:
5052 @[ -f ./opcodes/Makefile ] || exit 0; \
5053 r=`${PWD_COMMAND}`; export r; \
5054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5055 $(HOST_EXPORTS) \
5056 for flag in $(EXTRA_HOST_FLAGS) ; do \
5057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5058 done; \
5059 echo "Doing clean in opcodes" ; \
5060 (cd $(HOST_SUBDIR)/opcodes && \
5061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5063 "RANLIB=$${RANLIB}" \
5064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5065 clean) \
5066 || exit 1
5068 @endif opcodes
5070 .PHONY: maybe-distclean-opcodes distclean-opcodes
5071 maybe-distclean-opcodes:
5072 @if opcodes
5073 maybe-distclean-opcodes: distclean-opcodes
5075 distclean-opcodes:
5076 @[ -f ./opcodes/Makefile ] || exit 0; \
5077 r=`${PWD_COMMAND}`; export r; \
5078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5079 $(HOST_EXPORTS) \
5080 for flag in $(EXTRA_HOST_FLAGS) ; do \
5081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5082 done; \
5083 echo "Doing distclean in opcodes" ; \
5084 (cd $(HOST_SUBDIR)/opcodes && \
5085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5087 "RANLIB=$${RANLIB}" \
5088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5089 distclean) \
5090 || exit 1
5092 @endif opcodes
5094 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5095 maybe-maintainer-clean-opcodes:
5096 @if opcodes
5097 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5099 maintainer-clean-opcodes:
5100 @[ -f ./opcodes/Makefile ] || exit 0; \
5101 r=`${PWD_COMMAND}`; export r; \
5102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5103 $(HOST_EXPORTS) \
5104 for flag in $(EXTRA_HOST_FLAGS) ; do \
5105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5106 done; \
5107 echo "Doing maintainer-clean in opcodes" ; \
5108 (cd $(HOST_SUBDIR)/opcodes && \
5109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5111 "RANLIB=$${RANLIB}" \
5112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5113 maintainer-clean) \
5114 || exit 1
5116 @endif opcodes
5120 .PHONY: configure-binutils maybe-configure-binutils
5121 maybe-configure-binutils:
5122 @if binutils
5123 maybe-configure-binutils: configure-binutils
5124 configure-binutils:
5125 @test -f stage_last && exit 0; \
5126 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5127 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5128 r=`${PWD_COMMAND}`; export r; \
5129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5130 $(HOST_EXPORTS) \
5131 echo Configuring in $(HOST_SUBDIR)/binutils; \
5132 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5133 case $(srcdir) in \
5134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5135 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5137 esac; \
5138 srcdiroption="--srcdir=$${topdir}/binutils"; \
5139 libsrcdir="$$s/binutils"; \
5140 $(SHELL) $${libsrcdir}/configure \
5141 $(HOST_CONFIGARGS) $${srcdiroption} \
5142 || exit 1
5143 @endif binutils
5147 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5148 maybe-configure-stage1-binutils:
5149 @if binutils-bootstrap
5150 maybe-configure-stage1-binutils: configure-stage1-binutils
5151 configure-stage1-binutils:
5152 @$(MAKE) stage1-start
5153 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5154 r=`${PWD_COMMAND}`; export r; \
5155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5156 $(HOST_EXPORTS) \
5157 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5158 cd $(HOST_SUBDIR)/binutils || exit 1; \
5159 case $(srcdir) in \
5160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5161 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5163 esac; \
5164 srcdiroption="--srcdir=$${topdir}/binutils"; \
5165 libsrcdir="$$s/binutils"; \
5166 $(SHELL) $${libsrcdir}/configure \
5167 $(HOST_CONFIGARGS) $${srcdiroption} \
5168 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5169 @endif binutils-bootstrap
5171 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5172 maybe-configure-stage2-binutils:
5173 @if binutils-bootstrap
5174 maybe-configure-stage2-binutils: configure-stage2-binutils
5175 configure-stage2-binutils:
5176 @$(MAKE) stage2-start
5177 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5178 r=`${PWD_COMMAND}`; export r; \
5179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5180 $(HOST_EXPORTS) \
5181 $(POSTSTAGE1_HOST_EXPORTS) \
5182 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5183 cd $(HOST_SUBDIR)/binutils || exit 1; \
5184 case $(srcdir) in \
5185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5186 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5188 esac; \
5189 srcdiroption="--srcdir=$${topdir}/binutils"; \
5190 libsrcdir="$$s/binutils"; \
5191 $(SHELL) $${libsrcdir}/configure \
5192 $(HOST_CONFIGARGS) $${srcdiroption} \
5193 @stage2_werror_flag@
5194 @endif binutils-bootstrap
5196 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5197 maybe-configure-stage3-binutils:
5198 @if binutils-bootstrap
5199 maybe-configure-stage3-binutils: configure-stage3-binutils
5200 configure-stage3-binutils:
5201 @$(MAKE) stage3-start
5202 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5203 r=`${PWD_COMMAND}`; export r; \
5204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5205 $(HOST_EXPORTS) \
5206 $(POSTSTAGE1_HOST_EXPORTS) \
5207 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5208 cd $(HOST_SUBDIR)/binutils || exit 1; \
5209 case $(srcdir) in \
5210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5211 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5213 esac; \
5214 srcdiroption="--srcdir=$${topdir}/binutils"; \
5215 libsrcdir="$$s/binutils"; \
5216 $(SHELL) $${libsrcdir}/configure \
5217 $(HOST_CONFIGARGS) $${srcdiroption} \
5218 @stage2_werror_flag@
5219 @endif binutils-bootstrap
5221 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5222 maybe-configure-stage4-binutils:
5223 @if binutils-bootstrap
5224 maybe-configure-stage4-binutils: configure-stage4-binutils
5225 configure-stage4-binutils:
5226 @$(MAKE) stage4-start
5227 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5228 r=`${PWD_COMMAND}`; export r; \
5229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5230 $(HOST_EXPORTS) \
5231 $(POSTSTAGE1_HOST_EXPORTS) \
5232 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5233 cd $(HOST_SUBDIR)/binutils || exit 1; \
5234 case $(srcdir) in \
5235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5236 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5238 esac; \
5239 srcdiroption="--srcdir=$${topdir}/binutils"; \
5240 libsrcdir="$$s/binutils"; \
5241 $(SHELL) $${libsrcdir}/configure \
5242 $(HOST_CONFIGARGS) $${srcdiroption} \
5243 @stage2_werror_flag@
5244 @endif binutils-bootstrap
5246 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5247 maybe-configure-stageprofile-binutils:
5248 @if binutils-bootstrap
5249 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5250 configure-stageprofile-binutils:
5251 @$(MAKE) stageprofile-start
5252 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5253 r=`${PWD_COMMAND}`; export r; \
5254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5255 $(HOST_EXPORTS) \
5256 $(POSTSTAGE1_HOST_EXPORTS) \
5257 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5258 cd $(HOST_SUBDIR)/binutils || exit 1; \
5259 case $(srcdir) in \
5260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5261 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5263 esac; \
5264 srcdiroption="--srcdir=$${topdir}/binutils"; \
5265 libsrcdir="$$s/binutils"; \
5266 $(SHELL) $${libsrcdir}/configure \
5267 $(HOST_CONFIGARGS) $${srcdiroption} \
5268 @stage2_werror_flag@
5269 @endif binutils-bootstrap
5271 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5272 maybe-configure-stagefeedback-binutils:
5273 @if binutils-bootstrap
5274 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5275 configure-stagefeedback-binutils:
5276 @$(MAKE) stagefeedback-start
5277 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5278 r=`${PWD_COMMAND}`; export r; \
5279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5280 $(HOST_EXPORTS) \
5281 $(POSTSTAGE1_HOST_EXPORTS) \
5282 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5283 cd $(HOST_SUBDIR)/binutils || exit 1; \
5284 case $(srcdir) in \
5285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5286 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5288 esac; \
5289 srcdiroption="--srcdir=$${topdir}/binutils"; \
5290 libsrcdir="$$s/binutils"; \
5291 $(SHELL) $${libsrcdir}/configure \
5292 $(HOST_CONFIGARGS) $${srcdiroption} \
5293 @stage2_werror_flag@
5294 @endif binutils-bootstrap
5300 .PHONY: all-binutils maybe-all-binutils
5301 maybe-all-binutils:
5302 @if binutils
5303 TARGET-binutils=all
5304 maybe-all-binutils: all-binutils
5305 all-binutils: configure-binutils
5306 @test -f stage_last && exit 0; \
5307 r=`${PWD_COMMAND}`; export r; \
5308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5309 $(HOST_EXPORTS) \
5310 (cd $(HOST_SUBDIR)/binutils && \
5311 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5312 @endif binutils
5316 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5317 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5318 maybe-all-stage1-binutils:
5319 maybe-clean-stage1-binutils:
5320 @if binutils-bootstrap
5321 maybe-all-stage1-binutils: all-stage1-binutils
5322 all-stage1: all-stage1-binutils
5323 all-stage1-binutils: configure-stage1-binutils
5324 @$(MAKE) stage1-start
5325 @r=`${PWD_COMMAND}`; export r; \
5326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5327 $(HOST_EXPORTS) \
5328 cd $(HOST_SUBDIR)/binutils && \
5329 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
5331 maybe-clean-stage1-binutils: clean-stage1-binutils
5332 clean-stage1: clean-stage1-binutils
5333 clean-stage1-binutils:
5334 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5335 || exit 0 ; \
5336 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage1-start ; \
5337 cd $(HOST_SUBDIR)/binutils && \
5338 $(MAKE) $(FLAGS_TO_PASS) \
5339 CFLAGS="$(STAGE1_CFLAGS)" clean
5340 @endif binutils-bootstrap
5343 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5344 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5345 maybe-all-stage2-binutils:
5346 maybe-clean-stage2-binutils:
5347 @if binutils-bootstrap
5348 maybe-all-stage2-binutils: all-stage2-binutils
5349 all-stage2: all-stage2-binutils
5350 all-stage2-binutils: configure-stage2-binutils
5351 @$(MAKE) stage2-start
5352 @r=`${PWD_COMMAND}`; export r; \
5353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5354 $(HOST_EXPORTS) \
5355 $(POSTSTAGE1_HOST_EXPORTS) \
5356 cd $(HOST_SUBDIR)/binutils && \
5357 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
5359 maybe-clean-stage2-binutils: clean-stage2-binutils
5360 clean-stage2: clean-stage2-binutils
5361 clean-stage2-binutils:
5362 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5363 || exit 0 ; \
5364 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage2-start ; \
5365 cd $(HOST_SUBDIR)/binutils && \
5366 $(MAKE) $(FLAGS_TO_PASS) \
5367 $(POSTSTAGE1_FLAGS_TO_PASS) \
5368 clean
5369 @endif binutils-bootstrap
5372 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5373 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5374 maybe-all-stage3-binutils:
5375 maybe-clean-stage3-binutils:
5376 @if binutils-bootstrap
5377 maybe-all-stage3-binutils: all-stage3-binutils
5378 all-stage3: all-stage3-binutils
5379 all-stage3-binutils: configure-stage3-binutils
5380 @$(MAKE) stage3-start
5381 @r=`${PWD_COMMAND}`; export r; \
5382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5383 $(HOST_EXPORTS) \
5384 $(POSTSTAGE1_HOST_EXPORTS) \
5385 cd $(HOST_SUBDIR)/binutils && \
5386 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
5388 maybe-clean-stage3-binutils: clean-stage3-binutils
5389 clean-stage3: clean-stage3-binutils
5390 clean-stage3-binutils:
5391 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5392 || exit 0 ; \
5393 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage3-start ; \
5394 cd $(HOST_SUBDIR)/binutils && \
5395 $(MAKE) $(FLAGS_TO_PASS) \
5396 $(POSTSTAGE1_FLAGS_TO_PASS) \
5397 clean
5398 @endif binutils-bootstrap
5401 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5402 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5403 maybe-all-stage4-binutils:
5404 maybe-clean-stage4-binutils:
5405 @if binutils-bootstrap
5406 maybe-all-stage4-binutils: all-stage4-binutils
5407 all-stage4: all-stage4-binutils
5408 all-stage4-binutils: configure-stage4-binutils
5409 @$(MAKE) stage4-start
5410 @r=`${PWD_COMMAND}`; export r; \
5411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5412 $(HOST_EXPORTS) \
5413 $(POSTSTAGE1_HOST_EXPORTS) \
5414 cd $(HOST_SUBDIR)/binutils && \
5415 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
5417 maybe-clean-stage4-binutils: clean-stage4-binutils
5418 clean-stage4: clean-stage4-binutils
5419 clean-stage4-binutils:
5420 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5421 || exit 0 ; \
5422 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage4-start ; \
5423 cd $(HOST_SUBDIR)/binutils && \
5424 $(MAKE) $(FLAGS_TO_PASS) \
5425 $(POSTSTAGE1_FLAGS_TO_PASS) \
5426 clean
5427 @endif binutils-bootstrap
5430 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5431 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5432 maybe-all-stageprofile-binutils:
5433 maybe-clean-stageprofile-binutils:
5434 @if binutils-bootstrap
5435 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5436 all-stageprofile: all-stageprofile-binutils
5437 all-stageprofile-binutils: configure-stageprofile-binutils
5438 @$(MAKE) stageprofile-start
5439 @r=`${PWD_COMMAND}`; export r; \
5440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5441 $(HOST_EXPORTS) \
5442 $(POSTSTAGE1_HOST_EXPORTS) \
5443 cd $(HOST_SUBDIR)/binutils && \
5444 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
5446 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5447 clean-stageprofile: clean-stageprofile-binutils
5448 clean-stageprofile-binutils:
5449 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5450 || exit 0 ; \
5451 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stageprofile-start ; \
5452 cd $(HOST_SUBDIR)/binutils && \
5453 $(MAKE) $(FLAGS_TO_PASS) \
5454 $(POSTSTAGE1_FLAGS_TO_PASS) \
5455 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5456 @endif binutils-bootstrap
5459 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5460 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5461 maybe-all-stagefeedback-binutils:
5462 maybe-clean-stagefeedback-binutils:
5463 @if binutils-bootstrap
5464 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5465 all-stagefeedback: all-stagefeedback-binutils
5466 all-stagefeedback-binutils: configure-stagefeedback-binutils
5467 @$(MAKE) stagefeedback-start
5468 @r=`${PWD_COMMAND}`; export r; \
5469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5470 $(HOST_EXPORTS) \
5471 $(POSTSTAGE1_HOST_EXPORTS) \
5472 cd $(HOST_SUBDIR)/binutils && \
5473 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
5475 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5476 clean-stagefeedback: clean-stagefeedback-binutils
5477 clean-stagefeedback-binutils:
5478 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5479 || exit 0 ; \
5480 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
5481 cd $(HOST_SUBDIR)/binutils && \
5482 $(MAKE) $(FLAGS_TO_PASS) \
5483 $(POSTSTAGE1_FLAGS_TO_PASS) \
5484 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5485 @endif binutils-bootstrap
5491 .PHONY: check-binutils maybe-check-binutils
5492 maybe-check-binutils:
5493 @if binutils
5494 maybe-check-binutils: check-binutils
5496 check-binutils:
5497 @r=`${PWD_COMMAND}`; export r; \
5498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5499 $(HOST_EXPORTS) \
5500 (cd $(HOST_SUBDIR)/binutils && \
5501 $(MAKE) $(FLAGS_TO_PASS) check)
5503 @endif binutils
5505 .PHONY: install-binutils maybe-install-binutils
5506 maybe-install-binutils:
5507 @if binutils
5508 maybe-install-binutils: install-binutils
5510 install-binutils: installdirs
5511 @r=`${PWD_COMMAND}`; export r; \
5512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5513 $(HOST_EXPORTS) \
5514 (cd $(HOST_SUBDIR)/binutils && \
5515 $(MAKE) $(FLAGS_TO_PASS) install)
5517 @endif binutils
5519 # Other targets (info, dvi, etc.)
5521 .PHONY: maybe-info-binutils info-binutils
5522 maybe-info-binutils:
5523 @if binutils
5524 maybe-info-binutils: info-binutils
5526 info-binutils: \
5527 configure-binutils
5528 @[ -f ./binutils/Makefile ] || exit 0; \
5529 r=`${PWD_COMMAND}`; export r; \
5530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5531 $(HOST_EXPORTS) \
5532 for flag in $(EXTRA_HOST_FLAGS) ; do \
5533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5534 done; \
5535 echo "Doing info in binutils" ; \
5536 (cd $(HOST_SUBDIR)/binutils && \
5537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5539 "RANLIB=$${RANLIB}" \
5540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5541 info) \
5542 || exit 1
5544 @endif binutils
5546 .PHONY: maybe-dvi-binutils dvi-binutils
5547 maybe-dvi-binutils:
5548 @if binutils
5549 maybe-dvi-binutils: dvi-binutils
5551 dvi-binutils: \
5552 configure-binutils
5553 @[ -f ./binutils/Makefile ] || exit 0; \
5554 r=`${PWD_COMMAND}`; export r; \
5555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5556 $(HOST_EXPORTS) \
5557 for flag in $(EXTRA_HOST_FLAGS) ; do \
5558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5559 done; \
5560 echo "Doing dvi in binutils" ; \
5561 (cd $(HOST_SUBDIR)/binutils && \
5562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5564 "RANLIB=$${RANLIB}" \
5565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5566 dvi) \
5567 || exit 1
5569 @endif binutils
5571 .PHONY: maybe-html-binutils html-binutils
5572 maybe-html-binutils:
5573 @if binutils
5574 maybe-html-binutils: html-binutils
5576 html-binutils: \
5577 configure-binutils
5578 @[ -f ./binutils/Makefile ] || exit 0; \
5579 r=`${PWD_COMMAND}`; export r; \
5580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5581 $(HOST_EXPORTS) \
5582 for flag in $(EXTRA_HOST_FLAGS) ; do \
5583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5584 done; \
5585 echo "Doing html in binutils" ; \
5586 (cd $(HOST_SUBDIR)/binutils && \
5587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5589 "RANLIB=$${RANLIB}" \
5590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5591 html) \
5592 || exit 1
5594 @endif binutils
5596 .PHONY: maybe-TAGS-binutils TAGS-binutils
5597 maybe-TAGS-binutils:
5598 @if binutils
5599 maybe-TAGS-binutils: TAGS-binutils
5601 TAGS-binutils: \
5602 configure-binutils
5603 @[ -f ./binutils/Makefile ] || exit 0; \
5604 r=`${PWD_COMMAND}`; export r; \
5605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5606 $(HOST_EXPORTS) \
5607 for flag in $(EXTRA_HOST_FLAGS) ; do \
5608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5609 done; \
5610 echo "Doing TAGS in binutils" ; \
5611 (cd $(HOST_SUBDIR)/binutils && \
5612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5614 "RANLIB=$${RANLIB}" \
5615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5616 TAGS) \
5617 || exit 1
5619 @endif binutils
5621 .PHONY: maybe-install-info-binutils install-info-binutils
5622 maybe-install-info-binutils:
5623 @if binutils
5624 maybe-install-info-binutils: install-info-binutils
5626 install-info-binutils: \
5627 configure-binutils \
5628 info-binutils
5629 @[ -f ./binutils/Makefile ] || exit 0; \
5630 r=`${PWD_COMMAND}`; export r; \
5631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5632 $(HOST_EXPORTS) \
5633 for flag in $(EXTRA_HOST_FLAGS) ; do \
5634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5635 done; \
5636 echo "Doing install-info in binutils" ; \
5637 (cd $(HOST_SUBDIR)/binutils && \
5638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5640 "RANLIB=$${RANLIB}" \
5641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5642 install-info) \
5643 || exit 1
5645 @endif binutils
5647 .PHONY: maybe-installcheck-binutils installcheck-binutils
5648 maybe-installcheck-binutils:
5649 @if binutils
5650 maybe-installcheck-binutils: installcheck-binutils
5652 installcheck-binutils: \
5653 configure-binutils
5654 @[ -f ./binutils/Makefile ] || exit 0; \
5655 r=`${PWD_COMMAND}`; export r; \
5656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5657 $(HOST_EXPORTS) \
5658 for flag in $(EXTRA_HOST_FLAGS) ; do \
5659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5660 done; \
5661 echo "Doing installcheck in binutils" ; \
5662 (cd $(HOST_SUBDIR)/binutils && \
5663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5665 "RANLIB=$${RANLIB}" \
5666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5667 installcheck) \
5668 || exit 1
5670 @endif binutils
5672 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5673 maybe-mostlyclean-binutils:
5674 @if binutils
5675 maybe-mostlyclean-binutils: mostlyclean-binutils
5677 mostlyclean-binutils:
5678 @[ -f ./binutils/Makefile ] || exit 0; \
5679 r=`${PWD_COMMAND}`; export r; \
5680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5681 $(HOST_EXPORTS) \
5682 for flag in $(EXTRA_HOST_FLAGS) ; do \
5683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5684 done; \
5685 echo "Doing mostlyclean in binutils" ; \
5686 (cd $(HOST_SUBDIR)/binutils && \
5687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5689 "RANLIB=$${RANLIB}" \
5690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5691 mostlyclean) \
5692 || exit 1
5694 @endif binutils
5696 .PHONY: maybe-clean-binutils clean-binutils
5697 maybe-clean-binutils:
5698 @if binutils
5699 maybe-clean-binutils: clean-binutils
5701 clean-binutils:
5702 @[ -f ./binutils/Makefile ] || exit 0; \
5703 r=`${PWD_COMMAND}`; export r; \
5704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5705 $(HOST_EXPORTS) \
5706 for flag in $(EXTRA_HOST_FLAGS) ; do \
5707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5708 done; \
5709 echo "Doing clean in binutils" ; \
5710 (cd $(HOST_SUBDIR)/binutils && \
5711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5713 "RANLIB=$${RANLIB}" \
5714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5715 clean) \
5716 || exit 1
5718 @endif binutils
5720 .PHONY: maybe-distclean-binutils distclean-binutils
5721 maybe-distclean-binutils:
5722 @if binutils
5723 maybe-distclean-binutils: distclean-binutils
5725 distclean-binutils:
5726 @[ -f ./binutils/Makefile ] || exit 0; \
5727 r=`${PWD_COMMAND}`; export r; \
5728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5729 $(HOST_EXPORTS) \
5730 for flag in $(EXTRA_HOST_FLAGS) ; do \
5731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5732 done; \
5733 echo "Doing distclean in binutils" ; \
5734 (cd $(HOST_SUBDIR)/binutils && \
5735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5737 "RANLIB=$${RANLIB}" \
5738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5739 distclean) \
5740 || exit 1
5742 @endif binutils
5744 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5745 maybe-maintainer-clean-binutils:
5746 @if binutils
5747 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5749 maintainer-clean-binutils:
5750 @[ -f ./binutils/Makefile ] || exit 0; \
5751 r=`${PWD_COMMAND}`; export r; \
5752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5753 $(HOST_EXPORTS) \
5754 for flag in $(EXTRA_HOST_FLAGS) ; do \
5755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5756 done; \
5757 echo "Doing maintainer-clean in binutils" ; \
5758 (cd $(HOST_SUBDIR)/binutils && \
5759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5761 "RANLIB=$${RANLIB}" \
5762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5763 maintainer-clean) \
5764 || exit 1
5766 @endif binutils
5770 .PHONY: configure-bison maybe-configure-bison
5771 maybe-configure-bison:
5772 @if bison
5773 maybe-configure-bison: configure-bison
5774 configure-bison:
5775 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5777 r=`${PWD_COMMAND}`; export r; \
5778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5779 $(HOST_EXPORTS) \
5780 echo Configuring in $(HOST_SUBDIR)/bison; \
5781 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5782 case $(srcdir) in \
5783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5784 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5786 esac; \
5787 srcdiroption="--srcdir=$${topdir}/bison"; \
5788 libsrcdir="$$s/bison"; \
5789 $(SHELL) $${libsrcdir}/configure \
5790 $(HOST_CONFIGARGS) $${srcdiroption} \
5791 || exit 1
5792 @endif bison
5798 .PHONY: all-bison maybe-all-bison
5799 maybe-all-bison:
5800 @if bison
5801 TARGET-bison=all
5802 maybe-all-bison: all-bison
5803 all-bison: configure-bison
5804 @r=`${PWD_COMMAND}`; export r; \
5805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5806 $(HOST_EXPORTS) \
5807 (cd $(HOST_SUBDIR)/bison && \
5808 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
5809 @endif bison
5814 .PHONY: check-bison maybe-check-bison
5815 maybe-check-bison:
5816 @if bison
5817 maybe-check-bison: check-bison
5819 # This module is only tested in a native toolchain.
5820 check-bison:
5821 @if [ '$(host)' = '$(target)' ] ; then \
5822 r=`${PWD_COMMAND}`; export r; \
5823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5824 $(HOST_EXPORTS) \
5825 (cd $(HOST_SUBDIR)/bison && \
5826 $(MAKE) $(FLAGS_TO_PASS) check); \
5829 @endif bison
5831 .PHONY: install-bison maybe-install-bison
5832 maybe-install-bison:
5833 @if bison
5834 maybe-install-bison: install-bison
5836 install-bison: installdirs
5837 @r=`${PWD_COMMAND}`; export r; \
5838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5839 $(HOST_EXPORTS) \
5840 (cd $(HOST_SUBDIR)/bison && \
5841 $(MAKE) $(FLAGS_TO_PASS) install)
5843 @endif bison
5845 # Other targets (info, dvi, etc.)
5847 .PHONY: maybe-info-bison info-bison
5848 maybe-info-bison:
5849 @if bison
5850 maybe-info-bison: info-bison
5852 info-bison: \
5853 configure-bison
5854 @[ -f ./bison/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 info in bison" ; \
5862 (cd $(HOST_SUBDIR)/bison && \
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 info) \
5868 || exit 1
5870 @endif bison
5872 .PHONY: maybe-dvi-bison dvi-bison
5873 maybe-dvi-bison:
5874 @if bison
5875 maybe-dvi-bison: dvi-bison
5877 dvi-bison: \
5878 configure-bison
5879 @[ -f ./bison/Makefile ] || exit 0; \
5880 r=`${PWD_COMMAND}`; export r; \
5881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5882 $(HOST_EXPORTS) \
5883 for flag in $(EXTRA_HOST_FLAGS) ; do \
5884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5885 done; \
5886 echo "Doing dvi in bison" ; \
5887 (cd $(HOST_SUBDIR)/bison && \
5888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5890 "RANLIB=$${RANLIB}" \
5891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5892 dvi) \
5893 || exit 1
5895 @endif bison
5897 .PHONY: maybe-html-bison html-bison
5898 maybe-html-bison:
5899 @if bison
5900 maybe-html-bison: html-bison
5902 html-bison: \
5903 configure-bison
5904 @[ -f ./bison/Makefile ] || exit 0; \
5905 r=`${PWD_COMMAND}`; export r; \
5906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5907 $(HOST_EXPORTS) \
5908 for flag in $(EXTRA_HOST_FLAGS) ; do \
5909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5910 done; \
5911 echo "Doing html in bison" ; \
5912 (cd $(HOST_SUBDIR)/bison && \
5913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5915 "RANLIB=$${RANLIB}" \
5916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5917 html) \
5918 || exit 1
5920 @endif bison
5922 .PHONY: maybe-TAGS-bison TAGS-bison
5923 maybe-TAGS-bison:
5924 @if bison
5925 maybe-TAGS-bison: TAGS-bison
5927 TAGS-bison: \
5928 configure-bison
5929 @[ -f ./bison/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 TAGS in bison" ; \
5937 (cd $(HOST_SUBDIR)/bison && \
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 TAGS) \
5943 || exit 1
5945 @endif bison
5947 .PHONY: maybe-install-info-bison install-info-bison
5948 maybe-install-info-bison:
5949 @if bison
5950 maybe-install-info-bison: install-info-bison
5952 install-info-bison: \
5953 configure-bison \
5954 info-bison
5955 @[ -f ./bison/Makefile ] || exit 0; \
5956 r=`${PWD_COMMAND}`; export r; \
5957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5958 $(HOST_EXPORTS) \
5959 for flag in $(EXTRA_HOST_FLAGS) ; do \
5960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5961 done; \
5962 echo "Doing install-info in bison" ; \
5963 (cd $(HOST_SUBDIR)/bison && \
5964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5966 "RANLIB=$${RANLIB}" \
5967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5968 install-info) \
5969 || exit 1
5971 @endif bison
5973 .PHONY: maybe-installcheck-bison installcheck-bison
5974 maybe-installcheck-bison:
5975 @if bison
5976 maybe-installcheck-bison: installcheck-bison
5978 installcheck-bison: \
5979 configure-bison
5980 @[ -f ./bison/Makefile ] || exit 0; \
5981 r=`${PWD_COMMAND}`; export r; \
5982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5983 $(HOST_EXPORTS) \
5984 for flag in $(EXTRA_HOST_FLAGS) ; do \
5985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5986 done; \
5987 echo "Doing installcheck in bison" ; \
5988 (cd $(HOST_SUBDIR)/bison && \
5989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5991 "RANLIB=$${RANLIB}" \
5992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5993 installcheck) \
5994 || exit 1
5996 @endif bison
5998 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5999 maybe-mostlyclean-bison:
6000 @if bison
6001 maybe-mostlyclean-bison: mostlyclean-bison
6003 mostlyclean-bison:
6004 @[ -f ./bison/Makefile ] || exit 0; \
6005 r=`${PWD_COMMAND}`; export r; \
6006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6007 $(HOST_EXPORTS) \
6008 for flag in $(EXTRA_HOST_FLAGS) ; do \
6009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6010 done; \
6011 echo "Doing mostlyclean in bison" ; \
6012 (cd $(HOST_SUBDIR)/bison && \
6013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6015 "RANLIB=$${RANLIB}" \
6016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6017 mostlyclean) \
6018 || exit 1
6020 @endif bison
6022 .PHONY: maybe-clean-bison clean-bison
6023 maybe-clean-bison:
6024 @if bison
6025 maybe-clean-bison: clean-bison
6027 clean-bison:
6028 @[ -f ./bison/Makefile ] || exit 0; \
6029 r=`${PWD_COMMAND}`; export r; \
6030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6031 $(HOST_EXPORTS) \
6032 for flag in $(EXTRA_HOST_FLAGS) ; do \
6033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6034 done; \
6035 echo "Doing clean in bison" ; \
6036 (cd $(HOST_SUBDIR)/bison && \
6037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6039 "RANLIB=$${RANLIB}" \
6040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6041 clean) \
6042 || exit 1
6044 @endif bison
6046 .PHONY: maybe-distclean-bison distclean-bison
6047 maybe-distclean-bison:
6048 @if bison
6049 maybe-distclean-bison: distclean-bison
6051 distclean-bison:
6052 @[ -f ./bison/Makefile ] || exit 0; \
6053 r=`${PWD_COMMAND}`; export r; \
6054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6055 $(HOST_EXPORTS) \
6056 for flag in $(EXTRA_HOST_FLAGS) ; do \
6057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6058 done; \
6059 echo "Doing distclean in bison" ; \
6060 (cd $(HOST_SUBDIR)/bison && \
6061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6063 "RANLIB=$${RANLIB}" \
6064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6065 distclean) \
6066 || exit 1
6068 @endif bison
6070 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6071 maybe-maintainer-clean-bison:
6072 @if bison
6073 maybe-maintainer-clean-bison: maintainer-clean-bison
6075 maintainer-clean-bison:
6076 @[ -f ./bison/Makefile ] || exit 0; \
6077 r=`${PWD_COMMAND}`; export r; \
6078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6079 $(HOST_EXPORTS) \
6080 for flag in $(EXTRA_HOST_FLAGS) ; do \
6081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6082 done; \
6083 echo "Doing maintainer-clean in bison" ; \
6084 (cd $(HOST_SUBDIR)/bison && \
6085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6087 "RANLIB=$${RANLIB}" \
6088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6089 maintainer-clean) \
6090 || exit 1
6092 @endif bison
6096 .PHONY: configure-byacc maybe-configure-byacc
6097 maybe-configure-byacc:
6098 @if byacc
6099 maybe-configure-byacc: configure-byacc
6100 configure-byacc:
6101 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6103 r=`${PWD_COMMAND}`; export r; \
6104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6105 $(HOST_EXPORTS) \
6106 echo Configuring in $(HOST_SUBDIR)/byacc; \
6107 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6108 case $(srcdir) in \
6109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6110 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6112 esac; \
6113 srcdiroption="--srcdir=$${topdir}/byacc"; \
6114 libsrcdir="$$s/byacc"; \
6115 $(SHELL) $${libsrcdir}/configure \
6116 $(HOST_CONFIGARGS) $${srcdiroption} \
6117 || exit 1
6118 @endif byacc
6124 .PHONY: all-byacc maybe-all-byacc
6125 maybe-all-byacc:
6126 @if byacc
6127 TARGET-byacc=all
6128 maybe-all-byacc: all-byacc
6129 all-byacc: configure-byacc
6130 @r=`${PWD_COMMAND}`; export r; \
6131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6132 $(HOST_EXPORTS) \
6133 (cd $(HOST_SUBDIR)/byacc && \
6134 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6135 @endif byacc
6140 .PHONY: check-byacc maybe-check-byacc
6141 maybe-check-byacc:
6142 @if byacc
6143 maybe-check-byacc: check-byacc
6145 # This module is only tested in a native toolchain.
6146 check-byacc:
6147 @if [ '$(host)' = '$(target)' ] ; then \
6148 r=`${PWD_COMMAND}`; export r; \
6149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6150 $(HOST_EXPORTS) \
6151 (cd $(HOST_SUBDIR)/byacc && \
6152 $(MAKE) $(FLAGS_TO_PASS) check); \
6155 @endif byacc
6157 .PHONY: install-byacc maybe-install-byacc
6158 maybe-install-byacc:
6159 @if byacc
6160 maybe-install-byacc: install-byacc
6162 install-byacc: installdirs
6163 @r=`${PWD_COMMAND}`; export r; \
6164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6165 $(HOST_EXPORTS) \
6166 (cd $(HOST_SUBDIR)/byacc && \
6167 $(MAKE) $(FLAGS_TO_PASS) install)
6169 @endif byacc
6171 # Other targets (info, dvi, etc.)
6173 .PHONY: maybe-info-byacc info-byacc
6174 maybe-info-byacc:
6175 @if byacc
6176 maybe-info-byacc: info-byacc
6178 info-byacc: \
6179 configure-byacc
6180 @[ -f ./byacc/Makefile ] || exit 0; \
6181 r=`${PWD_COMMAND}`; export r; \
6182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6183 $(HOST_EXPORTS) \
6184 for flag in $(EXTRA_HOST_FLAGS) ; do \
6185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6186 done; \
6187 echo "Doing info in byacc" ; \
6188 (cd $(HOST_SUBDIR)/byacc && \
6189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6191 "RANLIB=$${RANLIB}" \
6192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6193 info) \
6194 || exit 1
6196 @endif byacc
6198 .PHONY: maybe-dvi-byacc dvi-byacc
6199 maybe-dvi-byacc:
6200 @if byacc
6201 maybe-dvi-byacc: dvi-byacc
6203 dvi-byacc: \
6204 configure-byacc
6205 @[ -f ./byacc/Makefile ] || exit 0; \
6206 r=`${PWD_COMMAND}`; export r; \
6207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6208 $(HOST_EXPORTS) \
6209 for flag in $(EXTRA_HOST_FLAGS) ; do \
6210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6211 done; \
6212 echo "Doing dvi in byacc" ; \
6213 (cd $(HOST_SUBDIR)/byacc && \
6214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6216 "RANLIB=$${RANLIB}" \
6217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6218 dvi) \
6219 || exit 1
6221 @endif byacc
6223 .PHONY: maybe-html-byacc html-byacc
6224 maybe-html-byacc:
6225 @if byacc
6226 maybe-html-byacc: html-byacc
6228 html-byacc: \
6229 configure-byacc
6230 @[ -f ./byacc/Makefile ] || exit 0; \
6231 r=`${PWD_COMMAND}`; export r; \
6232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6233 $(HOST_EXPORTS) \
6234 for flag in $(EXTRA_HOST_FLAGS) ; do \
6235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6236 done; \
6237 echo "Doing html in byacc" ; \
6238 (cd $(HOST_SUBDIR)/byacc && \
6239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6241 "RANLIB=$${RANLIB}" \
6242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6243 html) \
6244 || exit 1
6246 @endif byacc
6248 .PHONY: maybe-TAGS-byacc TAGS-byacc
6249 maybe-TAGS-byacc:
6250 @if byacc
6251 maybe-TAGS-byacc: TAGS-byacc
6253 TAGS-byacc: \
6254 configure-byacc
6255 @[ -f ./byacc/Makefile ] || exit 0; \
6256 r=`${PWD_COMMAND}`; export r; \
6257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6258 $(HOST_EXPORTS) \
6259 for flag in $(EXTRA_HOST_FLAGS) ; do \
6260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6261 done; \
6262 echo "Doing TAGS in byacc" ; \
6263 (cd $(HOST_SUBDIR)/byacc && \
6264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6266 "RANLIB=$${RANLIB}" \
6267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6268 TAGS) \
6269 || exit 1
6271 @endif byacc
6273 .PHONY: maybe-install-info-byacc install-info-byacc
6274 maybe-install-info-byacc:
6275 @if byacc
6276 maybe-install-info-byacc: install-info-byacc
6278 install-info-byacc: \
6279 configure-byacc \
6280 info-byacc
6281 @[ -f ./byacc/Makefile ] || exit 0; \
6282 r=`${PWD_COMMAND}`; export r; \
6283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6284 $(HOST_EXPORTS) \
6285 for flag in $(EXTRA_HOST_FLAGS) ; do \
6286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6287 done; \
6288 echo "Doing install-info in byacc" ; \
6289 (cd $(HOST_SUBDIR)/byacc && \
6290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6292 "RANLIB=$${RANLIB}" \
6293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6294 install-info) \
6295 || exit 1
6297 @endif byacc
6299 .PHONY: maybe-installcheck-byacc installcheck-byacc
6300 maybe-installcheck-byacc:
6301 @if byacc
6302 maybe-installcheck-byacc: installcheck-byacc
6304 installcheck-byacc: \
6305 configure-byacc
6306 @[ -f ./byacc/Makefile ] || exit 0; \
6307 r=`${PWD_COMMAND}`; export r; \
6308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6309 $(HOST_EXPORTS) \
6310 for flag in $(EXTRA_HOST_FLAGS) ; do \
6311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6312 done; \
6313 echo "Doing installcheck in byacc" ; \
6314 (cd $(HOST_SUBDIR)/byacc && \
6315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6317 "RANLIB=$${RANLIB}" \
6318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6319 installcheck) \
6320 || exit 1
6322 @endif byacc
6324 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6325 maybe-mostlyclean-byacc:
6326 @if byacc
6327 maybe-mostlyclean-byacc: mostlyclean-byacc
6329 mostlyclean-byacc:
6330 @[ -f ./byacc/Makefile ] || exit 0; \
6331 r=`${PWD_COMMAND}`; export r; \
6332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6333 $(HOST_EXPORTS) \
6334 for flag in $(EXTRA_HOST_FLAGS) ; do \
6335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6336 done; \
6337 echo "Doing mostlyclean in byacc" ; \
6338 (cd $(HOST_SUBDIR)/byacc && \
6339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6341 "RANLIB=$${RANLIB}" \
6342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6343 mostlyclean) \
6344 || exit 1
6346 @endif byacc
6348 .PHONY: maybe-clean-byacc clean-byacc
6349 maybe-clean-byacc:
6350 @if byacc
6351 maybe-clean-byacc: clean-byacc
6353 clean-byacc:
6354 @[ -f ./byacc/Makefile ] || exit 0; \
6355 r=`${PWD_COMMAND}`; export r; \
6356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6357 $(HOST_EXPORTS) \
6358 for flag in $(EXTRA_HOST_FLAGS) ; do \
6359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6360 done; \
6361 echo "Doing clean in byacc" ; \
6362 (cd $(HOST_SUBDIR)/byacc && \
6363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6365 "RANLIB=$${RANLIB}" \
6366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6367 clean) \
6368 || exit 1
6370 @endif byacc
6372 .PHONY: maybe-distclean-byacc distclean-byacc
6373 maybe-distclean-byacc:
6374 @if byacc
6375 maybe-distclean-byacc: distclean-byacc
6377 distclean-byacc:
6378 @[ -f ./byacc/Makefile ] || exit 0; \
6379 r=`${PWD_COMMAND}`; export r; \
6380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6381 $(HOST_EXPORTS) \
6382 for flag in $(EXTRA_HOST_FLAGS) ; do \
6383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6384 done; \
6385 echo "Doing distclean in byacc" ; \
6386 (cd $(HOST_SUBDIR)/byacc && \
6387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6389 "RANLIB=$${RANLIB}" \
6390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6391 distclean) \
6392 || exit 1
6394 @endif byacc
6396 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6397 maybe-maintainer-clean-byacc:
6398 @if byacc
6399 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6401 maintainer-clean-byacc:
6402 @[ -f ./byacc/Makefile ] || exit 0; \
6403 r=`${PWD_COMMAND}`; export r; \
6404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6405 $(HOST_EXPORTS) \
6406 for flag in $(EXTRA_HOST_FLAGS) ; do \
6407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6408 done; \
6409 echo "Doing maintainer-clean in byacc" ; \
6410 (cd $(HOST_SUBDIR)/byacc && \
6411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6413 "RANLIB=$${RANLIB}" \
6414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6415 maintainer-clean) \
6416 || exit 1
6418 @endif byacc
6422 .PHONY: configure-bzip2 maybe-configure-bzip2
6423 maybe-configure-bzip2:
6424 @if bzip2
6425 maybe-configure-bzip2: configure-bzip2
6426 configure-bzip2:
6427 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6428 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6429 r=`${PWD_COMMAND}`; export r; \
6430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6431 $(HOST_EXPORTS) \
6432 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6433 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6434 case $(srcdir) in \
6435 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6436 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6437 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6438 esac; \
6439 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6440 libsrcdir="$$s/bzip2"; \
6441 $(SHELL) $${libsrcdir}/configure \
6442 $(HOST_CONFIGARGS) $${srcdiroption} \
6443 || exit 1
6444 @endif bzip2
6450 .PHONY: all-bzip2 maybe-all-bzip2
6451 maybe-all-bzip2:
6452 @if bzip2
6453 TARGET-bzip2=all
6454 maybe-all-bzip2: all-bzip2
6455 all-bzip2: configure-bzip2
6456 @r=`${PWD_COMMAND}`; export r; \
6457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6458 $(HOST_EXPORTS) \
6459 (cd $(HOST_SUBDIR)/bzip2 && \
6460 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6461 @endif bzip2
6466 .PHONY: check-bzip2 maybe-check-bzip2
6467 maybe-check-bzip2:
6468 @if bzip2
6469 maybe-check-bzip2: check-bzip2
6471 check-bzip2:
6472 @r=`${PWD_COMMAND}`; export r; \
6473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6474 $(HOST_EXPORTS) \
6475 (cd $(HOST_SUBDIR)/bzip2 && \
6476 $(MAKE) $(FLAGS_TO_PASS) check)
6478 @endif bzip2
6480 .PHONY: install-bzip2 maybe-install-bzip2
6481 maybe-install-bzip2:
6482 @if bzip2
6483 maybe-install-bzip2: install-bzip2
6485 install-bzip2: installdirs
6486 @r=`${PWD_COMMAND}`; export r; \
6487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6488 $(HOST_EXPORTS) \
6489 (cd $(HOST_SUBDIR)/bzip2 && \
6490 $(MAKE) $(FLAGS_TO_PASS) install)
6492 @endif bzip2
6494 # Other targets (info, dvi, etc.)
6496 .PHONY: maybe-info-bzip2 info-bzip2
6497 maybe-info-bzip2:
6498 @if bzip2
6499 maybe-info-bzip2: info-bzip2
6501 info-bzip2: \
6502 configure-bzip2
6503 @[ -f ./bzip2/Makefile ] || exit 0; \
6504 r=`${PWD_COMMAND}`; export r; \
6505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6506 $(HOST_EXPORTS) \
6507 for flag in $(EXTRA_HOST_FLAGS) ; do \
6508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6509 done; \
6510 echo "Doing info in bzip2" ; \
6511 (cd $(HOST_SUBDIR)/bzip2 && \
6512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6514 "RANLIB=$${RANLIB}" \
6515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6516 info) \
6517 || exit 1
6519 @endif bzip2
6521 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6522 maybe-dvi-bzip2:
6523 @if bzip2
6524 maybe-dvi-bzip2: dvi-bzip2
6526 dvi-bzip2: \
6527 configure-bzip2
6528 @[ -f ./bzip2/Makefile ] || exit 0; \
6529 r=`${PWD_COMMAND}`; export r; \
6530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6531 $(HOST_EXPORTS) \
6532 for flag in $(EXTRA_HOST_FLAGS) ; do \
6533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6534 done; \
6535 echo "Doing dvi in bzip2" ; \
6536 (cd $(HOST_SUBDIR)/bzip2 && \
6537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6539 "RANLIB=$${RANLIB}" \
6540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6541 dvi) \
6542 || exit 1
6544 @endif bzip2
6546 .PHONY: maybe-html-bzip2 html-bzip2
6547 maybe-html-bzip2:
6548 @if bzip2
6549 maybe-html-bzip2: html-bzip2
6551 html-bzip2: \
6552 configure-bzip2
6553 @[ -f ./bzip2/Makefile ] || exit 0; \
6554 r=`${PWD_COMMAND}`; export r; \
6555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6556 $(HOST_EXPORTS) \
6557 for flag in $(EXTRA_HOST_FLAGS) ; do \
6558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6559 done; \
6560 echo "Doing html in bzip2" ; \
6561 (cd $(HOST_SUBDIR)/bzip2 && \
6562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6564 "RANLIB=$${RANLIB}" \
6565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6566 html) \
6567 || exit 1
6569 @endif bzip2
6571 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6572 maybe-TAGS-bzip2:
6573 @if bzip2
6574 maybe-TAGS-bzip2: TAGS-bzip2
6576 TAGS-bzip2: \
6577 configure-bzip2
6578 @[ -f ./bzip2/Makefile ] || exit 0; \
6579 r=`${PWD_COMMAND}`; export r; \
6580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6581 $(HOST_EXPORTS) \
6582 for flag in $(EXTRA_HOST_FLAGS) ; do \
6583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6584 done; \
6585 echo "Doing TAGS in bzip2" ; \
6586 (cd $(HOST_SUBDIR)/bzip2 && \
6587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6589 "RANLIB=$${RANLIB}" \
6590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6591 TAGS) \
6592 || exit 1
6594 @endif bzip2
6596 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6597 maybe-install-info-bzip2:
6598 @if bzip2
6599 maybe-install-info-bzip2: install-info-bzip2
6601 install-info-bzip2: \
6602 configure-bzip2 \
6603 info-bzip2
6604 @[ -f ./bzip2/Makefile ] || exit 0; \
6605 r=`${PWD_COMMAND}`; export r; \
6606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6607 $(HOST_EXPORTS) \
6608 for flag in $(EXTRA_HOST_FLAGS) ; do \
6609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6610 done; \
6611 echo "Doing install-info in bzip2" ; \
6612 (cd $(HOST_SUBDIR)/bzip2 && \
6613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6615 "RANLIB=$${RANLIB}" \
6616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6617 install-info) \
6618 || exit 1
6620 @endif bzip2
6622 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6623 maybe-installcheck-bzip2:
6624 @if bzip2
6625 maybe-installcheck-bzip2: installcheck-bzip2
6627 installcheck-bzip2: \
6628 configure-bzip2
6629 @[ -f ./bzip2/Makefile ] || exit 0; \
6630 r=`${PWD_COMMAND}`; export r; \
6631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6632 $(HOST_EXPORTS) \
6633 for flag in $(EXTRA_HOST_FLAGS) ; do \
6634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6635 done; \
6636 echo "Doing installcheck in bzip2" ; \
6637 (cd $(HOST_SUBDIR)/bzip2 && \
6638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6640 "RANLIB=$${RANLIB}" \
6641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6642 installcheck) \
6643 || exit 1
6645 @endif bzip2
6647 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
6648 maybe-mostlyclean-bzip2:
6649 @if bzip2
6650 maybe-mostlyclean-bzip2: mostlyclean-bzip2
6652 mostlyclean-bzip2:
6653 @[ -f ./bzip2/Makefile ] || exit 0; \
6654 r=`${PWD_COMMAND}`; export r; \
6655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6656 $(HOST_EXPORTS) \
6657 for flag in $(EXTRA_HOST_FLAGS) ; do \
6658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6659 done; \
6660 echo "Doing mostlyclean in bzip2" ; \
6661 (cd $(HOST_SUBDIR)/bzip2 && \
6662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6664 "RANLIB=$${RANLIB}" \
6665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6666 mostlyclean) \
6667 || exit 1
6669 @endif bzip2
6671 .PHONY: maybe-clean-bzip2 clean-bzip2
6672 maybe-clean-bzip2:
6673 @if bzip2
6674 maybe-clean-bzip2: clean-bzip2
6676 clean-bzip2:
6677 @[ -f ./bzip2/Makefile ] || exit 0; \
6678 r=`${PWD_COMMAND}`; export r; \
6679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6680 $(HOST_EXPORTS) \
6681 for flag in $(EXTRA_HOST_FLAGS) ; do \
6682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6683 done; \
6684 echo "Doing clean in bzip2" ; \
6685 (cd $(HOST_SUBDIR)/bzip2 && \
6686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6688 "RANLIB=$${RANLIB}" \
6689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6690 clean) \
6691 || exit 1
6693 @endif bzip2
6695 .PHONY: maybe-distclean-bzip2 distclean-bzip2
6696 maybe-distclean-bzip2:
6697 @if bzip2
6698 maybe-distclean-bzip2: distclean-bzip2
6700 distclean-bzip2:
6701 @[ -f ./bzip2/Makefile ] || exit 0; \
6702 r=`${PWD_COMMAND}`; export r; \
6703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6704 $(HOST_EXPORTS) \
6705 for flag in $(EXTRA_HOST_FLAGS) ; do \
6706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6707 done; \
6708 echo "Doing distclean in bzip2" ; \
6709 (cd $(HOST_SUBDIR)/bzip2 && \
6710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6712 "RANLIB=$${RANLIB}" \
6713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6714 distclean) \
6715 || exit 1
6717 @endif bzip2
6719 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
6720 maybe-maintainer-clean-bzip2:
6721 @if bzip2
6722 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
6724 maintainer-clean-bzip2:
6725 @[ -f ./bzip2/Makefile ] || exit 0; \
6726 r=`${PWD_COMMAND}`; export r; \
6727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6728 $(HOST_EXPORTS) \
6729 for flag in $(EXTRA_HOST_FLAGS) ; do \
6730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6731 done; \
6732 echo "Doing maintainer-clean in bzip2" ; \
6733 (cd $(HOST_SUBDIR)/bzip2 && \
6734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6736 "RANLIB=$${RANLIB}" \
6737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6738 maintainer-clean) \
6739 || exit 1
6741 @endif bzip2
6745 .PHONY: configure-dejagnu maybe-configure-dejagnu
6746 maybe-configure-dejagnu:
6747 @if dejagnu
6748 maybe-configure-dejagnu: configure-dejagnu
6749 configure-dejagnu:
6750 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6752 r=`${PWD_COMMAND}`; export r; \
6753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6754 $(HOST_EXPORTS) \
6755 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6756 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6757 case $(srcdir) in \
6758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6759 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6761 esac; \
6762 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6763 libsrcdir="$$s/dejagnu"; \
6764 $(SHELL) $${libsrcdir}/configure \
6765 $(HOST_CONFIGARGS) $${srcdiroption} \
6766 || exit 1
6767 @endif dejagnu
6773 .PHONY: all-dejagnu maybe-all-dejagnu
6774 maybe-all-dejagnu:
6775 @if dejagnu
6776 TARGET-dejagnu=all
6777 maybe-all-dejagnu: all-dejagnu
6778 all-dejagnu: configure-dejagnu
6779 @r=`${PWD_COMMAND}`; export r; \
6780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6781 $(HOST_EXPORTS) \
6782 (cd $(HOST_SUBDIR)/dejagnu && \
6783 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
6784 @endif dejagnu
6789 .PHONY: check-dejagnu maybe-check-dejagnu
6790 maybe-check-dejagnu:
6791 @if dejagnu
6792 maybe-check-dejagnu: check-dejagnu
6794 check-dejagnu:
6795 @r=`${PWD_COMMAND}`; export r; \
6796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6797 $(HOST_EXPORTS) \
6798 (cd $(HOST_SUBDIR)/dejagnu && \
6799 $(MAKE) $(FLAGS_TO_PASS) check)
6801 @endif dejagnu
6803 .PHONY: install-dejagnu maybe-install-dejagnu
6804 maybe-install-dejagnu:
6805 @if dejagnu
6806 maybe-install-dejagnu: install-dejagnu
6808 install-dejagnu: installdirs
6809 @r=`${PWD_COMMAND}`; export r; \
6810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6811 $(HOST_EXPORTS) \
6812 (cd $(HOST_SUBDIR)/dejagnu && \
6813 $(MAKE) $(FLAGS_TO_PASS) install)
6815 @endif dejagnu
6817 # Other targets (info, dvi, etc.)
6819 .PHONY: maybe-info-dejagnu info-dejagnu
6820 maybe-info-dejagnu:
6821 @if dejagnu
6822 maybe-info-dejagnu: info-dejagnu
6824 info-dejagnu: \
6825 configure-dejagnu
6826 @[ -f ./dejagnu/Makefile ] || exit 0; \
6827 r=`${PWD_COMMAND}`; export r; \
6828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6829 $(HOST_EXPORTS) \
6830 for flag in $(EXTRA_HOST_FLAGS) ; do \
6831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6832 done; \
6833 echo "Doing info in dejagnu" ; \
6834 (cd $(HOST_SUBDIR)/dejagnu && \
6835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6837 "RANLIB=$${RANLIB}" \
6838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6839 info) \
6840 || exit 1
6842 @endif dejagnu
6844 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6845 maybe-dvi-dejagnu:
6846 @if dejagnu
6847 maybe-dvi-dejagnu: dvi-dejagnu
6849 dvi-dejagnu: \
6850 configure-dejagnu
6851 @[ -f ./dejagnu/Makefile ] || exit 0; \
6852 r=`${PWD_COMMAND}`; export r; \
6853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6854 $(HOST_EXPORTS) \
6855 for flag in $(EXTRA_HOST_FLAGS) ; do \
6856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6857 done; \
6858 echo "Doing dvi in dejagnu" ; \
6859 (cd $(HOST_SUBDIR)/dejagnu && \
6860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6862 "RANLIB=$${RANLIB}" \
6863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6864 dvi) \
6865 || exit 1
6867 @endif dejagnu
6869 .PHONY: maybe-html-dejagnu html-dejagnu
6870 maybe-html-dejagnu:
6871 @if dejagnu
6872 maybe-html-dejagnu: html-dejagnu
6874 html-dejagnu: \
6875 configure-dejagnu
6876 @[ -f ./dejagnu/Makefile ] || exit 0; \
6877 r=`${PWD_COMMAND}`; export r; \
6878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6879 $(HOST_EXPORTS) \
6880 for flag in $(EXTRA_HOST_FLAGS) ; do \
6881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6882 done; \
6883 echo "Doing html in dejagnu" ; \
6884 (cd $(HOST_SUBDIR)/dejagnu && \
6885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6887 "RANLIB=$${RANLIB}" \
6888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6889 html) \
6890 || exit 1
6892 @endif dejagnu
6894 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6895 maybe-TAGS-dejagnu:
6896 @if dejagnu
6897 maybe-TAGS-dejagnu: TAGS-dejagnu
6899 TAGS-dejagnu: \
6900 configure-dejagnu
6901 @[ -f ./dejagnu/Makefile ] || exit 0; \
6902 r=`${PWD_COMMAND}`; export r; \
6903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6904 $(HOST_EXPORTS) \
6905 for flag in $(EXTRA_HOST_FLAGS) ; do \
6906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6907 done; \
6908 echo "Doing TAGS in dejagnu" ; \
6909 (cd $(HOST_SUBDIR)/dejagnu && \
6910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6912 "RANLIB=$${RANLIB}" \
6913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6914 TAGS) \
6915 || exit 1
6917 @endif dejagnu
6919 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6920 maybe-install-info-dejagnu:
6921 @if dejagnu
6922 maybe-install-info-dejagnu: install-info-dejagnu
6924 install-info-dejagnu: \
6925 configure-dejagnu \
6926 info-dejagnu
6927 @[ -f ./dejagnu/Makefile ] || exit 0; \
6928 r=`${PWD_COMMAND}`; export r; \
6929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6930 $(HOST_EXPORTS) \
6931 for flag in $(EXTRA_HOST_FLAGS) ; do \
6932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6933 done; \
6934 echo "Doing install-info in dejagnu" ; \
6935 (cd $(HOST_SUBDIR)/dejagnu && \
6936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6938 "RANLIB=$${RANLIB}" \
6939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6940 install-info) \
6941 || exit 1
6943 @endif dejagnu
6945 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6946 maybe-installcheck-dejagnu:
6947 @if dejagnu
6948 maybe-installcheck-dejagnu: installcheck-dejagnu
6950 installcheck-dejagnu: \
6951 configure-dejagnu
6952 @[ -f ./dejagnu/Makefile ] || exit 0; \
6953 r=`${PWD_COMMAND}`; export r; \
6954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6955 $(HOST_EXPORTS) \
6956 for flag in $(EXTRA_HOST_FLAGS) ; do \
6957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6958 done; \
6959 echo "Doing installcheck in dejagnu" ; \
6960 (cd $(HOST_SUBDIR)/dejagnu && \
6961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6963 "RANLIB=$${RANLIB}" \
6964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6965 installcheck) \
6966 || exit 1
6968 @endif dejagnu
6970 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6971 maybe-mostlyclean-dejagnu:
6972 @if dejagnu
6973 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6975 mostlyclean-dejagnu:
6976 @[ -f ./dejagnu/Makefile ] || exit 0; \
6977 r=`${PWD_COMMAND}`; export r; \
6978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6979 $(HOST_EXPORTS) \
6980 for flag in $(EXTRA_HOST_FLAGS) ; do \
6981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6982 done; \
6983 echo "Doing mostlyclean in dejagnu" ; \
6984 (cd $(HOST_SUBDIR)/dejagnu && \
6985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6987 "RANLIB=$${RANLIB}" \
6988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6989 mostlyclean) \
6990 || exit 1
6992 @endif dejagnu
6994 .PHONY: maybe-clean-dejagnu clean-dejagnu
6995 maybe-clean-dejagnu:
6996 @if dejagnu
6997 maybe-clean-dejagnu: clean-dejagnu
6999 clean-dejagnu:
7000 @[ -f ./dejagnu/Makefile ] || exit 0; \
7001 r=`${PWD_COMMAND}`; export r; \
7002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7003 $(HOST_EXPORTS) \
7004 for flag in $(EXTRA_HOST_FLAGS) ; do \
7005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7006 done; \
7007 echo "Doing clean in dejagnu" ; \
7008 (cd $(HOST_SUBDIR)/dejagnu && \
7009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7011 "RANLIB=$${RANLIB}" \
7012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7013 clean) \
7014 || exit 1
7016 @endif dejagnu
7018 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7019 maybe-distclean-dejagnu:
7020 @if dejagnu
7021 maybe-distclean-dejagnu: distclean-dejagnu
7023 distclean-dejagnu:
7024 @[ -f ./dejagnu/Makefile ] || exit 0; \
7025 r=`${PWD_COMMAND}`; export r; \
7026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7027 $(HOST_EXPORTS) \
7028 for flag in $(EXTRA_HOST_FLAGS) ; do \
7029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7030 done; \
7031 echo "Doing distclean in dejagnu" ; \
7032 (cd $(HOST_SUBDIR)/dejagnu && \
7033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7035 "RANLIB=$${RANLIB}" \
7036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7037 distclean) \
7038 || exit 1
7040 @endif dejagnu
7042 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7043 maybe-maintainer-clean-dejagnu:
7044 @if dejagnu
7045 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7047 maintainer-clean-dejagnu:
7048 @[ -f ./dejagnu/Makefile ] || exit 0; \
7049 r=`${PWD_COMMAND}`; export r; \
7050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7051 $(HOST_EXPORTS) \
7052 for flag in $(EXTRA_HOST_FLAGS) ; do \
7053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7054 done; \
7055 echo "Doing maintainer-clean in dejagnu" ; \
7056 (cd $(HOST_SUBDIR)/dejagnu && \
7057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7059 "RANLIB=$${RANLIB}" \
7060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7061 maintainer-clean) \
7062 || exit 1
7064 @endif dejagnu
7068 .PHONY: configure-diff maybe-configure-diff
7069 maybe-configure-diff:
7070 @if diff
7071 maybe-configure-diff: configure-diff
7072 configure-diff:
7073 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7075 r=`${PWD_COMMAND}`; export r; \
7076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7077 $(HOST_EXPORTS) \
7078 echo Configuring in $(HOST_SUBDIR)/diff; \
7079 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7080 case $(srcdir) in \
7081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7082 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7084 esac; \
7085 srcdiroption="--srcdir=$${topdir}/diff"; \
7086 libsrcdir="$$s/diff"; \
7087 $(SHELL) $${libsrcdir}/configure \
7088 $(HOST_CONFIGARGS) $${srcdiroption} \
7089 || exit 1
7090 @endif diff
7096 .PHONY: all-diff maybe-all-diff
7097 maybe-all-diff:
7098 @if diff
7099 TARGET-diff=all
7100 maybe-all-diff: all-diff
7101 all-diff: configure-diff
7102 @r=`${PWD_COMMAND}`; export r; \
7103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7104 $(HOST_EXPORTS) \
7105 (cd $(HOST_SUBDIR)/diff && \
7106 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7107 @endif diff
7112 .PHONY: check-diff maybe-check-diff
7113 maybe-check-diff:
7114 @if diff
7115 maybe-check-diff: check-diff
7117 check-diff:
7118 @r=`${PWD_COMMAND}`; export r; \
7119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7120 $(HOST_EXPORTS) \
7121 (cd $(HOST_SUBDIR)/diff && \
7122 $(MAKE) $(FLAGS_TO_PASS) check)
7124 @endif diff
7126 .PHONY: install-diff maybe-install-diff
7127 maybe-install-diff:
7128 @if diff
7129 maybe-install-diff: install-diff
7131 install-diff: installdirs
7132 @r=`${PWD_COMMAND}`; export r; \
7133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7134 $(HOST_EXPORTS) \
7135 (cd $(HOST_SUBDIR)/diff && \
7136 $(MAKE) $(FLAGS_TO_PASS) install)
7138 @endif diff
7140 # Other targets (info, dvi, etc.)
7142 .PHONY: maybe-info-diff info-diff
7143 maybe-info-diff:
7144 @if diff
7145 maybe-info-diff: info-diff
7147 info-diff: \
7148 configure-diff
7149 @[ -f ./diff/Makefile ] || exit 0; \
7150 r=`${PWD_COMMAND}`; export r; \
7151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7152 $(HOST_EXPORTS) \
7153 for flag in $(EXTRA_HOST_FLAGS) ; do \
7154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7155 done; \
7156 echo "Doing info in diff" ; \
7157 (cd $(HOST_SUBDIR)/diff && \
7158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7160 "RANLIB=$${RANLIB}" \
7161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7162 info) \
7163 || exit 1
7165 @endif diff
7167 .PHONY: maybe-dvi-diff dvi-diff
7168 maybe-dvi-diff:
7169 @if diff
7170 maybe-dvi-diff: dvi-diff
7172 dvi-diff: \
7173 configure-diff
7174 @[ -f ./diff/Makefile ] || exit 0; \
7175 r=`${PWD_COMMAND}`; export r; \
7176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7177 $(HOST_EXPORTS) \
7178 for flag in $(EXTRA_HOST_FLAGS) ; do \
7179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7180 done; \
7181 echo "Doing dvi in diff" ; \
7182 (cd $(HOST_SUBDIR)/diff && \
7183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7185 "RANLIB=$${RANLIB}" \
7186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7187 dvi) \
7188 || exit 1
7190 @endif diff
7192 .PHONY: maybe-html-diff html-diff
7193 maybe-html-diff:
7194 @if diff
7195 maybe-html-diff: html-diff
7197 html-diff: \
7198 configure-diff
7199 @[ -f ./diff/Makefile ] || exit 0; \
7200 r=`${PWD_COMMAND}`; export r; \
7201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7202 $(HOST_EXPORTS) \
7203 for flag in $(EXTRA_HOST_FLAGS) ; do \
7204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7205 done; \
7206 echo "Doing html in diff" ; \
7207 (cd $(HOST_SUBDIR)/diff && \
7208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7210 "RANLIB=$${RANLIB}" \
7211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7212 html) \
7213 || exit 1
7215 @endif diff
7217 .PHONY: maybe-TAGS-diff TAGS-diff
7218 maybe-TAGS-diff:
7219 @if diff
7220 maybe-TAGS-diff: TAGS-diff
7222 TAGS-diff: \
7223 configure-diff
7224 @[ -f ./diff/Makefile ] || exit 0; \
7225 r=`${PWD_COMMAND}`; export r; \
7226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7227 $(HOST_EXPORTS) \
7228 for flag in $(EXTRA_HOST_FLAGS) ; do \
7229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7230 done; \
7231 echo "Doing TAGS in diff" ; \
7232 (cd $(HOST_SUBDIR)/diff && \
7233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7235 "RANLIB=$${RANLIB}" \
7236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7237 TAGS) \
7238 || exit 1
7240 @endif diff
7242 .PHONY: maybe-install-info-diff install-info-diff
7243 maybe-install-info-diff:
7244 @if diff
7245 maybe-install-info-diff: install-info-diff
7247 install-info-diff: \
7248 configure-diff \
7249 info-diff
7250 @[ -f ./diff/Makefile ] || exit 0; \
7251 r=`${PWD_COMMAND}`; export r; \
7252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7253 $(HOST_EXPORTS) \
7254 for flag in $(EXTRA_HOST_FLAGS) ; do \
7255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7256 done; \
7257 echo "Doing install-info in diff" ; \
7258 (cd $(HOST_SUBDIR)/diff && \
7259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7261 "RANLIB=$${RANLIB}" \
7262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7263 install-info) \
7264 || exit 1
7266 @endif diff
7268 .PHONY: maybe-installcheck-diff installcheck-diff
7269 maybe-installcheck-diff:
7270 @if diff
7271 maybe-installcheck-diff: installcheck-diff
7273 installcheck-diff: \
7274 configure-diff
7275 @[ -f ./diff/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 installcheck in diff" ; \
7283 (cd $(HOST_SUBDIR)/diff && \
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 installcheck) \
7289 || exit 1
7291 @endif diff
7293 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7294 maybe-mostlyclean-diff:
7295 @if diff
7296 maybe-mostlyclean-diff: mostlyclean-diff
7298 mostlyclean-diff:
7299 @[ -f ./diff/Makefile ] || exit 0; \
7300 r=`${PWD_COMMAND}`; export r; \
7301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7302 $(HOST_EXPORTS) \
7303 for flag in $(EXTRA_HOST_FLAGS) ; do \
7304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7305 done; \
7306 echo "Doing mostlyclean in diff" ; \
7307 (cd $(HOST_SUBDIR)/diff && \
7308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7310 "RANLIB=$${RANLIB}" \
7311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7312 mostlyclean) \
7313 || exit 1
7315 @endif diff
7317 .PHONY: maybe-clean-diff clean-diff
7318 maybe-clean-diff:
7319 @if diff
7320 maybe-clean-diff: clean-diff
7322 clean-diff:
7323 @[ -f ./diff/Makefile ] || exit 0; \
7324 r=`${PWD_COMMAND}`; export r; \
7325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7326 $(HOST_EXPORTS) \
7327 for flag in $(EXTRA_HOST_FLAGS) ; do \
7328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7329 done; \
7330 echo "Doing clean in diff" ; \
7331 (cd $(HOST_SUBDIR)/diff && \
7332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7334 "RANLIB=$${RANLIB}" \
7335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7336 clean) \
7337 || exit 1
7339 @endif diff
7341 .PHONY: maybe-distclean-diff distclean-diff
7342 maybe-distclean-diff:
7343 @if diff
7344 maybe-distclean-diff: distclean-diff
7346 distclean-diff:
7347 @[ -f ./diff/Makefile ] || exit 0; \
7348 r=`${PWD_COMMAND}`; export r; \
7349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7350 $(HOST_EXPORTS) \
7351 for flag in $(EXTRA_HOST_FLAGS) ; do \
7352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7353 done; \
7354 echo "Doing distclean in diff" ; \
7355 (cd $(HOST_SUBDIR)/diff && \
7356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7358 "RANLIB=$${RANLIB}" \
7359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7360 distclean) \
7361 || exit 1
7363 @endif diff
7365 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7366 maybe-maintainer-clean-diff:
7367 @if diff
7368 maybe-maintainer-clean-diff: maintainer-clean-diff
7370 maintainer-clean-diff:
7371 @[ -f ./diff/Makefile ] || exit 0; \
7372 r=`${PWD_COMMAND}`; export r; \
7373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7374 $(HOST_EXPORTS) \
7375 for flag in $(EXTRA_HOST_FLAGS) ; do \
7376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7377 done; \
7378 echo "Doing maintainer-clean in diff" ; \
7379 (cd $(HOST_SUBDIR)/diff && \
7380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7382 "RANLIB=$${RANLIB}" \
7383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7384 maintainer-clean) \
7385 || exit 1
7387 @endif diff
7391 .PHONY: configure-dosutils maybe-configure-dosutils
7392 maybe-configure-dosutils:
7393 @if dosutils
7394 maybe-configure-dosutils: configure-dosutils
7395 configure-dosutils:
7396 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7397 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7398 r=`${PWD_COMMAND}`; export r; \
7399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7400 $(HOST_EXPORTS) \
7401 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7402 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7403 case $(srcdir) in \
7404 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7405 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7406 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7407 esac; \
7408 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7409 libsrcdir="$$s/dosutils"; \
7410 $(SHELL) $${libsrcdir}/configure \
7411 $(HOST_CONFIGARGS) $${srcdiroption} \
7412 || exit 1
7413 @endif dosutils
7419 .PHONY: all-dosutils maybe-all-dosutils
7420 maybe-all-dosutils:
7421 @if dosutils
7422 TARGET-dosutils=all
7423 maybe-all-dosutils: all-dosutils
7424 all-dosutils: configure-dosutils
7425 @r=`${PWD_COMMAND}`; export r; \
7426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7427 $(HOST_EXPORTS) \
7428 (cd $(HOST_SUBDIR)/dosutils && \
7429 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7430 @endif dosutils
7435 .PHONY: check-dosutils maybe-check-dosutils
7436 maybe-check-dosutils:
7437 @if dosutils
7438 maybe-check-dosutils: check-dosutils
7440 check-dosutils:
7442 @endif dosutils
7444 .PHONY: install-dosutils maybe-install-dosutils
7445 maybe-install-dosutils:
7446 @if dosutils
7447 maybe-install-dosutils: install-dosutils
7449 install-dosutils: installdirs
7450 @r=`${PWD_COMMAND}`; export r; \
7451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7452 $(HOST_EXPORTS) \
7453 (cd $(HOST_SUBDIR)/dosutils && \
7454 $(MAKE) $(FLAGS_TO_PASS) install)
7456 @endif dosutils
7458 # Other targets (info, dvi, etc.)
7460 .PHONY: maybe-info-dosutils info-dosutils
7461 maybe-info-dosutils:
7462 @if dosutils
7463 maybe-info-dosutils: info-dosutils
7465 info-dosutils: \
7466 configure-dosutils
7467 @[ -f ./dosutils/Makefile ] || exit 0; \
7468 r=`${PWD_COMMAND}`; export r; \
7469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7470 $(HOST_EXPORTS) \
7471 for flag in $(EXTRA_HOST_FLAGS) ; do \
7472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7473 done; \
7474 echo "Doing info in dosutils" ; \
7475 (cd $(HOST_SUBDIR)/dosutils && \
7476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7478 "RANLIB=$${RANLIB}" \
7479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7480 info) \
7481 || exit 1
7483 @endif dosutils
7485 .PHONY: maybe-dvi-dosutils dvi-dosutils
7486 maybe-dvi-dosutils:
7487 @if dosutils
7488 maybe-dvi-dosutils: dvi-dosutils
7490 dvi-dosutils: \
7491 configure-dosutils
7492 @[ -f ./dosutils/Makefile ] || exit 0; \
7493 r=`${PWD_COMMAND}`; export r; \
7494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7495 $(HOST_EXPORTS) \
7496 for flag in $(EXTRA_HOST_FLAGS) ; do \
7497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7498 done; \
7499 echo "Doing dvi in dosutils" ; \
7500 (cd $(HOST_SUBDIR)/dosutils && \
7501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7503 "RANLIB=$${RANLIB}" \
7504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7505 dvi) \
7506 || exit 1
7508 @endif dosutils
7510 .PHONY: maybe-html-dosutils html-dosutils
7511 maybe-html-dosutils:
7512 @if dosutils
7513 maybe-html-dosutils: html-dosutils
7515 html-dosutils: \
7516 configure-dosutils
7517 @[ -f ./dosutils/Makefile ] || exit 0; \
7518 r=`${PWD_COMMAND}`; export r; \
7519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7520 $(HOST_EXPORTS) \
7521 for flag in $(EXTRA_HOST_FLAGS) ; do \
7522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7523 done; \
7524 echo "Doing html in dosutils" ; \
7525 (cd $(HOST_SUBDIR)/dosutils && \
7526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7528 "RANLIB=$${RANLIB}" \
7529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7530 html) \
7531 || exit 1
7533 @endif dosutils
7535 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7536 maybe-TAGS-dosutils:
7537 @if dosutils
7538 maybe-TAGS-dosutils: TAGS-dosutils
7540 TAGS-dosutils: \
7541 configure-dosutils
7542 @[ -f ./dosutils/Makefile ] || exit 0; \
7543 r=`${PWD_COMMAND}`; export r; \
7544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7545 $(HOST_EXPORTS) \
7546 for flag in $(EXTRA_HOST_FLAGS) ; do \
7547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7548 done; \
7549 echo "Doing TAGS in dosutils" ; \
7550 (cd $(HOST_SUBDIR)/dosutils && \
7551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7553 "RANLIB=$${RANLIB}" \
7554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7555 TAGS) \
7556 || exit 1
7558 @endif dosutils
7560 .PHONY: maybe-install-info-dosutils install-info-dosutils
7561 maybe-install-info-dosutils:
7562 @if dosutils
7563 maybe-install-info-dosutils: install-info-dosutils
7565 install-info-dosutils: \
7566 configure-dosutils \
7567 info-dosutils
7568 @[ -f ./dosutils/Makefile ] || exit 0; \
7569 r=`${PWD_COMMAND}`; export r; \
7570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7571 $(HOST_EXPORTS) \
7572 for flag in $(EXTRA_HOST_FLAGS) ; do \
7573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7574 done; \
7575 echo "Doing install-info in dosutils" ; \
7576 (cd $(HOST_SUBDIR)/dosutils && \
7577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7579 "RANLIB=$${RANLIB}" \
7580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7581 install-info) \
7582 || exit 1
7584 @endif dosutils
7586 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7587 maybe-installcheck-dosutils:
7588 @if dosutils
7589 maybe-installcheck-dosutils: installcheck-dosutils
7591 installcheck-dosutils: \
7592 configure-dosutils
7593 @[ -f ./dosutils/Makefile ] || exit 0; \
7594 r=`${PWD_COMMAND}`; export r; \
7595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7596 $(HOST_EXPORTS) \
7597 for flag in $(EXTRA_HOST_FLAGS) ; do \
7598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7599 done; \
7600 echo "Doing installcheck in dosutils" ; \
7601 (cd $(HOST_SUBDIR)/dosutils && \
7602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7604 "RANLIB=$${RANLIB}" \
7605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7606 installcheck) \
7607 || exit 1
7609 @endif dosutils
7611 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
7612 maybe-mostlyclean-dosutils:
7613 @if dosutils
7614 maybe-mostlyclean-dosutils: mostlyclean-dosutils
7616 mostlyclean-dosutils:
7617 @[ -f ./dosutils/Makefile ] || exit 0; \
7618 r=`${PWD_COMMAND}`; export r; \
7619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7620 $(HOST_EXPORTS) \
7621 for flag in $(EXTRA_HOST_FLAGS) ; do \
7622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7623 done; \
7624 echo "Doing mostlyclean in dosutils" ; \
7625 (cd $(HOST_SUBDIR)/dosutils && \
7626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7628 "RANLIB=$${RANLIB}" \
7629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7630 mostlyclean) \
7631 || exit 1
7633 @endif dosutils
7635 .PHONY: maybe-clean-dosutils clean-dosutils
7636 maybe-clean-dosutils:
7637 @if dosutils
7638 maybe-clean-dosutils: clean-dosutils
7640 clean-dosutils:
7641 @[ -f ./dosutils/Makefile ] || exit 0; \
7642 r=`${PWD_COMMAND}`; export r; \
7643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7644 $(HOST_EXPORTS) \
7645 for flag in $(EXTRA_HOST_FLAGS) ; do \
7646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7647 done; \
7648 echo "Doing clean in dosutils" ; \
7649 (cd $(HOST_SUBDIR)/dosutils && \
7650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7652 "RANLIB=$${RANLIB}" \
7653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7654 clean) \
7655 || exit 1
7657 @endif dosutils
7659 .PHONY: maybe-distclean-dosutils distclean-dosutils
7660 maybe-distclean-dosutils:
7661 @if dosutils
7662 maybe-distclean-dosutils: distclean-dosutils
7664 distclean-dosutils:
7665 @[ -f ./dosutils/Makefile ] || exit 0; \
7666 r=`${PWD_COMMAND}`; export r; \
7667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7668 $(HOST_EXPORTS) \
7669 for flag in $(EXTRA_HOST_FLAGS) ; do \
7670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7671 done; \
7672 echo "Doing distclean in dosutils" ; \
7673 (cd $(HOST_SUBDIR)/dosutils && \
7674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7676 "RANLIB=$${RANLIB}" \
7677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7678 distclean) \
7679 || exit 1
7681 @endif dosutils
7683 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
7684 maybe-maintainer-clean-dosutils:
7685 @if dosutils
7686 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
7688 maintainer-clean-dosutils:
7689 @[ -f ./dosutils/Makefile ] || exit 0; \
7690 r=`${PWD_COMMAND}`; export r; \
7691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7692 $(HOST_EXPORTS) \
7693 for flag in $(EXTRA_HOST_FLAGS) ; do \
7694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7695 done; \
7696 echo "Doing maintainer-clean in dosutils" ; \
7697 (cd $(HOST_SUBDIR)/dosutils && \
7698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7700 "RANLIB=$${RANLIB}" \
7701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7702 maintainer-clean) \
7703 || exit 1
7705 @endif dosutils
7709 .PHONY: configure-etc maybe-configure-etc
7710 maybe-configure-etc:
7711 @if etc
7712 maybe-configure-etc: configure-etc
7713 configure-etc:
7714 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
7716 r=`${PWD_COMMAND}`; export r; \
7717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7718 $(HOST_EXPORTS) \
7719 echo Configuring in $(HOST_SUBDIR)/etc; \
7720 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7721 case $(srcdir) in \
7722 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7723 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7724 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7725 esac; \
7726 srcdiroption="--srcdir=$${topdir}/etc"; \
7727 libsrcdir="$$s/etc"; \
7728 $(SHELL) $${libsrcdir}/configure \
7729 $(HOST_CONFIGARGS) $${srcdiroption} \
7730 || exit 1
7731 @endif etc
7737 .PHONY: all-etc maybe-all-etc
7738 maybe-all-etc:
7739 @if etc
7740 TARGET-etc=all
7741 maybe-all-etc: all-etc
7742 all-etc: configure-etc
7743 @r=`${PWD_COMMAND}`; export r; \
7744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7745 $(HOST_EXPORTS) \
7746 (cd $(HOST_SUBDIR)/etc && \
7747 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
7748 @endif etc
7753 .PHONY: check-etc maybe-check-etc
7754 maybe-check-etc:
7755 @if etc
7756 maybe-check-etc: check-etc
7758 check-etc:
7759 @r=`${PWD_COMMAND}`; export r; \
7760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7761 $(HOST_EXPORTS) \
7762 (cd $(HOST_SUBDIR)/etc && \
7763 $(MAKE) $(FLAGS_TO_PASS) check)
7765 @endif etc
7767 .PHONY: install-etc maybe-install-etc
7768 maybe-install-etc:
7769 @if etc
7770 maybe-install-etc: install-etc
7772 install-etc: installdirs
7773 @r=`${PWD_COMMAND}`; export r; \
7774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7775 $(HOST_EXPORTS) \
7776 (cd $(HOST_SUBDIR)/etc && \
7777 $(MAKE) $(FLAGS_TO_PASS) install)
7779 @endif etc
7781 # Other targets (info, dvi, etc.)
7783 .PHONY: maybe-info-etc info-etc
7784 maybe-info-etc:
7785 @if etc
7786 maybe-info-etc: info-etc
7788 info-etc: \
7789 configure-etc
7790 @[ -f ./etc/Makefile ] || exit 0; \
7791 r=`${PWD_COMMAND}`; export r; \
7792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7793 $(HOST_EXPORTS) \
7794 for flag in $(EXTRA_HOST_FLAGS) ; do \
7795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7796 done; \
7797 echo "Doing info in etc" ; \
7798 (cd $(HOST_SUBDIR)/etc && \
7799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7801 "RANLIB=$${RANLIB}" \
7802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7803 info) \
7804 || exit 1
7806 @endif etc
7808 .PHONY: maybe-dvi-etc dvi-etc
7809 maybe-dvi-etc:
7810 @if etc
7811 maybe-dvi-etc: dvi-etc
7813 dvi-etc: \
7814 configure-etc
7815 @[ -f ./etc/Makefile ] || exit 0; \
7816 r=`${PWD_COMMAND}`; export r; \
7817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7818 $(HOST_EXPORTS) \
7819 for flag in $(EXTRA_HOST_FLAGS) ; do \
7820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7821 done; \
7822 echo "Doing dvi in etc" ; \
7823 (cd $(HOST_SUBDIR)/etc && \
7824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7826 "RANLIB=$${RANLIB}" \
7827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7828 dvi) \
7829 || exit 1
7831 @endif etc
7833 .PHONY: maybe-html-etc html-etc
7834 maybe-html-etc:
7835 @if etc
7836 maybe-html-etc: html-etc
7838 html-etc: \
7839 configure-etc
7840 @[ -f ./etc/Makefile ] || exit 0; \
7841 r=`${PWD_COMMAND}`; export r; \
7842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7843 $(HOST_EXPORTS) \
7844 for flag in $(EXTRA_HOST_FLAGS) ; do \
7845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7846 done; \
7847 echo "Doing html in etc" ; \
7848 (cd $(HOST_SUBDIR)/etc && \
7849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7851 "RANLIB=$${RANLIB}" \
7852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7853 html) \
7854 || exit 1
7856 @endif etc
7858 .PHONY: maybe-TAGS-etc TAGS-etc
7859 maybe-TAGS-etc:
7860 @if etc
7861 maybe-TAGS-etc: TAGS-etc
7863 TAGS-etc: \
7864 configure-etc
7865 @[ -f ./etc/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 TAGS in etc" ; \
7873 (cd $(HOST_SUBDIR)/etc && \
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 TAGS) \
7879 || exit 1
7881 @endif etc
7883 .PHONY: maybe-install-info-etc install-info-etc
7884 maybe-install-info-etc:
7885 @if etc
7886 maybe-install-info-etc: install-info-etc
7888 install-info-etc: \
7889 configure-etc \
7890 info-etc
7891 @[ -f ./etc/Makefile ] || exit 0; \
7892 r=`${PWD_COMMAND}`; export r; \
7893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7894 $(HOST_EXPORTS) \
7895 for flag in $(EXTRA_HOST_FLAGS) ; do \
7896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7897 done; \
7898 echo "Doing install-info in etc" ; \
7899 (cd $(HOST_SUBDIR)/etc && \
7900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7902 "RANLIB=$${RANLIB}" \
7903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7904 install-info) \
7905 || exit 1
7907 @endif etc
7909 .PHONY: maybe-installcheck-etc installcheck-etc
7910 maybe-installcheck-etc:
7911 @if etc
7912 maybe-installcheck-etc: installcheck-etc
7914 installcheck-etc: \
7915 configure-etc
7916 @[ -f ./etc/Makefile ] || exit 0; \
7917 r=`${PWD_COMMAND}`; export r; \
7918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7919 $(HOST_EXPORTS) \
7920 for flag in $(EXTRA_HOST_FLAGS) ; do \
7921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7922 done; \
7923 echo "Doing installcheck in etc" ; \
7924 (cd $(HOST_SUBDIR)/etc && \
7925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7927 "RANLIB=$${RANLIB}" \
7928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7929 installcheck) \
7930 || exit 1
7932 @endif etc
7934 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7935 maybe-mostlyclean-etc:
7936 @if etc
7937 maybe-mostlyclean-etc: mostlyclean-etc
7939 mostlyclean-etc:
7940 @[ -f ./etc/Makefile ] || exit 0; \
7941 r=`${PWD_COMMAND}`; export r; \
7942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7943 $(HOST_EXPORTS) \
7944 for flag in $(EXTRA_HOST_FLAGS) ; do \
7945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7946 done; \
7947 echo "Doing mostlyclean in etc" ; \
7948 (cd $(HOST_SUBDIR)/etc && \
7949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7951 "RANLIB=$${RANLIB}" \
7952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7953 mostlyclean) \
7954 || exit 1
7956 @endif etc
7958 .PHONY: maybe-clean-etc clean-etc
7959 maybe-clean-etc:
7960 @if etc
7961 maybe-clean-etc: clean-etc
7963 clean-etc:
7964 @[ -f ./etc/Makefile ] || exit 0; \
7965 r=`${PWD_COMMAND}`; export r; \
7966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7967 $(HOST_EXPORTS) \
7968 for flag in $(EXTRA_HOST_FLAGS) ; do \
7969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7970 done; \
7971 echo "Doing clean in etc" ; \
7972 (cd $(HOST_SUBDIR)/etc && \
7973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7975 "RANLIB=$${RANLIB}" \
7976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7977 clean) \
7978 || exit 1
7980 @endif etc
7982 .PHONY: maybe-distclean-etc distclean-etc
7983 maybe-distclean-etc:
7984 @if etc
7985 maybe-distclean-etc: distclean-etc
7987 distclean-etc:
7988 @[ -f ./etc/Makefile ] || exit 0; \
7989 r=`${PWD_COMMAND}`; export r; \
7990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7991 $(HOST_EXPORTS) \
7992 for flag in $(EXTRA_HOST_FLAGS) ; do \
7993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7994 done; \
7995 echo "Doing distclean in etc" ; \
7996 (cd $(HOST_SUBDIR)/etc && \
7997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7999 "RANLIB=$${RANLIB}" \
8000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8001 distclean) \
8002 || exit 1
8004 @endif etc
8006 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8007 maybe-maintainer-clean-etc:
8008 @if etc
8009 maybe-maintainer-clean-etc: maintainer-clean-etc
8011 maintainer-clean-etc:
8012 @[ -f ./etc/Makefile ] || exit 0; \
8013 r=`${PWD_COMMAND}`; export r; \
8014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8015 $(HOST_EXPORTS) \
8016 for flag in $(EXTRA_HOST_FLAGS) ; do \
8017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8018 done; \
8019 echo "Doing maintainer-clean in etc" ; \
8020 (cd $(HOST_SUBDIR)/etc && \
8021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8023 "RANLIB=$${RANLIB}" \
8024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8025 maintainer-clean) \
8026 || exit 1
8028 @endif etc
8032 .PHONY: configure-fastjar maybe-configure-fastjar
8033 maybe-configure-fastjar:
8034 @if fastjar
8035 maybe-configure-fastjar: configure-fastjar
8036 configure-fastjar:
8037 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8038 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8039 r=`${PWD_COMMAND}`; export r; \
8040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8041 $(HOST_EXPORTS) \
8042 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8043 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8044 case $(srcdir) in \
8045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8046 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8048 esac; \
8049 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8050 libsrcdir="$$s/fastjar"; \
8051 $(SHELL) $${libsrcdir}/configure \
8052 $(HOST_CONFIGARGS) $${srcdiroption} \
8053 || exit 1
8054 @endif fastjar
8060 .PHONY: all-fastjar maybe-all-fastjar
8061 maybe-all-fastjar:
8062 @if fastjar
8063 TARGET-fastjar=all
8064 maybe-all-fastjar: all-fastjar
8065 all-fastjar: configure-fastjar
8066 @r=`${PWD_COMMAND}`; export r; \
8067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8068 $(HOST_EXPORTS) \
8069 (cd $(HOST_SUBDIR)/fastjar && \
8070 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8071 @endif fastjar
8076 .PHONY: check-fastjar maybe-check-fastjar
8077 maybe-check-fastjar:
8078 @if fastjar
8079 maybe-check-fastjar: check-fastjar
8081 # This module is only tested in a native toolchain.
8082 check-fastjar:
8083 @if [ '$(host)' = '$(target)' ] ; then \
8084 r=`${PWD_COMMAND}`; export r; \
8085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8086 $(HOST_EXPORTS) \
8087 (cd $(HOST_SUBDIR)/fastjar && \
8088 $(MAKE) $(FLAGS_TO_PASS) check); \
8091 @endif fastjar
8093 .PHONY: install-fastjar maybe-install-fastjar
8094 maybe-install-fastjar:
8095 @if fastjar
8096 maybe-install-fastjar: install-fastjar
8098 install-fastjar: installdirs
8099 @r=`${PWD_COMMAND}`; export r; \
8100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8101 $(HOST_EXPORTS) \
8102 (cd $(HOST_SUBDIR)/fastjar && \
8103 $(MAKE) $(FLAGS_TO_PASS) install)
8105 @endif fastjar
8107 # Other targets (info, dvi, etc.)
8109 .PHONY: maybe-info-fastjar info-fastjar
8110 maybe-info-fastjar:
8111 @if fastjar
8112 maybe-info-fastjar: info-fastjar
8114 info-fastjar: \
8115 configure-fastjar
8116 @[ -f ./fastjar/Makefile ] || exit 0; \
8117 r=`${PWD_COMMAND}`; export r; \
8118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8119 $(HOST_EXPORTS) \
8120 for flag in $(EXTRA_HOST_FLAGS) ; do \
8121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8122 done; \
8123 echo "Doing info in fastjar" ; \
8124 (cd $(HOST_SUBDIR)/fastjar && \
8125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8127 "RANLIB=$${RANLIB}" \
8128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8129 info) \
8130 || exit 1
8132 @endif fastjar
8134 .PHONY: maybe-dvi-fastjar dvi-fastjar
8135 maybe-dvi-fastjar:
8136 @if fastjar
8137 maybe-dvi-fastjar: dvi-fastjar
8139 dvi-fastjar: \
8140 configure-fastjar
8141 @[ -f ./fastjar/Makefile ] || exit 0; \
8142 r=`${PWD_COMMAND}`; export r; \
8143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8144 $(HOST_EXPORTS) \
8145 for flag in $(EXTRA_HOST_FLAGS) ; do \
8146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8147 done; \
8148 echo "Doing dvi in fastjar" ; \
8149 (cd $(HOST_SUBDIR)/fastjar && \
8150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8152 "RANLIB=$${RANLIB}" \
8153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8154 dvi) \
8155 || exit 1
8157 @endif fastjar
8159 .PHONY: maybe-html-fastjar html-fastjar
8160 maybe-html-fastjar:
8161 @if fastjar
8162 maybe-html-fastjar: html-fastjar
8164 html-fastjar: \
8165 configure-fastjar
8166 @[ -f ./fastjar/Makefile ] || exit 0; \
8167 r=`${PWD_COMMAND}`; export r; \
8168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8169 $(HOST_EXPORTS) \
8170 for flag in $(EXTRA_HOST_FLAGS) ; do \
8171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8172 done; \
8173 echo "Doing html in fastjar" ; \
8174 (cd $(HOST_SUBDIR)/fastjar && \
8175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8177 "RANLIB=$${RANLIB}" \
8178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8179 html) \
8180 || exit 1
8182 @endif fastjar
8184 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8185 maybe-TAGS-fastjar:
8186 @if fastjar
8187 maybe-TAGS-fastjar: TAGS-fastjar
8189 TAGS-fastjar: \
8190 configure-fastjar
8191 @[ -f ./fastjar/Makefile ] || exit 0; \
8192 r=`${PWD_COMMAND}`; export r; \
8193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8194 $(HOST_EXPORTS) \
8195 for flag in $(EXTRA_HOST_FLAGS) ; do \
8196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8197 done; \
8198 echo "Doing TAGS in fastjar" ; \
8199 (cd $(HOST_SUBDIR)/fastjar && \
8200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8202 "RANLIB=$${RANLIB}" \
8203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8204 TAGS) \
8205 || exit 1
8207 @endif fastjar
8209 .PHONY: maybe-install-info-fastjar install-info-fastjar
8210 maybe-install-info-fastjar:
8211 @if fastjar
8212 maybe-install-info-fastjar: install-info-fastjar
8214 install-info-fastjar: \
8215 configure-fastjar \
8216 info-fastjar
8217 @[ -f ./fastjar/Makefile ] || exit 0; \
8218 r=`${PWD_COMMAND}`; export r; \
8219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8220 $(HOST_EXPORTS) \
8221 for flag in $(EXTRA_HOST_FLAGS) ; do \
8222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8223 done; \
8224 echo "Doing install-info in fastjar" ; \
8225 (cd $(HOST_SUBDIR)/fastjar && \
8226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8228 "RANLIB=$${RANLIB}" \
8229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8230 install-info) \
8231 || exit 1
8233 @endif fastjar
8235 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8236 maybe-installcheck-fastjar:
8237 @if fastjar
8238 maybe-installcheck-fastjar: installcheck-fastjar
8240 installcheck-fastjar: \
8241 configure-fastjar
8242 @[ -f ./fastjar/Makefile ] || exit 0; \
8243 r=`${PWD_COMMAND}`; export r; \
8244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8245 $(HOST_EXPORTS) \
8246 for flag in $(EXTRA_HOST_FLAGS) ; do \
8247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8248 done; \
8249 echo "Doing installcheck in fastjar" ; \
8250 (cd $(HOST_SUBDIR)/fastjar && \
8251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8253 "RANLIB=$${RANLIB}" \
8254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8255 installcheck) \
8256 || exit 1
8258 @endif fastjar
8260 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8261 maybe-mostlyclean-fastjar:
8262 @if fastjar
8263 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8265 mostlyclean-fastjar:
8266 @[ -f ./fastjar/Makefile ] || exit 0; \
8267 r=`${PWD_COMMAND}`; export r; \
8268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8269 $(HOST_EXPORTS) \
8270 for flag in $(EXTRA_HOST_FLAGS) ; do \
8271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8272 done; \
8273 echo "Doing mostlyclean in fastjar" ; \
8274 (cd $(HOST_SUBDIR)/fastjar && \
8275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8277 "RANLIB=$${RANLIB}" \
8278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8279 mostlyclean) \
8280 || exit 1
8282 @endif fastjar
8284 .PHONY: maybe-clean-fastjar clean-fastjar
8285 maybe-clean-fastjar:
8286 @if fastjar
8287 maybe-clean-fastjar: clean-fastjar
8289 clean-fastjar:
8290 @[ -f ./fastjar/Makefile ] || exit 0; \
8291 r=`${PWD_COMMAND}`; export r; \
8292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8293 $(HOST_EXPORTS) \
8294 for flag in $(EXTRA_HOST_FLAGS) ; do \
8295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8296 done; \
8297 echo "Doing clean in fastjar" ; \
8298 (cd $(HOST_SUBDIR)/fastjar && \
8299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8301 "RANLIB=$${RANLIB}" \
8302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8303 clean) \
8304 || exit 1
8306 @endif fastjar
8308 .PHONY: maybe-distclean-fastjar distclean-fastjar
8309 maybe-distclean-fastjar:
8310 @if fastjar
8311 maybe-distclean-fastjar: distclean-fastjar
8313 distclean-fastjar:
8314 @[ -f ./fastjar/Makefile ] || exit 0; \
8315 r=`${PWD_COMMAND}`; export r; \
8316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8317 $(HOST_EXPORTS) \
8318 for flag in $(EXTRA_HOST_FLAGS) ; do \
8319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8320 done; \
8321 echo "Doing distclean in fastjar" ; \
8322 (cd $(HOST_SUBDIR)/fastjar && \
8323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8325 "RANLIB=$${RANLIB}" \
8326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8327 distclean) \
8328 || exit 1
8330 @endif fastjar
8332 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8333 maybe-maintainer-clean-fastjar:
8334 @if fastjar
8335 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8337 maintainer-clean-fastjar:
8338 @[ -f ./fastjar/Makefile ] || exit 0; \
8339 r=`${PWD_COMMAND}`; export r; \
8340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8341 $(HOST_EXPORTS) \
8342 for flag in $(EXTRA_HOST_FLAGS) ; do \
8343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8344 done; \
8345 echo "Doing maintainer-clean in fastjar" ; \
8346 (cd $(HOST_SUBDIR)/fastjar && \
8347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8349 "RANLIB=$${RANLIB}" \
8350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8351 maintainer-clean) \
8352 || exit 1
8354 @endif fastjar
8358 .PHONY: configure-fileutils maybe-configure-fileutils
8359 maybe-configure-fileutils:
8360 @if fileutils
8361 maybe-configure-fileutils: configure-fileutils
8362 configure-fileutils:
8363 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8364 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8365 r=`${PWD_COMMAND}`; export r; \
8366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8367 $(HOST_EXPORTS) \
8368 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8369 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8370 case $(srcdir) in \
8371 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8372 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8373 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8374 esac; \
8375 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8376 libsrcdir="$$s/fileutils"; \
8377 $(SHELL) $${libsrcdir}/configure \
8378 $(HOST_CONFIGARGS) $${srcdiroption} \
8379 || exit 1
8380 @endif fileutils
8386 .PHONY: all-fileutils maybe-all-fileutils
8387 maybe-all-fileutils:
8388 @if fileutils
8389 TARGET-fileutils=all
8390 maybe-all-fileutils: all-fileutils
8391 all-fileutils: configure-fileutils
8392 @r=`${PWD_COMMAND}`; export r; \
8393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8394 $(HOST_EXPORTS) \
8395 (cd $(HOST_SUBDIR)/fileutils && \
8396 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8397 @endif fileutils
8402 .PHONY: check-fileutils maybe-check-fileutils
8403 maybe-check-fileutils:
8404 @if fileutils
8405 maybe-check-fileutils: check-fileutils
8407 check-fileutils:
8408 @r=`${PWD_COMMAND}`; export r; \
8409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8410 $(HOST_EXPORTS) \
8411 (cd $(HOST_SUBDIR)/fileutils && \
8412 $(MAKE) $(FLAGS_TO_PASS) check)
8414 @endif fileutils
8416 .PHONY: install-fileutils maybe-install-fileutils
8417 maybe-install-fileutils:
8418 @if fileutils
8419 maybe-install-fileutils: install-fileutils
8421 install-fileutils: installdirs
8422 @r=`${PWD_COMMAND}`; export r; \
8423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8424 $(HOST_EXPORTS) \
8425 (cd $(HOST_SUBDIR)/fileutils && \
8426 $(MAKE) $(FLAGS_TO_PASS) install)
8428 @endif fileutils
8430 # Other targets (info, dvi, etc.)
8432 .PHONY: maybe-info-fileutils info-fileutils
8433 maybe-info-fileutils:
8434 @if fileutils
8435 maybe-info-fileutils: info-fileutils
8437 info-fileutils: \
8438 configure-fileutils
8439 @[ -f ./fileutils/Makefile ] || exit 0; \
8440 r=`${PWD_COMMAND}`; export r; \
8441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8442 $(HOST_EXPORTS) \
8443 for flag in $(EXTRA_HOST_FLAGS) ; do \
8444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8445 done; \
8446 echo "Doing info in fileutils" ; \
8447 (cd $(HOST_SUBDIR)/fileutils && \
8448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8450 "RANLIB=$${RANLIB}" \
8451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8452 info) \
8453 || exit 1
8455 @endif fileutils
8457 .PHONY: maybe-dvi-fileutils dvi-fileutils
8458 maybe-dvi-fileutils:
8459 @if fileutils
8460 maybe-dvi-fileutils: dvi-fileutils
8462 dvi-fileutils: \
8463 configure-fileutils
8464 @[ -f ./fileutils/Makefile ] || exit 0; \
8465 r=`${PWD_COMMAND}`; export r; \
8466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8467 $(HOST_EXPORTS) \
8468 for flag in $(EXTRA_HOST_FLAGS) ; do \
8469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8470 done; \
8471 echo "Doing dvi in fileutils" ; \
8472 (cd $(HOST_SUBDIR)/fileutils && \
8473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8475 "RANLIB=$${RANLIB}" \
8476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8477 dvi) \
8478 || exit 1
8480 @endif fileutils
8482 .PHONY: maybe-html-fileutils html-fileutils
8483 maybe-html-fileutils:
8484 @if fileutils
8485 maybe-html-fileutils: html-fileutils
8487 html-fileutils: \
8488 configure-fileutils
8489 @[ -f ./fileutils/Makefile ] || exit 0; \
8490 r=`${PWD_COMMAND}`; export r; \
8491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8492 $(HOST_EXPORTS) \
8493 for flag in $(EXTRA_HOST_FLAGS) ; do \
8494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8495 done; \
8496 echo "Doing html in fileutils" ; \
8497 (cd $(HOST_SUBDIR)/fileutils && \
8498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8500 "RANLIB=$${RANLIB}" \
8501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8502 html) \
8503 || exit 1
8505 @endif fileutils
8507 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8508 maybe-TAGS-fileutils:
8509 @if fileutils
8510 maybe-TAGS-fileutils: TAGS-fileutils
8512 TAGS-fileutils: \
8513 configure-fileutils
8514 @[ -f ./fileutils/Makefile ] || exit 0; \
8515 r=`${PWD_COMMAND}`; export r; \
8516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8517 $(HOST_EXPORTS) \
8518 for flag in $(EXTRA_HOST_FLAGS) ; do \
8519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8520 done; \
8521 echo "Doing TAGS in fileutils" ; \
8522 (cd $(HOST_SUBDIR)/fileutils && \
8523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8525 "RANLIB=$${RANLIB}" \
8526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8527 TAGS) \
8528 || exit 1
8530 @endif fileutils
8532 .PHONY: maybe-install-info-fileutils install-info-fileutils
8533 maybe-install-info-fileutils:
8534 @if fileutils
8535 maybe-install-info-fileutils: install-info-fileutils
8537 install-info-fileutils: \
8538 configure-fileutils \
8539 info-fileutils
8540 @[ -f ./fileutils/Makefile ] || exit 0; \
8541 r=`${PWD_COMMAND}`; export r; \
8542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8543 $(HOST_EXPORTS) \
8544 for flag in $(EXTRA_HOST_FLAGS) ; do \
8545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8546 done; \
8547 echo "Doing install-info in fileutils" ; \
8548 (cd $(HOST_SUBDIR)/fileutils && \
8549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8551 "RANLIB=$${RANLIB}" \
8552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8553 install-info) \
8554 || exit 1
8556 @endif fileutils
8558 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8559 maybe-installcheck-fileutils:
8560 @if fileutils
8561 maybe-installcheck-fileutils: installcheck-fileutils
8563 installcheck-fileutils: \
8564 configure-fileutils
8565 @[ -f ./fileutils/Makefile ] || exit 0; \
8566 r=`${PWD_COMMAND}`; export r; \
8567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8568 $(HOST_EXPORTS) \
8569 for flag in $(EXTRA_HOST_FLAGS) ; do \
8570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8571 done; \
8572 echo "Doing installcheck in fileutils" ; \
8573 (cd $(HOST_SUBDIR)/fileutils && \
8574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8576 "RANLIB=$${RANLIB}" \
8577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8578 installcheck) \
8579 || exit 1
8581 @endif fileutils
8583 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
8584 maybe-mostlyclean-fileutils:
8585 @if fileutils
8586 maybe-mostlyclean-fileutils: mostlyclean-fileutils
8588 mostlyclean-fileutils:
8589 @[ -f ./fileutils/Makefile ] || exit 0; \
8590 r=`${PWD_COMMAND}`; export r; \
8591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8592 $(HOST_EXPORTS) \
8593 for flag in $(EXTRA_HOST_FLAGS) ; do \
8594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8595 done; \
8596 echo "Doing mostlyclean in fileutils" ; \
8597 (cd $(HOST_SUBDIR)/fileutils && \
8598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8600 "RANLIB=$${RANLIB}" \
8601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8602 mostlyclean) \
8603 || exit 1
8605 @endif fileutils
8607 .PHONY: maybe-clean-fileutils clean-fileutils
8608 maybe-clean-fileutils:
8609 @if fileutils
8610 maybe-clean-fileutils: clean-fileutils
8612 clean-fileutils:
8613 @[ -f ./fileutils/Makefile ] || exit 0; \
8614 r=`${PWD_COMMAND}`; export r; \
8615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8616 $(HOST_EXPORTS) \
8617 for flag in $(EXTRA_HOST_FLAGS) ; do \
8618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8619 done; \
8620 echo "Doing clean in fileutils" ; \
8621 (cd $(HOST_SUBDIR)/fileutils && \
8622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8624 "RANLIB=$${RANLIB}" \
8625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8626 clean) \
8627 || exit 1
8629 @endif fileutils
8631 .PHONY: maybe-distclean-fileutils distclean-fileutils
8632 maybe-distclean-fileutils:
8633 @if fileutils
8634 maybe-distclean-fileutils: distclean-fileutils
8636 distclean-fileutils:
8637 @[ -f ./fileutils/Makefile ] || exit 0; \
8638 r=`${PWD_COMMAND}`; export r; \
8639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8640 $(HOST_EXPORTS) \
8641 for flag in $(EXTRA_HOST_FLAGS) ; do \
8642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8643 done; \
8644 echo "Doing distclean in fileutils" ; \
8645 (cd $(HOST_SUBDIR)/fileutils && \
8646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8648 "RANLIB=$${RANLIB}" \
8649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8650 distclean) \
8651 || exit 1
8653 @endif fileutils
8655 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
8656 maybe-maintainer-clean-fileutils:
8657 @if fileutils
8658 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
8660 maintainer-clean-fileutils:
8661 @[ -f ./fileutils/Makefile ] || exit 0; \
8662 r=`${PWD_COMMAND}`; export r; \
8663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8664 $(HOST_EXPORTS) \
8665 for flag in $(EXTRA_HOST_FLAGS) ; do \
8666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8667 done; \
8668 echo "Doing maintainer-clean in fileutils" ; \
8669 (cd $(HOST_SUBDIR)/fileutils && \
8670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8672 "RANLIB=$${RANLIB}" \
8673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8674 maintainer-clean) \
8675 || exit 1
8677 @endif fileutils
8681 .PHONY: configure-findutils maybe-configure-findutils
8682 maybe-configure-findutils:
8683 @if findutils
8684 maybe-configure-findutils: configure-findutils
8685 configure-findutils:
8686 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
8687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
8688 r=`${PWD_COMMAND}`; export r; \
8689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8690 $(HOST_EXPORTS) \
8691 echo Configuring in $(HOST_SUBDIR)/findutils; \
8692 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
8693 case $(srcdir) in \
8694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8695 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
8696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8697 esac; \
8698 srcdiroption="--srcdir=$${topdir}/findutils"; \
8699 libsrcdir="$$s/findutils"; \
8700 $(SHELL) $${libsrcdir}/configure \
8701 $(HOST_CONFIGARGS) $${srcdiroption} \
8702 || exit 1
8703 @endif findutils
8709 .PHONY: all-findutils maybe-all-findutils
8710 maybe-all-findutils:
8711 @if findutils
8712 TARGET-findutils=all
8713 maybe-all-findutils: all-findutils
8714 all-findutils: configure-findutils
8715 @r=`${PWD_COMMAND}`; export r; \
8716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8717 $(HOST_EXPORTS) \
8718 (cd $(HOST_SUBDIR)/findutils && \
8719 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
8720 @endif findutils
8725 .PHONY: check-findutils maybe-check-findutils
8726 maybe-check-findutils:
8727 @if findutils
8728 maybe-check-findutils: check-findutils
8730 check-findutils:
8731 @r=`${PWD_COMMAND}`; export r; \
8732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8733 $(HOST_EXPORTS) \
8734 (cd $(HOST_SUBDIR)/findutils && \
8735 $(MAKE) $(FLAGS_TO_PASS) check)
8737 @endif findutils
8739 .PHONY: install-findutils maybe-install-findutils
8740 maybe-install-findutils:
8741 @if findutils
8742 maybe-install-findutils: install-findutils
8744 install-findutils: installdirs
8745 @r=`${PWD_COMMAND}`; export r; \
8746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8747 $(HOST_EXPORTS) \
8748 (cd $(HOST_SUBDIR)/findutils && \
8749 $(MAKE) $(FLAGS_TO_PASS) install)
8751 @endif findutils
8753 # Other targets (info, dvi, etc.)
8755 .PHONY: maybe-info-findutils info-findutils
8756 maybe-info-findutils:
8757 @if findutils
8758 maybe-info-findutils: info-findutils
8760 info-findutils: \
8761 configure-findutils
8762 @[ -f ./findutils/Makefile ] || exit 0; \
8763 r=`${PWD_COMMAND}`; export r; \
8764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8765 $(HOST_EXPORTS) \
8766 for flag in $(EXTRA_HOST_FLAGS) ; do \
8767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8768 done; \
8769 echo "Doing info in findutils" ; \
8770 (cd $(HOST_SUBDIR)/findutils && \
8771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8773 "RANLIB=$${RANLIB}" \
8774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8775 info) \
8776 || exit 1
8778 @endif findutils
8780 .PHONY: maybe-dvi-findutils dvi-findutils
8781 maybe-dvi-findutils:
8782 @if findutils
8783 maybe-dvi-findutils: dvi-findutils
8785 dvi-findutils: \
8786 configure-findutils
8787 @[ -f ./findutils/Makefile ] || exit 0; \
8788 r=`${PWD_COMMAND}`; export r; \
8789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8790 $(HOST_EXPORTS) \
8791 for flag in $(EXTRA_HOST_FLAGS) ; do \
8792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8793 done; \
8794 echo "Doing dvi in findutils" ; \
8795 (cd $(HOST_SUBDIR)/findutils && \
8796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8798 "RANLIB=$${RANLIB}" \
8799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8800 dvi) \
8801 || exit 1
8803 @endif findutils
8805 .PHONY: maybe-html-findutils html-findutils
8806 maybe-html-findutils:
8807 @if findutils
8808 maybe-html-findutils: html-findutils
8810 html-findutils: \
8811 configure-findutils
8812 @[ -f ./findutils/Makefile ] || exit 0; \
8813 r=`${PWD_COMMAND}`; export r; \
8814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8815 $(HOST_EXPORTS) \
8816 for flag in $(EXTRA_HOST_FLAGS) ; do \
8817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8818 done; \
8819 echo "Doing html in findutils" ; \
8820 (cd $(HOST_SUBDIR)/findutils && \
8821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8823 "RANLIB=$${RANLIB}" \
8824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8825 html) \
8826 || exit 1
8828 @endif findutils
8830 .PHONY: maybe-TAGS-findutils TAGS-findutils
8831 maybe-TAGS-findutils:
8832 @if findutils
8833 maybe-TAGS-findutils: TAGS-findutils
8835 TAGS-findutils: \
8836 configure-findutils
8837 @[ -f ./findutils/Makefile ] || exit 0; \
8838 r=`${PWD_COMMAND}`; export r; \
8839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8840 $(HOST_EXPORTS) \
8841 for flag in $(EXTRA_HOST_FLAGS) ; do \
8842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8843 done; \
8844 echo "Doing TAGS in findutils" ; \
8845 (cd $(HOST_SUBDIR)/findutils && \
8846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8848 "RANLIB=$${RANLIB}" \
8849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8850 TAGS) \
8851 || exit 1
8853 @endif findutils
8855 .PHONY: maybe-install-info-findutils install-info-findutils
8856 maybe-install-info-findutils:
8857 @if findutils
8858 maybe-install-info-findutils: install-info-findutils
8860 install-info-findutils: \
8861 configure-findutils \
8862 info-findutils
8863 @[ -f ./findutils/Makefile ] || exit 0; \
8864 r=`${PWD_COMMAND}`; export r; \
8865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8866 $(HOST_EXPORTS) \
8867 for flag in $(EXTRA_HOST_FLAGS) ; do \
8868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8869 done; \
8870 echo "Doing install-info in findutils" ; \
8871 (cd $(HOST_SUBDIR)/findutils && \
8872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8874 "RANLIB=$${RANLIB}" \
8875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8876 install-info) \
8877 || exit 1
8879 @endif findutils
8881 .PHONY: maybe-installcheck-findutils installcheck-findutils
8882 maybe-installcheck-findutils:
8883 @if findutils
8884 maybe-installcheck-findutils: installcheck-findutils
8886 installcheck-findutils: \
8887 configure-findutils
8888 @[ -f ./findutils/Makefile ] || exit 0; \
8889 r=`${PWD_COMMAND}`; export r; \
8890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8891 $(HOST_EXPORTS) \
8892 for flag in $(EXTRA_HOST_FLAGS) ; do \
8893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8894 done; \
8895 echo "Doing installcheck in findutils" ; \
8896 (cd $(HOST_SUBDIR)/findutils && \
8897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8899 "RANLIB=$${RANLIB}" \
8900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8901 installcheck) \
8902 || exit 1
8904 @endif findutils
8906 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
8907 maybe-mostlyclean-findutils:
8908 @if findutils
8909 maybe-mostlyclean-findutils: mostlyclean-findutils
8911 mostlyclean-findutils:
8912 @[ -f ./findutils/Makefile ] || exit 0; \
8913 r=`${PWD_COMMAND}`; export r; \
8914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8915 $(HOST_EXPORTS) \
8916 for flag in $(EXTRA_HOST_FLAGS) ; do \
8917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8918 done; \
8919 echo "Doing mostlyclean in findutils" ; \
8920 (cd $(HOST_SUBDIR)/findutils && \
8921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8923 "RANLIB=$${RANLIB}" \
8924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8925 mostlyclean) \
8926 || exit 1
8928 @endif findutils
8930 .PHONY: maybe-clean-findutils clean-findutils
8931 maybe-clean-findutils:
8932 @if findutils
8933 maybe-clean-findutils: clean-findutils
8935 clean-findutils:
8936 @[ -f ./findutils/Makefile ] || exit 0; \
8937 r=`${PWD_COMMAND}`; export r; \
8938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8939 $(HOST_EXPORTS) \
8940 for flag in $(EXTRA_HOST_FLAGS) ; do \
8941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8942 done; \
8943 echo "Doing clean in findutils" ; \
8944 (cd $(HOST_SUBDIR)/findutils && \
8945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8947 "RANLIB=$${RANLIB}" \
8948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8949 clean) \
8950 || exit 1
8952 @endif findutils
8954 .PHONY: maybe-distclean-findutils distclean-findutils
8955 maybe-distclean-findutils:
8956 @if findutils
8957 maybe-distclean-findutils: distclean-findutils
8959 distclean-findutils:
8960 @[ -f ./findutils/Makefile ] || exit 0; \
8961 r=`${PWD_COMMAND}`; export r; \
8962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8963 $(HOST_EXPORTS) \
8964 for flag in $(EXTRA_HOST_FLAGS) ; do \
8965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8966 done; \
8967 echo "Doing distclean in findutils" ; \
8968 (cd $(HOST_SUBDIR)/findutils && \
8969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8971 "RANLIB=$${RANLIB}" \
8972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8973 distclean) \
8974 || exit 1
8976 @endif findutils
8978 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
8979 maybe-maintainer-clean-findutils:
8980 @if findutils
8981 maybe-maintainer-clean-findutils: maintainer-clean-findutils
8983 maintainer-clean-findutils:
8984 @[ -f ./findutils/Makefile ] || exit 0; \
8985 r=`${PWD_COMMAND}`; export r; \
8986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8987 $(HOST_EXPORTS) \
8988 for flag in $(EXTRA_HOST_FLAGS) ; do \
8989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8990 done; \
8991 echo "Doing maintainer-clean in findutils" ; \
8992 (cd $(HOST_SUBDIR)/findutils && \
8993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8995 "RANLIB=$${RANLIB}" \
8996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8997 maintainer-clean) \
8998 || exit 1
9000 @endif findutils
9004 .PHONY: configure-find maybe-configure-find
9005 maybe-configure-find:
9006 @if find
9007 maybe-configure-find: configure-find
9008 configure-find:
9009 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9010 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9011 r=`${PWD_COMMAND}`; export r; \
9012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9013 $(HOST_EXPORTS) \
9014 echo Configuring in $(HOST_SUBDIR)/find; \
9015 cd "$(HOST_SUBDIR)/find" || exit 1; \
9016 case $(srcdir) in \
9017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9018 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9020 esac; \
9021 srcdiroption="--srcdir=$${topdir}/find"; \
9022 libsrcdir="$$s/find"; \
9023 $(SHELL) $${libsrcdir}/configure \
9024 $(HOST_CONFIGARGS) $${srcdiroption} \
9025 || exit 1
9026 @endif find
9032 .PHONY: all-find maybe-all-find
9033 maybe-all-find:
9034 @if find
9035 TARGET-find=all
9036 maybe-all-find: all-find
9037 all-find: configure-find
9038 @r=`${PWD_COMMAND}`; export r; \
9039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9040 $(HOST_EXPORTS) \
9041 (cd $(HOST_SUBDIR)/find && \
9042 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9043 @endif find
9048 .PHONY: check-find maybe-check-find
9049 maybe-check-find:
9050 @if find
9051 maybe-check-find: check-find
9053 check-find:
9054 @r=`${PWD_COMMAND}`; export r; \
9055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9056 $(HOST_EXPORTS) \
9057 (cd $(HOST_SUBDIR)/find && \
9058 $(MAKE) $(FLAGS_TO_PASS) check)
9060 @endif find
9062 .PHONY: install-find maybe-install-find
9063 maybe-install-find:
9064 @if find
9065 maybe-install-find: install-find
9067 install-find: installdirs
9068 @r=`${PWD_COMMAND}`; export r; \
9069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9070 $(HOST_EXPORTS) \
9071 (cd $(HOST_SUBDIR)/find && \
9072 $(MAKE) $(FLAGS_TO_PASS) install)
9074 @endif find
9076 # Other targets (info, dvi, etc.)
9078 .PHONY: maybe-info-find info-find
9079 maybe-info-find:
9080 @if find
9081 maybe-info-find: info-find
9083 info-find: \
9084 configure-find
9085 @[ -f ./find/Makefile ] || exit 0; \
9086 r=`${PWD_COMMAND}`; export r; \
9087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9088 $(HOST_EXPORTS) \
9089 for flag in $(EXTRA_HOST_FLAGS) ; do \
9090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9091 done; \
9092 echo "Doing info in find" ; \
9093 (cd $(HOST_SUBDIR)/find && \
9094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9096 "RANLIB=$${RANLIB}" \
9097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9098 info) \
9099 || exit 1
9101 @endif find
9103 .PHONY: maybe-dvi-find dvi-find
9104 maybe-dvi-find:
9105 @if find
9106 maybe-dvi-find: dvi-find
9108 dvi-find: \
9109 configure-find
9110 @[ -f ./find/Makefile ] || exit 0; \
9111 r=`${PWD_COMMAND}`; export r; \
9112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9113 $(HOST_EXPORTS) \
9114 for flag in $(EXTRA_HOST_FLAGS) ; do \
9115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9116 done; \
9117 echo "Doing dvi in find" ; \
9118 (cd $(HOST_SUBDIR)/find && \
9119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9121 "RANLIB=$${RANLIB}" \
9122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9123 dvi) \
9124 || exit 1
9126 @endif find
9128 .PHONY: maybe-html-find html-find
9129 maybe-html-find:
9130 @if find
9131 maybe-html-find: html-find
9133 html-find: \
9134 configure-find
9135 @[ -f ./find/Makefile ] || exit 0; \
9136 r=`${PWD_COMMAND}`; export r; \
9137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9138 $(HOST_EXPORTS) \
9139 for flag in $(EXTRA_HOST_FLAGS) ; do \
9140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9141 done; \
9142 echo "Doing html in find" ; \
9143 (cd $(HOST_SUBDIR)/find && \
9144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9146 "RANLIB=$${RANLIB}" \
9147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9148 html) \
9149 || exit 1
9151 @endif find
9153 .PHONY: maybe-TAGS-find TAGS-find
9154 maybe-TAGS-find:
9155 @if find
9156 maybe-TAGS-find: TAGS-find
9158 TAGS-find: \
9159 configure-find
9160 @[ -f ./find/Makefile ] || exit 0; \
9161 r=`${PWD_COMMAND}`; export r; \
9162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9163 $(HOST_EXPORTS) \
9164 for flag in $(EXTRA_HOST_FLAGS) ; do \
9165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9166 done; \
9167 echo "Doing TAGS in find" ; \
9168 (cd $(HOST_SUBDIR)/find && \
9169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9171 "RANLIB=$${RANLIB}" \
9172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9173 TAGS) \
9174 || exit 1
9176 @endif find
9178 .PHONY: maybe-install-info-find install-info-find
9179 maybe-install-info-find:
9180 @if find
9181 maybe-install-info-find: install-info-find
9183 install-info-find: \
9184 configure-find \
9185 info-find
9186 @[ -f ./find/Makefile ] || exit 0; \
9187 r=`${PWD_COMMAND}`; export r; \
9188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9189 $(HOST_EXPORTS) \
9190 for flag in $(EXTRA_HOST_FLAGS) ; do \
9191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9192 done; \
9193 echo "Doing install-info in find" ; \
9194 (cd $(HOST_SUBDIR)/find && \
9195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9197 "RANLIB=$${RANLIB}" \
9198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9199 install-info) \
9200 || exit 1
9202 @endif find
9204 .PHONY: maybe-installcheck-find installcheck-find
9205 maybe-installcheck-find:
9206 @if find
9207 maybe-installcheck-find: installcheck-find
9209 installcheck-find: \
9210 configure-find
9211 @[ -f ./find/Makefile ] || exit 0; \
9212 r=`${PWD_COMMAND}`; export r; \
9213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9214 $(HOST_EXPORTS) \
9215 for flag in $(EXTRA_HOST_FLAGS) ; do \
9216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9217 done; \
9218 echo "Doing installcheck in find" ; \
9219 (cd $(HOST_SUBDIR)/find && \
9220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9222 "RANLIB=$${RANLIB}" \
9223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9224 installcheck) \
9225 || exit 1
9227 @endif find
9229 .PHONY: maybe-mostlyclean-find mostlyclean-find
9230 maybe-mostlyclean-find:
9231 @if find
9232 maybe-mostlyclean-find: mostlyclean-find
9234 mostlyclean-find:
9235 @[ -f ./find/Makefile ] || exit 0; \
9236 r=`${PWD_COMMAND}`; export r; \
9237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9238 $(HOST_EXPORTS) \
9239 for flag in $(EXTRA_HOST_FLAGS) ; do \
9240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9241 done; \
9242 echo "Doing mostlyclean in find" ; \
9243 (cd $(HOST_SUBDIR)/find && \
9244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9246 "RANLIB=$${RANLIB}" \
9247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9248 mostlyclean) \
9249 || exit 1
9251 @endif find
9253 .PHONY: maybe-clean-find clean-find
9254 maybe-clean-find:
9255 @if find
9256 maybe-clean-find: clean-find
9258 clean-find:
9259 @[ -f ./find/Makefile ] || exit 0; \
9260 r=`${PWD_COMMAND}`; export r; \
9261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9262 $(HOST_EXPORTS) \
9263 for flag in $(EXTRA_HOST_FLAGS) ; do \
9264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9265 done; \
9266 echo "Doing clean in find" ; \
9267 (cd $(HOST_SUBDIR)/find && \
9268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9270 "RANLIB=$${RANLIB}" \
9271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9272 clean) \
9273 || exit 1
9275 @endif find
9277 .PHONY: maybe-distclean-find distclean-find
9278 maybe-distclean-find:
9279 @if find
9280 maybe-distclean-find: distclean-find
9282 distclean-find:
9283 @[ -f ./find/Makefile ] || exit 0; \
9284 r=`${PWD_COMMAND}`; export r; \
9285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9286 $(HOST_EXPORTS) \
9287 for flag in $(EXTRA_HOST_FLAGS) ; do \
9288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9289 done; \
9290 echo "Doing distclean in find" ; \
9291 (cd $(HOST_SUBDIR)/find && \
9292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9294 "RANLIB=$${RANLIB}" \
9295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9296 distclean) \
9297 || exit 1
9299 @endif find
9301 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9302 maybe-maintainer-clean-find:
9303 @if find
9304 maybe-maintainer-clean-find: maintainer-clean-find
9306 maintainer-clean-find:
9307 @[ -f ./find/Makefile ] || exit 0; \
9308 r=`${PWD_COMMAND}`; export r; \
9309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9310 $(HOST_EXPORTS) \
9311 for flag in $(EXTRA_HOST_FLAGS) ; do \
9312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9313 done; \
9314 echo "Doing maintainer-clean in find" ; \
9315 (cd $(HOST_SUBDIR)/find && \
9316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9318 "RANLIB=$${RANLIB}" \
9319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9320 maintainer-clean) \
9321 || exit 1
9323 @endif find
9327 .PHONY: configure-fixincludes maybe-configure-fixincludes
9328 maybe-configure-fixincludes:
9329 @if fixincludes
9330 maybe-configure-fixincludes: configure-fixincludes
9331 configure-fixincludes:
9332 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9333 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9334 r=`${PWD_COMMAND}`; export r; \
9335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9336 $(HOST_EXPORTS) \
9337 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9338 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9339 case $(srcdir) in \
9340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9341 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9343 esac; \
9344 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9345 libsrcdir="$$s/fixincludes"; \
9346 $(SHELL) $${libsrcdir}/configure \
9347 $(HOST_CONFIGARGS) $${srcdiroption} \
9348 || exit 1
9349 @endif fixincludes
9355 .PHONY: all-fixincludes maybe-all-fixincludes
9356 maybe-all-fixincludes:
9357 @if fixincludes
9358 TARGET-fixincludes=all
9359 maybe-all-fixincludes: all-fixincludes
9360 all-fixincludes: configure-fixincludes
9361 @r=`${PWD_COMMAND}`; export r; \
9362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9363 $(HOST_EXPORTS) \
9364 (cd $(HOST_SUBDIR)/fixincludes && \
9365 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9366 @endif fixincludes
9371 .PHONY: check-fixincludes maybe-check-fixincludes
9372 maybe-check-fixincludes:
9373 @if fixincludes
9374 maybe-check-fixincludes: check-fixincludes
9376 check-fixincludes:
9377 @r=`${PWD_COMMAND}`; export r; \
9378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9379 $(HOST_EXPORTS) \
9380 (cd $(HOST_SUBDIR)/fixincludes && \
9381 $(MAKE) $(FLAGS_TO_PASS) check)
9383 @endif fixincludes
9385 .PHONY: install-fixincludes maybe-install-fixincludes
9386 maybe-install-fixincludes:
9387 @if fixincludes
9388 maybe-install-fixincludes: install-fixincludes
9390 install-fixincludes: installdirs
9391 @r=`${PWD_COMMAND}`; export r; \
9392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9393 $(HOST_EXPORTS) \
9394 (cd $(HOST_SUBDIR)/fixincludes && \
9395 $(MAKE) $(FLAGS_TO_PASS) install)
9397 @endif fixincludes
9399 # Other targets (info, dvi, etc.)
9401 .PHONY: maybe-info-fixincludes info-fixincludes
9402 maybe-info-fixincludes:
9403 @if fixincludes
9404 maybe-info-fixincludes: info-fixincludes
9406 # fixincludes doesn't support info.
9407 info-fixincludes:
9409 @endif fixincludes
9411 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9412 maybe-dvi-fixincludes:
9413 @if fixincludes
9414 maybe-dvi-fixincludes: dvi-fixincludes
9416 # fixincludes doesn't support dvi.
9417 dvi-fixincludes:
9419 @endif fixincludes
9421 .PHONY: maybe-html-fixincludes html-fixincludes
9422 maybe-html-fixincludes:
9423 @if fixincludes
9424 maybe-html-fixincludes: html-fixincludes
9426 html-fixincludes: \
9427 configure-fixincludes
9428 @[ -f ./fixincludes/Makefile ] || exit 0; \
9429 r=`${PWD_COMMAND}`; export r; \
9430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9431 $(HOST_EXPORTS) \
9432 for flag in $(EXTRA_HOST_FLAGS) ; do \
9433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9434 done; \
9435 echo "Doing html in fixincludes" ; \
9436 (cd $(HOST_SUBDIR)/fixincludes && \
9437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9439 "RANLIB=$${RANLIB}" \
9440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9441 html) \
9442 || exit 1
9444 @endif fixincludes
9446 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9447 maybe-TAGS-fixincludes:
9448 @if fixincludes
9449 maybe-TAGS-fixincludes: TAGS-fixincludes
9451 # fixincludes doesn't support TAGS.
9452 TAGS-fixincludes:
9454 @endif fixincludes
9456 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9457 maybe-install-info-fixincludes:
9458 @if fixincludes
9459 maybe-install-info-fixincludes: install-info-fixincludes
9461 # fixincludes doesn't support install-info.
9462 install-info-fixincludes:
9464 @endif fixincludes
9466 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9467 maybe-installcheck-fixincludes:
9468 @if fixincludes
9469 maybe-installcheck-fixincludes: installcheck-fixincludes
9471 # fixincludes doesn't support installcheck.
9472 installcheck-fixincludes:
9474 @endif fixincludes
9476 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9477 maybe-mostlyclean-fixincludes:
9478 @if fixincludes
9479 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9481 mostlyclean-fixincludes:
9482 @[ -f ./fixincludes/Makefile ] || exit 0; \
9483 r=`${PWD_COMMAND}`; export r; \
9484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9485 $(HOST_EXPORTS) \
9486 for flag in $(EXTRA_HOST_FLAGS) ; do \
9487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9488 done; \
9489 echo "Doing mostlyclean in fixincludes" ; \
9490 (cd $(HOST_SUBDIR)/fixincludes && \
9491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9493 "RANLIB=$${RANLIB}" \
9494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9495 mostlyclean) \
9496 || exit 1
9498 @endif fixincludes
9500 .PHONY: maybe-clean-fixincludes clean-fixincludes
9501 maybe-clean-fixincludes:
9502 @if fixincludes
9503 maybe-clean-fixincludes: clean-fixincludes
9505 clean-fixincludes:
9506 @[ -f ./fixincludes/Makefile ] || exit 0; \
9507 r=`${PWD_COMMAND}`; export r; \
9508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9509 $(HOST_EXPORTS) \
9510 for flag in $(EXTRA_HOST_FLAGS) ; do \
9511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9512 done; \
9513 echo "Doing clean in fixincludes" ; \
9514 (cd $(HOST_SUBDIR)/fixincludes && \
9515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9517 "RANLIB=$${RANLIB}" \
9518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9519 clean) \
9520 || exit 1
9522 @endif fixincludes
9524 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9525 maybe-distclean-fixincludes:
9526 @if fixincludes
9527 maybe-distclean-fixincludes: distclean-fixincludes
9529 distclean-fixincludes:
9530 @[ -f ./fixincludes/Makefile ] || exit 0; \
9531 r=`${PWD_COMMAND}`; export r; \
9532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9533 $(HOST_EXPORTS) \
9534 for flag in $(EXTRA_HOST_FLAGS) ; do \
9535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9536 done; \
9537 echo "Doing distclean in fixincludes" ; \
9538 (cd $(HOST_SUBDIR)/fixincludes && \
9539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9541 "RANLIB=$${RANLIB}" \
9542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9543 distclean) \
9544 || exit 1
9546 @endif fixincludes
9548 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9549 maybe-maintainer-clean-fixincludes:
9550 @if fixincludes
9551 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9553 maintainer-clean-fixincludes:
9554 @[ -f ./fixincludes/Makefile ] || exit 0; \
9555 r=`${PWD_COMMAND}`; export r; \
9556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9557 $(HOST_EXPORTS) \
9558 for flag in $(EXTRA_HOST_FLAGS) ; do \
9559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9560 done; \
9561 echo "Doing maintainer-clean in fixincludes" ; \
9562 (cd $(HOST_SUBDIR)/fixincludes && \
9563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9565 "RANLIB=$${RANLIB}" \
9566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9567 maintainer-clean) \
9568 || exit 1
9570 @endif fixincludes
9574 .PHONY: configure-flex maybe-configure-flex
9575 maybe-configure-flex:
9576 @if flex
9577 maybe-configure-flex: configure-flex
9578 configure-flex:
9579 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
9581 r=`${PWD_COMMAND}`; export r; \
9582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9583 $(HOST_EXPORTS) \
9584 echo Configuring in $(HOST_SUBDIR)/flex; \
9585 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9586 case $(srcdir) in \
9587 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9588 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9589 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9590 esac; \
9591 srcdiroption="--srcdir=$${topdir}/flex"; \
9592 libsrcdir="$$s/flex"; \
9593 $(SHELL) $${libsrcdir}/configure \
9594 $(HOST_CONFIGARGS) $${srcdiroption} \
9595 || exit 1
9596 @endif flex
9602 .PHONY: all-flex maybe-all-flex
9603 maybe-all-flex:
9604 @if flex
9605 TARGET-flex=all
9606 maybe-all-flex: all-flex
9607 all-flex: configure-flex
9608 @r=`${PWD_COMMAND}`; export r; \
9609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9610 $(HOST_EXPORTS) \
9611 (cd $(HOST_SUBDIR)/flex && \
9612 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
9613 @endif flex
9618 .PHONY: check-flex maybe-check-flex
9619 maybe-check-flex:
9620 @if flex
9621 maybe-check-flex: check-flex
9623 # This module is only tested in a native toolchain.
9624 check-flex:
9625 @if [ '$(host)' = '$(target)' ] ; then \
9626 r=`${PWD_COMMAND}`; export r; \
9627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9628 $(HOST_EXPORTS) \
9629 (cd $(HOST_SUBDIR)/flex && \
9630 $(MAKE) $(FLAGS_TO_PASS) check); \
9633 @endif flex
9635 .PHONY: install-flex maybe-install-flex
9636 maybe-install-flex:
9637 @if flex
9638 maybe-install-flex: install-flex
9640 install-flex: installdirs
9641 @r=`${PWD_COMMAND}`; export r; \
9642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9643 $(HOST_EXPORTS) \
9644 (cd $(HOST_SUBDIR)/flex && \
9645 $(MAKE) $(FLAGS_TO_PASS) install)
9647 @endif flex
9649 # Other targets (info, dvi, etc.)
9651 .PHONY: maybe-info-flex info-flex
9652 maybe-info-flex:
9653 @if flex
9654 maybe-info-flex: info-flex
9656 info-flex: \
9657 configure-flex
9658 @[ -f ./flex/Makefile ] || exit 0; \
9659 r=`${PWD_COMMAND}`; export r; \
9660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9661 $(HOST_EXPORTS) \
9662 for flag in $(EXTRA_HOST_FLAGS) ; do \
9663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9664 done; \
9665 echo "Doing info in flex" ; \
9666 (cd $(HOST_SUBDIR)/flex && \
9667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9669 "RANLIB=$${RANLIB}" \
9670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9671 info) \
9672 || exit 1
9674 @endif flex
9676 .PHONY: maybe-dvi-flex dvi-flex
9677 maybe-dvi-flex:
9678 @if flex
9679 maybe-dvi-flex: dvi-flex
9681 dvi-flex: \
9682 configure-flex
9683 @[ -f ./flex/Makefile ] || exit 0; \
9684 r=`${PWD_COMMAND}`; export r; \
9685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9686 $(HOST_EXPORTS) \
9687 for flag in $(EXTRA_HOST_FLAGS) ; do \
9688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9689 done; \
9690 echo "Doing dvi in flex" ; \
9691 (cd $(HOST_SUBDIR)/flex && \
9692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9694 "RANLIB=$${RANLIB}" \
9695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9696 dvi) \
9697 || exit 1
9699 @endif flex
9701 .PHONY: maybe-html-flex html-flex
9702 maybe-html-flex:
9703 @if flex
9704 maybe-html-flex: html-flex
9706 html-flex: \
9707 configure-flex
9708 @[ -f ./flex/Makefile ] || exit 0; \
9709 r=`${PWD_COMMAND}`; export r; \
9710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9711 $(HOST_EXPORTS) \
9712 for flag in $(EXTRA_HOST_FLAGS) ; do \
9713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9714 done; \
9715 echo "Doing html in flex" ; \
9716 (cd $(HOST_SUBDIR)/flex && \
9717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9719 "RANLIB=$${RANLIB}" \
9720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9721 html) \
9722 || exit 1
9724 @endif flex
9726 .PHONY: maybe-TAGS-flex TAGS-flex
9727 maybe-TAGS-flex:
9728 @if flex
9729 maybe-TAGS-flex: TAGS-flex
9731 TAGS-flex: \
9732 configure-flex
9733 @[ -f ./flex/Makefile ] || exit 0; \
9734 r=`${PWD_COMMAND}`; export r; \
9735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9736 $(HOST_EXPORTS) \
9737 for flag in $(EXTRA_HOST_FLAGS) ; do \
9738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9739 done; \
9740 echo "Doing TAGS in flex" ; \
9741 (cd $(HOST_SUBDIR)/flex && \
9742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9744 "RANLIB=$${RANLIB}" \
9745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9746 TAGS) \
9747 || exit 1
9749 @endif flex
9751 .PHONY: maybe-install-info-flex install-info-flex
9752 maybe-install-info-flex:
9753 @if flex
9754 maybe-install-info-flex: install-info-flex
9756 install-info-flex: \
9757 configure-flex \
9758 info-flex
9759 @[ -f ./flex/Makefile ] || exit 0; \
9760 r=`${PWD_COMMAND}`; export r; \
9761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9762 $(HOST_EXPORTS) \
9763 for flag in $(EXTRA_HOST_FLAGS) ; do \
9764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9765 done; \
9766 echo "Doing install-info in flex" ; \
9767 (cd $(HOST_SUBDIR)/flex && \
9768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9770 "RANLIB=$${RANLIB}" \
9771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9772 install-info) \
9773 || exit 1
9775 @endif flex
9777 .PHONY: maybe-installcheck-flex installcheck-flex
9778 maybe-installcheck-flex:
9779 @if flex
9780 maybe-installcheck-flex: installcheck-flex
9782 installcheck-flex: \
9783 configure-flex
9784 @[ -f ./flex/Makefile ] || exit 0; \
9785 r=`${PWD_COMMAND}`; export r; \
9786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9787 $(HOST_EXPORTS) \
9788 for flag in $(EXTRA_HOST_FLAGS) ; do \
9789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9790 done; \
9791 echo "Doing installcheck in flex" ; \
9792 (cd $(HOST_SUBDIR)/flex && \
9793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9795 "RANLIB=$${RANLIB}" \
9796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9797 installcheck) \
9798 || exit 1
9800 @endif flex
9802 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9803 maybe-mostlyclean-flex:
9804 @if flex
9805 maybe-mostlyclean-flex: mostlyclean-flex
9807 mostlyclean-flex:
9808 @[ -f ./flex/Makefile ] || exit 0; \
9809 r=`${PWD_COMMAND}`; export r; \
9810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9811 $(HOST_EXPORTS) \
9812 for flag in $(EXTRA_HOST_FLAGS) ; do \
9813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9814 done; \
9815 echo "Doing mostlyclean in flex" ; \
9816 (cd $(HOST_SUBDIR)/flex && \
9817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9819 "RANLIB=$${RANLIB}" \
9820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9821 mostlyclean) \
9822 || exit 1
9824 @endif flex
9826 .PHONY: maybe-clean-flex clean-flex
9827 maybe-clean-flex:
9828 @if flex
9829 maybe-clean-flex: clean-flex
9831 clean-flex:
9832 @[ -f ./flex/Makefile ] || exit 0; \
9833 r=`${PWD_COMMAND}`; export r; \
9834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9835 $(HOST_EXPORTS) \
9836 for flag in $(EXTRA_HOST_FLAGS) ; do \
9837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9838 done; \
9839 echo "Doing clean in flex" ; \
9840 (cd $(HOST_SUBDIR)/flex && \
9841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9843 "RANLIB=$${RANLIB}" \
9844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9845 clean) \
9846 || exit 1
9848 @endif flex
9850 .PHONY: maybe-distclean-flex distclean-flex
9851 maybe-distclean-flex:
9852 @if flex
9853 maybe-distclean-flex: distclean-flex
9855 distclean-flex:
9856 @[ -f ./flex/Makefile ] || exit 0; \
9857 r=`${PWD_COMMAND}`; export r; \
9858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9859 $(HOST_EXPORTS) \
9860 for flag in $(EXTRA_HOST_FLAGS) ; do \
9861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9862 done; \
9863 echo "Doing distclean in flex" ; \
9864 (cd $(HOST_SUBDIR)/flex && \
9865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9867 "RANLIB=$${RANLIB}" \
9868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9869 distclean) \
9870 || exit 1
9872 @endif flex
9874 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9875 maybe-maintainer-clean-flex:
9876 @if flex
9877 maybe-maintainer-clean-flex: maintainer-clean-flex
9879 maintainer-clean-flex:
9880 @[ -f ./flex/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 maintainer-clean in flex" ; \
9888 (cd $(HOST_SUBDIR)/flex && \
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 maintainer-clean) \
9894 || exit 1
9896 @endif flex
9900 .PHONY: configure-gas maybe-configure-gas
9901 maybe-configure-gas:
9902 @if gas
9903 maybe-configure-gas: configure-gas
9904 configure-gas:
9905 @test -f stage_last && exit 0; \
9906 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9907 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9908 r=`${PWD_COMMAND}`; export r; \
9909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9910 $(HOST_EXPORTS) \
9911 echo Configuring in $(HOST_SUBDIR)/gas; \
9912 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9913 case $(srcdir) in \
9914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9915 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9917 esac; \
9918 srcdiroption="--srcdir=$${topdir}/gas"; \
9919 libsrcdir="$$s/gas"; \
9920 $(SHELL) $${libsrcdir}/configure \
9921 $(HOST_CONFIGARGS) $${srcdiroption} \
9922 || exit 1
9923 @endif gas
9927 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
9928 maybe-configure-stage1-gas:
9929 @if gas-bootstrap
9930 maybe-configure-stage1-gas: configure-stage1-gas
9931 configure-stage1-gas:
9932 @$(MAKE) stage1-start
9933 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
9934 r=`${PWD_COMMAND}`; export r; \
9935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9936 $(HOST_EXPORTS) \
9937 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
9938 cd $(HOST_SUBDIR)/gas || exit 1; \
9939 case $(srcdir) in \
9940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9941 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9943 esac; \
9944 srcdiroption="--srcdir=$${topdir}/gas"; \
9945 libsrcdir="$$s/gas"; \
9946 $(SHELL) $${libsrcdir}/configure \
9947 $(HOST_CONFIGARGS) $${srcdiroption} \
9948 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
9949 @endif gas-bootstrap
9951 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
9952 maybe-configure-stage2-gas:
9953 @if gas-bootstrap
9954 maybe-configure-stage2-gas: configure-stage2-gas
9955 configure-stage2-gas:
9956 @$(MAKE) stage2-start
9957 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
9958 r=`${PWD_COMMAND}`; export r; \
9959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9960 $(HOST_EXPORTS) \
9961 $(POSTSTAGE1_HOST_EXPORTS) \
9962 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
9963 cd $(HOST_SUBDIR)/gas || exit 1; \
9964 case $(srcdir) in \
9965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9966 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9968 esac; \
9969 srcdiroption="--srcdir=$${topdir}/gas"; \
9970 libsrcdir="$$s/gas"; \
9971 $(SHELL) $${libsrcdir}/configure \
9972 $(HOST_CONFIGARGS) $${srcdiroption} \
9973 @stage2_werror_flag@
9974 @endif gas-bootstrap
9976 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
9977 maybe-configure-stage3-gas:
9978 @if gas-bootstrap
9979 maybe-configure-stage3-gas: configure-stage3-gas
9980 configure-stage3-gas:
9981 @$(MAKE) stage3-start
9982 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
9983 r=`${PWD_COMMAND}`; export r; \
9984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9985 $(HOST_EXPORTS) \
9986 $(POSTSTAGE1_HOST_EXPORTS) \
9987 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
9988 cd $(HOST_SUBDIR)/gas || exit 1; \
9989 case $(srcdir) in \
9990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9991 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9993 esac; \
9994 srcdiroption="--srcdir=$${topdir}/gas"; \
9995 libsrcdir="$$s/gas"; \
9996 $(SHELL) $${libsrcdir}/configure \
9997 $(HOST_CONFIGARGS) $${srcdiroption} \
9998 @stage2_werror_flag@
9999 @endif gas-bootstrap
10001 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10002 maybe-configure-stage4-gas:
10003 @if gas-bootstrap
10004 maybe-configure-stage4-gas: configure-stage4-gas
10005 configure-stage4-gas:
10006 @$(MAKE) stage4-start
10007 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10008 r=`${PWD_COMMAND}`; export r; \
10009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10010 $(HOST_EXPORTS) \
10011 $(POSTSTAGE1_HOST_EXPORTS) \
10012 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10013 cd $(HOST_SUBDIR)/gas || exit 1; \
10014 case $(srcdir) in \
10015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10016 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10018 esac; \
10019 srcdiroption="--srcdir=$${topdir}/gas"; \
10020 libsrcdir="$$s/gas"; \
10021 $(SHELL) $${libsrcdir}/configure \
10022 $(HOST_CONFIGARGS) $${srcdiroption} \
10023 @stage2_werror_flag@
10024 @endif gas-bootstrap
10026 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10027 maybe-configure-stageprofile-gas:
10028 @if gas-bootstrap
10029 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10030 configure-stageprofile-gas:
10031 @$(MAKE) stageprofile-start
10032 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10033 r=`${PWD_COMMAND}`; export r; \
10034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10035 $(HOST_EXPORTS) \
10036 $(POSTSTAGE1_HOST_EXPORTS) \
10037 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10038 cd $(HOST_SUBDIR)/gas || exit 1; \
10039 case $(srcdir) in \
10040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10041 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10043 esac; \
10044 srcdiroption="--srcdir=$${topdir}/gas"; \
10045 libsrcdir="$$s/gas"; \
10046 $(SHELL) $${libsrcdir}/configure \
10047 $(HOST_CONFIGARGS) $${srcdiroption} \
10048 @stage2_werror_flag@
10049 @endif gas-bootstrap
10051 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10052 maybe-configure-stagefeedback-gas:
10053 @if gas-bootstrap
10054 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10055 configure-stagefeedback-gas:
10056 @$(MAKE) stagefeedback-start
10057 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10058 r=`${PWD_COMMAND}`; export r; \
10059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10060 $(HOST_EXPORTS) \
10061 $(POSTSTAGE1_HOST_EXPORTS) \
10062 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10063 cd $(HOST_SUBDIR)/gas || exit 1; \
10064 case $(srcdir) in \
10065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10066 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10068 esac; \
10069 srcdiroption="--srcdir=$${topdir}/gas"; \
10070 libsrcdir="$$s/gas"; \
10071 $(SHELL) $${libsrcdir}/configure \
10072 $(HOST_CONFIGARGS) $${srcdiroption} \
10073 @stage2_werror_flag@
10074 @endif gas-bootstrap
10080 .PHONY: all-gas maybe-all-gas
10081 maybe-all-gas:
10082 @if gas
10083 TARGET-gas=all
10084 maybe-all-gas: all-gas
10085 all-gas: configure-gas
10086 @test -f stage_last && exit 0; \
10087 r=`${PWD_COMMAND}`; export r; \
10088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10089 $(HOST_EXPORTS) \
10090 (cd $(HOST_SUBDIR)/gas && \
10091 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10092 @endif gas
10096 .PHONY: all-stage1-gas maybe-all-stage1-gas
10097 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10098 maybe-all-stage1-gas:
10099 maybe-clean-stage1-gas:
10100 @if gas-bootstrap
10101 maybe-all-stage1-gas: all-stage1-gas
10102 all-stage1: all-stage1-gas
10103 all-stage1-gas: configure-stage1-gas
10104 @$(MAKE) stage1-start
10105 @r=`${PWD_COMMAND}`; export r; \
10106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10107 $(HOST_EXPORTS) \
10108 cd $(HOST_SUBDIR)/gas && \
10109 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
10111 maybe-clean-stage1-gas: clean-stage1-gas
10112 clean-stage1: clean-stage1-gas
10113 clean-stage1-gas:
10114 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10115 || exit 0 ; \
10116 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage1-start ; \
10117 cd $(HOST_SUBDIR)/gas && \
10118 $(MAKE) $(FLAGS_TO_PASS) \
10119 CFLAGS="$(STAGE1_CFLAGS)" clean
10120 @endif gas-bootstrap
10123 .PHONY: all-stage2-gas maybe-all-stage2-gas
10124 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10125 maybe-all-stage2-gas:
10126 maybe-clean-stage2-gas:
10127 @if gas-bootstrap
10128 maybe-all-stage2-gas: all-stage2-gas
10129 all-stage2: all-stage2-gas
10130 all-stage2-gas: configure-stage2-gas
10131 @$(MAKE) stage2-start
10132 @r=`${PWD_COMMAND}`; export r; \
10133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10134 $(HOST_EXPORTS) \
10135 $(POSTSTAGE1_HOST_EXPORTS) \
10136 cd $(HOST_SUBDIR)/gas && \
10137 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
10139 maybe-clean-stage2-gas: clean-stage2-gas
10140 clean-stage2: clean-stage2-gas
10141 clean-stage2-gas:
10142 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10143 || exit 0 ; \
10144 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage2-start ; \
10145 cd $(HOST_SUBDIR)/gas && \
10146 $(MAKE) $(FLAGS_TO_PASS) \
10147 $(POSTSTAGE1_FLAGS_TO_PASS) \
10148 clean
10149 @endif gas-bootstrap
10152 .PHONY: all-stage3-gas maybe-all-stage3-gas
10153 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10154 maybe-all-stage3-gas:
10155 maybe-clean-stage3-gas:
10156 @if gas-bootstrap
10157 maybe-all-stage3-gas: all-stage3-gas
10158 all-stage3: all-stage3-gas
10159 all-stage3-gas: configure-stage3-gas
10160 @$(MAKE) stage3-start
10161 @r=`${PWD_COMMAND}`; export r; \
10162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10163 $(HOST_EXPORTS) \
10164 $(POSTSTAGE1_HOST_EXPORTS) \
10165 cd $(HOST_SUBDIR)/gas && \
10166 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
10168 maybe-clean-stage3-gas: clean-stage3-gas
10169 clean-stage3: clean-stage3-gas
10170 clean-stage3-gas:
10171 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10172 || exit 0 ; \
10173 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage3-start ; \
10174 cd $(HOST_SUBDIR)/gas && \
10175 $(MAKE) $(FLAGS_TO_PASS) \
10176 $(POSTSTAGE1_FLAGS_TO_PASS) \
10177 clean
10178 @endif gas-bootstrap
10181 .PHONY: all-stage4-gas maybe-all-stage4-gas
10182 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10183 maybe-all-stage4-gas:
10184 maybe-clean-stage4-gas:
10185 @if gas-bootstrap
10186 maybe-all-stage4-gas: all-stage4-gas
10187 all-stage4: all-stage4-gas
10188 all-stage4-gas: configure-stage4-gas
10189 @$(MAKE) stage4-start
10190 @r=`${PWD_COMMAND}`; export r; \
10191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10192 $(HOST_EXPORTS) \
10193 $(POSTSTAGE1_HOST_EXPORTS) \
10194 cd $(HOST_SUBDIR)/gas && \
10195 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
10197 maybe-clean-stage4-gas: clean-stage4-gas
10198 clean-stage4: clean-stage4-gas
10199 clean-stage4-gas:
10200 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10201 || exit 0 ; \
10202 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage4-start ; \
10203 cd $(HOST_SUBDIR)/gas && \
10204 $(MAKE) $(FLAGS_TO_PASS) \
10205 $(POSTSTAGE1_FLAGS_TO_PASS) \
10206 clean
10207 @endif gas-bootstrap
10210 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10211 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10212 maybe-all-stageprofile-gas:
10213 maybe-clean-stageprofile-gas:
10214 @if gas-bootstrap
10215 maybe-all-stageprofile-gas: all-stageprofile-gas
10216 all-stageprofile: all-stageprofile-gas
10217 all-stageprofile-gas: configure-stageprofile-gas
10218 @$(MAKE) stageprofile-start
10219 @r=`${PWD_COMMAND}`; export r; \
10220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10221 $(HOST_EXPORTS) \
10222 $(POSTSTAGE1_HOST_EXPORTS) \
10223 cd $(HOST_SUBDIR)/gas && \
10224 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
10226 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10227 clean-stageprofile: clean-stageprofile-gas
10228 clean-stageprofile-gas:
10229 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10230 || exit 0 ; \
10231 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stageprofile-start ; \
10232 cd $(HOST_SUBDIR)/gas && \
10233 $(MAKE) $(FLAGS_TO_PASS) \
10234 $(POSTSTAGE1_FLAGS_TO_PASS) \
10235 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10236 @endif gas-bootstrap
10239 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10240 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10241 maybe-all-stagefeedback-gas:
10242 maybe-clean-stagefeedback-gas:
10243 @if gas-bootstrap
10244 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10245 all-stagefeedback: all-stagefeedback-gas
10246 all-stagefeedback-gas: configure-stagefeedback-gas
10247 @$(MAKE) stagefeedback-start
10248 @r=`${PWD_COMMAND}`; export r; \
10249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10250 $(HOST_EXPORTS) \
10251 $(POSTSTAGE1_HOST_EXPORTS) \
10252 cd $(HOST_SUBDIR)/gas && \
10253 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
10255 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10256 clean-stagefeedback: clean-stagefeedback-gas
10257 clean-stagefeedback-gas:
10258 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10259 || exit 0 ; \
10260 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stagefeedback-start ; \
10261 cd $(HOST_SUBDIR)/gas && \
10262 $(MAKE) $(FLAGS_TO_PASS) \
10263 $(POSTSTAGE1_FLAGS_TO_PASS) \
10264 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10265 @endif gas-bootstrap
10271 .PHONY: check-gas maybe-check-gas
10272 maybe-check-gas:
10273 @if gas
10274 maybe-check-gas: check-gas
10276 check-gas:
10277 @r=`${PWD_COMMAND}`; export r; \
10278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10279 $(HOST_EXPORTS) \
10280 (cd $(HOST_SUBDIR)/gas && \
10281 $(MAKE) $(FLAGS_TO_PASS) check)
10283 @endif gas
10285 .PHONY: install-gas maybe-install-gas
10286 maybe-install-gas:
10287 @if gas
10288 maybe-install-gas: install-gas
10290 install-gas: installdirs
10291 @r=`${PWD_COMMAND}`; export r; \
10292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10293 $(HOST_EXPORTS) \
10294 (cd $(HOST_SUBDIR)/gas && \
10295 $(MAKE) $(FLAGS_TO_PASS) install)
10297 @endif gas
10299 # Other targets (info, dvi, etc.)
10301 .PHONY: maybe-info-gas info-gas
10302 maybe-info-gas:
10303 @if gas
10304 maybe-info-gas: info-gas
10306 info-gas: \
10307 configure-gas
10308 @[ -f ./gas/Makefile ] || exit 0; \
10309 r=`${PWD_COMMAND}`; export r; \
10310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10311 $(HOST_EXPORTS) \
10312 for flag in $(EXTRA_HOST_FLAGS) ; do \
10313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10314 done; \
10315 echo "Doing info in gas" ; \
10316 (cd $(HOST_SUBDIR)/gas && \
10317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10319 "RANLIB=$${RANLIB}" \
10320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10321 info) \
10322 || exit 1
10324 @endif gas
10326 .PHONY: maybe-dvi-gas dvi-gas
10327 maybe-dvi-gas:
10328 @if gas
10329 maybe-dvi-gas: dvi-gas
10331 dvi-gas: \
10332 configure-gas
10333 @[ -f ./gas/Makefile ] || exit 0; \
10334 r=`${PWD_COMMAND}`; export r; \
10335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10336 $(HOST_EXPORTS) \
10337 for flag in $(EXTRA_HOST_FLAGS) ; do \
10338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10339 done; \
10340 echo "Doing dvi in gas" ; \
10341 (cd $(HOST_SUBDIR)/gas && \
10342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10344 "RANLIB=$${RANLIB}" \
10345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10346 dvi) \
10347 || exit 1
10349 @endif gas
10351 .PHONY: maybe-html-gas html-gas
10352 maybe-html-gas:
10353 @if gas
10354 maybe-html-gas: html-gas
10356 html-gas: \
10357 configure-gas
10358 @[ -f ./gas/Makefile ] || exit 0; \
10359 r=`${PWD_COMMAND}`; export r; \
10360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10361 $(HOST_EXPORTS) \
10362 for flag in $(EXTRA_HOST_FLAGS) ; do \
10363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10364 done; \
10365 echo "Doing html in gas" ; \
10366 (cd $(HOST_SUBDIR)/gas && \
10367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10369 "RANLIB=$${RANLIB}" \
10370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10371 html) \
10372 || exit 1
10374 @endif gas
10376 .PHONY: maybe-TAGS-gas TAGS-gas
10377 maybe-TAGS-gas:
10378 @if gas
10379 maybe-TAGS-gas: TAGS-gas
10381 TAGS-gas: \
10382 configure-gas
10383 @[ -f ./gas/Makefile ] || exit 0; \
10384 r=`${PWD_COMMAND}`; export r; \
10385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10386 $(HOST_EXPORTS) \
10387 for flag in $(EXTRA_HOST_FLAGS) ; do \
10388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10389 done; \
10390 echo "Doing TAGS in gas" ; \
10391 (cd $(HOST_SUBDIR)/gas && \
10392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10394 "RANLIB=$${RANLIB}" \
10395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10396 TAGS) \
10397 || exit 1
10399 @endif gas
10401 .PHONY: maybe-install-info-gas install-info-gas
10402 maybe-install-info-gas:
10403 @if gas
10404 maybe-install-info-gas: install-info-gas
10406 install-info-gas: \
10407 configure-gas \
10408 info-gas
10409 @[ -f ./gas/Makefile ] || exit 0; \
10410 r=`${PWD_COMMAND}`; export r; \
10411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10412 $(HOST_EXPORTS) \
10413 for flag in $(EXTRA_HOST_FLAGS) ; do \
10414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10415 done; \
10416 echo "Doing install-info in gas" ; \
10417 (cd $(HOST_SUBDIR)/gas && \
10418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10420 "RANLIB=$${RANLIB}" \
10421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10422 install-info) \
10423 || exit 1
10425 @endif gas
10427 .PHONY: maybe-installcheck-gas installcheck-gas
10428 maybe-installcheck-gas:
10429 @if gas
10430 maybe-installcheck-gas: installcheck-gas
10432 installcheck-gas: \
10433 configure-gas
10434 @[ -f ./gas/Makefile ] || exit 0; \
10435 r=`${PWD_COMMAND}`; export r; \
10436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10437 $(HOST_EXPORTS) \
10438 for flag in $(EXTRA_HOST_FLAGS) ; do \
10439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10440 done; \
10441 echo "Doing installcheck in gas" ; \
10442 (cd $(HOST_SUBDIR)/gas && \
10443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10445 "RANLIB=$${RANLIB}" \
10446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10447 installcheck) \
10448 || exit 1
10450 @endif gas
10452 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10453 maybe-mostlyclean-gas:
10454 @if gas
10455 maybe-mostlyclean-gas: mostlyclean-gas
10457 mostlyclean-gas:
10458 @[ -f ./gas/Makefile ] || exit 0; \
10459 r=`${PWD_COMMAND}`; export r; \
10460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10461 $(HOST_EXPORTS) \
10462 for flag in $(EXTRA_HOST_FLAGS) ; do \
10463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10464 done; \
10465 echo "Doing mostlyclean in gas" ; \
10466 (cd $(HOST_SUBDIR)/gas && \
10467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10469 "RANLIB=$${RANLIB}" \
10470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10471 mostlyclean) \
10472 || exit 1
10474 @endif gas
10476 .PHONY: maybe-clean-gas clean-gas
10477 maybe-clean-gas:
10478 @if gas
10479 maybe-clean-gas: clean-gas
10481 clean-gas:
10482 @[ -f ./gas/Makefile ] || exit 0; \
10483 r=`${PWD_COMMAND}`; export r; \
10484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10485 $(HOST_EXPORTS) \
10486 for flag in $(EXTRA_HOST_FLAGS) ; do \
10487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10488 done; \
10489 echo "Doing clean in gas" ; \
10490 (cd $(HOST_SUBDIR)/gas && \
10491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10493 "RANLIB=$${RANLIB}" \
10494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10495 clean) \
10496 || exit 1
10498 @endif gas
10500 .PHONY: maybe-distclean-gas distclean-gas
10501 maybe-distclean-gas:
10502 @if gas
10503 maybe-distclean-gas: distclean-gas
10505 distclean-gas:
10506 @[ -f ./gas/Makefile ] || exit 0; \
10507 r=`${PWD_COMMAND}`; export r; \
10508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10509 $(HOST_EXPORTS) \
10510 for flag in $(EXTRA_HOST_FLAGS) ; do \
10511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10512 done; \
10513 echo "Doing distclean in gas" ; \
10514 (cd $(HOST_SUBDIR)/gas && \
10515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10517 "RANLIB=$${RANLIB}" \
10518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10519 distclean) \
10520 || exit 1
10522 @endif gas
10524 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10525 maybe-maintainer-clean-gas:
10526 @if gas
10527 maybe-maintainer-clean-gas: maintainer-clean-gas
10529 maintainer-clean-gas:
10530 @[ -f ./gas/Makefile ] || exit 0; \
10531 r=`${PWD_COMMAND}`; export r; \
10532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10533 $(HOST_EXPORTS) \
10534 for flag in $(EXTRA_HOST_FLAGS) ; do \
10535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10536 done; \
10537 echo "Doing maintainer-clean in gas" ; \
10538 (cd $(HOST_SUBDIR)/gas && \
10539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10541 "RANLIB=$${RANLIB}" \
10542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10543 maintainer-clean) \
10544 || exit 1
10546 @endif gas
10550 .PHONY: configure-gcc maybe-configure-gcc
10551 maybe-configure-gcc:
10552 @if gcc
10553 maybe-configure-gcc: configure-gcc
10554 configure-gcc:
10555 @test -f stage_last && exit 0; \
10556 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10557 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10558 r=`${PWD_COMMAND}`; export r; \
10559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10560 $(HOST_EXPORTS) \
10561 echo Configuring in $(HOST_SUBDIR)/gcc; \
10562 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10563 case $(srcdir) in \
10564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10565 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10567 esac; \
10568 srcdiroption="--srcdir=$${topdir}/gcc"; \
10569 libsrcdir="$$s/gcc"; \
10570 $(SHELL) $${libsrcdir}/configure \
10571 $(HOST_CONFIGARGS) $${srcdiroption} \
10572 || exit 1
10573 @endif gcc
10577 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10578 maybe-configure-stage1-gcc:
10579 @if gcc-bootstrap
10580 maybe-configure-stage1-gcc: configure-stage1-gcc
10581 configure-stage1-gcc:
10582 @$(MAKE) stage1-start
10583 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10584 r=`${PWD_COMMAND}`; export r; \
10585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10586 $(HOST_EXPORTS) \
10587 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10588 cd $(HOST_SUBDIR)/gcc || exit 1; \
10589 case $(srcdir) in \
10590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10591 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10593 esac; \
10594 srcdiroption="--srcdir=$${topdir}/gcc"; \
10595 libsrcdir="$$s/gcc"; \
10596 $(SHELL) $${libsrcdir}/configure \
10597 $(HOST_CONFIGARGS) $${srcdiroption} \
10598 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10599 @endif gcc-bootstrap
10601 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10602 maybe-configure-stage2-gcc:
10603 @if gcc-bootstrap
10604 maybe-configure-stage2-gcc: configure-stage2-gcc
10605 configure-stage2-gcc:
10606 @$(MAKE) stage2-start
10607 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10608 r=`${PWD_COMMAND}`; export r; \
10609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10610 $(HOST_EXPORTS) \
10611 $(POSTSTAGE1_HOST_EXPORTS) \
10612 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10613 cd $(HOST_SUBDIR)/gcc || exit 1; \
10614 case $(srcdir) in \
10615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10616 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10618 esac; \
10619 srcdiroption="--srcdir=$${topdir}/gcc"; \
10620 libsrcdir="$$s/gcc"; \
10621 $(SHELL) $${libsrcdir}/configure \
10622 $(HOST_CONFIGARGS) $${srcdiroption} \
10623 @stage2_werror_flag@
10624 @endif gcc-bootstrap
10626 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10627 maybe-configure-stage3-gcc:
10628 @if gcc-bootstrap
10629 maybe-configure-stage3-gcc: configure-stage3-gcc
10630 configure-stage3-gcc:
10631 @$(MAKE) stage3-start
10632 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10633 r=`${PWD_COMMAND}`; export r; \
10634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10635 $(HOST_EXPORTS) \
10636 $(POSTSTAGE1_HOST_EXPORTS) \
10637 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10638 cd $(HOST_SUBDIR)/gcc || exit 1; \
10639 case $(srcdir) in \
10640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10641 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10643 esac; \
10644 srcdiroption="--srcdir=$${topdir}/gcc"; \
10645 libsrcdir="$$s/gcc"; \
10646 $(SHELL) $${libsrcdir}/configure \
10647 $(HOST_CONFIGARGS) $${srcdiroption} \
10648 @stage2_werror_flag@
10649 @endif gcc-bootstrap
10651 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10652 maybe-configure-stage4-gcc:
10653 @if gcc-bootstrap
10654 maybe-configure-stage4-gcc: configure-stage4-gcc
10655 configure-stage4-gcc:
10656 @$(MAKE) stage4-start
10657 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10658 r=`${PWD_COMMAND}`; export r; \
10659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10660 $(HOST_EXPORTS) \
10661 $(POSTSTAGE1_HOST_EXPORTS) \
10662 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10663 cd $(HOST_SUBDIR)/gcc || exit 1; \
10664 case $(srcdir) in \
10665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10666 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10668 esac; \
10669 srcdiroption="--srcdir=$${topdir}/gcc"; \
10670 libsrcdir="$$s/gcc"; \
10671 $(SHELL) $${libsrcdir}/configure \
10672 $(HOST_CONFIGARGS) $${srcdiroption} \
10673 @stage2_werror_flag@
10674 @endif gcc-bootstrap
10676 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10677 maybe-configure-stageprofile-gcc:
10678 @if gcc-bootstrap
10679 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10680 configure-stageprofile-gcc:
10681 @$(MAKE) stageprofile-start
10682 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10683 r=`${PWD_COMMAND}`; export r; \
10684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10685 $(HOST_EXPORTS) \
10686 $(POSTSTAGE1_HOST_EXPORTS) \
10687 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10688 cd $(HOST_SUBDIR)/gcc || exit 1; \
10689 case $(srcdir) in \
10690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10691 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10693 esac; \
10694 srcdiroption="--srcdir=$${topdir}/gcc"; \
10695 libsrcdir="$$s/gcc"; \
10696 $(SHELL) $${libsrcdir}/configure \
10697 $(HOST_CONFIGARGS) $${srcdiroption} \
10698 @stage2_werror_flag@
10699 @endif gcc-bootstrap
10701 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
10702 maybe-configure-stagefeedback-gcc:
10703 @if gcc-bootstrap
10704 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
10705 configure-stagefeedback-gcc:
10706 @$(MAKE) stagefeedback-start
10707 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10708 r=`${PWD_COMMAND}`; export r; \
10709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10710 $(HOST_EXPORTS) \
10711 $(POSTSTAGE1_HOST_EXPORTS) \
10712 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
10713 cd $(HOST_SUBDIR)/gcc || exit 1; \
10714 case $(srcdir) in \
10715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10716 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10718 esac; \
10719 srcdiroption="--srcdir=$${topdir}/gcc"; \
10720 libsrcdir="$$s/gcc"; \
10721 $(SHELL) $${libsrcdir}/configure \
10722 $(HOST_CONFIGARGS) $${srcdiroption} \
10723 @stage2_werror_flag@
10724 @endif gcc-bootstrap
10730 .PHONY: all-gcc maybe-all-gcc
10731 maybe-all-gcc:
10732 @if gcc
10733 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
10734 maybe-all-gcc: all-gcc
10735 all-gcc: configure-gcc
10736 @test -f stage_last && exit 0; \
10737 r=`${PWD_COMMAND}`; export r; \
10738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10739 $(HOST_EXPORTS) \
10740 (cd $(HOST_SUBDIR)/gcc && \
10741 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
10742 @endif gcc
10746 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
10747 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
10748 maybe-all-stage1-gcc:
10749 maybe-clean-stage1-gcc:
10750 @if gcc-bootstrap
10751 maybe-all-stage1-gcc: all-stage1-gcc
10752 all-stage1: all-stage1-gcc
10753 all-stage1-gcc: configure-stage1-gcc
10754 @$(MAKE) stage1-start
10755 @r=`${PWD_COMMAND}`; export r; \
10756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10757 $(HOST_EXPORTS) \
10758 cd $(HOST_SUBDIR)/gcc && \
10759 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
10761 maybe-clean-stage1-gcc: clean-stage1-gcc
10762 clean-stage1: clean-stage1-gcc
10763 clean-stage1-gcc:
10764 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
10765 || exit 0 ; \
10766 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage1-start ; \
10767 cd $(HOST_SUBDIR)/gcc && \
10768 $(MAKE) $(FLAGS_TO_PASS) \
10769 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
10770 @endif gcc-bootstrap
10773 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
10774 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
10775 maybe-all-stage2-gcc:
10776 maybe-clean-stage2-gcc:
10777 @if gcc-bootstrap
10778 maybe-all-stage2-gcc: all-stage2-gcc
10779 all-stage2: all-stage2-gcc
10780 all-stage2-gcc: configure-stage2-gcc
10781 @$(MAKE) stage2-start
10782 @r=`${PWD_COMMAND}`; export r; \
10783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10784 $(HOST_EXPORTS) \
10785 $(POSTSTAGE1_HOST_EXPORTS) \
10786 cd $(HOST_SUBDIR)/gcc && \
10787 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
10789 maybe-clean-stage2-gcc: clean-stage2-gcc
10790 clean-stage2: clean-stage2-gcc
10791 clean-stage2-gcc:
10792 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
10793 || exit 0 ; \
10794 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage2-start ; \
10795 cd $(HOST_SUBDIR)/gcc && \
10796 $(MAKE) $(FLAGS_TO_PASS) \
10797 $(POSTSTAGE1_FLAGS_TO_PASS) \
10798 $(EXTRA_GCC_FLAGS) clean
10799 @endif gcc-bootstrap
10802 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
10803 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
10804 maybe-all-stage3-gcc:
10805 maybe-clean-stage3-gcc:
10806 @if gcc-bootstrap
10807 maybe-all-stage3-gcc: all-stage3-gcc
10808 all-stage3: all-stage3-gcc
10809 all-stage3-gcc: configure-stage3-gcc
10810 @$(MAKE) stage3-start
10811 @r=`${PWD_COMMAND}`; export r; \
10812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10813 $(HOST_EXPORTS) \
10814 $(POSTSTAGE1_HOST_EXPORTS) \
10815 cd $(HOST_SUBDIR)/gcc && \
10816 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
10818 maybe-clean-stage3-gcc: clean-stage3-gcc
10819 clean-stage3: clean-stage3-gcc
10820 clean-stage3-gcc:
10821 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
10822 || exit 0 ; \
10823 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage3-start ; \
10824 cd $(HOST_SUBDIR)/gcc && \
10825 $(MAKE) $(FLAGS_TO_PASS) \
10826 $(POSTSTAGE1_FLAGS_TO_PASS) \
10827 $(EXTRA_GCC_FLAGS) clean
10828 @endif gcc-bootstrap
10831 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
10832 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
10833 maybe-all-stage4-gcc:
10834 maybe-clean-stage4-gcc:
10835 @if gcc-bootstrap
10836 maybe-all-stage4-gcc: all-stage4-gcc
10837 all-stage4: all-stage4-gcc
10838 all-stage4-gcc: configure-stage4-gcc
10839 @$(MAKE) stage4-start
10840 @r=`${PWD_COMMAND}`; export r; \
10841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10842 $(HOST_EXPORTS) \
10843 $(POSTSTAGE1_HOST_EXPORTS) \
10844 cd $(HOST_SUBDIR)/gcc && \
10845 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
10847 maybe-clean-stage4-gcc: clean-stage4-gcc
10848 clean-stage4: clean-stage4-gcc
10849 clean-stage4-gcc:
10850 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
10851 || exit 0 ; \
10852 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage4-start ; \
10853 cd $(HOST_SUBDIR)/gcc && \
10854 $(MAKE) $(FLAGS_TO_PASS) \
10855 $(POSTSTAGE1_FLAGS_TO_PASS) \
10856 $(EXTRA_GCC_FLAGS) clean
10857 @endif gcc-bootstrap
10860 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
10861 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
10862 maybe-all-stageprofile-gcc:
10863 maybe-clean-stageprofile-gcc:
10864 @if gcc-bootstrap
10865 maybe-all-stageprofile-gcc: all-stageprofile-gcc
10866 all-stageprofile: all-stageprofile-gcc
10867 all-stageprofile-gcc: configure-stageprofile-gcc
10868 @$(MAKE) stageprofile-start
10869 @r=`${PWD_COMMAND}`; export r; \
10870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10871 $(HOST_EXPORTS) \
10872 $(POSTSTAGE1_HOST_EXPORTS) \
10873 cd $(HOST_SUBDIR)/gcc && \
10874 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
10876 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
10877 clean-stageprofile: clean-stageprofile-gcc
10878 clean-stageprofile-gcc:
10879 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
10880 || exit 0 ; \
10881 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stageprofile-start ; \
10882 cd $(HOST_SUBDIR)/gcc && \
10883 $(MAKE) $(FLAGS_TO_PASS) \
10884 $(POSTSTAGE1_FLAGS_TO_PASS) \
10885 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
10886 @endif gcc-bootstrap
10889 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
10890 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
10891 maybe-all-stagefeedback-gcc:
10892 maybe-clean-stagefeedback-gcc:
10893 @if gcc-bootstrap
10894 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
10895 all-stagefeedback: all-stagefeedback-gcc
10896 all-stagefeedback-gcc: configure-stagefeedback-gcc
10897 @$(MAKE) stagefeedback-start
10898 @r=`${PWD_COMMAND}`; export r; \
10899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10900 $(HOST_EXPORTS) \
10901 $(POSTSTAGE1_HOST_EXPORTS) \
10902 cd $(HOST_SUBDIR)/gcc && \
10903 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
10905 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10906 clean-stagefeedback: clean-stagefeedback-gcc
10907 clean-stagefeedback-gcc:
10908 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
10909 || exit 0 ; \
10910 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
10911 cd $(HOST_SUBDIR)/gcc && \
10912 $(MAKE) $(FLAGS_TO_PASS) \
10913 $(POSTSTAGE1_FLAGS_TO_PASS) \
10914 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
10915 @endif gcc-bootstrap
10921 .PHONY: check-gcc maybe-check-gcc
10922 maybe-check-gcc:
10923 @if gcc
10924 maybe-check-gcc: check-gcc
10926 check-gcc:
10927 @r=`${PWD_COMMAND}`; export r; \
10928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10929 $(HOST_EXPORTS) \
10930 (cd $(HOST_SUBDIR)/gcc && \
10931 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10933 @endif gcc
10935 .PHONY: install-gcc maybe-install-gcc
10936 maybe-install-gcc:
10937 @if gcc
10938 maybe-install-gcc: install-gcc
10940 install-gcc: installdirs
10941 @r=`${PWD_COMMAND}`; export r; \
10942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10943 $(HOST_EXPORTS) \
10944 (cd $(HOST_SUBDIR)/gcc && \
10945 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10947 @endif gcc
10949 # Other targets (info, dvi, etc.)
10951 .PHONY: maybe-info-gcc info-gcc
10952 maybe-info-gcc:
10953 @if gcc
10954 maybe-info-gcc: info-gcc
10956 info-gcc: \
10957 configure-gcc
10958 @[ -f ./gcc/Makefile ] || exit 0; \
10959 r=`${PWD_COMMAND}`; export r; \
10960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10961 $(HOST_EXPORTS) \
10962 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10964 done; \
10965 echo "Doing info in gcc" ; \
10966 (cd $(HOST_SUBDIR)/gcc && \
10967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10969 "RANLIB=$${RANLIB}" \
10970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10971 info) \
10972 || exit 1
10974 @endif gcc
10976 .PHONY: maybe-dvi-gcc dvi-gcc
10977 maybe-dvi-gcc:
10978 @if gcc
10979 maybe-dvi-gcc: dvi-gcc
10981 dvi-gcc: \
10982 configure-gcc
10983 @[ -f ./gcc/Makefile ] || exit 0; \
10984 r=`${PWD_COMMAND}`; export r; \
10985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10986 $(HOST_EXPORTS) \
10987 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10989 done; \
10990 echo "Doing dvi in gcc" ; \
10991 (cd $(HOST_SUBDIR)/gcc && \
10992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10994 "RANLIB=$${RANLIB}" \
10995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10996 dvi) \
10997 || exit 1
10999 @endif gcc
11001 .PHONY: maybe-html-gcc html-gcc
11002 maybe-html-gcc:
11003 @if gcc
11004 maybe-html-gcc: html-gcc
11006 html-gcc: \
11007 configure-gcc
11008 @[ -f ./gcc/Makefile ] || exit 0; \
11009 r=`${PWD_COMMAND}`; export r; \
11010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11011 $(HOST_EXPORTS) \
11012 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11014 done; \
11015 echo "Doing html in gcc" ; \
11016 (cd $(HOST_SUBDIR)/gcc && \
11017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11019 "RANLIB=$${RANLIB}" \
11020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11021 html) \
11022 || exit 1
11024 @endif gcc
11026 .PHONY: maybe-TAGS-gcc TAGS-gcc
11027 maybe-TAGS-gcc:
11028 @if gcc
11029 maybe-TAGS-gcc: TAGS-gcc
11031 TAGS-gcc: \
11032 configure-gcc
11033 @[ -f ./gcc/Makefile ] || exit 0; \
11034 r=`${PWD_COMMAND}`; export r; \
11035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11036 $(HOST_EXPORTS) \
11037 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11039 done; \
11040 echo "Doing TAGS in gcc" ; \
11041 (cd $(HOST_SUBDIR)/gcc && \
11042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11044 "RANLIB=$${RANLIB}" \
11045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11046 TAGS) \
11047 || exit 1
11049 @endif gcc
11051 .PHONY: maybe-install-info-gcc install-info-gcc
11052 maybe-install-info-gcc:
11053 @if gcc
11054 maybe-install-info-gcc: install-info-gcc
11056 install-info-gcc: \
11057 configure-gcc \
11058 info-gcc
11059 @[ -f ./gcc/Makefile ] || exit 0; \
11060 r=`${PWD_COMMAND}`; export r; \
11061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11062 $(HOST_EXPORTS) \
11063 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11065 done; \
11066 echo "Doing install-info in gcc" ; \
11067 (cd $(HOST_SUBDIR)/gcc && \
11068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11070 "RANLIB=$${RANLIB}" \
11071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11072 install-info) \
11073 || exit 1
11075 @endif gcc
11077 .PHONY: maybe-installcheck-gcc installcheck-gcc
11078 maybe-installcheck-gcc:
11079 @if gcc
11080 maybe-installcheck-gcc: installcheck-gcc
11082 installcheck-gcc: \
11083 configure-gcc
11084 @[ -f ./gcc/Makefile ] || exit 0; \
11085 r=`${PWD_COMMAND}`; export r; \
11086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11087 $(HOST_EXPORTS) \
11088 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11090 done; \
11091 echo "Doing installcheck in gcc" ; \
11092 (cd $(HOST_SUBDIR)/gcc && \
11093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11095 "RANLIB=$${RANLIB}" \
11096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11097 installcheck) \
11098 || exit 1
11100 @endif gcc
11102 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11103 maybe-mostlyclean-gcc:
11104 @if gcc
11105 maybe-mostlyclean-gcc: mostlyclean-gcc
11107 mostlyclean-gcc:
11108 @[ -f ./gcc/Makefile ] || exit 0; \
11109 r=`${PWD_COMMAND}`; export r; \
11110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11111 $(HOST_EXPORTS) \
11112 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11114 done; \
11115 echo "Doing mostlyclean in gcc" ; \
11116 (cd $(HOST_SUBDIR)/gcc && \
11117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11119 "RANLIB=$${RANLIB}" \
11120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11121 mostlyclean) \
11122 || exit 1
11124 @endif gcc
11126 .PHONY: maybe-clean-gcc clean-gcc
11127 maybe-clean-gcc:
11128 @if gcc
11129 maybe-clean-gcc: clean-gcc
11131 clean-gcc:
11132 @[ -f ./gcc/Makefile ] || exit 0; \
11133 r=`${PWD_COMMAND}`; export r; \
11134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11135 $(HOST_EXPORTS) \
11136 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11138 done; \
11139 echo "Doing clean in gcc" ; \
11140 (cd $(HOST_SUBDIR)/gcc && \
11141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11143 "RANLIB=$${RANLIB}" \
11144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11145 clean) \
11146 || exit 1
11148 @endif gcc
11150 .PHONY: maybe-distclean-gcc distclean-gcc
11151 maybe-distclean-gcc:
11152 @if gcc
11153 maybe-distclean-gcc: distclean-gcc
11155 distclean-gcc:
11156 @[ -f ./gcc/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) $(EXTRA_GCC_FLAGS); do \
11161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11162 done; \
11163 echo "Doing distclean in gcc" ; \
11164 (cd $(HOST_SUBDIR)/gcc && \
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 distclean) \
11170 || exit 1
11172 @endif gcc
11174 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11175 maybe-maintainer-clean-gcc:
11176 @if gcc
11177 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11179 maintainer-clean-gcc:
11180 @[ -f ./gcc/Makefile ] || exit 0; \
11181 r=`${PWD_COMMAND}`; export r; \
11182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11183 $(HOST_EXPORTS) \
11184 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11186 done; \
11187 echo "Doing maintainer-clean in gcc" ; \
11188 (cd $(HOST_SUBDIR)/gcc && \
11189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11191 "RANLIB=$${RANLIB}" \
11192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11193 maintainer-clean) \
11194 || exit 1
11196 @endif gcc
11200 .PHONY: configure-gawk maybe-configure-gawk
11201 maybe-configure-gawk:
11202 @if gawk
11203 maybe-configure-gawk: configure-gawk
11204 configure-gawk:
11205 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11206 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11207 r=`${PWD_COMMAND}`; export r; \
11208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11209 $(HOST_EXPORTS) \
11210 echo Configuring in $(HOST_SUBDIR)/gawk; \
11211 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11212 case $(srcdir) in \
11213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11214 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11216 esac; \
11217 srcdiroption="--srcdir=$${topdir}/gawk"; \
11218 libsrcdir="$$s/gawk"; \
11219 $(SHELL) $${libsrcdir}/configure \
11220 $(HOST_CONFIGARGS) $${srcdiroption} \
11221 || exit 1
11222 @endif gawk
11228 .PHONY: all-gawk maybe-all-gawk
11229 maybe-all-gawk:
11230 @if gawk
11231 TARGET-gawk=all
11232 maybe-all-gawk: all-gawk
11233 all-gawk: configure-gawk
11234 @r=`${PWD_COMMAND}`; export r; \
11235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11236 $(HOST_EXPORTS) \
11237 (cd $(HOST_SUBDIR)/gawk && \
11238 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11239 @endif gawk
11244 .PHONY: check-gawk maybe-check-gawk
11245 maybe-check-gawk:
11246 @if gawk
11247 maybe-check-gawk: check-gawk
11249 check-gawk:
11250 @r=`${PWD_COMMAND}`; export r; \
11251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11252 $(HOST_EXPORTS) \
11253 (cd $(HOST_SUBDIR)/gawk && \
11254 $(MAKE) $(FLAGS_TO_PASS) check)
11256 @endif gawk
11258 .PHONY: install-gawk maybe-install-gawk
11259 maybe-install-gawk:
11260 @if gawk
11261 maybe-install-gawk: install-gawk
11263 install-gawk: installdirs
11264 @r=`${PWD_COMMAND}`; export r; \
11265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11266 $(HOST_EXPORTS) \
11267 (cd $(HOST_SUBDIR)/gawk && \
11268 $(MAKE) $(FLAGS_TO_PASS) install)
11270 @endif gawk
11272 # Other targets (info, dvi, etc.)
11274 .PHONY: maybe-info-gawk info-gawk
11275 maybe-info-gawk:
11276 @if gawk
11277 maybe-info-gawk: info-gawk
11279 info-gawk: \
11280 configure-gawk
11281 @[ -f ./gawk/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 info in gawk" ; \
11289 (cd $(HOST_SUBDIR)/gawk && \
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 info) \
11295 || exit 1
11297 @endif gawk
11299 .PHONY: maybe-dvi-gawk dvi-gawk
11300 maybe-dvi-gawk:
11301 @if gawk
11302 maybe-dvi-gawk: dvi-gawk
11304 dvi-gawk: \
11305 configure-gawk
11306 @[ -f ./gawk/Makefile ] || exit 0; \
11307 r=`${PWD_COMMAND}`; export r; \
11308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11309 $(HOST_EXPORTS) \
11310 for flag in $(EXTRA_HOST_FLAGS) ; do \
11311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11312 done; \
11313 echo "Doing dvi in gawk" ; \
11314 (cd $(HOST_SUBDIR)/gawk && \
11315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11317 "RANLIB=$${RANLIB}" \
11318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11319 dvi) \
11320 || exit 1
11322 @endif gawk
11324 .PHONY: maybe-html-gawk html-gawk
11325 maybe-html-gawk:
11326 @if gawk
11327 maybe-html-gawk: html-gawk
11329 html-gawk: \
11330 configure-gawk
11331 @[ -f ./gawk/Makefile ] || exit 0; \
11332 r=`${PWD_COMMAND}`; export r; \
11333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11334 $(HOST_EXPORTS) \
11335 for flag in $(EXTRA_HOST_FLAGS) ; do \
11336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11337 done; \
11338 echo "Doing html in gawk" ; \
11339 (cd $(HOST_SUBDIR)/gawk && \
11340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11342 "RANLIB=$${RANLIB}" \
11343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11344 html) \
11345 || exit 1
11347 @endif gawk
11349 .PHONY: maybe-TAGS-gawk TAGS-gawk
11350 maybe-TAGS-gawk:
11351 @if gawk
11352 maybe-TAGS-gawk: TAGS-gawk
11354 TAGS-gawk: \
11355 configure-gawk
11356 @[ -f ./gawk/Makefile ] || exit 0; \
11357 r=`${PWD_COMMAND}`; export r; \
11358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11359 $(HOST_EXPORTS) \
11360 for flag in $(EXTRA_HOST_FLAGS) ; do \
11361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11362 done; \
11363 echo "Doing TAGS in gawk" ; \
11364 (cd $(HOST_SUBDIR)/gawk && \
11365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11367 "RANLIB=$${RANLIB}" \
11368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11369 TAGS) \
11370 || exit 1
11372 @endif gawk
11374 .PHONY: maybe-install-info-gawk install-info-gawk
11375 maybe-install-info-gawk:
11376 @if gawk
11377 maybe-install-info-gawk: install-info-gawk
11379 install-info-gawk: \
11380 configure-gawk \
11381 info-gawk
11382 @[ -f ./gawk/Makefile ] || exit 0; \
11383 r=`${PWD_COMMAND}`; export r; \
11384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11385 $(HOST_EXPORTS) \
11386 for flag in $(EXTRA_HOST_FLAGS) ; do \
11387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11388 done; \
11389 echo "Doing install-info in gawk" ; \
11390 (cd $(HOST_SUBDIR)/gawk && \
11391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11393 "RANLIB=$${RANLIB}" \
11394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11395 install-info) \
11396 || exit 1
11398 @endif gawk
11400 .PHONY: maybe-installcheck-gawk installcheck-gawk
11401 maybe-installcheck-gawk:
11402 @if gawk
11403 maybe-installcheck-gawk: installcheck-gawk
11405 installcheck-gawk: \
11406 configure-gawk
11407 @[ -f ./gawk/Makefile ] || exit 0; \
11408 r=`${PWD_COMMAND}`; export r; \
11409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11410 $(HOST_EXPORTS) \
11411 for flag in $(EXTRA_HOST_FLAGS) ; do \
11412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11413 done; \
11414 echo "Doing installcheck in gawk" ; \
11415 (cd $(HOST_SUBDIR)/gawk && \
11416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11418 "RANLIB=$${RANLIB}" \
11419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11420 installcheck) \
11421 || exit 1
11423 @endif gawk
11425 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11426 maybe-mostlyclean-gawk:
11427 @if gawk
11428 maybe-mostlyclean-gawk: mostlyclean-gawk
11430 mostlyclean-gawk:
11431 @[ -f ./gawk/Makefile ] || exit 0; \
11432 r=`${PWD_COMMAND}`; export r; \
11433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11434 $(HOST_EXPORTS) \
11435 for flag in $(EXTRA_HOST_FLAGS) ; do \
11436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11437 done; \
11438 echo "Doing mostlyclean in gawk" ; \
11439 (cd $(HOST_SUBDIR)/gawk && \
11440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11442 "RANLIB=$${RANLIB}" \
11443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11444 mostlyclean) \
11445 || exit 1
11447 @endif gawk
11449 .PHONY: maybe-clean-gawk clean-gawk
11450 maybe-clean-gawk:
11451 @if gawk
11452 maybe-clean-gawk: clean-gawk
11454 clean-gawk:
11455 @[ -f ./gawk/Makefile ] || exit 0; \
11456 r=`${PWD_COMMAND}`; export r; \
11457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11458 $(HOST_EXPORTS) \
11459 for flag in $(EXTRA_HOST_FLAGS) ; do \
11460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11461 done; \
11462 echo "Doing clean in gawk" ; \
11463 (cd $(HOST_SUBDIR)/gawk && \
11464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11466 "RANLIB=$${RANLIB}" \
11467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11468 clean) \
11469 || exit 1
11471 @endif gawk
11473 .PHONY: maybe-distclean-gawk distclean-gawk
11474 maybe-distclean-gawk:
11475 @if gawk
11476 maybe-distclean-gawk: distclean-gawk
11478 distclean-gawk:
11479 @[ -f ./gawk/Makefile ] || exit 0; \
11480 r=`${PWD_COMMAND}`; export r; \
11481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11482 $(HOST_EXPORTS) \
11483 for flag in $(EXTRA_HOST_FLAGS) ; do \
11484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11485 done; \
11486 echo "Doing distclean in gawk" ; \
11487 (cd $(HOST_SUBDIR)/gawk && \
11488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11490 "RANLIB=$${RANLIB}" \
11491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11492 distclean) \
11493 || exit 1
11495 @endif gawk
11497 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
11498 maybe-maintainer-clean-gawk:
11499 @if gawk
11500 maybe-maintainer-clean-gawk: maintainer-clean-gawk
11502 maintainer-clean-gawk:
11503 @[ -f ./gawk/Makefile ] || exit 0; \
11504 r=`${PWD_COMMAND}`; export r; \
11505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11506 $(HOST_EXPORTS) \
11507 for flag in $(EXTRA_HOST_FLAGS) ; do \
11508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11509 done; \
11510 echo "Doing maintainer-clean in gawk" ; \
11511 (cd $(HOST_SUBDIR)/gawk && \
11512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11514 "RANLIB=$${RANLIB}" \
11515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11516 maintainer-clean) \
11517 || exit 1
11519 @endif gawk
11523 .PHONY: configure-gettext maybe-configure-gettext
11524 maybe-configure-gettext:
11525 @if gettext
11526 maybe-configure-gettext: configure-gettext
11527 configure-gettext:
11528 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
11529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
11530 r=`${PWD_COMMAND}`; export r; \
11531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11532 $(HOST_EXPORTS) \
11533 echo Configuring in $(HOST_SUBDIR)/gettext; \
11534 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
11535 case $(srcdir) in \
11536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11537 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
11538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11539 esac; \
11540 srcdiroption="--srcdir=$${topdir}/gettext"; \
11541 libsrcdir="$$s/gettext"; \
11542 $(SHELL) $${libsrcdir}/configure \
11543 $(HOST_CONFIGARGS) $${srcdiroption} \
11544 || exit 1
11545 @endif gettext
11551 .PHONY: all-gettext maybe-all-gettext
11552 maybe-all-gettext:
11553 @if gettext
11554 TARGET-gettext=all
11555 maybe-all-gettext: all-gettext
11556 all-gettext: configure-gettext
11557 @r=`${PWD_COMMAND}`; export r; \
11558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11559 $(HOST_EXPORTS) \
11560 (cd $(HOST_SUBDIR)/gettext && \
11561 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
11562 @endif gettext
11567 .PHONY: check-gettext maybe-check-gettext
11568 maybe-check-gettext:
11569 @if gettext
11570 maybe-check-gettext: check-gettext
11572 check-gettext:
11573 @r=`${PWD_COMMAND}`; export r; \
11574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11575 $(HOST_EXPORTS) \
11576 (cd $(HOST_SUBDIR)/gettext && \
11577 $(MAKE) $(FLAGS_TO_PASS) check)
11579 @endif gettext
11581 .PHONY: install-gettext maybe-install-gettext
11582 maybe-install-gettext:
11583 @if gettext
11584 maybe-install-gettext: install-gettext
11586 install-gettext: installdirs
11587 @r=`${PWD_COMMAND}`; export r; \
11588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11589 $(HOST_EXPORTS) \
11590 (cd $(HOST_SUBDIR)/gettext && \
11591 $(MAKE) $(FLAGS_TO_PASS) install)
11593 @endif gettext
11595 # Other targets (info, dvi, etc.)
11597 .PHONY: maybe-info-gettext info-gettext
11598 maybe-info-gettext:
11599 @if gettext
11600 maybe-info-gettext: info-gettext
11602 info-gettext: \
11603 configure-gettext
11604 @[ -f ./gettext/Makefile ] || exit 0; \
11605 r=`${PWD_COMMAND}`; export r; \
11606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11607 $(HOST_EXPORTS) \
11608 for flag in $(EXTRA_HOST_FLAGS) ; do \
11609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11610 done; \
11611 echo "Doing info in gettext" ; \
11612 (cd $(HOST_SUBDIR)/gettext && \
11613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11615 "RANLIB=$${RANLIB}" \
11616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11617 info) \
11618 || exit 1
11620 @endif gettext
11622 .PHONY: maybe-dvi-gettext dvi-gettext
11623 maybe-dvi-gettext:
11624 @if gettext
11625 maybe-dvi-gettext: dvi-gettext
11627 dvi-gettext: \
11628 configure-gettext
11629 @[ -f ./gettext/Makefile ] || exit 0; \
11630 r=`${PWD_COMMAND}`; export r; \
11631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11632 $(HOST_EXPORTS) \
11633 for flag in $(EXTRA_HOST_FLAGS) ; do \
11634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11635 done; \
11636 echo "Doing dvi in gettext" ; \
11637 (cd $(HOST_SUBDIR)/gettext && \
11638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11640 "RANLIB=$${RANLIB}" \
11641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11642 dvi) \
11643 || exit 1
11645 @endif gettext
11647 .PHONY: maybe-html-gettext html-gettext
11648 maybe-html-gettext:
11649 @if gettext
11650 maybe-html-gettext: html-gettext
11652 html-gettext: \
11653 configure-gettext
11654 @[ -f ./gettext/Makefile ] || exit 0; \
11655 r=`${PWD_COMMAND}`; export r; \
11656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11657 $(HOST_EXPORTS) \
11658 for flag in $(EXTRA_HOST_FLAGS) ; do \
11659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11660 done; \
11661 echo "Doing html in gettext" ; \
11662 (cd $(HOST_SUBDIR)/gettext && \
11663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11665 "RANLIB=$${RANLIB}" \
11666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11667 html) \
11668 || exit 1
11670 @endif gettext
11672 .PHONY: maybe-TAGS-gettext TAGS-gettext
11673 maybe-TAGS-gettext:
11674 @if gettext
11675 maybe-TAGS-gettext: TAGS-gettext
11677 TAGS-gettext: \
11678 configure-gettext
11679 @[ -f ./gettext/Makefile ] || exit 0; \
11680 r=`${PWD_COMMAND}`; export r; \
11681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11682 $(HOST_EXPORTS) \
11683 for flag in $(EXTRA_HOST_FLAGS) ; do \
11684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11685 done; \
11686 echo "Doing TAGS in gettext" ; \
11687 (cd $(HOST_SUBDIR)/gettext && \
11688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11690 "RANLIB=$${RANLIB}" \
11691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11692 TAGS) \
11693 || exit 1
11695 @endif gettext
11697 .PHONY: maybe-install-info-gettext install-info-gettext
11698 maybe-install-info-gettext:
11699 @if gettext
11700 maybe-install-info-gettext: install-info-gettext
11702 install-info-gettext: \
11703 configure-gettext \
11704 info-gettext
11705 @[ -f ./gettext/Makefile ] || exit 0; \
11706 r=`${PWD_COMMAND}`; export r; \
11707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11708 $(HOST_EXPORTS) \
11709 for flag in $(EXTRA_HOST_FLAGS) ; do \
11710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11711 done; \
11712 echo "Doing install-info in gettext" ; \
11713 (cd $(HOST_SUBDIR)/gettext && \
11714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11716 "RANLIB=$${RANLIB}" \
11717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11718 install-info) \
11719 || exit 1
11721 @endif gettext
11723 .PHONY: maybe-installcheck-gettext installcheck-gettext
11724 maybe-installcheck-gettext:
11725 @if gettext
11726 maybe-installcheck-gettext: installcheck-gettext
11728 installcheck-gettext: \
11729 configure-gettext
11730 @[ -f ./gettext/Makefile ] || exit 0; \
11731 r=`${PWD_COMMAND}`; export r; \
11732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11733 $(HOST_EXPORTS) \
11734 for flag in $(EXTRA_HOST_FLAGS) ; do \
11735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11736 done; \
11737 echo "Doing installcheck in gettext" ; \
11738 (cd $(HOST_SUBDIR)/gettext && \
11739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11741 "RANLIB=$${RANLIB}" \
11742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11743 installcheck) \
11744 || exit 1
11746 @endif gettext
11748 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
11749 maybe-mostlyclean-gettext:
11750 @if gettext
11751 maybe-mostlyclean-gettext: mostlyclean-gettext
11753 mostlyclean-gettext:
11754 @[ -f ./gettext/Makefile ] || exit 0; \
11755 r=`${PWD_COMMAND}`; export r; \
11756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11757 $(HOST_EXPORTS) \
11758 for flag in $(EXTRA_HOST_FLAGS) ; do \
11759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11760 done; \
11761 echo "Doing mostlyclean in gettext" ; \
11762 (cd $(HOST_SUBDIR)/gettext && \
11763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11765 "RANLIB=$${RANLIB}" \
11766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11767 mostlyclean) \
11768 || exit 1
11770 @endif gettext
11772 .PHONY: maybe-clean-gettext clean-gettext
11773 maybe-clean-gettext:
11774 @if gettext
11775 maybe-clean-gettext: clean-gettext
11777 clean-gettext:
11778 @[ -f ./gettext/Makefile ] || exit 0; \
11779 r=`${PWD_COMMAND}`; export r; \
11780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11781 $(HOST_EXPORTS) \
11782 for flag in $(EXTRA_HOST_FLAGS) ; do \
11783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11784 done; \
11785 echo "Doing clean in gettext" ; \
11786 (cd $(HOST_SUBDIR)/gettext && \
11787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11789 "RANLIB=$${RANLIB}" \
11790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11791 clean) \
11792 || exit 1
11794 @endif gettext
11796 .PHONY: maybe-distclean-gettext distclean-gettext
11797 maybe-distclean-gettext:
11798 @if gettext
11799 maybe-distclean-gettext: distclean-gettext
11801 distclean-gettext:
11802 @[ -f ./gettext/Makefile ] || exit 0; \
11803 r=`${PWD_COMMAND}`; export r; \
11804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11805 $(HOST_EXPORTS) \
11806 for flag in $(EXTRA_HOST_FLAGS) ; do \
11807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11808 done; \
11809 echo "Doing distclean in gettext" ; \
11810 (cd $(HOST_SUBDIR)/gettext && \
11811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11813 "RANLIB=$${RANLIB}" \
11814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11815 distclean) \
11816 || exit 1
11818 @endif gettext
11820 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
11821 maybe-maintainer-clean-gettext:
11822 @if gettext
11823 maybe-maintainer-clean-gettext: maintainer-clean-gettext
11825 maintainer-clean-gettext:
11826 @[ -f ./gettext/Makefile ] || exit 0; \
11827 r=`${PWD_COMMAND}`; export r; \
11828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11829 $(HOST_EXPORTS) \
11830 for flag in $(EXTRA_HOST_FLAGS) ; do \
11831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11832 done; \
11833 echo "Doing maintainer-clean in gettext" ; \
11834 (cd $(HOST_SUBDIR)/gettext && \
11835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11837 "RANLIB=$${RANLIB}" \
11838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11839 maintainer-clean) \
11840 || exit 1
11842 @endif gettext
11846 .PHONY: configure-gnuserv maybe-configure-gnuserv
11847 maybe-configure-gnuserv:
11848 @if gnuserv
11849 maybe-configure-gnuserv: configure-gnuserv
11850 configure-gnuserv:
11851 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
11852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
11853 r=`${PWD_COMMAND}`; export r; \
11854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11855 $(HOST_EXPORTS) \
11856 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
11857 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
11858 case $(srcdir) in \
11859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11860 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
11861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11862 esac; \
11863 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
11864 libsrcdir="$$s/gnuserv"; \
11865 $(SHELL) $${libsrcdir}/configure \
11866 $(HOST_CONFIGARGS) $${srcdiroption} \
11867 || exit 1
11868 @endif gnuserv
11874 .PHONY: all-gnuserv maybe-all-gnuserv
11875 maybe-all-gnuserv:
11876 @if gnuserv
11877 TARGET-gnuserv=all
11878 maybe-all-gnuserv: all-gnuserv
11879 all-gnuserv: configure-gnuserv
11880 @r=`${PWD_COMMAND}`; export r; \
11881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11882 $(HOST_EXPORTS) \
11883 (cd $(HOST_SUBDIR)/gnuserv && \
11884 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
11885 @endif gnuserv
11890 .PHONY: check-gnuserv maybe-check-gnuserv
11891 maybe-check-gnuserv:
11892 @if gnuserv
11893 maybe-check-gnuserv: check-gnuserv
11895 check-gnuserv:
11896 @r=`${PWD_COMMAND}`; export r; \
11897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11898 $(HOST_EXPORTS) \
11899 (cd $(HOST_SUBDIR)/gnuserv && \
11900 $(MAKE) $(FLAGS_TO_PASS) check)
11902 @endif gnuserv
11904 .PHONY: install-gnuserv maybe-install-gnuserv
11905 maybe-install-gnuserv:
11906 @if gnuserv
11907 maybe-install-gnuserv: install-gnuserv
11909 install-gnuserv: installdirs
11910 @r=`${PWD_COMMAND}`; export r; \
11911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11912 $(HOST_EXPORTS) \
11913 (cd $(HOST_SUBDIR)/gnuserv && \
11914 $(MAKE) $(FLAGS_TO_PASS) install)
11916 @endif gnuserv
11918 # Other targets (info, dvi, etc.)
11920 .PHONY: maybe-info-gnuserv info-gnuserv
11921 maybe-info-gnuserv:
11922 @if gnuserv
11923 maybe-info-gnuserv: info-gnuserv
11925 info-gnuserv: \
11926 configure-gnuserv
11927 @[ -f ./gnuserv/Makefile ] || exit 0; \
11928 r=`${PWD_COMMAND}`; export r; \
11929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11930 $(HOST_EXPORTS) \
11931 for flag in $(EXTRA_HOST_FLAGS) ; do \
11932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11933 done; \
11934 echo "Doing info in gnuserv" ; \
11935 (cd $(HOST_SUBDIR)/gnuserv && \
11936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11938 "RANLIB=$${RANLIB}" \
11939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11940 info) \
11941 || exit 1
11943 @endif gnuserv
11945 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
11946 maybe-dvi-gnuserv:
11947 @if gnuserv
11948 maybe-dvi-gnuserv: dvi-gnuserv
11950 dvi-gnuserv: \
11951 configure-gnuserv
11952 @[ -f ./gnuserv/Makefile ] || exit 0; \
11953 r=`${PWD_COMMAND}`; export r; \
11954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11955 $(HOST_EXPORTS) \
11956 for flag in $(EXTRA_HOST_FLAGS) ; do \
11957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11958 done; \
11959 echo "Doing dvi in gnuserv" ; \
11960 (cd $(HOST_SUBDIR)/gnuserv && \
11961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11963 "RANLIB=$${RANLIB}" \
11964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11965 dvi) \
11966 || exit 1
11968 @endif gnuserv
11970 .PHONY: maybe-html-gnuserv html-gnuserv
11971 maybe-html-gnuserv:
11972 @if gnuserv
11973 maybe-html-gnuserv: html-gnuserv
11975 html-gnuserv: \
11976 configure-gnuserv
11977 @[ -f ./gnuserv/Makefile ] || exit 0; \
11978 r=`${PWD_COMMAND}`; export r; \
11979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11980 $(HOST_EXPORTS) \
11981 for flag in $(EXTRA_HOST_FLAGS) ; do \
11982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11983 done; \
11984 echo "Doing html in gnuserv" ; \
11985 (cd $(HOST_SUBDIR)/gnuserv && \
11986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11988 "RANLIB=$${RANLIB}" \
11989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11990 html) \
11991 || exit 1
11993 @endif gnuserv
11995 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
11996 maybe-TAGS-gnuserv:
11997 @if gnuserv
11998 maybe-TAGS-gnuserv: TAGS-gnuserv
12000 TAGS-gnuserv: \
12001 configure-gnuserv
12002 @[ -f ./gnuserv/Makefile ] || exit 0; \
12003 r=`${PWD_COMMAND}`; export r; \
12004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12005 $(HOST_EXPORTS) \
12006 for flag in $(EXTRA_HOST_FLAGS) ; do \
12007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12008 done; \
12009 echo "Doing TAGS in gnuserv" ; \
12010 (cd $(HOST_SUBDIR)/gnuserv && \
12011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12013 "RANLIB=$${RANLIB}" \
12014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12015 TAGS) \
12016 || exit 1
12018 @endif gnuserv
12020 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12021 maybe-install-info-gnuserv:
12022 @if gnuserv
12023 maybe-install-info-gnuserv: install-info-gnuserv
12025 install-info-gnuserv: \
12026 configure-gnuserv \
12027 info-gnuserv
12028 @[ -f ./gnuserv/Makefile ] || exit 0; \
12029 r=`${PWD_COMMAND}`; export r; \
12030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12031 $(HOST_EXPORTS) \
12032 for flag in $(EXTRA_HOST_FLAGS) ; do \
12033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12034 done; \
12035 echo "Doing install-info in gnuserv" ; \
12036 (cd $(HOST_SUBDIR)/gnuserv && \
12037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12039 "RANLIB=$${RANLIB}" \
12040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12041 install-info) \
12042 || exit 1
12044 @endif gnuserv
12046 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12047 maybe-installcheck-gnuserv:
12048 @if gnuserv
12049 maybe-installcheck-gnuserv: installcheck-gnuserv
12051 installcheck-gnuserv: \
12052 configure-gnuserv
12053 @[ -f ./gnuserv/Makefile ] || exit 0; \
12054 r=`${PWD_COMMAND}`; export r; \
12055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12056 $(HOST_EXPORTS) \
12057 for flag in $(EXTRA_HOST_FLAGS) ; do \
12058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12059 done; \
12060 echo "Doing installcheck in gnuserv" ; \
12061 (cd $(HOST_SUBDIR)/gnuserv && \
12062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12064 "RANLIB=$${RANLIB}" \
12065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12066 installcheck) \
12067 || exit 1
12069 @endif gnuserv
12071 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12072 maybe-mostlyclean-gnuserv:
12073 @if gnuserv
12074 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12076 mostlyclean-gnuserv:
12077 @[ -f ./gnuserv/Makefile ] || exit 0; \
12078 r=`${PWD_COMMAND}`; export r; \
12079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12080 $(HOST_EXPORTS) \
12081 for flag in $(EXTRA_HOST_FLAGS) ; do \
12082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12083 done; \
12084 echo "Doing mostlyclean in gnuserv" ; \
12085 (cd $(HOST_SUBDIR)/gnuserv && \
12086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12088 "RANLIB=$${RANLIB}" \
12089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12090 mostlyclean) \
12091 || exit 1
12093 @endif gnuserv
12095 .PHONY: maybe-clean-gnuserv clean-gnuserv
12096 maybe-clean-gnuserv:
12097 @if gnuserv
12098 maybe-clean-gnuserv: clean-gnuserv
12100 clean-gnuserv:
12101 @[ -f ./gnuserv/Makefile ] || exit 0; \
12102 r=`${PWD_COMMAND}`; export r; \
12103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12104 $(HOST_EXPORTS) \
12105 for flag in $(EXTRA_HOST_FLAGS) ; do \
12106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12107 done; \
12108 echo "Doing clean in gnuserv" ; \
12109 (cd $(HOST_SUBDIR)/gnuserv && \
12110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12112 "RANLIB=$${RANLIB}" \
12113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12114 clean) \
12115 || exit 1
12117 @endif gnuserv
12119 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12120 maybe-distclean-gnuserv:
12121 @if gnuserv
12122 maybe-distclean-gnuserv: distclean-gnuserv
12124 distclean-gnuserv:
12125 @[ -f ./gnuserv/Makefile ] || exit 0; \
12126 r=`${PWD_COMMAND}`; export r; \
12127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12128 $(HOST_EXPORTS) \
12129 for flag in $(EXTRA_HOST_FLAGS) ; do \
12130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12131 done; \
12132 echo "Doing distclean in gnuserv" ; \
12133 (cd $(HOST_SUBDIR)/gnuserv && \
12134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12136 "RANLIB=$${RANLIB}" \
12137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12138 distclean) \
12139 || exit 1
12141 @endif gnuserv
12143 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12144 maybe-maintainer-clean-gnuserv:
12145 @if gnuserv
12146 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12148 maintainer-clean-gnuserv:
12149 @[ -f ./gnuserv/Makefile ] || exit 0; \
12150 r=`${PWD_COMMAND}`; export r; \
12151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12152 $(HOST_EXPORTS) \
12153 for flag in $(EXTRA_HOST_FLAGS) ; do \
12154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12155 done; \
12156 echo "Doing maintainer-clean in gnuserv" ; \
12157 (cd $(HOST_SUBDIR)/gnuserv && \
12158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12160 "RANLIB=$${RANLIB}" \
12161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12162 maintainer-clean) \
12163 || exit 1
12165 @endif gnuserv
12169 .PHONY: configure-gprof maybe-configure-gprof
12170 maybe-configure-gprof:
12171 @if gprof
12172 maybe-configure-gprof: configure-gprof
12173 configure-gprof:
12174 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12175 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12176 r=`${PWD_COMMAND}`; export r; \
12177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12178 $(HOST_EXPORTS) \
12179 echo Configuring in $(HOST_SUBDIR)/gprof; \
12180 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12181 case $(srcdir) in \
12182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12183 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12185 esac; \
12186 srcdiroption="--srcdir=$${topdir}/gprof"; \
12187 libsrcdir="$$s/gprof"; \
12188 $(SHELL) $${libsrcdir}/configure \
12189 $(HOST_CONFIGARGS) $${srcdiroption} \
12190 || exit 1
12191 @endif gprof
12197 .PHONY: all-gprof maybe-all-gprof
12198 maybe-all-gprof:
12199 @if gprof
12200 TARGET-gprof=all
12201 maybe-all-gprof: all-gprof
12202 all-gprof: configure-gprof
12203 @r=`${PWD_COMMAND}`; export r; \
12204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12205 $(HOST_EXPORTS) \
12206 (cd $(HOST_SUBDIR)/gprof && \
12207 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12208 @endif gprof
12213 .PHONY: check-gprof maybe-check-gprof
12214 maybe-check-gprof:
12215 @if gprof
12216 maybe-check-gprof: check-gprof
12218 check-gprof:
12219 @r=`${PWD_COMMAND}`; export r; \
12220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12221 $(HOST_EXPORTS) \
12222 (cd $(HOST_SUBDIR)/gprof && \
12223 $(MAKE) $(FLAGS_TO_PASS) check)
12225 @endif gprof
12227 .PHONY: install-gprof maybe-install-gprof
12228 maybe-install-gprof:
12229 @if gprof
12230 maybe-install-gprof: install-gprof
12232 install-gprof: installdirs
12233 @r=`${PWD_COMMAND}`; export r; \
12234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12235 $(HOST_EXPORTS) \
12236 (cd $(HOST_SUBDIR)/gprof && \
12237 $(MAKE) $(FLAGS_TO_PASS) install)
12239 @endif gprof
12241 # Other targets (info, dvi, etc.)
12243 .PHONY: maybe-info-gprof info-gprof
12244 maybe-info-gprof:
12245 @if gprof
12246 maybe-info-gprof: info-gprof
12248 info-gprof: \
12249 configure-gprof
12250 @[ -f ./gprof/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 info in gprof" ; \
12258 (cd $(HOST_SUBDIR)/gprof && \
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 info) \
12264 || exit 1
12266 @endif gprof
12268 .PHONY: maybe-dvi-gprof dvi-gprof
12269 maybe-dvi-gprof:
12270 @if gprof
12271 maybe-dvi-gprof: dvi-gprof
12273 dvi-gprof: \
12274 configure-gprof
12275 @[ -f ./gprof/Makefile ] || exit 0; \
12276 r=`${PWD_COMMAND}`; export r; \
12277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12278 $(HOST_EXPORTS) \
12279 for flag in $(EXTRA_HOST_FLAGS) ; do \
12280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12281 done; \
12282 echo "Doing dvi in gprof" ; \
12283 (cd $(HOST_SUBDIR)/gprof && \
12284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12286 "RANLIB=$${RANLIB}" \
12287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12288 dvi) \
12289 || exit 1
12291 @endif gprof
12293 .PHONY: maybe-html-gprof html-gprof
12294 maybe-html-gprof:
12295 @if gprof
12296 maybe-html-gprof: html-gprof
12298 html-gprof: \
12299 configure-gprof
12300 @[ -f ./gprof/Makefile ] || exit 0; \
12301 r=`${PWD_COMMAND}`; export r; \
12302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12303 $(HOST_EXPORTS) \
12304 for flag in $(EXTRA_HOST_FLAGS) ; do \
12305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12306 done; \
12307 echo "Doing html in gprof" ; \
12308 (cd $(HOST_SUBDIR)/gprof && \
12309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12311 "RANLIB=$${RANLIB}" \
12312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12313 html) \
12314 || exit 1
12316 @endif gprof
12318 .PHONY: maybe-TAGS-gprof TAGS-gprof
12319 maybe-TAGS-gprof:
12320 @if gprof
12321 maybe-TAGS-gprof: TAGS-gprof
12323 TAGS-gprof: \
12324 configure-gprof
12325 @[ -f ./gprof/Makefile ] || exit 0; \
12326 r=`${PWD_COMMAND}`; export r; \
12327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12328 $(HOST_EXPORTS) \
12329 for flag in $(EXTRA_HOST_FLAGS) ; do \
12330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12331 done; \
12332 echo "Doing TAGS in gprof" ; \
12333 (cd $(HOST_SUBDIR)/gprof && \
12334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12336 "RANLIB=$${RANLIB}" \
12337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12338 TAGS) \
12339 || exit 1
12341 @endif gprof
12343 .PHONY: maybe-install-info-gprof install-info-gprof
12344 maybe-install-info-gprof:
12345 @if gprof
12346 maybe-install-info-gprof: install-info-gprof
12348 install-info-gprof: \
12349 configure-gprof \
12350 info-gprof
12351 @[ -f ./gprof/Makefile ] || exit 0; \
12352 r=`${PWD_COMMAND}`; export r; \
12353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12354 $(HOST_EXPORTS) \
12355 for flag in $(EXTRA_HOST_FLAGS) ; do \
12356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12357 done; \
12358 echo "Doing install-info in gprof" ; \
12359 (cd $(HOST_SUBDIR)/gprof && \
12360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12362 "RANLIB=$${RANLIB}" \
12363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12364 install-info) \
12365 || exit 1
12367 @endif gprof
12369 .PHONY: maybe-installcheck-gprof installcheck-gprof
12370 maybe-installcheck-gprof:
12371 @if gprof
12372 maybe-installcheck-gprof: installcheck-gprof
12374 installcheck-gprof: \
12375 configure-gprof
12376 @[ -f ./gprof/Makefile ] || exit 0; \
12377 r=`${PWD_COMMAND}`; export r; \
12378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12379 $(HOST_EXPORTS) \
12380 for flag in $(EXTRA_HOST_FLAGS) ; do \
12381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12382 done; \
12383 echo "Doing installcheck in gprof" ; \
12384 (cd $(HOST_SUBDIR)/gprof && \
12385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12387 "RANLIB=$${RANLIB}" \
12388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12389 installcheck) \
12390 || exit 1
12392 @endif gprof
12394 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
12395 maybe-mostlyclean-gprof:
12396 @if gprof
12397 maybe-mostlyclean-gprof: mostlyclean-gprof
12399 mostlyclean-gprof:
12400 @[ -f ./gprof/Makefile ] || exit 0; \
12401 r=`${PWD_COMMAND}`; export r; \
12402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12403 $(HOST_EXPORTS) \
12404 for flag in $(EXTRA_HOST_FLAGS) ; do \
12405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12406 done; \
12407 echo "Doing mostlyclean in gprof" ; \
12408 (cd $(HOST_SUBDIR)/gprof && \
12409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12411 "RANLIB=$${RANLIB}" \
12412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12413 mostlyclean) \
12414 || exit 1
12416 @endif gprof
12418 .PHONY: maybe-clean-gprof clean-gprof
12419 maybe-clean-gprof:
12420 @if gprof
12421 maybe-clean-gprof: clean-gprof
12423 clean-gprof:
12424 @[ -f ./gprof/Makefile ] || exit 0; \
12425 r=`${PWD_COMMAND}`; export r; \
12426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12427 $(HOST_EXPORTS) \
12428 for flag in $(EXTRA_HOST_FLAGS) ; do \
12429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12430 done; \
12431 echo "Doing clean in gprof" ; \
12432 (cd $(HOST_SUBDIR)/gprof && \
12433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12435 "RANLIB=$${RANLIB}" \
12436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12437 clean) \
12438 || exit 1
12440 @endif gprof
12442 .PHONY: maybe-distclean-gprof distclean-gprof
12443 maybe-distclean-gprof:
12444 @if gprof
12445 maybe-distclean-gprof: distclean-gprof
12447 distclean-gprof:
12448 @[ -f ./gprof/Makefile ] || exit 0; \
12449 r=`${PWD_COMMAND}`; export r; \
12450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12451 $(HOST_EXPORTS) \
12452 for flag in $(EXTRA_HOST_FLAGS) ; do \
12453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12454 done; \
12455 echo "Doing distclean in gprof" ; \
12456 (cd $(HOST_SUBDIR)/gprof && \
12457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12459 "RANLIB=$${RANLIB}" \
12460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12461 distclean) \
12462 || exit 1
12464 @endif gprof
12466 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
12467 maybe-maintainer-clean-gprof:
12468 @if gprof
12469 maybe-maintainer-clean-gprof: maintainer-clean-gprof
12471 maintainer-clean-gprof:
12472 @[ -f ./gprof/Makefile ] || exit 0; \
12473 r=`${PWD_COMMAND}`; export r; \
12474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12475 $(HOST_EXPORTS) \
12476 for flag in $(EXTRA_HOST_FLAGS) ; do \
12477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12478 done; \
12479 echo "Doing maintainer-clean in gprof" ; \
12480 (cd $(HOST_SUBDIR)/gprof && \
12481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12483 "RANLIB=$${RANLIB}" \
12484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12485 maintainer-clean) \
12486 || exit 1
12488 @endif gprof
12492 .PHONY: configure-gzip maybe-configure-gzip
12493 maybe-configure-gzip:
12494 @if gzip
12495 maybe-configure-gzip: configure-gzip
12496 configure-gzip:
12497 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
12498 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
12499 r=`${PWD_COMMAND}`; export r; \
12500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12501 $(HOST_EXPORTS) \
12502 echo Configuring in $(HOST_SUBDIR)/gzip; \
12503 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
12504 case $(srcdir) in \
12505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12506 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
12507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12508 esac; \
12509 srcdiroption="--srcdir=$${topdir}/gzip"; \
12510 libsrcdir="$$s/gzip"; \
12511 $(SHELL) $${libsrcdir}/configure \
12512 $(HOST_CONFIGARGS) $${srcdiroption} \
12513 || exit 1
12514 @endif gzip
12520 .PHONY: all-gzip maybe-all-gzip
12521 maybe-all-gzip:
12522 @if gzip
12523 TARGET-gzip=all
12524 maybe-all-gzip: all-gzip
12525 all-gzip: configure-gzip
12526 @r=`${PWD_COMMAND}`; export r; \
12527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12528 $(HOST_EXPORTS) \
12529 (cd $(HOST_SUBDIR)/gzip && \
12530 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
12531 @endif gzip
12536 .PHONY: check-gzip maybe-check-gzip
12537 maybe-check-gzip:
12538 @if gzip
12539 maybe-check-gzip: check-gzip
12541 check-gzip:
12542 @r=`${PWD_COMMAND}`; export r; \
12543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12544 $(HOST_EXPORTS) \
12545 (cd $(HOST_SUBDIR)/gzip && \
12546 $(MAKE) $(FLAGS_TO_PASS) check)
12548 @endif gzip
12550 .PHONY: install-gzip maybe-install-gzip
12551 maybe-install-gzip:
12552 @if gzip
12553 maybe-install-gzip: install-gzip
12555 install-gzip: installdirs
12556 @r=`${PWD_COMMAND}`; export r; \
12557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12558 $(HOST_EXPORTS) \
12559 (cd $(HOST_SUBDIR)/gzip && \
12560 $(MAKE) $(FLAGS_TO_PASS) install)
12562 @endif gzip
12564 # Other targets (info, dvi, etc.)
12566 .PHONY: maybe-info-gzip info-gzip
12567 maybe-info-gzip:
12568 @if gzip
12569 maybe-info-gzip: info-gzip
12571 info-gzip: \
12572 configure-gzip
12573 @[ -f ./gzip/Makefile ] || exit 0; \
12574 r=`${PWD_COMMAND}`; export r; \
12575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12576 $(HOST_EXPORTS) \
12577 for flag in $(EXTRA_HOST_FLAGS) ; do \
12578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12579 done; \
12580 echo "Doing info in gzip" ; \
12581 (cd $(HOST_SUBDIR)/gzip && \
12582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12584 "RANLIB=$${RANLIB}" \
12585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12586 info) \
12587 || exit 1
12589 @endif gzip
12591 .PHONY: maybe-dvi-gzip dvi-gzip
12592 maybe-dvi-gzip:
12593 @if gzip
12594 maybe-dvi-gzip: dvi-gzip
12596 dvi-gzip: \
12597 configure-gzip
12598 @[ -f ./gzip/Makefile ] || exit 0; \
12599 r=`${PWD_COMMAND}`; export r; \
12600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12601 $(HOST_EXPORTS) \
12602 for flag in $(EXTRA_HOST_FLAGS) ; do \
12603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12604 done; \
12605 echo "Doing dvi in gzip" ; \
12606 (cd $(HOST_SUBDIR)/gzip && \
12607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12609 "RANLIB=$${RANLIB}" \
12610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12611 dvi) \
12612 || exit 1
12614 @endif gzip
12616 .PHONY: maybe-html-gzip html-gzip
12617 maybe-html-gzip:
12618 @if gzip
12619 maybe-html-gzip: html-gzip
12621 html-gzip: \
12622 configure-gzip
12623 @[ -f ./gzip/Makefile ] || exit 0; \
12624 r=`${PWD_COMMAND}`; export r; \
12625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12626 $(HOST_EXPORTS) \
12627 for flag in $(EXTRA_HOST_FLAGS) ; do \
12628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12629 done; \
12630 echo "Doing html in gzip" ; \
12631 (cd $(HOST_SUBDIR)/gzip && \
12632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12634 "RANLIB=$${RANLIB}" \
12635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12636 html) \
12637 || exit 1
12639 @endif gzip
12641 .PHONY: maybe-TAGS-gzip TAGS-gzip
12642 maybe-TAGS-gzip:
12643 @if gzip
12644 maybe-TAGS-gzip: TAGS-gzip
12646 TAGS-gzip: \
12647 configure-gzip
12648 @[ -f ./gzip/Makefile ] || exit 0; \
12649 r=`${PWD_COMMAND}`; export r; \
12650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12651 $(HOST_EXPORTS) \
12652 for flag in $(EXTRA_HOST_FLAGS) ; do \
12653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12654 done; \
12655 echo "Doing TAGS in gzip" ; \
12656 (cd $(HOST_SUBDIR)/gzip && \
12657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12659 "RANLIB=$${RANLIB}" \
12660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12661 TAGS) \
12662 || exit 1
12664 @endif gzip
12666 .PHONY: maybe-install-info-gzip install-info-gzip
12667 maybe-install-info-gzip:
12668 @if gzip
12669 maybe-install-info-gzip: install-info-gzip
12671 install-info-gzip: \
12672 configure-gzip \
12673 info-gzip
12674 @[ -f ./gzip/Makefile ] || exit 0; \
12675 r=`${PWD_COMMAND}`; export r; \
12676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12677 $(HOST_EXPORTS) \
12678 for flag in $(EXTRA_HOST_FLAGS) ; do \
12679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12680 done; \
12681 echo "Doing install-info in gzip" ; \
12682 (cd $(HOST_SUBDIR)/gzip && \
12683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12685 "RANLIB=$${RANLIB}" \
12686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12687 install-info) \
12688 || exit 1
12690 @endif gzip
12692 .PHONY: maybe-installcheck-gzip installcheck-gzip
12693 maybe-installcheck-gzip:
12694 @if gzip
12695 maybe-installcheck-gzip: installcheck-gzip
12697 installcheck-gzip: \
12698 configure-gzip
12699 @[ -f ./gzip/Makefile ] || exit 0; \
12700 r=`${PWD_COMMAND}`; export r; \
12701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12702 $(HOST_EXPORTS) \
12703 for flag in $(EXTRA_HOST_FLAGS) ; do \
12704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12705 done; \
12706 echo "Doing installcheck in gzip" ; \
12707 (cd $(HOST_SUBDIR)/gzip && \
12708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12710 "RANLIB=$${RANLIB}" \
12711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12712 installcheck) \
12713 || exit 1
12715 @endif gzip
12717 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
12718 maybe-mostlyclean-gzip:
12719 @if gzip
12720 maybe-mostlyclean-gzip: mostlyclean-gzip
12722 mostlyclean-gzip:
12723 @[ -f ./gzip/Makefile ] || exit 0; \
12724 r=`${PWD_COMMAND}`; export r; \
12725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12726 $(HOST_EXPORTS) \
12727 for flag in $(EXTRA_HOST_FLAGS) ; do \
12728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12729 done; \
12730 echo "Doing mostlyclean in gzip" ; \
12731 (cd $(HOST_SUBDIR)/gzip && \
12732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12734 "RANLIB=$${RANLIB}" \
12735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12736 mostlyclean) \
12737 || exit 1
12739 @endif gzip
12741 .PHONY: maybe-clean-gzip clean-gzip
12742 maybe-clean-gzip:
12743 @if gzip
12744 maybe-clean-gzip: clean-gzip
12746 clean-gzip:
12747 @[ -f ./gzip/Makefile ] || exit 0; \
12748 r=`${PWD_COMMAND}`; export r; \
12749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12750 $(HOST_EXPORTS) \
12751 for flag in $(EXTRA_HOST_FLAGS) ; do \
12752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12753 done; \
12754 echo "Doing clean in gzip" ; \
12755 (cd $(HOST_SUBDIR)/gzip && \
12756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12758 "RANLIB=$${RANLIB}" \
12759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12760 clean) \
12761 || exit 1
12763 @endif gzip
12765 .PHONY: maybe-distclean-gzip distclean-gzip
12766 maybe-distclean-gzip:
12767 @if gzip
12768 maybe-distclean-gzip: distclean-gzip
12770 distclean-gzip:
12771 @[ -f ./gzip/Makefile ] || exit 0; \
12772 r=`${PWD_COMMAND}`; export r; \
12773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12774 $(HOST_EXPORTS) \
12775 for flag in $(EXTRA_HOST_FLAGS) ; do \
12776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12777 done; \
12778 echo "Doing distclean in gzip" ; \
12779 (cd $(HOST_SUBDIR)/gzip && \
12780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12782 "RANLIB=$${RANLIB}" \
12783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12784 distclean) \
12785 || exit 1
12787 @endif gzip
12789 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
12790 maybe-maintainer-clean-gzip:
12791 @if gzip
12792 maybe-maintainer-clean-gzip: maintainer-clean-gzip
12794 maintainer-clean-gzip:
12795 @[ -f ./gzip/Makefile ] || exit 0; \
12796 r=`${PWD_COMMAND}`; export r; \
12797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12798 $(HOST_EXPORTS) \
12799 for flag in $(EXTRA_HOST_FLAGS) ; do \
12800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12801 done; \
12802 echo "Doing maintainer-clean in gzip" ; \
12803 (cd $(HOST_SUBDIR)/gzip && \
12804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12806 "RANLIB=$${RANLIB}" \
12807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12808 maintainer-clean) \
12809 || exit 1
12811 @endif gzip
12815 .PHONY: configure-hello maybe-configure-hello
12816 maybe-configure-hello:
12817 @if hello
12818 maybe-configure-hello: configure-hello
12819 configure-hello:
12820 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
12821 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
12822 r=`${PWD_COMMAND}`; export r; \
12823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12824 $(HOST_EXPORTS) \
12825 echo Configuring in $(HOST_SUBDIR)/hello; \
12826 cd "$(HOST_SUBDIR)/hello" || exit 1; \
12827 case $(srcdir) in \
12828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12829 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
12830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12831 esac; \
12832 srcdiroption="--srcdir=$${topdir}/hello"; \
12833 libsrcdir="$$s/hello"; \
12834 $(SHELL) $${libsrcdir}/configure \
12835 $(HOST_CONFIGARGS) $${srcdiroption} \
12836 || exit 1
12837 @endif hello
12843 .PHONY: all-hello maybe-all-hello
12844 maybe-all-hello:
12845 @if hello
12846 TARGET-hello=all
12847 maybe-all-hello: all-hello
12848 all-hello: configure-hello
12849 @r=`${PWD_COMMAND}`; export r; \
12850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12851 $(HOST_EXPORTS) \
12852 (cd $(HOST_SUBDIR)/hello && \
12853 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
12854 @endif hello
12859 .PHONY: check-hello maybe-check-hello
12860 maybe-check-hello:
12861 @if hello
12862 maybe-check-hello: check-hello
12864 check-hello:
12865 @r=`${PWD_COMMAND}`; export r; \
12866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12867 $(HOST_EXPORTS) \
12868 (cd $(HOST_SUBDIR)/hello && \
12869 $(MAKE) $(FLAGS_TO_PASS) check)
12871 @endif hello
12873 .PHONY: install-hello maybe-install-hello
12874 maybe-install-hello:
12875 @if hello
12876 maybe-install-hello: install-hello
12878 install-hello: installdirs
12879 @r=`${PWD_COMMAND}`; export r; \
12880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12881 $(HOST_EXPORTS) \
12882 (cd $(HOST_SUBDIR)/hello && \
12883 $(MAKE) $(FLAGS_TO_PASS) install)
12885 @endif hello
12887 # Other targets (info, dvi, etc.)
12889 .PHONY: maybe-info-hello info-hello
12890 maybe-info-hello:
12891 @if hello
12892 maybe-info-hello: info-hello
12894 info-hello: \
12895 configure-hello
12896 @[ -f ./hello/Makefile ] || exit 0; \
12897 r=`${PWD_COMMAND}`; export r; \
12898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12899 $(HOST_EXPORTS) \
12900 for flag in $(EXTRA_HOST_FLAGS) ; do \
12901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12902 done; \
12903 echo "Doing info in hello" ; \
12904 (cd $(HOST_SUBDIR)/hello && \
12905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12907 "RANLIB=$${RANLIB}" \
12908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12909 info) \
12910 || exit 1
12912 @endif hello
12914 .PHONY: maybe-dvi-hello dvi-hello
12915 maybe-dvi-hello:
12916 @if hello
12917 maybe-dvi-hello: dvi-hello
12919 dvi-hello: \
12920 configure-hello
12921 @[ -f ./hello/Makefile ] || exit 0; \
12922 r=`${PWD_COMMAND}`; export r; \
12923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12924 $(HOST_EXPORTS) \
12925 for flag in $(EXTRA_HOST_FLAGS) ; do \
12926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12927 done; \
12928 echo "Doing dvi in hello" ; \
12929 (cd $(HOST_SUBDIR)/hello && \
12930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12932 "RANLIB=$${RANLIB}" \
12933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12934 dvi) \
12935 || exit 1
12937 @endif hello
12939 .PHONY: maybe-html-hello html-hello
12940 maybe-html-hello:
12941 @if hello
12942 maybe-html-hello: html-hello
12944 html-hello: \
12945 configure-hello
12946 @[ -f ./hello/Makefile ] || exit 0; \
12947 r=`${PWD_COMMAND}`; export r; \
12948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12949 $(HOST_EXPORTS) \
12950 for flag in $(EXTRA_HOST_FLAGS) ; do \
12951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12952 done; \
12953 echo "Doing html in hello" ; \
12954 (cd $(HOST_SUBDIR)/hello && \
12955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12957 "RANLIB=$${RANLIB}" \
12958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12959 html) \
12960 || exit 1
12962 @endif hello
12964 .PHONY: maybe-TAGS-hello TAGS-hello
12965 maybe-TAGS-hello:
12966 @if hello
12967 maybe-TAGS-hello: TAGS-hello
12969 TAGS-hello: \
12970 configure-hello
12971 @[ -f ./hello/Makefile ] || exit 0; \
12972 r=`${PWD_COMMAND}`; export r; \
12973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12974 $(HOST_EXPORTS) \
12975 for flag in $(EXTRA_HOST_FLAGS) ; do \
12976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12977 done; \
12978 echo "Doing TAGS in hello" ; \
12979 (cd $(HOST_SUBDIR)/hello && \
12980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12982 "RANLIB=$${RANLIB}" \
12983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12984 TAGS) \
12985 || exit 1
12987 @endif hello
12989 .PHONY: maybe-install-info-hello install-info-hello
12990 maybe-install-info-hello:
12991 @if hello
12992 maybe-install-info-hello: install-info-hello
12994 install-info-hello: \
12995 configure-hello \
12996 info-hello
12997 @[ -f ./hello/Makefile ] || exit 0; \
12998 r=`${PWD_COMMAND}`; export r; \
12999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13000 $(HOST_EXPORTS) \
13001 for flag in $(EXTRA_HOST_FLAGS) ; do \
13002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13003 done; \
13004 echo "Doing install-info in hello" ; \
13005 (cd $(HOST_SUBDIR)/hello && \
13006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13008 "RANLIB=$${RANLIB}" \
13009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13010 install-info) \
13011 || exit 1
13013 @endif hello
13015 .PHONY: maybe-installcheck-hello installcheck-hello
13016 maybe-installcheck-hello:
13017 @if hello
13018 maybe-installcheck-hello: installcheck-hello
13020 installcheck-hello: \
13021 configure-hello
13022 @[ -f ./hello/Makefile ] || exit 0; \
13023 r=`${PWD_COMMAND}`; export r; \
13024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13025 $(HOST_EXPORTS) \
13026 for flag in $(EXTRA_HOST_FLAGS) ; do \
13027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13028 done; \
13029 echo "Doing installcheck in hello" ; \
13030 (cd $(HOST_SUBDIR)/hello && \
13031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13033 "RANLIB=$${RANLIB}" \
13034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13035 installcheck) \
13036 || exit 1
13038 @endif hello
13040 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13041 maybe-mostlyclean-hello:
13042 @if hello
13043 maybe-mostlyclean-hello: mostlyclean-hello
13045 mostlyclean-hello:
13046 @[ -f ./hello/Makefile ] || exit 0; \
13047 r=`${PWD_COMMAND}`; export r; \
13048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13049 $(HOST_EXPORTS) \
13050 for flag in $(EXTRA_HOST_FLAGS) ; do \
13051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13052 done; \
13053 echo "Doing mostlyclean in hello" ; \
13054 (cd $(HOST_SUBDIR)/hello && \
13055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13057 "RANLIB=$${RANLIB}" \
13058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13059 mostlyclean) \
13060 || exit 1
13062 @endif hello
13064 .PHONY: maybe-clean-hello clean-hello
13065 maybe-clean-hello:
13066 @if hello
13067 maybe-clean-hello: clean-hello
13069 clean-hello:
13070 @[ -f ./hello/Makefile ] || exit 0; \
13071 r=`${PWD_COMMAND}`; export r; \
13072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13073 $(HOST_EXPORTS) \
13074 for flag in $(EXTRA_HOST_FLAGS) ; do \
13075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13076 done; \
13077 echo "Doing clean in hello" ; \
13078 (cd $(HOST_SUBDIR)/hello && \
13079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13081 "RANLIB=$${RANLIB}" \
13082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13083 clean) \
13084 || exit 1
13086 @endif hello
13088 .PHONY: maybe-distclean-hello distclean-hello
13089 maybe-distclean-hello:
13090 @if hello
13091 maybe-distclean-hello: distclean-hello
13093 distclean-hello:
13094 @[ -f ./hello/Makefile ] || exit 0; \
13095 r=`${PWD_COMMAND}`; export r; \
13096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13097 $(HOST_EXPORTS) \
13098 for flag in $(EXTRA_HOST_FLAGS) ; do \
13099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13100 done; \
13101 echo "Doing distclean in hello" ; \
13102 (cd $(HOST_SUBDIR)/hello && \
13103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13105 "RANLIB=$${RANLIB}" \
13106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13107 distclean) \
13108 || exit 1
13110 @endif hello
13112 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13113 maybe-maintainer-clean-hello:
13114 @if hello
13115 maybe-maintainer-clean-hello: maintainer-clean-hello
13117 maintainer-clean-hello:
13118 @[ -f ./hello/Makefile ] || exit 0; \
13119 r=`${PWD_COMMAND}`; export r; \
13120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13121 $(HOST_EXPORTS) \
13122 for flag in $(EXTRA_HOST_FLAGS) ; do \
13123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13124 done; \
13125 echo "Doing maintainer-clean in hello" ; \
13126 (cd $(HOST_SUBDIR)/hello && \
13127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13129 "RANLIB=$${RANLIB}" \
13130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13131 maintainer-clean) \
13132 || exit 1
13134 @endif hello
13138 .PHONY: configure-indent maybe-configure-indent
13139 maybe-configure-indent:
13140 @if indent
13141 maybe-configure-indent: configure-indent
13142 configure-indent:
13143 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13145 r=`${PWD_COMMAND}`; export r; \
13146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13147 $(HOST_EXPORTS) \
13148 echo Configuring in $(HOST_SUBDIR)/indent; \
13149 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13150 case $(srcdir) in \
13151 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13152 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13153 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13154 esac; \
13155 srcdiroption="--srcdir=$${topdir}/indent"; \
13156 libsrcdir="$$s/indent"; \
13157 $(SHELL) $${libsrcdir}/configure \
13158 $(HOST_CONFIGARGS) $${srcdiroption} \
13159 || exit 1
13160 @endif indent
13166 .PHONY: all-indent maybe-all-indent
13167 maybe-all-indent:
13168 @if indent
13169 TARGET-indent=all
13170 maybe-all-indent: all-indent
13171 all-indent: configure-indent
13172 @r=`${PWD_COMMAND}`; export r; \
13173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13174 $(HOST_EXPORTS) \
13175 (cd $(HOST_SUBDIR)/indent && \
13176 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13177 @endif indent
13182 .PHONY: check-indent maybe-check-indent
13183 maybe-check-indent:
13184 @if indent
13185 maybe-check-indent: check-indent
13187 check-indent:
13188 @r=`${PWD_COMMAND}`; export r; \
13189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13190 $(HOST_EXPORTS) \
13191 (cd $(HOST_SUBDIR)/indent && \
13192 $(MAKE) $(FLAGS_TO_PASS) check)
13194 @endif indent
13196 .PHONY: install-indent maybe-install-indent
13197 maybe-install-indent:
13198 @if indent
13199 maybe-install-indent: install-indent
13201 install-indent: installdirs
13202 @r=`${PWD_COMMAND}`; export r; \
13203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13204 $(HOST_EXPORTS) \
13205 (cd $(HOST_SUBDIR)/indent && \
13206 $(MAKE) $(FLAGS_TO_PASS) install)
13208 @endif indent
13210 # Other targets (info, dvi, etc.)
13212 .PHONY: maybe-info-indent info-indent
13213 maybe-info-indent:
13214 @if indent
13215 maybe-info-indent: info-indent
13217 info-indent: \
13218 configure-indent
13219 @[ -f ./indent/Makefile ] || exit 0; \
13220 r=`${PWD_COMMAND}`; export r; \
13221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13222 $(HOST_EXPORTS) \
13223 for flag in $(EXTRA_HOST_FLAGS) ; do \
13224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13225 done; \
13226 echo "Doing info in indent" ; \
13227 (cd $(HOST_SUBDIR)/indent && \
13228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13230 "RANLIB=$${RANLIB}" \
13231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13232 info) \
13233 || exit 1
13235 @endif indent
13237 .PHONY: maybe-dvi-indent dvi-indent
13238 maybe-dvi-indent:
13239 @if indent
13240 maybe-dvi-indent: dvi-indent
13242 dvi-indent: \
13243 configure-indent
13244 @[ -f ./indent/Makefile ] || exit 0; \
13245 r=`${PWD_COMMAND}`; export r; \
13246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13247 $(HOST_EXPORTS) \
13248 for flag in $(EXTRA_HOST_FLAGS) ; do \
13249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13250 done; \
13251 echo "Doing dvi in indent" ; \
13252 (cd $(HOST_SUBDIR)/indent && \
13253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13255 "RANLIB=$${RANLIB}" \
13256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13257 dvi) \
13258 || exit 1
13260 @endif indent
13262 .PHONY: maybe-html-indent html-indent
13263 maybe-html-indent:
13264 @if indent
13265 maybe-html-indent: html-indent
13267 html-indent: \
13268 configure-indent
13269 @[ -f ./indent/Makefile ] || exit 0; \
13270 r=`${PWD_COMMAND}`; export r; \
13271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13272 $(HOST_EXPORTS) \
13273 for flag in $(EXTRA_HOST_FLAGS) ; do \
13274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13275 done; \
13276 echo "Doing html in indent" ; \
13277 (cd $(HOST_SUBDIR)/indent && \
13278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13280 "RANLIB=$${RANLIB}" \
13281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13282 html) \
13283 || exit 1
13285 @endif indent
13287 .PHONY: maybe-TAGS-indent TAGS-indent
13288 maybe-TAGS-indent:
13289 @if indent
13290 maybe-TAGS-indent: TAGS-indent
13292 TAGS-indent: \
13293 configure-indent
13294 @[ -f ./indent/Makefile ] || exit 0; \
13295 r=`${PWD_COMMAND}`; export r; \
13296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13297 $(HOST_EXPORTS) \
13298 for flag in $(EXTRA_HOST_FLAGS) ; do \
13299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13300 done; \
13301 echo "Doing TAGS in indent" ; \
13302 (cd $(HOST_SUBDIR)/indent && \
13303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13305 "RANLIB=$${RANLIB}" \
13306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13307 TAGS) \
13308 || exit 1
13310 @endif indent
13312 .PHONY: maybe-install-info-indent install-info-indent
13313 maybe-install-info-indent:
13314 @if indent
13315 maybe-install-info-indent: install-info-indent
13317 install-info-indent: \
13318 configure-indent \
13319 info-indent
13320 @[ -f ./indent/Makefile ] || exit 0; \
13321 r=`${PWD_COMMAND}`; export r; \
13322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13323 $(HOST_EXPORTS) \
13324 for flag in $(EXTRA_HOST_FLAGS) ; do \
13325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13326 done; \
13327 echo "Doing install-info in indent" ; \
13328 (cd $(HOST_SUBDIR)/indent && \
13329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13331 "RANLIB=$${RANLIB}" \
13332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13333 install-info) \
13334 || exit 1
13336 @endif indent
13338 .PHONY: maybe-installcheck-indent installcheck-indent
13339 maybe-installcheck-indent:
13340 @if indent
13341 maybe-installcheck-indent: installcheck-indent
13343 installcheck-indent: \
13344 configure-indent
13345 @[ -f ./indent/Makefile ] || exit 0; \
13346 r=`${PWD_COMMAND}`; export r; \
13347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13348 $(HOST_EXPORTS) \
13349 for flag in $(EXTRA_HOST_FLAGS) ; do \
13350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13351 done; \
13352 echo "Doing installcheck in indent" ; \
13353 (cd $(HOST_SUBDIR)/indent && \
13354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13356 "RANLIB=$${RANLIB}" \
13357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13358 installcheck) \
13359 || exit 1
13361 @endif indent
13363 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
13364 maybe-mostlyclean-indent:
13365 @if indent
13366 maybe-mostlyclean-indent: mostlyclean-indent
13368 mostlyclean-indent:
13369 @[ -f ./indent/Makefile ] || exit 0; \
13370 r=`${PWD_COMMAND}`; export r; \
13371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13372 $(HOST_EXPORTS) \
13373 for flag in $(EXTRA_HOST_FLAGS) ; do \
13374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13375 done; \
13376 echo "Doing mostlyclean in indent" ; \
13377 (cd $(HOST_SUBDIR)/indent && \
13378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13380 "RANLIB=$${RANLIB}" \
13381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13382 mostlyclean) \
13383 || exit 1
13385 @endif indent
13387 .PHONY: maybe-clean-indent clean-indent
13388 maybe-clean-indent:
13389 @if indent
13390 maybe-clean-indent: clean-indent
13392 clean-indent:
13393 @[ -f ./indent/Makefile ] || exit 0; \
13394 r=`${PWD_COMMAND}`; export r; \
13395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13396 $(HOST_EXPORTS) \
13397 for flag in $(EXTRA_HOST_FLAGS) ; do \
13398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13399 done; \
13400 echo "Doing clean in indent" ; \
13401 (cd $(HOST_SUBDIR)/indent && \
13402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13404 "RANLIB=$${RANLIB}" \
13405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13406 clean) \
13407 || exit 1
13409 @endif indent
13411 .PHONY: maybe-distclean-indent distclean-indent
13412 maybe-distclean-indent:
13413 @if indent
13414 maybe-distclean-indent: distclean-indent
13416 distclean-indent:
13417 @[ -f ./indent/Makefile ] || exit 0; \
13418 r=`${PWD_COMMAND}`; export r; \
13419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13420 $(HOST_EXPORTS) \
13421 for flag in $(EXTRA_HOST_FLAGS) ; do \
13422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13423 done; \
13424 echo "Doing distclean in indent" ; \
13425 (cd $(HOST_SUBDIR)/indent && \
13426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13428 "RANLIB=$${RANLIB}" \
13429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13430 distclean) \
13431 || exit 1
13433 @endif indent
13435 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
13436 maybe-maintainer-clean-indent:
13437 @if indent
13438 maybe-maintainer-clean-indent: maintainer-clean-indent
13440 maintainer-clean-indent:
13441 @[ -f ./indent/Makefile ] || exit 0; \
13442 r=`${PWD_COMMAND}`; export r; \
13443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13444 $(HOST_EXPORTS) \
13445 for flag in $(EXTRA_HOST_FLAGS) ; do \
13446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13447 done; \
13448 echo "Doing maintainer-clean in indent" ; \
13449 (cd $(HOST_SUBDIR)/indent && \
13450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13452 "RANLIB=$${RANLIB}" \
13453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13454 maintainer-clean) \
13455 || exit 1
13457 @endif indent
13461 .PHONY: configure-intl maybe-configure-intl
13462 maybe-configure-intl:
13463 @if intl
13464 maybe-configure-intl: configure-intl
13465 configure-intl:
13466 @test -f stage_last && exit 0; \
13467 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13468 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13469 r=`${PWD_COMMAND}`; export r; \
13470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13471 $(HOST_EXPORTS) \
13472 echo Configuring in $(HOST_SUBDIR)/intl; \
13473 cd "$(HOST_SUBDIR)/intl" || exit 1; \
13474 case $(srcdir) in \
13475 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13476 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13477 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13478 esac; \
13479 srcdiroption="--srcdir=$${topdir}/intl"; \
13480 libsrcdir="$$s/intl"; \
13481 $(SHELL) $${libsrcdir}/configure \
13482 $(HOST_CONFIGARGS) $${srcdiroption} \
13483 || exit 1
13484 @endif intl
13488 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
13489 maybe-configure-stage1-intl:
13490 @if intl-bootstrap
13491 maybe-configure-stage1-intl: configure-stage1-intl
13492 configure-stage1-intl:
13493 @$(MAKE) stage1-start
13494 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13495 r=`${PWD_COMMAND}`; export r; \
13496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13497 $(HOST_EXPORTS) \
13498 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
13499 cd $(HOST_SUBDIR)/intl || exit 1; \
13500 case $(srcdir) in \
13501 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13502 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13503 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13504 esac; \
13505 srcdiroption="--srcdir=$${topdir}/intl"; \
13506 libsrcdir="$$s/intl"; \
13507 $(SHELL) $${libsrcdir}/configure \
13508 $(HOST_CONFIGARGS) $${srcdiroption} \
13509 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
13510 @endif intl-bootstrap
13512 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
13513 maybe-configure-stage2-intl:
13514 @if intl-bootstrap
13515 maybe-configure-stage2-intl: configure-stage2-intl
13516 configure-stage2-intl:
13517 @$(MAKE) stage2-start
13518 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13519 r=`${PWD_COMMAND}`; export r; \
13520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13521 $(HOST_EXPORTS) \
13522 $(POSTSTAGE1_HOST_EXPORTS) \
13523 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
13524 cd $(HOST_SUBDIR)/intl || exit 1; \
13525 case $(srcdir) in \
13526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13527 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13529 esac; \
13530 srcdiroption="--srcdir=$${topdir}/intl"; \
13531 libsrcdir="$$s/intl"; \
13532 $(SHELL) $${libsrcdir}/configure \
13533 $(HOST_CONFIGARGS) $${srcdiroption} \
13534 @stage2_werror_flag@
13535 @endif intl-bootstrap
13537 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
13538 maybe-configure-stage3-intl:
13539 @if intl-bootstrap
13540 maybe-configure-stage3-intl: configure-stage3-intl
13541 configure-stage3-intl:
13542 @$(MAKE) stage3-start
13543 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13544 r=`${PWD_COMMAND}`; export r; \
13545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13546 $(HOST_EXPORTS) \
13547 $(POSTSTAGE1_HOST_EXPORTS) \
13548 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
13549 cd $(HOST_SUBDIR)/intl || exit 1; \
13550 case $(srcdir) in \
13551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13552 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13554 esac; \
13555 srcdiroption="--srcdir=$${topdir}/intl"; \
13556 libsrcdir="$$s/intl"; \
13557 $(SHELL) $${libsrcdir}/configure \
13558 $(HOST_CONFIGARGS) $${srcdiroption} \
13559 @stage2_werror_flag@
13560 @endif intl-bootstrap
13562 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
13563 maybe-configure-stage4-intl:
13564 @if intl-bootstrap
13565 maybe-configure-stage4-intl: configure-stage4-intl
13566 configure-stage4-intl:
13567 @$(MAKE) stage4-start
13568 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13569 r=`${PWD_COMMAND}`; export r; \
13570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13571 $(HOST_EXPORTS) \
13572 $(POSTSTAGE1_HOST_EXPORTS) \
13573 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
13574 cd $(HOST_SUBDIR)/intl || exit 1; \
13575 case $(srcdir) in \
13576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13577 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13579 esac; \
13580 srcdiroption="--srcdir=$${topdir}/intl"; \
13581 libsrcdir="$$s/intl"; \
13582 $(SHELL) $${libsrcdir}/configure \
13583 $(HOST_CONFIGARGS) $${srcdiroption} \
13584 @stage2_werror_flag@
13585 @endif intl-bootstrap
13587 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
13588 maybe-configure-stageprofile-intl:
13589 @if intl-bootstrap
13590 maybe-configure-stageprofile-intl: configure-stageprofile-intl
13591 configure-stageprofile-intl:
13592 @$(MAKE) stageprofile-start
13593 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13594 r=`${PWD_COMMAND}`; export r; \
13595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13596 $(HOST_EXPORTS) \
13597 $(POSTSTAGE1_HOST_EXPORTS) \
13598 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
13599 cd $(HOST_SUBDIR)/intl || exit 1; \
13600 case $(srcdir) in \
13601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13602 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13604 esac; \
13605 srcdiroption="--srcdir=$${topdir}/intl"; \
13606 libsrcdir="$$s/intl"; \
13607 $(SHELL) $${libsrcdir}/configure \
13608 $(HOST_CONFIGARGS) $${srcdiroption} \
13609 @stage2_werror_flag@
13610 @endif intl-bootstrap
13612 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
13613 maybe-configure-stagefeedback-intl:
13614 @if intl-bootstrap
13615 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
13616 configure-stagefeedback-intl:
13617 @$(MAKE) stagefeedback-start
13618 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13619 r=`${PWD_COMMAND}`; export r; \
13620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13621 $(HOST_EXPORTS) \
13622 $(POSTSTAGE1_HOST_EXPORTS) \
13623 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
13624 cd $(HOST_SUBDIR)/intl || exit 1; \
13625 case $(srcdir) in \
13626 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13627 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13628 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13629 esac; \
13630 srcdiroption="--srcdir=$${topdir}/intl"; \
13631 libsrcdir="$$s/intl"; \
13632 $(SHELL) $${libsrcdir}/configure \
13633 $(HOST_CONFIGARGS) $${srcdiroption} \
13634 @stage2_werror_flag@
13635 @endif intl-bootstrap
13641 .PHONY: all-intl maybe-all-intl
13642 maybe-all-intl:
13643 @if intl
13644 TARGET-intl=all
13645 maybe-all-intl: all-intl
13646 all-intl: configure-intl
13647 @test -f stage_last && exit 0; \
13648 r=`${PWD_COMMAND}`; export r; \
13649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13650 $(HOST_EXPORTS) \
13651 (cd $(HOST_SUBDIR)/intl && \
13652 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
13653 @endif intl
13657 .PHONY: all-stage1-intl maybe-all-stage1-intl
13658 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
13659 maybe-all-stage1-intl:
13660 maybe-clean-stage1-intl:
13661 @if intl-bootstrap
13662 maybe-all-stage1-intl: all-stage1-intl
13663 all-stage1: all-stage1-intl
13664 all-stage1-intl: configure-stage1-intl
13665 @$(MAKE) stage1-start
13666 @r=`${PWD_COMMAND}`; export r; \
13667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13668 $(HOST_EXPORTS) \
13669 cd $(HOST_SUBDIR)/intl && \
13670 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
13672 maybe-clean-stage1-intl: clean-stage1-intl
13673 clean-stage1: clean-stage1-intl
13674 clean-stage1-intl:
13675 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
13676 || exit 0 ; \
13677 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage1-start ; \
13678 cd $(HOST_SUBDIR)/intl && \
13679 $(MAKE) $(FLAGS_TO_PASS) \
13680 CFLAGS="$(STAGE1_CFLAGS)" clean
13681 @endif intl-bootstrap
13684 .PHONY: all-stage2-intl maybe-all-stage2-intl
13685 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
13686 maybe-all-stage2-intl:
13687 maybe-clean-stage2-intl:
13688 @if intl-bootstrap
13689 maybe-all-stage2-intl: all-stage2-intl
13690 all-stage2: all-stage2-intl
13691 all-stage2-intl: configure-stage2-intl
13692 @$(MAKE) stage2-start
13693 @r=`${PWD_COMMAND}`; export r; \
13694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13695 $(HOST_EXPORTS) \
13696 $(POSTSTAGE1_HOST_EXPORTS) \
13697 cd $(HOST_SUBDIR)/intl && \
13698 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
13700 maybe-clean-stage2-intl: clean-stage2-intl
13701 clean-stage2: clean-stage2-intl
13702 clean-stage2-intl:
13703 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
13704 || exit 0 ; \
13705 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage2-start ; \
13706 cd $(HOST_SUBDIR)/intl && \
13707 $(MAKE) $(FLAGS_TO_PASS) \
13708 $(POSTSTAGE1_FLAGS_TO_PASS) \
13709 clean
13710 @endif intl-bootstrap
13713 .PHONY: all-stage3-intl maybe-all-stage3-intl
13714 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
13715 maybe-all-stage3-intl:
13716 maybe-clean-stage3-intl:
13717 @if intl-bootstrap
13718 maybe-all-stage3-intl: all-stage3-intl
13719 all-stage3: all-stage3-intl
13720 all-stage3-intl: configure-stage3-intl
13721 @$(MAKE) stage3-start
13722 @r=`${PWD_COMMAND}`; export r; \
13723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13724 $(HOST_EXPORTS) \
13725 $(POSTSTAGE1_HOST_EXPORTS) \
13726 cd $(HOST_SUBDIR)/intl && \
13727 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
13729 maybe-clean-stage3-intl: clean-stage3-intl
13730 clean-stage3: clean-stage3-intl
13731 clean-stage3-intl:
13732 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
13733 || exit 0 ; \
13734 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage3-start ; \
13735 cd $(HOST_SUBDIR)/intl && \
13736 $(MAKE) $(FLAGS_TO_PASS) \
13737 $(POSTSTAGE1_FLAGS_TO_PASS) \
13738 clean
13739 @endif intl-bootstrap
13742 .PHONY: all-stage4-intl maybe-all-stage4-intl
13743 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
13744 maybe-all-stage4-intl:
13745 maybe-clean-stage4-intl:
13746 @if intl-bootstrap
13747 maybe-all-stage4-intl: all-stage4-intl
13748 all-stage4: all-stage4-intl
13749 all-stage4-intl: configure-stage4-intl
13750 @$(MAKE) stage4-start
13751 @r=`${PWD_COMMAND}`; export r; \
13752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13753 $(HOST_EXPORTS) \
13754 $(POSTSTAGE1_HOST_EXPORTS) \
13755 cd $(HOST_SUBDIR)/intl && \
13756 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
13758 maybe-clean-stage4-intl: clean-stage4-intl
13759 clean-stage4: clean-stage4-intl
13760 clean-stage4-intl:
13761 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
13762 || exit 0 ; \
13763 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage4-start ; \
13764 cd $(HOST_SUBDIR)/intl && \
13765 $(MAKE) $(FLAGS_TO_PASS) \
13766 $(POSTSTAGE1_FLAGS_TO_PASS) \
13767 clean
13768 @endif intl-bootstrap
13771 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
13772 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
13773 maybe-all-stageprofile-intl:
13774 maybe-clean-stageprofile-intl:
13775 @if intl-bootstrap
13776 maybe-all-stageprofile-intl: all-stageprofile-intl
13777 all-stageprofile: all-stageprofile-intl
13778 all-stageprofile-intl: configure-stageprofile-intl
13779 @$(MAKE) stageprofile-start
13780 @r=`${PWD_COMMAND}`; export r; \
13781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13782 $(HOST_EXPORTS) \
13783 $(POSTSTAGE1_HOST_EXPORTS) \
13784 cd $(HOST_SUBDIR)/intl && \
13785 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
13787 maybe-clean-stageprofile-intl: clean-stageprofile-intl
13788 clean-stageprofile: clean-stageprofile-intl
13789 clean-stageprofile-intl:
13790 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
13791 || exit 0 ; \
13792 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stageprofile-start ; \
13793 cd $(HOST_SUBDIR)/intl && \
13794 $(MAKE) $(FLAGS_TO_PASS) \
13795 $(POSTSTAGE1_FLAGS_TO_PASS) \
13796 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
13797 @endif intl-bootstrap
13800 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
13801 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
13802 maybe-all-stagefeedback-intl:
13803 maybe-clean-stagefeedback-intl:
13804 @if intl-bootstrap
13805 maybe-all-stagefeedback-intl: all-stagefeedback-intl
13806 all-stagefeedback: all-stagefeedback-intl
13807 all-stagefeedback-intl: configure-stagefeedback-intl
13808 @$(MAKE) stagefeedback-start
13809 @r=`${PWD_COMMAND}`; export r; \
13810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13811 $(HOST_EXPORTS) \
13812 $(POSTSTAGE1_HOST_EXPORTS) \
13813 cd $(HOST_SUBDIR)/intl && \
13814 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
13816 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
13817 clean-stagefeedback: clean-stagefeedback-intl
13818 clean-stagefeedback-intl:
13819 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
13820 || exit 0 ; \
13821 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stagefeedback-start ; \
13822 cd $(HOST_SUBDIR)/intl && \
13823 $(MAKE) $(FLAGS_TO_PASS) \
13824 $(POSTSTAGE1_FLAGS_TO_PASS) \
13825 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
13826 @endif intl-bootstrap
13832 .PHONY: check-intl maybe-check-intl
13833 maybe-check-intl:
13834 @if intl
13835 maybe-check-intl: check-intl
13837 check-intl:
13838 @r=`${PWD_COMMAND}`; export r; \
13839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13840 $(HOST_EXPORTS) \
13841 (cd $(HOST_SUBDIR)/intl && \
13842 $(MAKE) $(FLAGS_TO_PASS) check)
13844 @endif intl
13846 .PHONY: install-intl maybe-install-intl
13847 maybe-install-intl:
13848 @if intl
13849 maybe-install-intl: install-intl
13851 install-intl: installdirs
13852 @r=`${PWD_COMMAND}`; export r; \
13853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13854 $(HOST_EXPORTS) \
13855 (cd $(HOST_SUBDIR)/intl && \
13856 $(MAKE) $(FLAGS_TO_PASS) install)
13858 @endif intl
13860 # Other targets (info, dvi, etc.)
13862 .PHONY: maybe-info-intl info-intl
13863 maybe-info-intl:
13864 @if intl
13865 maybe-info-intl: info-intl
13867 info-intl: \
13868 configure-intl
13869 @[ -f ./intl/Makefile ] || exit 0; \
13870 r=`${PWD_COMMAND}`; export r; \
13871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13872 $(HOST_EXPORTS) \
13873 for flag in $(EXTRA_HOST_FLAGS) ; do \
13874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13875 done; \
13876 echo "Doing info in intl" ; \
13877 (cd $(HOST_SUBDIR)/intl && \
13878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13880 "RANLIB=$${RANLIB}" \
13881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13882 info) \
13883 || exit 1
13885 @endif intl
13887 .PHONY: maybe-dvi-intl dvi-intl
13888 maybe-dvi-intl:
13889 @if intl
13890 maybe-dvi-intl: dvi-intl
13892 dvi-intl: \
13893 configure-intl
13894 @[ -f ./intl/Makefile ] || exit 0; \
13895 r=`${PWD_COMMAND}`; export r; \
13896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13897 $(HOST_EXPORTS) \
13898 for flag in $(EXTRA_HOST_FLAGS) ; do \
13899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13900 done; \
13901 echo "Doing dvi in intl" ; \
13902 (cd $(HOST_SUBDIR)/intl && \
13903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13905 "RANLIB=$${RANLIB}" \
13906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13907 dvi) \
13908 || exit 1
13910 @endif intl
13912 .PHONY: maybe-html-intl html-intl
13913 maybe-html-intl:
13914 @if intl
13915 maybe-html-intl: html-intl
13917 html-intl: \
13918 configure-intl
13919 @[ -f ./intl/Makefile ] || exit 0; \
13920 r=`${PWD_COMMAND}`; export r; \
13921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13922 $(HOST_EXPORTS) \
13923 for flag in $(EXTRA_HOST_FLAGS) ; do \
13924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13925 done; \
13926 echo "Doing html in intl" ; \
13927 (cd $(HOST_SUBDIR)/intl && \
13928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13930 "RANLIB=$${RANLIB}" \
13931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13932 html) \
13933 || exit 1
13935 @endif intl
13937 .PHONY: maybe-TAGS-intl TAGS-intl
13938 maybe-TAGS-intl:
13939 @if intl
13940 maybe-TAGS-intl: TAGS-intl
13942 TAGS-intl: \
13943 configure-intl
13944 @[ -f ./intl/Makefile ] || exit 0; \
13945 r=`${PWD_COMMAND}`; export r; \
13946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13947 $(HOST_EXPORTS) \
13948 for flag in $(EXTRA_HOST_FLAGS) ; do \
13949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13950 done; \
13951 echo "Doing TAGS in intl" ; \
13952 (cd $(HOST_SUBDIR)/intl && \
13953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13955 "RANLIB=$${RANLIB}" \
13956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13957 TAGS) \
13958 || exit 1
13960 @endif intl
13962 .PHONY: maybe-install-info-intl install-info-intl
13963 maybe-install-info-intl:
13964 @if intl
13965 maybe-install-info-intl: install-info-intl
13967 install-info-intl: \
13968 configure-intl \
13969 info-intl
13970 @[ -f ./intl/Makefile ] || exit 0; \
13971 r=`${PWD_COMMAND}`; export r; \
13972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13973 $(HOST_EXPORTS) \
13974 for flag in $(EXTRA_HOST_FLAGS) ; do \
13975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13976 done; \
13977 echo "Doing install-info in intl" ; \
13978 (cd $(HOST_SUBDIR)/intl && \
13979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13981 "RANLIB=$${RANLIB}" \
13982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13983 install-info) \
13984 || exit 1
13986 @endif intl
13988 .PHONY: maybe-installcheck-intl installcheck-intl
13989 maybe-installcheck-intl:
13990 @if intl
13991 maybe-installcheck-intl: installcheck-intl
13993 installcheck-intl: \
13994 configure-intl
13995 @[ -f ./intl/Makefile ] || exit 0; \
13996 r=`${PWD_COMMAND}`; export r; \
13997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13998 $(HOST_EXPORTS) \
13999 for flag in $(EXTRA_HOST_FLAGS) ; do \
14000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14001 done; \
14002 echo "Doing installcheck in intl" ; \
14003 (cd $(HOST_SUBDIR)/intl && \
14004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14006 "RANLIB=$${RANLIB}" \
14007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14008 installcheck) \
14009 || exit 1
14011 @endif intl
14013 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14014 maybe-mostlyclean-intl:
14015 @if intl
14016 maybe-mostlyclean-intl: mostlyclean-intl
14018 mostlyclean-intl:
14019 @[ -f ./intl/Makefile ] || exit 0; \
14020 r=`${PWD_COMMAND}`; export r; \
14021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14022 $(HOST_EXPORTS) \
14023 for flag in $(EXTRA_HOST_FLAGS) ; do \
14024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14025 done; \
14026 echo "Doing mostlyclean in intl" ; \
14027 (cd $(HOST_SUBDIR)/intl && \
14028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14030 "RANLIB=$${RANLIB}" \
14031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14032 mostlyclean) \
14033 || exit 1
14035 @endif intl
14037 .PHONY: maybe-clean-intl clean-intl
14038 maybe-clean-intl:
14039 @if intl
14040 maybe-clean-intl: clean-intl
14042 clean-intl:
14043 @[ -f ./intl/Makefile ] || exit 0; \
14044 r=`${PWD_COMMAND}`; export r; \
14045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14046 $(HOST_EXPORTS) \
14047 for flag in $(EXTRA_HOST_FLAGS) ; do \
14048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14049 done; \
14050 echo "Doing clean in intl" ; \
14051 (cd $(HOST_SUBDIR)/intl && \
14052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14054 "RANLIB=$${RANLIB}" \
14055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14056 clean) \
14057 || exit 1
14059 @endif intl
14061 .PHONY: maybe-distclean-intl distclean-intl
14062 maybe-distclean-intl:
14063 @if intl
14064 maybe-distclean-intl: distclean-intl
14066 distclean-intl:
14067 @[ -f ./intl/Makefile ] || exit 0; \
14068 r=`${PWD_COMMAND}`; export r; \
14069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14070 $(HOST_EXPORTS) \
14071 for flag in $(EXTRA_HOST_FLAGS) ; do \
14072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14073 done; \
14074 echo "Doing distclean in intl" ; \
14075 (cd $(HOST_SUBDIR)/intl && \
14076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14078 "RANLIB=$${RANLIB}" \
14079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14080 distclean) \
14081 || exit 1
14083 @endif intl
14085 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14086 maybe-maintainer-clean-intl:
14087 @if intl
14088 maybe-maintainer-clean-intl: maintainer-clean-intl
14090 maintainer-clean-intl:
14091 @[ -f ./intl/Makefile ] || exit 0; \
14092 r=`${PWD_COMMAND}`; export r; \
14093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14094 $(HOST_EXPORTS) \
14095 for flag in $(EXTRA_HOST_FLAGS) ; do \
14096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14097 done; \
14098 echo "Doing maintainer-clean in intl" ; \
14099 (cd $(HOST_SUBDIR)/intl && \
14100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14102 "RANLIB=$${RANLIB}" \
14103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14104 maintainer-clean) \
14105 || exit 1
14107 @endif intl
14111 .PHONY: configure-tcl maybe-configure-tcl
14112 maybe-configure-tcl:
14113 @if tcl
14114 maybe-configure-tcl: configure-tcl
14115 configure-tcl:
14116 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14117 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14118 r=`${PWD_COMMAND}`; export r; \
14119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14120 $(HOST_EXPORTS) \
14121 echo Configuring in $(HOST_SUBDIR)/tcl; \
14122 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14123 case $(srcdir) in \
14124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14125 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14127 esac; \
14128 srcdiroption="--srcdir=$${topdir}/tcl"; \
14129 libsrcdir="$$s/tcl"; \
14130 $(SHELL) $${libsrcdir}/configure \
14131 $(HOST_CONFIGARGS) $${srcdiroption} \
14132 || exit 1
14133 @endif tcl
14139 .PHONY: all-tcl maybe-all-tcl
14140 maybe-all-tcl:
14141 @if tcl
14142 TARGET-tcl=all
14143 maybe-all-tcl: all-tcl
14144 all-tcl: configure-tcl
14145 @r=`${PWD_COMMAND}`; export r; \
14146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14147 $(HOST_EXPORTS) \
14148 (cd $(HOST_SUBDIR)/tcl && \
14149 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14150 @endif tcl
14155 .PHONY: check-tcl maybe-check-tcl
14156 maybe-check-tcl:
14157 @if tcl
14158 maybe-check-tcl: check-tcl
14160 check-tcl:
14161 @r=`${PWD_COMMAND}`; export r; \
14162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14163 $(HOST_EXPORTS) \
14164 (cd $(HOST_SUBDIR)/tcl && \
14165 $(MAKE) $(FLAGS_TO_PASS) check)
14167 @endif tcl
14169 .PHONY: install-tcl maybe-install-tcl
14170 maybe-install-tcl:
14171 @if tcl
14172 maybe-install-tcl: install-tcl
14174 install-tcl: installdirs
14175 @r=`${PWD_COMMAND}`; export r; \
14176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14177 $(HOST_EXPORTS) \
14178 (cd $(HOST_SUBDIR)/tcl && \
14179 $(MAKE) $(FLAGS_TO_PASS) install)
14181 @endif tcl
14183 # Other targets (info, dvi, etc.)
14185 .PHONY: maybe-info-tcl info-tcl
14186 maybe-info-tcl:
14187 @if tcl
14188 maybe-info-tcl: info-tcl
14190 info-tcl: \
14191 configure-tcl
14192 @[ -f ./tcl/Makefile ] || exit 0; \
14193 r=`${PWD_COMMAND}`; export r; \
14194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14195 $(HOST_EXPORTS) \
14196 for flag in $(EXTRA_HOST_FLAGS) ; do \
14197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14198 done; \
14199 echo "Doing info in tcl" ; \
14200 (cd $(HOST_SUBDIR)/tcl && \
14201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14203 "RANLIB=$${RANLIB}" \
14204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14205 info) \
14206 || exit 1
14208 @endif tcl
14210 .PHONY: maybe-dvi-tcl dvi-tcl
14211 maybe-dvi-tcl:
14212 @if tcl
14213 maybe-dvi-tcl: dvi-tcl
14215 dvi-tcl: \
14216 configure-tcl
14217 @[ -f ./tcl/Makefile ] || exit 0; \
14218 r=`${PWD_COMMAND}`; export r; \
14219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14220 $(HOST_EXPORTS) \
14221 for flag in $(EXTRA_HOST_FLAGS) ; do \
14222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14223 done; \
14224 echo "Doing dvi in tcl" ; \
14225 (cd $(HOST_SUBDIR)/tcl && \
14226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14228 "RANLIB=$${RANLIB}" \
14229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14230 dvi) \
14231 || exit 1
14233 @endif tcl
14235 .PHONY: maybe-html-tcl html-tcl
14236 maybe-html-tcl:
14237 @if tcl
14238 maybe-html-tcl: html-tcl
14240 html-tcl: \
14241 configure-tcl
14242 @[ -f ./tcl/Makefile ] || exit 0; \
14243 r=`${PWD_COMMAND}`; export r; \
14244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14245 $(HOST_EXPORTS) \
14246 for flag in $(EXTRA_HOST_FLAGS) ; do \
14247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14248 done; \
14249 echo "Doing html in tcl" ; \
14250 (cd $(HOST_SUBDIR)/tcl && \
14251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14253 "RANLIB=$${RANLIB}" \
14254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14255 html) \
14256 || exit 1
14258 @endif tcl
14260 .PHONY: maybe-TAGS-tcl TAGS-tcl
14261 maybe-TAGS-tcl:
14262 @if tcl
14263 maybe-TAGS-tcl: TAGS-tcl
14265 TAGS-tcl: \
14266 configure-tcl
14267 @[ -f ./tcl/Makefile ] || exit 0; \
14268 r=`${PWD_COMMAND}`; export r; \
14269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14270 $(HOST_EXPORTS) \
14271 for flag in $(EXTRA_HOST_FLAGS) ; do \
14272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14273 done; \
14274 echo "Doing TAGS in tcl" ; \
14275 (cd $(HOST_SUBDIR)/tcl && \
14276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14278 "RANLIB=$${RANLIB}" \
14279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14280 TAGS) \
14281 || exit 1
14283 @endif tcl
14285 .PHONY: maybe-install-info-tcl install-info-tcl
14286 maybe-install-info-tcl:
14287 @if tcl
14288 maybe-install-info-tcl: install-info-tcl
14290 install-info-tcl: \
14291 configure-tcl \
14292 info-tcl
14293 @[ -f ./tcl/Makefile ] || exit 0; \
14294 r=`${PWD_COMMAND}`; export r; \
14295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14296 $(HOST_EXPORTS) \
14297 for flag in $(EXTRA_HOST_FLAGS) ; do \
14298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14299 done; \
14300 echo "Doing install-info in tcl" ; \
14301 (cd $(HOST_SUBDIR)/tcl && \
14302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14304 "RANLIB=$${RANLIB}" \
14305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14306 install-info) \
14307 || exit 1
14309 @endif tcl
14311 .PHONY: maybe-installcheck-tcl installcheck-tcl
14312 maybe-installcheck-tcl:
14313 @if tcl
14314 maybe-installcheck-tcl: installcheck-tcl
14316 installcheck-tcl: \
14317 configure-tcl
14318 @[ -f ./tcl/Makefile ] || exit 0; \
14319 r=`${PWD_COMMAND}`; export r; \
14320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14321 $(HOST_EXPORTS) \
14322 for flag in $(EXTRA_HOST_FLAGS) ; do \
14323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14324 done; \
14325 echo "Doing installcheck in tcl" ; \
14326 (cd $(HOST_SUBDIR)/tcl && \
14327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14329 "RANLIB=$${RANLIB}" \
14330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14331 installcheck) \
14332 || exit 1
14334 @endif tcl
14336 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
14337 maybe-mostlyclean-tcl:
14338 @if tcl
14339 maybe-mostlyclean-tcl: mostlyclean-tcl
14341 # tcl doesn't support mostlyclean.
14342 mostlyclean-tcl:
14344 @endif tcl
14346 .PHONY: maybe-clean-tcl clean-tcl
14347 maybe-clean-tcl:
14348 @if tcl
14349 maybe-clean-tcl: clean-tcl
14351 clean-tcl:
14352 @[ -f ./tcl/Makefile ] || exit 0; \
14353 r=`${PWD_COMMAND}`; export r; \
14354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14355 $(HOST_EXPORTS) \
14356 for flag in $(EXTRA_HOST_FLAGS) ; do \
14357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14358 done; \
14359 echo "Doing clean in tcl" ; \
14360 (cd $(HOST_SUBDIR)/tcl && \
14361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14363 "RANLIB=$${RANLIB}" \
14364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14365 clean) \
14366 || exit 1
14368 @endif tcl
14370 .PHONY: maybe-distclean-tcl distclean-tcl
14371 maybe-distclean-tcl:
14372 @if tcl
14373 maybe-distclean-tcl: distclean-tcl
14375 distclean-tcl:
14376 @[ -f ./tcl/Makefile ] || exit 0; \
14377 r=`${PWD_COMMAND}`; export r; \
14378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14379 $(HOST_EXPORTS) \
14380 for flag in $(EXTRA_HOST_FLAGS) ; do \
14381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14382 done; \
14383 echo "Doing distclean in tcl" ; \
14384 (cd $(HOST_SUBDIR)/tcl && \
14385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14387 "RANLIB=$${RANLIB}" \
14388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14389 distclean) \
14390 || exit 1
14392 @endif tcl
14394 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
14395 maybe-maintainer-clean-tcl:
14396 @if tcl
14397 maybe-maintainer-clean-tcl: maintainer-clean-tcl
14399 maintainer-clean-tcl:
14400 @[ -f ./tcl/Makefile ] || exit 0; \
14401 r=`${PWD_COMMAND}`; export r; \
14402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14403 $(HOST_EXPORTS) \
14404 for flag in $(EXTRA_HOST_FLAGS) ; do \
14405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14406 done; \
14407 echo "Doing maintainer-clean in tcl" ; \
14408 (cd $(HOST_SUBDIR)/tcl && \
14409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14411 "RANLIB=$${RANLIB}" \
14412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14413 maintainer-clean) \
14414 || exit 1
14416 @endif tcl
14420 .PHONY: configure-itcl maybe-configure-itcl
14421 maybe-configure-itcl:
14422 @if itcl
14423 maybe-configure-itcl: configure-itcl
14424 configure-itcl:
14425 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
14426 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
14427 r=`${PWD_COMMAND}`; export r; \
14428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14429 $(HOST_EXPORTS) \
14430 echo Configuring in $(HOST_SUBDIR)/itcl; \
14431 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
14432 case $(srcdir) in \
14433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14434 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
14435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14436 esac; \
14437 srcdiroption="--srcdir=$${topdir}/itcl"; \
14438 libsrcdir="$$s/itcl"; \
14439 $(SHELL) $${libsrcdir}/configure \
14440 $(HOST_CONFIGARGS) $${srcdiroption} \
14441 || exit 1
14442 @endif itcl
14448 .PHONY: all-itcl maybe-all-itcl
14449 maybe-all-itcl:
14450 @if itcl
14451 TARGET-itcl=all
14452 maybe-all-itcl: all-itcl
14453 all-itcl: configure-itcl
14454 @r=`${PWD_COMMAND}`; export r; \
14455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14456 $(HOST_EXPORTS) \
14457 (cd $(HOST_SUBDIR)/itcl && \
14458 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
14459 @endif itcl
14464 .PHONY: check-itcl maybe-check-itcl
14465 maybe-check-itcl:
14466 @if itcl
14467 maybe-check-itcl: check-itcl
14469 check-itcl:
14470 @r=`${PWD_COMMAND}`; export r; \
14471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14472 $(HOST_EXPORTS) \
14473 (cd $(HOST_SUBDIR)/itcl && \
14474 $(MAKE) $(FLAGS_TO_PASS) check)
14476 @endif itcl
14478 .PHONY: install-itcl maybe-install-itcl
14479 maybe-install-itcl:
14480 @if itcl
14481 maybe-install-itcl: install-itcl
14483 install-itcl: installdirs
14484 @r=`${PWD_COMMAND}`; export r; \
14485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14486 $(HOST_EXPORTS) \
14487 (cd $(HOST_SUBDIR)/itcl && \
14488 $(MAKE) $(FLAGS_TO_PASS) install)
14490 @endif itcl
14492 # Other targets (info, dvi, etc.)
14494 .PHONY: maybe-info-itcl info-itcl
14495 maybe-info-itcl:
14496 @if itcl
14497 maybe-info-itcl: info-itcl
14499 info-itcl: \
14500 configure-itcl
14501 @[ -f ./itcl/Makefile ] || exit 0; \
14502 r=`${PWD_COMMAND}`; export r; \
14503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14504 $(HOST_EXPORTS) \
14505 for flag in $(EXTRA_HOST_FLAGS) ; do \
14506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14507 done; \
14508 echo "Doing info in itcl" ; \
14509 (cd $(HOST_SUBDIR)/itcl && \
14510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14512 "RANLIB=$${RANLIB}" \
14513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14514 info) \
14515 || exit 1
14517 @endif itcl
14519 .PHONY: maybe-dvi-itcl dvi-itcl
14520 maybe-dvi-itcl:
14521 @if itcl
14522 maybe-dvi-itcl: dvi-itcl
14524 dvi-itcl: \
14525 configure-itcl
14526 @[ -f ./itcl/Makefile ] || exit 0; \
14527 r=`${PWD_COMMAND}`; export r; \
14528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14529 $(HOST_EXPORTS) \
14530 for flag in $(EXTRA_HOST_FLAGS) ; do \
14531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14532 done; \
14533 echo "Doing dvi in itcl" ; \
14534 (cd $(HOST_SUBDIR)/itcl && \
14535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14537 "RANLIB=$${RANLIB}" \
14538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14539 dvi) \
14540 || exit 1
14542 @endif itcl
14544 .PHONY: maybe-html-itcl html-itcl
14545 maybe-html-itcl:
14546 @if itcl
14547 maybe-html-itcl: html-itcl
14549 html-itcl: \
14550 configure-itcl
14551 @[ -f ./itcl/Makefile ] || exit 0; \
14552 r=`${PWD_COMMAND}`; export r; \
14553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14554 $(HOST_EXPORTS) \
14555 for flag in $(EXTRA_HOST_FLAGS) ; do \
14556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14557 done; \
14558 echo "Doing html in itcl" ; \
14559 (cd $(HOST_SUBDIR)/itcl && \
14560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14562 "RANLIB=$${RANLIB}" \
14563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14564 html) \
14565 || exit 1
14567 @endif itcl
14569 .PHONY: maybe-TAGS-itcl TAGS-itcl
14570 maybe-TAGS-itcl:
14571 @if itcl
14572 maybe-TAGS-itcl: TAGS-itcl
14574 TAGS-itcl: \
14575 configure-itcl
14576 @[ -f ./itcl/Makefile ] || exit 0; \
14577 r=`${PWD_COMMAND}`; export r; \
14578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14579 $(HOST_EXPORTS) \
14580 for flag in $(EXTRA_HOST_FLAGS) ; do \
14581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14582 done; \
14583 echo "Doing TAGS in itcl" ; \
14584 (cd $(HOST_SUBDIR)/itcl && \
14585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14587 "RANLIB=$${RANLIB}" \
14588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14589 TAGS) \
14590 || exit 1
14592 @endif itcl
14594 .PHONY: maybe-install-info-itcl install-info-itcl
14595 maybe-install-info-itcl:
14596 @if itcl
14597 maybe-install-info-itcl: install-info-itcl
14599 install-info-itcl: \
14600 configure-itcl \
14601 info-itcl
14602 @[ -f ./itcl/Makefile ] || exit 0; \
14603 r=`${PWD_COMMAND}`; export r; \
14604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14605 $(HOST_EXPORTS) \
14606 for flag in $(EXTRA_HOST_FLAGS) ; do \
14607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14608 done; \
14609 echo "Doing install-info in itcl" ; \
14610 (cd $(HOST_SUBDIR)/itcl && \
14611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14613 "RANLIB=$${RANLIB}" \
14614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14615 install-info) \
14616 || exit 1
14618 @endif itcl
14620 .PHONY: maybe-installcheck-itcl installcheck-itcl
14621 maybe-installcheck-itcl:
14622 @if itcl
14623 maybe-installcheck-itcl: installcheck-itcl
14625 installcheck-itcl: \
14626 configure-itcl
14627 @[ -f ./itcl/Makefile ] || exit 0; \
14628 r=`${PWD_COMMAND}`; export r; \
14629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14630 $(HOST_EXPORTS) \
14631 for flag in $(EXTRA_HOST_FLAGS) ; do \
14632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14633 done; \
14634 echo "Doing installcheck in itcl" ; \
14635 (cd $(HOST_SUBDIR)/itcl && \
14636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14638 "RANLIB=$${RANLIB}" \
14639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14640 installcheck) \
14641 || exit 1
14643 @endif itcl
14645 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
14646 maybe-mostlyclean-itcl:
14647 @if itcl
14648 maybe-mostlyclean-itcl: mostlyclean-itcl
14650 mostlyclean-itcl:
14651 @[ -f ./itcl/Makefile ] || exit 0; \
14652 r=`${PWD_COMMAND}`; export r; \
14653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14654 $(HOST_EXPORTS) \
14655 for flag in $(EXTRA_HOST_FLAGS) ; do \
14656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14657 done; \
14658 echo "Doing mostlyclean in itcl" ; \
14659 (cd $(HOST_SUBDIR)/itcl && \
14660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14662 "RANLIB=$${RANLIB}" \
14663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14664 mostlyclean) \
14665 || exit 1
14667 @endif itcl
14669 .PHONY: maybe-clean-itcl clean-itcl
14670 maybe-clean-itcl:
14671 @if itcl
14672 maybe-clean-itcl: clean-itcl
14674 clean-itcl:
14675 @[ -f ./itcl/Makefile ] || exit 0; \
14676 r=`${PWD_COMMAND}`; export r; \
14677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14678 $(HOST_EXPORTS) \
14679 for flag in $(EXTRA_HOST_FLAGS) ; do \
14680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14681 done; \
14682 echo "Doing clean in itcl" ; \
14683 (cd $(HOST_SUBDIR)/itcl && \
14684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14686 "RANLIB=$${RANLIB}" \
14687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14688 clean) \
14689 || exit 1
14691 @endif itcl
14693 .PHONY: maybe-distclean-itcl distclean-itcl
14694 maybe-distclean-itcl:
14695 @if itcl
14696 maybe-distclean-itcl: distclean-itcl
14698 distclean-itcl:
14699 @[ -f ./itcl/Makefile ] || exit 0; \
14700 r=`${PWD_COMMAND}`; export r; \
14701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14702 $(HOST_EXPORTS) \
14703 for flag in $(EXTRA_HOST_FLAGS) ; do \
14704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14705 done; \
14706 echo "Doing distclean in itcl" ; \
14707 (cd $(HOST_SUBDIR)/itcl && \
14708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14710 "RANLIB=$${RANLIB}" \
14711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14712 distclean) \
14713 || exit 1
14715 @endif itcl
14717 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
14718 maybe-maintainer-clean-itcl:
14719 @if itcl
14720 maybe-maintainer-clean-itcl: maintainer-clean-itcl
14722 maintainer-clean-itcl:
14723 @[ -f ./itcl/Makefile ] || exit 0; \
14724 r=`${PWD_COMMAND}`; export r; \
14725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14726 $(HOST_EXPORTS) \
14727 for flag in $(EXTRA_HOST_FLAGS) ; do \
14728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14729 done; \
14730 echo "Doing maintainer-clean in itcl" ; \
14731 (cd $(HOST_SUBDIR)/itcl && \
14732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14734 "RANLIB=$${RANLIB}" \
14735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14736 maintainer-clean) \
14737 || exit 1
14739 @endif itcl
14743 .PHONY: configure-ld maybe-configure-ld
14744 maybe-configure-ld:
14745 @if ld
14746 maybe-configure-ld: configure-ld
14747 configure-ld:
14748 @test -f stage_last && exit 0; \
14749 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
14750 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
14751 r=`${PWD_COMMAND}`; export r; \
14752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14753 $(HOST_EXPORTS) \
14754 echo Configuring in $(HOST_SUBDIR)/ld; \
14755 cd "$(HOST_SUBDIR)/ld" || exit 1; \
14756 case $(srcdir) in \
14757 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14758 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14759 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14760 esac; \
14761 srcdiroption="--srcdir=$${topdir}/ld"; \
14762 libsrcdir="$$s/ld"; \
14763 $(SHELL) $${libsrcdir}/configure \
14764 $(HOST_CONFIGARGS) $${srcdiroption} \
14765 || exit 1
14766 @endif ld
14770 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
14771 maybe-configure-stage1-ld:
14772 @if ld-bootstrap
14773 maybe-configure-stage1-ld: configure-stage1-ld
14774 configure-stage1-ld:
14775 @$(MAKE) stage1-start
14776 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14777 r=`${PWD_COMMAND}`; export r; \
14778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14779 $(HOST_EXPORTS) \
14780 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
14781 cd $(HOST_SUBDIR)/ld || exit 1; \
14782 case $(srcdir) in \
14783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14784 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14786 esac; \
14787 srcdiroption="--srcdir=$${topdir}/ld"; \
14788 libsrcdir="$$s/ld"; \
14789 $(SHELL) $${libsrcdir}/configure \
14790 $(HOST_CONFIGARGS) $${srcdiroption} \
14791 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14792 @endif ld-bootstrap
14794 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
14795 maybe-configure-stage2-ld:
14796 @if ld-bootstrap
14797 maybe-configure-stage2-ld: configure-stage2-ld
14798 configure-stage2-ld:
14799 @$(MAKE) stage2-start
14800 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14801 r=`${PWD_COMMAND}`; export r; \
14802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14803 $(HOST_EXPORTS) \
14804 $(POSTSTAGE1_HOST_EXPORTS) \
14805 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
14806 cd $(HOST_SUBDIR)/ld || exit 1; \
14807 case $(srcdir) in \
14808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14809 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14811 esac; \
14812 srcdiroption="--srcdir=$${topdir}/ld"; \
14813 libsrcdir="$$s/ld"; \
14814 $(SHELL) $${libsrcdir}/configure \
14815 $(HOST_CONFIGARGS) $${srcdiroption} \
14816 @stage2_werror_flag@
14817 @endif ld-bootstrap
14819 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
14820 maybe-configure-stage3-ld:
14821 @if ld-bootstrap
14822 maybe-configure-stage3-ld: configure-stage3-ld
14823 configure-stage3-ld:
14824 @$(MAKE) stage3-start
14825 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14826 r=`${PWD_COMMAND}`; export r; \
14827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14828 $(HOST_EXPORTS) \
14829 $(POSTSTAGE1_HOST_EXPORTS) \
14830 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
14831 cd $(HOST_SUBDIR)/ld || exit 1; \
14832 case $(srcdir) in \
14833 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14834 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14835 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14836 esac; \
14837 srcdiroption="--srcdir=$${topdir}/ld"; \
14838 libsrcdir="$$s/ld"; \
14839 $(SHELL) $${libsrcdir}/configure \
14840 $(HOST_CONFIGARGS) $${srcdiroption} \
14841 @stage2_werror_flag@
14842 @endif ld-bootstrap
14844 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
14845 maybe-configure-stage4-ld:
14846 @if ld-bootstrap
14847 maybe-configure-stage4-ld: configure-stage4-ld
14848 configure-stage4-ld:
14849 @$(MAKE) stage4-start
14850 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14851 r=`${PWD_COMMAND}`; export r; \
14852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14853 $(HOST_EXPORTS) \
14854 $(POSTSTAGE1_HOST_EXPORTS) \
14855 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
14856 cd $(HOST_SUBDIR)/ld || exit 1; \
14857 case $(srcdir) in \
14858 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14859 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14860 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14861 esac; \
14862 srcdiroption="--srcdir=$${topdir}/ld"; \
14863 libsrcdir="$$s/ld"; \
14864 $(SHELL) $${libsrcdir}/configure \
14865 $(HOST_CONFIGARGS) $${srcdiroption} \
14866 @stage2_werror_flag@
14867 @endif ld-bootstrap
14869 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
14870 maybe-configure-stageprofile-ld:
14871 @if ld-bootstrap
14872 maybe-configure-stageprofile-ld: configure-stageprofile-ld
14873 configure-stageprofile-ld:
14874 @$(MAKE) stageprofile-start
14875 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14876 r=`${PWD_COMMAND}`; export r; \
14877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14878 $(HOST_EXPORTS) \
14879 $(POSTSTAGE1_HOST_EXPORTS) \
14880 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
14881 cd $(HOST_SUBDIR)/ld || exit 1; \
14882 case $(srcdir) in \
14883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14884 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14886 esac; \
14887 srcdiroption="--srcdir=$${topdir}/ld"; \
14888 libsrcdir="$$s/ld"; \
14889 $(SHELL) $${libsrcdir}/configure \
14890 $(HOST_CONFIGARGS) $${srcdiroption} \
14891 @stage2_werror_flag@
14892 @endif ld-bootstrap
14894 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
14895 maybe-configure-stagefeedback-ld:
14896 @if ld-bootstrap
14897 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
14898 configure-stagefeedback-ld:
14899 @$(MAKE) stagefeedback-start
14900 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14901 r=`${PWD_COMMAND}`; export r; \
14902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14903 $(HOST_EXPORTS) \
14904 $(POSTSTAGE1_HOST_EXPORTS) \
14905 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
14906 cd $(HOST_SUBDIR)/ld || exit 1; \
14907 case $(srcdir) in \
14908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14909 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14911 esac; \
14912 srcdiroption="--srcdir=$${topdir}/ld"; \
14913 libsrcdir="$$s/ld"; \
14914 $(SHELL) $${libsrcdir}/configure \
14915 $(HOST_CONFIGARGS) $${srcdiroption} \
14916 @stage2_werror_flag@
14917 @endif ld-bootstrap
14923 .PHONY: all-ld maybe-all-ld
14924 maybe-all-ld:
14925 @if ld
14926 TARGET-ld=all
14927 maybe-all-ld: all-ld
14928 all-ld: configure-ld
14929 @test -f stage_last && exit 0; \
14930 r=`${PWD_COMMAND}`; export r; \
14931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14932 $(HOST_EXPORTS) \
14933 (cd $(HOST_SUBDIR)/ld && \
14934 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
14935 @endif ld
14939 .PHONY: all-stage1-ld maybe-all-stage1-ld
14940 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
14941 maybe-all-stage1-ld:
14942 maybe-clean-stage1-ld:
14943 @if ld-bootstrap
14944 maybe-all-stage1-ld: all-stage1-ld
14945 all-stage1: all-stage1-ld
14946 all-stage1-ld: configure-stage1-ld
14947 @$(MAKE) stage1-start
14948 @r=`${PWD_COMMAND}`; export r; \
14949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14950 $(HOST_EXPORTS) \
14951 cd $(HOST_SUBDIR)/ld && \
14952 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
14954 maybe-clean-stage1-ld: clean-stage1-ld
14955 clean-stage1: clean-stage1-ld
14956 clean-stage1-ld:
14957 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
14958 || exit 0 ; \
14959 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage1-start ; \
14960 cd $(HOST_SUBDIR)/ld && \
14961 $(MAKE) $(FLAGS_TO_PASS) \
14962 CFLAGS="$(STAGE1_CFLAGS)" clean
14963 @endif ld-bootstrap
14966 .PHONY: all-stage2-ld maybe-all-stage2-ld
14967 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
14968 maybe-all-stage2-ld:
14969 maybe-clean-stage2-ld:
14970 @if ld-bootstrap
14971 maybe-all-stage2-ld: all-stage2-ld
14972 all-stage2: all-stage2-ld
14973 all-stage2-ld: configure-stage2-ld
14974 @$(MAKE) stage2-start
14975 @r=`${PWD_COMMAND}`; export r; \
14976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14977 $(HOST_EXPORTS) \
14978 $(POSTSTAGE1_HOST_EXPORTS) \
14979 cd $(HOST_SUBDIR)/ld && \
14980 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
14982 maybe-clean-stage2-ld: clean-stage2-ld
14983 clean-stage2: clean-stage2-ld
14984 clean-stage2-ld:
14985 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
14986 || exit 0 ; \
14987 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage2-start ; \
14988 cd $(HOST_SUBDIR)/ld && \
14989 $(MAKE) $(FLAGS_TO_PASS) \
14990 $(POSTSTAGE1_FLAGS_TO_PASS) \
14991 clean
14992 @endif ld-bootstrap
14995 .PHONY: all-stage3-ld maybe-all-stage3-ld
14996 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
14997 maybe-all-stage3-ld:
14998 maybe-clean-stage3-ld:
14999 @if ld-bootstrap
15000 maybe-all-stage3-ld: all-stage3-ld
15001 all-stage3: all-stage3-ld
15002 all-stage3-ld: configure-stage3-ld
15003 @$(MAKE) stage3-start
15004 @r=`${PWD_COMMAND}`; export r; \
15005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15006 $(HOST_EXPORTS) \
15007 $(POSTSTAGE1_HOST_EXPORTS) \
15008 cd $(HOST_SUBDIR)/ld && \
15009 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15011 maybe-clean-stage3-ld: clean-stage3-ld
15012 clean-stage3: clean-stage3-ld
15013 clean-stage3-ld:
15014 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15015 || exit 0 ; \
15016 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage3-start ; \
15017 cd $(HOST_SUBDIR)/ld && \
15018 $(MAKE) $(FLAGS_TO_PASS) \
15019 $(POSTSTAGE1_FLAGS_TO_PASS) \
15020 clean
15021 @endif ld-bootstrap
15024 .PHONY: all-stage4-ld maybe-all-stage4-ld
15025 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15026 maybe-all-stage4-ld:
15027 maybe-clean-stage4-ld:
15028 @if ld-bootstrap
15029 maybe-all-stage4-ld: all-stage4-ld
15030 all-stage4: all-stage4-ld
15031 all-stage4-ld: configure-stage4-ld
15032 @$(MAKE) stage4-start
15033 @r=`${PWD_COMMAND}`; export r; \
15034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15035 $(HOST_EXPORTS) \
15036 $(POSTSTAGE1_HOST_EXPORTS) \
15037 cd $(HOST_SUBDIR)/ld && \
15038 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15040 maybe-clean-stage4-ld: clean-stage4-ld
15041 clean-stage4: clean-stage4-ld
15042 clean-stage4-ld:
15043 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15044 || exit 0 ; \
15045 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage4-start ; \
15046 cd $(HOST_SUBDIR)/ld && \
15047 $(MAKE) $(FLAGS_TO_PASS) \
15048 $(POSTSTAGE1_FLAGS_TO_PASS) \
15049 clean
15050 @endif ld-bootstrap
15053 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15054 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15055 maybe-all-stageprofile-ld:
15056 maybe-clean-stageprofile-ld:
15057 @if ld-bootstrap
15058 maybe-all-stageprofile-ld: all-stageprofile-ld
15059 all-stageprofile: all-stageprofile-ld
15060 all-stageprofile-ld: configure-stageprofile-ld
15061 @$(MAKE) stageprofile-start
15062 @r=`${PWD_COMMAND}`; export r; \
15063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15064 $(HOST_EXPORTS) \
15065 $(POSTSTAGE1_HOST_EXPORTS) \
15066 cd $(HOST_SUBDIR)/ld && \
15067 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
15069 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15070 clean-stageprofile: clean-stageprofile-ld
15071 clean-stageprofile-ld:
15072 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15073 || exit 0 ; \
15074 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stageprofile-start ; \
15075 cd $(HOST_SUBDIR)/ld && \
15076 $(MAKE) $(FLAGS_TO_PASS) \
15077 $(POSTSTAGE1_FLAGS_TO_PASS) \
15078 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15079 @endif ld-bootstrap
15082 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15083 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15084 maybe-all-stagefeedback-ld:
15085 maybe-clean-stagefeedback-ld:
15086 @if ld-bootstrap
15087 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15088 all-stagefeedback: all-stagefeedback-ld
15089 all-stagefeedback-ld: configure-stagefeedback-ld
15090 @$(MAKE) stagefeedback-start
15091 @r=`${PWD_COMMAND}`; export r; \
15092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15093 $(HOST_EXPORTS) \
15094 $(POSTSTAGE1_HOST_EXPORTS) \
15095 cd $(HOST_SUBDIR)/ld && \
15096 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
15098 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15099 clean-stagefeedback: clean-stagefeedback-ld
15100 clean-stagefeedback-ld:
15101 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15102 || exit 0 ; \
15103 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stagefeedback-start ; \
15104 cd $(HOST_SUBDIR)/ld && \
15105 $(MAKE) $(FLAGS_TO_PASS) \
15106 $(POSTSTAGE1_FLAGS_TO_PASS) \
15107 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15108 @endif ld-bootstrap
15114 .PHONY: check-ld maybe-check-ld
15115 maybe-check-ld:
15116 @if ld
15117 maybe-check-ld: check-ld
15119 check-ld:
15120 @r=`${PWD_COMMAND}`; export r; \
15121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15122 $(HOST_EXPORTS) \
15123 (cd $(HOST_SUBDIR)/ld && \
15124 $(MAKE) $(FLAGS_TO_PASS) check)
15126 @endif ld
15128 .PHONY: install-ld maybe-install-ld
15129 maybe-install-ld:
15130 @if ld
15131 maybe-install-ld: install-ld
15133 install-ld: installdirs
15134 @r=`${PWD_COMMAND}`; export r; \
15135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15136 $(HOST_EXPORTS) \
15137 (cd $(HOST_SUBDIR)/ld && \
15138 $(MAKE) $(FLAGS_TO_PASS) install)
15140 @endif ld
15142 # Other targets (info, dvi, etc.)
15144 .PHONY: maybe-info-ld info-ld
15145 maybe-info-ld:
15146 @if ld
15147 maybe-info-ld: info-ld
15149 info-ld: \
15150 configure-ld
15151 @[ -f ./ld/Makefile ] || exit 0; \
15152 r=`${PWD_COMMAND}`; export r; \
15153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15154 $(HOST_EXPORTS) \
15155 for flag in $(EXTRA_HOST_FLAGS) ; do \
15156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15157 done; \
15158 echo "Doing info in ld" ; \
15159 (cd $(HOST_SUBDIR)/ld && \
15160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15162 "RANLIB=$${RANLIB}" \
15163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15164 info) \
15165 || exit 1
15167 @endif ld
15169 .PHONY: maybe-dvi-ld dvi-ld
15170 maybe-dvi-ld:
15171 @if ld
15172 maybe-dvi-ld: dvi-ld
15174 dvi-ld: \
15175 configure-ld
15176 @[ -f ./ld/Makefile ] || exit 0; \
15177 r=`${PWD_COMMAND}`; export r; \
15178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15179 $(HOST_EXPORTS) \
15180 for flag in $(EXTRA_HOST_FLAGS) ; do \
15181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15182 done; \
15183 echo "Doing dvi in ld" ; \
15184 (cd $(HOST_SUBDIR)/ld && \
15185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15187 "RANLIB=$${RANLIB}" \
15188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15189 dvi) \
15190 || exit 1
15192 @endif ld
15194 .PHONY: maybe-html-ld html-ld
15195 maybe-html-ld:
15196 @if ld
15197 maybe-html-ld: html-ld
15199 html-ld: \
15200 configure-ld
15201 @[ -f ./ld/Makefile ] || exit 0; \
15202 r=`${PWD_COMMAND}`; export r; \
15203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15204 $(HOST_EXPORTS) \
15205 for flag in $(EXTRA_HOST_FLAGS) ; do \
15206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15207 done; \
15208 echo "Doing html in ld" ; \
15209 (cd $(HOST_SUBDIR)/ld && \
15210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15212 "RANLIB=$${RANLIB}" \
15213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15214 html) \
15215 || exit 1
15217 @endif ld
15219 .PHONY: maybe-TAGS-ld TAGS-ld
15220 maybe-TAGS-ld:
15221 @if ld
15222 maybe-TAGS-ld: TAGS-ld
15224 TAGS-ld: \
15225 configure-ld
15226 @[ -f ./ld/Makefile ] || exit 0; \
15227 r=`${PWD_COMMAND}`; export r; \
15228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15229 $(HOST_EXPORTS) \
15230 for flag in $(EXTRA_HOST_FLAGS) ; do \
15231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15232 done; \
15233 echo "Doing TAGS in ld" ; \
15234 (cd $(HOST_SUBDIR)/ld && \
15235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15237 "RANLIB=$${RANLIB}" \
15238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15239 TAGS) \
15240 || exit 1
15242 @endif ld
15244 .PHONY: maybe-install-info-ld install-info-ld
15245 maybe-install-info-ld:
15246 @if ld
15247 maybe-install-info-ld: install-info-ld
15249 install-info-ld: \
15250 configure-ld \
15251 info-ld
15252 @[ -f ./ld/Makefile ] || exit 0; \
15253 r=`${PWD_COMMAND}`; export r; \
15254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15255 $(HOST_EXPORTS) \
15256 for flag in $(EXTRA_HOST_FLAGS) ; do \
15257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15258 done; \
15259 echo "Doing install-info in ld" ; \
15260 (cd $(HOST_SUBDIR)/ld && \
15261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15263 "RANLIB=$${RANLIB}" \
15264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15265 install-info) \
15266 || exit 1
15268 @endif ld
15270 .PHONY: maybe-installcheck-ld installcheck-ld
15271 maybe-installcheck-ld:
15272 @if ld
15273 maybe-installcheck-ld: installcheck-ld
15275 installcheck-ld: \
15276 configure-ld
15277 @[ -f ./ld/Makefile ] || exit 0; \
15278 r=`${PWD_COMMAND}`; export r; \
15279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15280 $(HOST_EXPORTS) \
15281 for flag in $(EXTRA_HOST_FLAGS) ; do \
15282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15283 done; \
15284 echo "Doing installcheck in ld" ; \
15285 (cd $(HOST_SUBDIR)/ld && \
15286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15288 "RANLIB=$${RANLIB}" \
15289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15290 installcheck) \
15291 || exit 1
15293 @endif ld
15295 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
15296 maybe-mostlyclean-ld:
15297 @if ld
15298 maybe-mostlyclean-ld: mostlyclean-ld
15300 mostlyclean-ld:
15301 @[ -f ./ld/Makefile ] || exit 0; \
15302 r=`${PWD_COMMAND}`; export r; \
15303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15304 $(HOST_EXPORTS) \
15305 for flag in $(EXTRA_HOST_FLAGS) ; do \
15306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15307 done; \
15308 echo "Doing mostlyclean in ld" ; \
15309 (cd $(HOST_SUBDIR)/ld && \
15310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15312 "RANLIB=$${RANLIB}" \
15313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15314 mostlyclean) \
15315 || exit 1
15317 @endif ld
15319 .PHONY: maybe-clean-ld clean-ld
15320 maybe-clean-ld:
15321 @if ld
15322 maybe-clean-ld: clean-ld
15324 clean-ld:
15325 @[ -f ./ld/Makefile ] || exit 0; \
15326 r=`${PWD_COMMAND}`; export r; \
15327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15328 $(HOST_EXPORTS) \
15329 for flag in $(EXTRA_HOST_FLAGS) ; do \
15330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15331 done; \
15332 echo "Doing clean in ld" ; \
15333 (cd $(HOST_SUBDIR)/ld && \
15334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15336 "RANLIB=$${RANLIB}" \
15337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15338 clean) \
15339 || exit 1
15341 @endif ld
15343 .PHONY: maybe-distclean-ld distclean-ld
15344 maybe-distclean-ld:
15345 @if ld
15346 maybe-distclean-ld: distclean-ld
15348 distclean-ld:
15349 @[ -f ./ld/Makefile ] || exit 0; \
15350 r=`${PWD_COMMAND}`; export r; \
15351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15352 $(HOST_EXPORTS) \
15353 for flag in $(EXTRA_HOST_FLAGS) ; do \
15354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15355 done; \
15356 echo "Doing distclean in ld" ; \
15357 (cd $(HOST_SUBDIR)/ld && \
15358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15360 "RANLIB=$${RANLIB}" \
15361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15362 distclean) \
15363 || exit 1
15365 @endif ld
15367 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
15368 maybe-maintainer-clean-ld:
15369 @if ld
15370 maybe-maintainer-clean-ld: maintainer-clean-ld
15372 maintainer-clean-ld:
15373 @[ -f ./ld/Makefile ] || exit 0; \
15374 r=`${PWD_COMMAND}`; export r; \
15375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15376 $(HOST_EXPORTS) \
15377 for flag in $(EXTRA_HOST_FLAGS) ; do \
15378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15379 done; \
15380 echo "Doing maintainer-clean in ld" ; \
15381 (cd $(HOST_SUBDIR)/ld && \
15382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15384 "RANLIB=$${RANLIB}" \
15385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15386 maintainer-clean) \
15387 || exit 1
15389 @endif ld
15393 .PHONY: configure-libcpp maybe-configure-libcpp
15394 maybe-configure-libcpp:
15395 @if libcpp
15396 maybe-configure-libcpp: configure-libcpp
15397 configure-libcpp:
15398 @test -f stage_last && exit 0; \
15399 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15401 r=`${PWD_COMMAND}`; export r; \
15402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15403 $(HOST_EXPORTS) \
15404 echo Configuring in $(HOST_SUBDIR)/libcpp; \
15405 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
15406 case $(srcdir) in \
15407 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15408 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15409 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15410 esac; \
15411 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15412 libsrcdir="$$s/libcpp"; \
15413 $(SHELL) $${libsrcdir}/configure \
15414 $(HOST_CONFIGARGS) $${srcdiroption} \
15415 || exit 1
15416 @endif libcpp
15420 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
15421 maybe-configure-stage1-libcpp:
15422 @if libcpp-bootstrap
15423 maybe-configure-stage1-libcpp: configure-stage1-libcpp
15424 configure-stage1-libcpp:
15425 @$(MAKE) stage1-start
15426 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15427 r=`${PWD_COMMAND}`; export r; \
15428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15429 $(HOST_EXPORTS) \
15430 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
15431 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15432 case $(srcdir) in \
15433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15434 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15436 esac; \
15437 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15438 libsrcdir="$$s/libcpp"; \
15439 $(SHELL) $${libsrcdir}/configure \
15440 $(HOST_CONFIGARGS) $${srcdiroption} \
15441 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15442 @endif libcpp-bootstrap
15444 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
15445 maybe-configure-stage2-libcpp:
15446 @if libcpp-bootstrap
15447 maybe-configure-stage2-libcpp: configure-stage2-libcpp
15448 configure-stage2-libcpp:
15449 @$(MAKE) stage2-start
15450 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15451 r=`${PWD_COMMAND}`; export r; \
15452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15453 $(HOST_EXPORTS) \
15454 $(POSTSTAGE1_HOST_EXPORTS) \
15455 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
15456 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15457 case $(srcdir) in \
15458 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15459 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15460 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15461 esac; \
15462 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15463 libsrcdir="$$s/libcpp"; \
15464 $(SHELL) $${libsrcdir}/configure \
15465 $(HOST_CONFIGARGS) $${srcdiroption} \
15466 @stage2_werror_flag@
15467 @endif libcpp-bootstrap
15469 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
15470 maybe-configure-stage3-libcpp:
15471 @if libcpp-bootstrap
15472 maybe-configure-stage3-libcpp: configure-stage3-libcpp
15473 configure-stage3-libcpp:
15474 @$(MAKE) stage3-start
15475 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15476 r=`${PWD_COMMAND}`; export r; \
15477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15478 $(HOST_EXPORTS) \
15479 $(POSTSTAGE1_HOST_EXPORTS) \
15480 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
15481 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15482 case $(srcdir) in \
15483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15484 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15486 esac; \
15487 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15488 libsrcdir="$$s/libcpp"; \
15489 $(SHELL) $${libsrcdir}/configure \
15490 $(HOST_CONFIGARGS) $${srcdiroption} \
15491 @stage2_werror_flag@
15492 @endif libcpp-bootstrap
15494 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
15495 maybe-configure-stage4-libcpp:
15496 @if libcpp-bootstrap
15497 maybe-configure-stage4-libcpp: configure-stage4-libcpp
15498 configure-stage4-libcpp:
15499 @$(MAKE) stage4-start
15500 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15501 r=`${PWD_COMMAND}`; export r; \
15502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15503 $(HOST_EXPORTS) \
15504 $(POSTSTAGE1_HOST_EXPORTS) \
15505 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
15506 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15507 case $(srcdir) in \
15508 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15509 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15510 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15511 esac; \
15512 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15513 libsrcdir="$$s/libcpp"; \
15514 $(SHELL) $${libsrcdir}/configure \
15515 $(HOST_CONFIGARGS) $${srcdiroption} \
15516 @stage2_werror_flag@
15517 @endif libcpp-bootstrap
15519 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
15520 maybe-configure-stageprofile-libcpp:
15521 @if libcpp-bootstrap
15522 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
15523 configure-stageprofile-libcpp:
15524 @$(MAKE) stageprofile-start
15525 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15526 r=`${PWD_COMMAND}`; export r; \
15527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15528 $(HOST_EXPORTS) \
15529 $(POSTSTAGE1_HOST_EXPORTS) \
15530 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
15531 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15532 case $(srcdir) in \
15533 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15534 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15535 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15536 esac; \
15537 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15538 libsrcdir="$$s/libcpp"; \
15539 $(SHELL) $${libsrcdir}/configure \
15540 $(HOST_CONFIGARGS) $${srcdiroption} \
15541 @stage2_werror_flag@
15542 @endif libcpp-bootstrap
15544 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
15545 maybe-configure-stagefeedback-libcpp:
15546 @if libcpp-bootstrap
15547 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
15548 configure-stagefeedback-libcpp:
15549 @$(MAKE) stagefeedback-start
15550 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15551 r=`${PWD_COMMAND}`; export r; \
15552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15553 $(HOST_EXPORTS) \
15554 $(POSTSTAGE1_HOST_EXPORTS) \
15555 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
15556 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15557 case $(srcdir) in \
15558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15559 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15561 esac; \
15562 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15563 libsrcdir="$$s/libcpp"; \
15564 $(SHELL) $${libsrcdir}/configure \
15565 $(HOST_CONFIGARGS) $${srcdiroption} \
15566 @stage2_werror_flag@
15567 @endif libcpp-bootstrap
15573 .PHONY: all-libcpp maybe-all-libcpp
15574 maybe-all-libcpp:
15575 @if libcpp
15576 TARGET-libcpp=all
15577 maybe-all-libcpp: all-libcpp
15578 all-libcpp: configure-libcpp
15579 @test -f stage_last && exit 0; \
15580 r=`${PWD_COMMAND}`; export r; \
15581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15582 $(HOST_EXPORTS) \
15583 (cd $(HOST_SUBDIR)/libcpp && \
15584 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
15585 @endif libcpp
15589 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
15590 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
15591 maybe-all-stage1-libcpp:
15592 maybe-clean-stage1-libcpp:
15593 @if libcpp-bootstrap
15594 maybe-all-stage1-libcpp: all-stage1-libcpp
15595 all-stage1: all-stage1-libcpp
15596 all-stage1-libcpp: configure-stage1-libcpp
15597 @$(MAKE) stage1-start
15598 @r=`${PWD_COMMAND}`; export r; \
15599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15600 $(HOST_EXPORTS) \
15601 cd $(HOST_SUBDIR)/libcpp && \
15602 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
15604 maybe-clean-stage1-libcpp: clean-stage1-libcpp
15605 clean-stage1: clean-stage1-libcpp
15606 clean-stage1-libcpp:
15607 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
15608 || exit 0 ; \
15609 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage1-start ; \
15610 cd $(HOST_SUBDIR)/libcpp && \
15611 $(MAKE) $(FLAGS_TO_PASS) \
15612 CFLAGS="$(STAGE1_CFLAGS)" clean
15613 @endif libcpp-bootstrap
15616 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
15617 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
15618 maybe-all-stage2-libcpp:
15619 maybe-clean-stage2-libcpp:
15620 @if libcpp-bootstrap
15621 maybe-all-stage2-libcpp: all-stage2-libcpp
15622 all-stage2: all-stage2-libcpp
15623 all-stage2-libcpp: configure-stage2-libcpp
15624 @$(MAKE) stage2-start
15625 @r=`${PWD_COMMAND}`; export r; \
15626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15627 $(HOST_EXPORTS) \
15628 $(POSTSTAGE1_HOST_EXPORTS) \
15629 cd $(HOST_SUBDIR)/libcpp && \
15630 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15632 maybe-clean-stage2-libcpp: clean-stage2-libcpp
15633 clean-stage2: clean-stage2-libcpp
15634 clean-stage2-libcpp:
15635 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
15636 || exit 0 ; \
15637 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage2-start ; \
15638 cd $(HOST_SUBDIR)/libcpp && \
15639 $(MAKE) $(FLAGS_TO_PASS) \
15640 $(POSTSTAGE1_FLAGS_TO_PASS) \
15641 clean
15642 @endif libcpp-bootstrap
15645 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
15646 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
15647 maybe-all-stage3-libcpp:
15648 maybe-clean-stage3-libcpp:
15649 @if libcpp-bootstrap
15650 maybe-all-stage3-libcpp: all-stage3-libcpp
15651 all-stage3: all-stage3-libcpp
15652 all-stage3-libcpp: configure-stage3-libcpp
15653 @$(MAKE) stage3-start
15654 @r=`${PWD_COMMAND}`; export r; \
15655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15656 $(HOST_EXPORTS) \
15657 $(POSTSTAGE1_HOST_EXPORTS) \
15658 cd $(HOST_SUBDIR)/libcpp && \
15659 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15661 maybe-clean-stage3-libcpp: clean-stage3-libcpp
15662 clean-stage3: clean-stage3-libcpp
15663 clean-stage3-libcpp:
15664 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
15665 || exit 0 ; \
15666 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage3-start ; \
15667 cd $(HOST_SUBDIR)/libcpp && \
15668 $(MAKE) $(FLAGS_TO_PASS) \
15669 $(POSTSTAGE1_FLAGS_TO_PASS) \
15670 clean
15671 @endif libcpp-bootstrap
15674 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
15675 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
15676 maybe-all-stage4-libcpp:
15677 maybe-clean-stage4-libcpp:
15678 @if libcpp-bootstrap
15679 maybe-all-stage4-libcpp: all-stage4-libcpp
15680 all-stage4: all-stage4-libcpp
15681 all-stage4-libcpp: configure-stage4-libcpp
15682 @$(MAKE) stage4-start
15683 @r=`${PWD_COMMAND}`; export r; \
15684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15685 $(HOST_EXPORTS) \
15686 $(POSTSTAGE1_HOST_EXPORTS) \
15687 cd $(HOST_SUBDIR)/libcpp && \
15688 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15690 maybe-clean-stage4-libcpp: clean-stage4-libcpp
15691 clean-stage4: clean-stage4-libcpp
15692 clean-stage4-libcpp:
15693 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
15694 || exit 0 ; \
15695 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage4-start ; \
15696 cd $(HOST_SUBDIR)/libcpp && \
15697 $(MAKE) $(FLAGS_TO_PASS) \
15698 $(POSTSTAGE1_FLAGS_TO_PASS) \
15699 clean
15700 @endif libcpp-bootstrap
15703 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
15704 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
15705 maybe-all-stageprofile-libcpp:
15706 maybe-clean-stageprofile-libcpp:
15707 @if libcpp-bootstrap
15708 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
15709 all-stageprofile: all-stageprofile-libcpp
15710 all-stageprofile-libcpp: configure-stageprofile-libcpp
15711 @$(MAKE) stageprofile-start
15712 @r=`${PWD_COMMAND}`; export r; \
15713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15714 $(HOST_EXPORTS) \
15715 $(POSTSTAGE1_HOST_EXPORTS) \
15716 cd $(HOST_SUBDIR)/libcpp && \
15717 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
15719 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
15720 clean-stageprofile: clean-stageprofile-libcpp
15721 clean-stageprofile-libcpp:
15722 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
15723 || exit 0 ; \
15724 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
15725 cd $(HOST_SUBDIR)/libcpp && \
15726 $(MAKE) $(FLAGS_TO_PASS) \
15727 $(POSTSTAGE1_FLAGS_TO_PASS) \
15728 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15729 @endif libcpp-bootstrap
15732 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
15733 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
15734 maybe-all-stagefeedback-libcpp:
15735 maybe-clean-stagefeedback-libcpp:
15736 @if libcpp-bootstrap
15737 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
15738 all-stagefeedback: all-stagefeedback-libcpp
15739 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
15740 @$(MAKE) stagefeedback-start
15741 @r=`${PWD_COMMAND}`; export r; \
15742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15743 $(HOST_EXPORTS) \
15744 $(POSTSTAGE1_HOST_EXPORTS) \
15745 cd $(HOST_SUBDIR)/libcpp && \
15746 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
15748 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
15749 clean-stagefeedback: clean-stagefeedback-libcpp
15750 clean-stagefeedback-libcpp:
15751 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
15752 || exit 0 ; \
15753 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
15754 cd $(HOST_SUBDIR)/libcpp && \
15755 $(MAKE) $(FLAGS_TO_PASS) \
15756 $(POSTSTAGE1_FLAGS_TO_PASS) \
15757 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15758 @endif libcpp-bootstrap
15764 .PHONY: check-libcpp maybe-check-libcpp
15765 maybe-check-libcpp:
15766 @if libcpp
15767 maybe-check-libcpp: check-libcpp
15769 check-libcpp:
15770 @r=`${PWD_COMMAND}`; export r; \
15771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15772 $(HOST_EXPORTS) \
15773 (cd $(HOST_SUBDIR)/libcpp && \
15774 $(MAKE) $(FLAGS_TO_PASS) check)
15776 @endif libcpp
15778 .PHONY: install-libcpp maybe-install-libcpp
15779 maybe-install-libcpp:
15780 @if libcpp
15781 maybe-install-libcpp: install-libcpp
15783 install-libcpp: installdirs
15784 @r=`${PWD_COMMAND}`; export r; \
15785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15786 $(HOST_EXPORTS) \
15787 (cd $(HOST_SUBDIR)/libcpp && \
15788 $(MAKE) $(FLAGS_TO_PASS) install)
15790 @endif libcpp
15792 # Other targets (info, dvi, etc.)
15794 .PHONY: maybe-info-libcpp info-libcpp
15795 maybe-info-libcpp:
15796 @if libcpp
15797 maybe-info-libcpp: info-libcpp
15799 info-libcpp: \
15800 configure-libcpp
15801 @[ -f ./libcpp/Makefile ] || exit 0; \
15802 r=`${PWD_COMMAND}`; export r; \
15803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15804 $(HOST_EXPORTS) \
15805 for flag in $(EXTRA_HOST_FLAGS) ; do \
15806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15807 done; \
15808 echo "Doing info in libcpp" ; \
15809 (cd $(HOST_SUBDIR)/libcpp && \
15810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15812 "RANLIB=$${RANLIB}" \
15813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15814 info) \
15815 || exit 1
15817 @endif libcpp
15819 .PHONY: maybe-dvi-libcpp dvi-libcpp
15820 maybe-dvi-libcpp:
15821 @if libcpp
15822 maybe-dvi-libcpp: dvi-libcpp
15824 dvi-libcpp: \
15825 configure-libcpp
15826 @[ -f ./libcpp/Makefile ] || exit 0; \
15827 r=`${PWD_COMMAND}`; export r; \
15828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15829 $(HOST_EXPORTS) \
15830 for flag in $(EXTRA_HOST_FLAGS) ; do \
15831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15832 done; \
15833 echo "Doing dvi in libcpp" ; \
15834 (cd $(HOST_SUBDIR)/libcpp && \
15835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15837 "RANLIB=$${RANLIB}" \
15838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15839 dvi) \
15840 || exit 1
15842 @endif libcpp
15844 .PHONY: maybe-html-libcpp html-libcpp
15845 maybe-html-libcpp:
15846 @if libcpp
15847 maybe-html-libcpp: html-libcpp
15849 html-libcpp: \
15850 configure-libcpp
15851 @[ -f ./libcpp/Makefile ] || exit 0; \
15852 r=`${PWD_COMMAND}`; export r; \
15853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15854 $(HOST_EXPORTS) \
15855 for flag in $(EXTRA_HOST_FLAGS) ; do \
15856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15857 done; \
15858 echo "Doing html in libcpp" ; \
15859 (cd $(HOST_SUBDIR)/libcpp && \
15860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15862 "RANLIB=$${RANLIB}" \
15863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15864 html) \
15865 || exit 1
15867 @endif libcpp
15869 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
15870 maybe-TAGS-libcpp:
15871 @if libcpp
15872 maybe-TAGS-libcpp: TAGS-libcpp
15874 TAGS-libcpp: \
15875 configure-libcpp
15876 @[ -f ./libcpp/Makefile ] || exit 0; \
15877 r=`${PWD_COMMAND}`; export r; \
15878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15879 $(HOST_EXPORTS) \
15880 for flag in $(EXTRA_HOST_FLAGS) ; do \
15881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15882 done; \
15883 echo "Doing TAGS in libcpp" ; \
15884 (cd $(HOST_SUBDIR)/libcpp && \
15885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15887 "RANLIB=$${RANLIB}" \
15888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15889 TAGS) \
15890 || exit 1
15892 @endif libcpp
15894 .PHONY: maybe-install-info-libcpp install-info-libcpp
15895 maybe-install-info-libcpp:
15896 @if libcpp
15897 maybe-install-info-libcpp: install-info-libcpp
15899 install-info-libcpp: \
15900 configure-libcpp \
15901 info-libcpp
15902 @[ -f ./libcpp/Makefile ] || exit 0; \
15903 r=`${PWD_COMMAND}`; export r; \
15904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15905 $(HOST_EXPORTS) \
15906 for flag in $(EXTRA_HOST_FLAGS) ; do \
15907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15908 done; \
15909 echo "Doing install-info in libcpp" ; \
15910 (cd $(HOST_SUBDIR)/libcpp && \
15911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15913 "RANLIB=$${RANLIB}" \
15914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15915 install-info) \
15916 || exit 1
15918 @endif libcpp
15920 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
15921 maybe-installcheck-libcpp:
15922 @if libcpp
15923 maybe-installcheck-libcpp: installcheck-libcpp
15925 installcheck-libcpp: \
15926 configure-libcpp
15927 @[ -f ./libcpp/Makefile ] || exit 0; \
15928 r=`${PWD_COMMAND}`; export r; \
15929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15930 $(HOST_EXPORTS) \
15931 for flag in $(EXTRA_HOST_FLAGS) ; do \
15932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15933 done; \
15934 echo "Doing installcheck in libcpp" ; \
15935 (cd $(HOST_SUBDIR)/libcpp && \
15936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15938 "RANLIB=$${RANLIB}" \
15939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15940 installcheck) \
15941 || exit 1
15943 @endif libcpp
15945 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
15946 maybe-mostlyclean-libcpp:
15947 @if libcpp
15948 maybe-mostlyclean-libcpp: mostlyclean-libcpp
15950 mostlyclean-libcpp:
15951 @[ -f ./libcpp/Makefile ] || exit 0; \
15952 r=`${PWD_COMMAND}`; export r; \
15953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15954 $(HOST_EXPORTS) \
15955 for flag in $(EXTRA_HOST_FLAGS) ; do \
15956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15957 done; \
15958 echo "Doing mostlyclean in libcpp" ; \
15959 (cd $(HOST_SUBDIR)/libcpp && \
15960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15962 "RANLIB=$${RANLIB}" \
15963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15964 mostlyclean) \
15965 || exit 1
15967 @endif libcpp
15969 .PHONY: maybe-clean-libcpp clean-libcpp
15970 maybe-clean-libcpp:
15971 @if libcpp
15972 maybe-clean-libcpp: clean-libcpp
15974 clean-libcpp:
15975 @[ -f ./libcpp/Makefile ] || exit 0; \
15976 r=`${PWD_COMMAND}`; export r; \
15977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15978 $(HOST_EXPORTS) \
15979 for flag in $(EXTRA_HOST_FLAGS) ; do \
15980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15981 done; \
15982 echo "Doing clean in libcpp" ; \
15983 (cd $(HOST_SUBDIR)/libcpp && \
15984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15986 "RANLIB=$${RANLIB}" \
15987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15988 clean) \
15989 || exit 1
15991 @endif libcpp
15993 .PHONY: maybe-distclean-libcpp distclean-libcpp
15994 maybe-distclean-libcpp:
15995 @if libcpp
15996 maybe-distclean-libcpp: distclean-libcpp
15998 distclean-libcpp:
15999 @[ -f ./libcpp/Makefile ] || exit 0; \
16000 r=`${PWD_COMMAND}`; export r; \
16001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16002 $(HOST_EXPORTS) \
16003 for flag in $(EXTRA_HOST_FLAGS) ; do \
16004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16005 done; \
16006 echo "Doing distclean in libcpp" ; \
16007 (cd $(HOST_SUBDIR)/libcpp && \
16008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16010 "RANLIB=$${RANLIB}" \
16011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16012 distclean) \
16013 || exit 1
16015 @endif libcpp
16017 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16018 maybe-maintainer-clean-libcpp:
16019 @if libcpp
16020 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16022 maintainer-clean-libcpp:
16023 @[ -f ./libcpp/Makefile ] || exit 0; \
16024 r=`${PWD_COMMAND}`; export r; \
16025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16026 $(HOST_EXPORTS) \
16027 for flag in $(EXTRA_HOST_FLAGS) ; do \
16028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16029 done; \
16030 echo "Doing maintainer-clean in libcpp" ; \
16031 (cd $(HOST_SUBDIR)/libcpp && \
16032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16034 "RANLIB=$${RANLIB}" \
16035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16036 maintainer-clean) \
16037 || exit 1
16039 @endif libcpp
16043 .PHONY: configure-libgui maybe-configure-libgui
16044 maybe-configure-libgui:
16045 @if libgui
16046 maybe-configure-libgui: configure-libgui
16047 configure-libgui:
16048 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
16049 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
16050 r=`${PWD_COMMAND}`; export r; \
16051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16052 $(HOST_EXPORTS) \
16053 echo Configuring in $(HOST_SUBDIR)/libgui; \
16054 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
16055 case $(srcdir) in \
16056 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16057 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
16058 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16059 esac; \
16060 srcdiroption="--srcdir=$${topdir}/libgui"; \
16061 libsrcdir="$$s/libgui"; \
16062 $(SHELL) $${libsrcdir}/configure \
16063 $(HOST_CONFIGARGS) $${srcdiroption} \
16064 || exit 1
16065 @endif libgui
16071 .PHONY: all-libgui maybe-all-libgui
16072 maybe-all-libgui:
16073 @if libgui
16074 TARGET-libgui=all
16075 maybe-all-libgui: all-libgui
16076 all-libgui: configure-libgui
16077 @r=`${PWD_COMMAND}`; export r; \
16078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16079 $(HOST_EXPORTS) \
16080 (cd $(HOST_SUBDIR)/libgui && \
16081 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
16082 @endif libgui
16087 .PHONY: check-libgui maybe-check-libgui
16088 maybe-check-libgui:
16089 @if libgui
16090 maybe-check-libgui: check-libgui
16092 check-libgui:
16093 @r=`${PWD_COMMAND}`; export r; \
16094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16095 $(HOST_EXPORTS) \
16096 (cd $(HOST_SUBDIR)/libgui && \
16097 $(MAKE) $(FLAGS_TO_PASS) check)
16099 @endif libgui
16101 .PHONY: install-libgui maybe-install-libgui
16102 maybe-install-libgui:
16103 @if libgui
16104 maybe-install-libgui: install-libgui
16106 install-libgui: installdirs
16107 @r=`${PWD_COMMAND}`; export r; \
16108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16109 $(HOST_EXPORTS) \
16110 (cd $(HOST_SUBDIR)/libgui && \
16111 $(MAKE) $(FLAGS_TO_PASS) install)
16113 @endif libgui
16115 # Other targets (info, dvi, etc.)
16117 .PHONY: maybe-info-libgui info-libgui
16118 maybe-info-libgui:
16119 @if libgui
16120 maybe-info-libgui: info-libgui
16122 info-libgui: \
16123 configure-libgui
16124 @[ -f ./libgui/Makefile ] || exit 0; \
16125 r=`${PWD_COMMAND}`; export r; \
16126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16127 $(HOST_EXPORTS) \
16128 for flag in $(EXTRA_HOST_FLAGS) ; do \
16129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16130 done; \
16131 echo "Doing info in libgui" ; \
16132 (cd $(HOST_SUBDIR)/libgui && \
16133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16135 "RANLIB=$${RANLIB}" \
16136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16137 info) \
16138 || exit 1
16140 @endif libgui
16142 .PHONY: maybe-dvi-libgui dvi-libgui
16143 maybe-dvi-libgui:
16144 @if libgui
16145 maybe-dvi-libgui: dvi-libgui
16147 dvi-libgui: \
16148 configure-libgui
16149 @[ -f ./libgui/Makefile ] || exit 0; \
16150 r=`${PWD_COMMAND}`; export r; \
16151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16152 $(HOST_EXPORTS) \
16153 for flag in $(EXTRA_HOST_FLAGS) ; do \
16154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16155 done; \
16156 echo "Doing dvi in libgui" ; \
16157 (cd $(HOST_SUBDIR)/libgui && \
16158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16160 "RANLIB=$${RANLIB}" \
16161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16162 dvi) \
16163 || exit 1
16165 @endif libgui
16167 .PHONY: maybe-html-libgui html-libgui
16168 maybe-html-libgui:
16169 @if libgui
16170 maybe-html-libgui: html-libgui
16172 html-libgui: \
16173 configure-libgui
16174 @[ -f ./libgui/Makefile ] || exit 0; \
16175 r=`${PWD_COMMAND}`; export r; \
16176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16177 $(HOST_EXPORTS) \
16178 for flag in $(EXTRA_HOST_FLAGS) ; do \
16179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16180 done; \
16181 echo "Doing html in libgui" ; \
16182 (cd $(HOST_SUBDIR)/libgui && \
16183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16185 "RANLIB=$${RANLIB}" \
16186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16187 html) \
16188 || exit 1
16190 @endif libgui
16192 .PHONY: maybe-TAGS-libgui TAGS-libgui
16193 maybe-TAGS-libgui:
16194 @if libgui
16195 maybe-TAGS-libgui: TAGS-libgui
16197 TAGS-libgui: \
16198 configure-libgui
16199 @[ -f ./libgui/Makefile ] || exit 0; \
16200 r=`${PWD_COMMAND}`; export r; \
16201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16202 $(HOST_EXPORTS) \
16203 for flag in $(EXTRA_HOST_FLAGS) ; do \
16204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16205 done; \
16206 echo "Doing TAGS in libgui" ; \
16207 (cd $(HOST_SUBDIR)/libgui && \
16208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16210 "RANLIB=$${RANLIB}" \
16211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16212 TAGS) \
16213 || exit 1
16215 @endif libgui
16217 .PHONY: maybe-install-info-libgui install-info-libgui
16218 maybe-install-info-libgui:
16219 @if libgui
16220 maybe-install-info-libgui: install-info-libgui
16222 install-info-libgui: \
16223 configure-libgui \
16224 info-libgui
16225 @[ -f ./libgui/Makefile ] || exit 0; \
16226 r=`${PWD_COMMAND}`; export r; \
16227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16228 $(HOST_EXPORTS) \
16229 for flag in $(EXTRA_HOST_FLAGS) ; do \
16230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16231 done; \
16232 echo "Doing install-info in libgui" ; \
16233 (cd $(HOST_SUBDIR)/libgui && \
16234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16236 "RANLIB=$${RANLIB}" \
16237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16238 install-info) \
16239 || exit 1
16241 @endif libgui
16243 .PHONY: maybe-installcheck-libgui installcheck-libgui
16244 maybe-installcheck-libgui:
16245 @if libgui
16246 maybe-installcheck-libgui: installcheck-libgui
16248 installcheck-libgui: \
16249 configure-libgui
16250 @[ -f ./libgui/Makefile ] || exit 0; \
16251 r=`${PWD_COMMAND}`; export r; \
16252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16253 $(HOST_EXPORTS) \
16254 for flag in $(EXTRA_HOST_FLAGS) ; do \
16255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16256 done; \
16257 echo "Doing installcheck in libgui" ; \
16258 (cd $(HOST_SUBDIR)/libgui && \
16259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16261 "RANLIB=$${RANLIB}" \
16262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16263 installcheck) \
16264 || exit 1
16266 @endif libgui
16268 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
16269 maybe-mostlyclean-libgui:
16270 @if libgui
16271 maybe-mostlyclean-libgui: mostlyclean-libgui
16273 mostlyclean-libgui:
16274 @[ -f ./libgui/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 mostlyclean in libgui" ; \
16282 (cd $(HOST_SUBDIR)/libgui && \
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 mostlyclean) \
16288 || exit 1
16290 @endif libgui
16292 .PHONY: maybe-clean-libgui clean-libgui
16293 maybe-clean-libgui:
16294 @if libgui
16295 maybe-clean-libgui: clean-libgui
16297 clean-libgui:
16298 @[ -f ./libgui/Makefile ] || exit 0; \
16299 r=`${PWD_COMMAND}`; export r; \
16300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16301 $(HOST_EXPORTS) \
16302 for flag in $(EXTRA_HOST_FLAGS) ; do \
16303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16304 done; \
16305 echo "Doing clean in libgui" ; \
16306 (cd $(HOST_SUBDIR)/libgui && \
16307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16309 "RANLIB=$${RANLIB}" \
16310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16311 clean) \
16312 || exit 1
16314 @endif libgui
16316 .PHONY: maybe-distclean-libgui distclean-libgui
16317 maybe-distclean-libgui:
16318 @if libgui
16319 maybe-distclean-libgui: distclean-libgui
16321 distclean-libgui:
16322 @[ -f ./libgui/Makefile ] || exit 0; \
16323 r=`${PWD_COMMAND}`; export r; \
16324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16325 $(HOST_EXPORTS) \
16326 for flag in $(EXTRA_HOST_FLAGS) ; do \
16327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16328 done; \
16329 echo "Doing distclean in libgui" ; \
16330 (cd $(HOST_SUBDIR)/libgui && \
16331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16333 "RANLIB=$${RANLIB}" \
16334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16335 distclean) \
16336 || exit 1
16338 @endif libgui
16340 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
16341 maybe-maintainer-clean-libgui:
16342 @if libgui
16343 maybe-maintainer-clean-libgui: maintainer-clean-libgui
16345 maintainer-clean-libgui:
16346 @[ -f ./libgui/Makefile ] || exit 0; \
16347 r=`${PWD_COMMAND}`; export r; \
16348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16349 $(HOST_EXPORTS) \
16350 for flag in $(EXTRA_HOST_FLAGS) ; do \
16351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16352 done; \
16353 echo "Doing maintainer-clean in libgui" ; \
16354 (cd $(HOST_SUBDIR)/libgui && \
16355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16357 "RANLIB=$${RANLIB}" \
16358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16359 maintainer-clean) \
16360 || exit 1
16362 @endif libgui
16366 .PHONY: configure-libiberty maybe-configure-libiberty
16367 maybe-configure-libiberty:
16368 @if libiberty
16369 maybe-configure-libiberty: configure-libiberty
16370 configure-libiberty:
16371 @test -f stage_last && exit 0; \
16372 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
16373 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
16374 r=`${PWD_COMMAND}`; export r; \
16375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16376 $(HOST_EXPORTS) \
16377 echo Configuring in $(HOST_SUBDIR)/libiberty; \
16378 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
16379 case $(srcdir) in \
16380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16381 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16383 esac; \
16384 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16385 libsrcdir="$$s/libiberty"; \
16386 $(SHELL) $${libsrcdir}/configure \
16387 $(HOST_CONFIGARGS) $${srcdiroption} \
16388 || exit 1
16389 @endif libiberty
16393 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
16394 maybe-configure-stage1-libiberty:
16395 @if libiberty-bootstrap
16396 maybe-configure-stage1-libiberty: configure-stage1-libiberty
16397 configure-stage1-libiberty:
16398 @$(MAKE) stage1-start
16399 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16400 r=`${PWD_COMMAND}`; export r; \
16401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16402 $(HOST_EXPORTS) \
16403 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
16404 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16405 case $(srcdir) in \
16406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16407 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16409 esac; \
16410 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16411 libsrcdir="$$s/libiberty"; \
16412 $(SHELL) $${libsrcdir}/configure \
16413 $(HOST_CONFIGARGS) $${srcdiroption} \
16414 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16415 @endif libiberty-bootstrap
16417 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
16418 maybe-configure-stage2-libiberty:
16419 @if libiberty-bootstrap
16420 maybe-configure-stage2-libiberty: configure-stage2-libiberty
16421 configure-stage2-libiberty:
16422 @$(MAKE) stage2-start
16423 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16424 r=`${PWD_COMMAND}`; export r; \
16425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16426 $(HOST_EXPORTS) \
16427 $(POSTSTAGE1_HOST_EXPORTS) \
16428 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
16429 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16430 case $(srcdir) in \
16431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16432 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16434 esac; \
16435 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16436 libsrcdir="$$s/libiberty"; \
16437 $(SHELL) $${libsrcdir}/configure \
16438 $(HOST_CONFIGARGS) $${srcdiroption} \
16439 @stage2_werror_flag@
16440 @endif libiberty-bootstrap
16442 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
16443 maybe-configure-stage3-libiberty:
16444 @if libiberty-bootstrap
16445 maybe-configure-stage3-libiberty: configure-stage3-libiberty
16446 configure-stage3-libiberty:
16447 @$(MAKE) stage3-start
16448 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16449 r=`${PWD_COMMAND}`; export r; \
16450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16451 $(HOST_EXPORTS) \
16452 $(POSTSTAGE1_HOST_EXPORTS) \
16453 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
16454 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16455 case $(srcdir) in \
16456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16457 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16459 esac; \
16460 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16461 libsrcdir="$$s/libiberty"; \
16462 $(SHELL) $${libsrcdir}/configure \
16463 $(HOST_CONFIGARGS) $${srcdiroption} \
16464 @stage2_werror_flag@
16465 @endif libiberty-bootstrap
16467 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
16468 maybe-configure-stage4-libiberty:
16469 @if libiberty-bootstrap
16470 maybe-configure-stage4-libiberty: configure-stage4-libiberty
16471 configure-stage4-libiberty:
16472 @$(MAKE) stage4-start
16473 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16474 r=`${PWD_COMMAND}`; export r; \
16475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16476 $(HOST_EXPORTS) \
16477 $(POSTSTAGE1_HOST_EXPORTS) \
16478 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
16479 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16480 case $(srcdir) in \
16481 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16482 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16483 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16484 esac; \
16485 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16486 libsrcdir="$$s/libiberty"; \
16487 $(SHELL) $${libsrcdir}/configure \
16488 $(HOST_CONFIGARGS) $${srcdiroption} \
16489 @stage2_werror_flag@
16490 @endif libiberty-bootstrap
16492 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
16493 maybe-configure-stageprofile-libiberty:
16494 @if libiberty-bootstrap
16495 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
16496 configure-stageprofile-libiberty:
16497 @$(MAKE) stageprofile-start
16498 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16499 r=`${PWD_COMMAND}`; export r; \
16500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16501 $(HOST_EXPORTS) \
16502 $(POSTSTAGE1_HOST_EXPORTS) \
16503 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
16504 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16505 case $(srcdir) in \
16506 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16507 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16508 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16509 esac; \
16510 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16511 libsrcdir="$$s/libiberty"; \
16512 $(SHELL) $${libsrcdir}/configure \
16513 $(HOST_CONFIGARGS) $${srcdiroption} \
16514 @stage2_werror_flag@
16515 @endif libiberty-bootstrap
16517 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
16518 maybe-configure-stagefeedback-libiberty:
16519 @if libiberty-bootstrap
16520 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
16521 configure-stagefeedback-libiberty:
16522 @$(MAKE) stagefeedback-start
16523 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16524 r=`${PWD_COMMAND}`; export r; \
16525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16526 $(HOST_EXPORTS) \
16527 $(POSTSTAGE1_HOST_EXPORTS) \
16528 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
16529 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16530 case $(srcdir) in \
16531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16532 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16534 esac; \
16535 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16536 libsrcdir="$$s/libiberty"; \
16537 $(SHELL) $${libsrcdir}/configure \
16538 $(HOST_CONFIGARGS) $${srcdiroption} \
16539 @stage2_werror_flag@
16540 @endif libiberty-bootstrap
16546 .PHONY: all-libiberty maybe-all-libiberty
16547 maybe-all-libiberty:
16548 @if libiberty
16549 TARGET-libiberty=all
16550 maybe-all-libiberty: all-libiberty
16551 all-libiberty: configure-libiberty
16552 @test -f stage_last && exit 0; \
16553 r=`${PWD_COMMAND}`; export r; \
16554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16555 $(HOST_EXPORTS) \
16556 (cd $(HOST_SUBDIR)/libiberty && \
16557 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
16558 @endif libiberty
16562 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
16563 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
16564 maybe-all-stage1-libiberty:
16565 maybe-clean-stage1-libiberty:
16566 @if libiberty-bootstrap
16567 maybe-all-stage1-libiberty: all-stage1-libiberty
16568 all-stage1: all-stage1-libiberty
16569 all-stage1-libiberty: configure-stage1-libiberty
16570 @$(MAKE) stage1-start
16571 @r=`${PWD_COMMAND}`; export r; \
16572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16573 $(HOST_EXPORTS) \
16574 cd $(HOST_SUBDIR)/libiberty && \
16575 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
16577 maybe-clean-stage1-libiberty: clean-stage1-libiberty
16578 clean-stage1: clean-stage1-libiberty
16579 clean-stage1-libiberty:
16580 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
16581 || exit 0 ; \
16582 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage1-start ; \
16583 cd $(HOST_SUBDIR)/libiberty && \
16584 $(MAKE) $(FLAGS_TO_PASS) \
16585 CFLAGS="$(STAGE1_CFLAGS)" clean
16586 @endif libiberty-bootstrap
16589 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
16590 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
16591 maybe-all-stage2-libiberty:
16592 maybe-clean-stage2-libiberty:
16593 @if libiberty-bootstrap
16594 maybe-all-stage2-libiberty: all-stage2-libiberty
16595 all-stage2: all-stage2-libiberty
16596 all-stage2-libiberty: configure-stage2-libiberty
16597 @$(MAKE) stage2-start
16598 @r=`${PWD_COMMAND}`; export r; \
16599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16600 $(HOST_EXPORTS) \
16601 $(POSTSTAGE1_HOST_EXPORTS) \
16602 cd $(HOST_SUBDIR)/libiberty && \
16603 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
16605 maybe-clean-stage2-libiberty: clean-stage2-libiberty
16606 clean-stage2: clean-stage2-libiberty
16607 clean-stage2-libiberty:
16608 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
16609 || exit 0 ; \
16610 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage2-start ; \
16611 cd $(HOST_SUBDIR)/libiberty && \
16612 $(MAKE) $(FLAGS_TO_PASS) \
16613 $(POSTSTAGE1_FLAGS_TO_PASS) \
16614 clean
16615 @endif libiberty-bootstrap
16618 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
16619 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
16620 maybe-all-stage3-libiberty:
16621 maybe-clean-stage3-libiberty:
16622 @if libiberty-bootstrap
16623 maybe-all-stage3-libiberty: all-stage3-libiberty
16624 all-stage3: all-stage3-libiberty
16625 all-stage3-libiberty: configure-stage3-libiberty
16626 @$(MAKE) stage3-start
16627 @r=`${PWD_COMMAND}`; export r; \
16628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16629 $(HOST_EXPORTS) \
16630 $(POSTSTAGE1_HOST_EXPORTS) \
16631 cd $(HOST_SUBDIR)/libiberty && \
16632 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
16634 maybe-clean-stage3-libiberty: clean-stage3-libiberty
16635 clean-stage3: clean-stage3-libiberty
16636 clean-stage3-libiberty:
16637 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
16638 || exit 0 ; \
16639 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage3-start ; \
16640 cd $(HOST_SUBDIR)/libiberty && \
16641 $(MAKE) $(FLAGS_TO_PASS) \
16642 $(POSTSTAGE1_FLAGS_TO_PASS) \
16643 clean
16644 @endif libiberty-bootstrap
16647 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
16648 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
16649 maybe-all-stage4-libiberty:
16650 maybe-clean-stage4-libiberty:
16651 @if libiberty-bootstrap
16652 maybe-all-stage4-libiberty: all-stage4-libiberty
16653 all-stage4: all-stage4-libiberty
16654 all-stage4-libiberty: configure-stage4-libiberty
16655 @$(MAKE) stage4-start
16656 @r=`${PWD_COMMAND}`; export r; \
16657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16658 $(HOST_EXPORTS) \
16659 $(POSTSTAGE1_HOST_EXPORTS) \
16660 cd $(HOST_SUBDIR)/libiberty && \
16661 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
16663 maybe-clean-stage4-libiberty: clean-stage4-libiberty
16664 clean-stage4: clean-stage4-libiberty
16665 clean-stage4-libiberty:
16666 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
16667 || exit 0 ; \
16668 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage4-start ; \
16669 cd $(HOST_SUBDIR)/libiberty && \
16670 $(MAKE) $(FLAGS_TO_PASS) \
16671 $(POSTSTAGE1_FLAGS_TO_PASS) \
16672 clean
16673 @endif libiberty-bootstrap
16676 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
16677 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
16678 maybe-all-stageprofile-libiberty:
16679 maybe-clean-stageprofile-libiberty:
16680 @if libiberty-bootstrap
16681 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
16682 all-stageprofile: all-stageprofile-libiberty
16683 all-stageprofile-libiberty: configure-stageprofile-libiberty
16684 @$(MAKE) stageprofile-start
16685 @r=`${PWD_COMMAND}`; export r; \
16686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16687 $(HOST_EXPORTS) \
16688 $(POSTSTAGE1_HOST_EXPORTS) \
16689 cd $(HOST_SUBDIR)/libiberty && \
16690 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
16692 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
16693 clean-stageprofile: clean-stageprofile-libiberty
16694 clean-stageprofile-libiberty:
16695 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
16696 || exit 0 ; \
16697 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
16698 cd $(HOST_SUBDIR)/libiberty && \
16699 $(MAKE) $(FLAGS_TO_PASS) \
16700 $(POSTSTAGE1_FLAGS_TO_PASS) \
16701 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16702 @endif libiberty-bootstrap
16705 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
16706 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
16707 maybe-all-stagefeedback-libiberty:
16708 maybe-clean-stagefeedback-libiberty:
16709 @if libiberty-bootstrap
16710 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
16711 all-stagefeedback: all-stagefeedback-libiberty
16712 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
16713 @$(MAKE) stagefeedback-start
16714 @r=`${PWD_COMMAND}`; export r; \
16715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16716 $(HOST_EXPORTS) \
16717 $(POSTSTAGE1_HOST_EXPORTS) \
16718 cd $(HOST_SUBDIR)/libiberty && \
16719 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
16721 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
16722 clean-stagefeedback: clean-stagefeedback-libiberty
16723 clean-stagefeedback-libiberty:
16724 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
16725 || exit 0 ; \
16726 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
16727 cd $(HOST_SUBDIR)/libiberty && \
16728 $(MAKE) $(FLAGS_TO_PASS) \
16729 $(POSTSTAGE1_FLAGS_TO_PASS) \
16730 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16731 @endif libiberty-bootstrap
16737 .PHONY: check-libiberty maybe-check-libiberty
16738 maybe-check-libiberty:
16739 @if libiberty
16740 maybe-check-libiberty: check-libiberty
16742 check-libiberty:
16743 @r=`${PWD_COMMAND}`; export r; \
16744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16745 $(HOST_EXPORTS) \
16746 (cd $(HOST_SUBDIR)/libiberty && \
16747 $(MAKE) $(FLAGS_TO_PASS) check)
16749 @endif libiberty
16751 .PHONY: install-libiberty maybe-install-libiberty
16752 maybe-install-libiberty:
16753 @if libiberty
16754 maybe-install-libiberty: install-libiberty
16756 install-libiberty: installdirs
16757 @r=`${PWD_COMMAND}`; export r; \
16758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16759 $(HOST_EXPORTS) \
16760 (cd $(HOST_SUBDIR)/libiberty && \
16761 $(MAKE) $(FLAGS_TO_PASS) install)
16763 @endif libiberty
16765 # Other targets (info, dvi, etc.)
16767 .PHONY: maybe-info-libiberty info-libiberty
16768 maybe-info-libiberty:
16769 @if libiberty
16770 maybe-info-libiberty: info-libiberty
16772 info-libiberty: \
16773 configure-libiberty
16774 @[ -f ./libiberty/Makefile ] || exit 0; \
16775 r=`${PWD_COMMAND}`; export r; \
16776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16777 $(HOST_EXPORTS) \
16778 for flag in $(EXTRA_HOST_FLAGS) ; do \
16779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16780 done; \
16781 echo "Doing info in libiberty" ; \
16782 (cd $(HOST_SUBDIR)/libiberty && \
16783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16785 "RANLIB=$${RANLIB}" \
16786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16787 info) \
16788 || exit 1
16790 @endif libiberty
16792 .PHONY: maybe-dvi-libiberty dvi-libiberty
16793 maybe-dvi-libiberty:
16794 @if libiberty
16795 maybe-dvi-libiberty: dvi-libiberty
16797 dvi-libiberty: \
16798 configure-libiberty
16799 @[ -f ./libiberty/Makefile ] || exit 0; \
16800 r=`${PWD_COMMAND}`; export r; \
16801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16802 $(HOST_EXPORTS) \
16803 for flag in $(EXTRA_HOST_FLAGS) ; do \
16804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16805 done; \
16806 echo "Doing dvi in libiberty" ; \
16807 (cd $(HOST_SUBDIR)/libiberty && \
16808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16810 "RANLIB=$${RANLIB}" \
16811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16812 dvi) \
16813 || exit 1
16815 @endif libiberty
16817 .PHONY: maybe-html-libiberty html-libiberty
16818 maybe-html-libiberty:
16819 @if libiberty
16820 maybe-html-libiberty: html-libiberty
16822 html-libiberty: \
16823 configure-libiberty
16824 @[ -f ./libiberty/Makefile ] || exit 0; \
16825 r=`${PWD_COMMAND}`; export r; \
16826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16827 $(HOST_EXPORTS) \
16828 for flag in $(EXTRA_HOST_FLAGS) ; do \
16829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16830 done; \
16831 echo "Doing html in libiberty" ; \
16832 (cd $(HOST_SUBDIR)/libiberty && \
16833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16835 "RANLIB=$${RANLIB}" \
16836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16837 html) \
16838 || exit 1
16840 @endif libiberty
16842 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
16843 maybe-TAGS-libiberty:
16844 @if libiberty
16845 maybe-TAGS-libiberty: TAGS-libiberty
16847 TAGS-libiberty: \
16848 configure-libiberty
16849 @[ -f ./libiberty/Makefile ] || exit 0; \
16850 r=`${PWD_COMMAND}`; export r; \
16851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16852 $(HOST_EXPORTS) \
16853 for flag in $(EXTRA_HOST_FLAGS) ; do \
16854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16855 done; \
16856 echo "Doing TAGS in libiberty" ; \
16857 (cd $(HOST_SUBDIR)/libiberty && \
16858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16860 "RANLIB=$${RANLIB}" \
16861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16862 TAGS) \
16863 || exit 1
16865 @endif libiberty
16867 .PHONY: maybe-install-info-libiberty install-info-libiberty
16868 maybe-install-info-libiberty:
16869 @if libiberty
16870 maybe-install-info-libiberty: install-info-libiberty
16872 install-info-libiberty: \
16873 configure-libiberty \
16874 info-libiberty
16875 @[ -f ./libiberty/Makefile ] || exit 0; \
16876 r=`${PWD_COMMAND}`; export r; \
16877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16878 $(HOST_EXPORTS) \
16879 for flag in $(EXTRA_HOST_FLAGS) ; do \
16880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16881 done; \
16882 echo "Doing install-info in libiberty" ; \
16883 (cd $(HOST_SUBDIR)/libiberty && \
16884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16886 "RANLIB=$${RANLIB}" \
16887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16888 install-info) \
16889 || exit 1
16891 @endif libiberty
16893 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
16894 maybe-installcheck-libiberty:
16895 @if libiberty
16896 maybe-installcheck-libiberty: installcheck-libiberty
16898 installcheck-libiberty: \
16899 configure-libiberty
16900 @[ -f ./libiberty/Makefile ] || exit 0; \
16901 r=`${PWD_COMMAND}`; export r; \
16902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16903 $(HOST_EXPORTS) \
16904 for flag in $(EXTRA_HOST_FLAGS) ; do \
16905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16906 done; \
16907 echo "Doing installcheck in libiberty" ; \
16908 (cd $(HOST_SUBDIR)/libiberty && \
16909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16911 "RANLIB=$${RANLIB}" \
16912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16913 installcheck) \
16914 || exit 1
16916 @endif libiberty
16918 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
16919 maybe-mostlyclean-libiberty:
16920 @if libiberty
16921 maybe-mostlyclean-libiberty: mostlyclean-libiberty
16923 mostlyclean-libiberty:
16924 @[ -f ./libiberty/Makefile ] || exit 0; \
16925 r=`${PWD_COMMAND}`; export r; \
16926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16927 $(HOST_EXPORTS) \
16928 for flag in $(EXTRA_HOST_FLAGS) ; do \
16929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16930 done; \
16931 echo "Doing mostlyclean in libiberty" ; \
16932 (cd $(HOST_SUBDIR)/libiberty && \
16933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16935 "RANLIB=$${RANLIB}" \
16936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16937 mostlyclean) \
16938 || exit 1
16940 @endif libiberty
16942 .PHONY: maybe-clean-libiberty clean-libiberty
16943 maybe-clean-libiberty:
16944 @if libiberty
16945 maybe-clean-libiberty: clean-libiberty
16947 clean-libiberty:
16948 @[ -f ./libiberty/Makefile ] || exit 0; \
16949 r=`${PWD_COMMAND}`; export r; \
16950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16951 $(HOST_EXPORTS) \
16952 for flag in $(EXTRA_HOST_FLAGS) ; do \
16953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16954 done; \
16955 echo "Doing clean in libiberty" ; \
16956 (cd $(HOST_SUBDIR)/libiberty && \
16957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16959 "RANLIB=$${RANLIB}" \
16960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16961 clean) \
16962 || exit 1
16964 @endif libiberty
16966 .PHONY: maybe-distclean-libiberty distclean-libiberty
16967 maybe-distclean-libiberty:
16968 @if libiberty
16969 maybe-distclean-libiberty: distclean-libiberty
16971 distclean-libiberty:
16972 @[ -f ./libiberty/Makefile ] || exit 0; \
16973 r=`${PWD_COMMAND}`; export r; \
16974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16975 $(HOST_EXPORTS) \
16976 for flag in $(EXTRA_HOST_FLAGS) ; do \
16977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16978 done; \
16979 echo "Doing distclean in libiberty" ; \
16980 (cd $(HOST_SUBDIR)/libiberty && \
16981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16983 "RANLIB=$${RANLIB}" \
16984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16985 distclean) \
16986 || exit 1
16988 @endif libiberty
16990 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
16991 maybe-maintainer-clean-libiberty:
16992 @if libiberty
16993 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
16995 maintainer-clean-libiberty:
16996 @[ -f ./libiberty/Makefile ] || exit 0; \
16997 r=`${PWD_COMMAND}`; export r; \
16998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16999 $(HOST_EXPORTS) \
17000 for flag in $(EXTRA_HOST_FLAGS) ; do \
17001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17002 done; \
17003 echo "Doing maintainer-clean in libiberty" ; \
17004 (cd $(HOST_SUBDIR)/libiberty && \
17005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17007 "RANLIB=$${RANLIB}" \
17008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17009 maintainer-clean) \
17010 || exit 1
17012 @endif libiberty
17016 .PHONY: configure-libtool maybe-configure-libtool
17017 maybe-configure-libtool:
17018 @if libtool
17019 maybe-configure-libtool: configure-libtool
17020 configure-libtool:
17021 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
17022 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
17023 r=`${PWD_COMMAND}`; export r; \
17024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17025 $(HOST_EXPORTS) \
17026 echo Configuring in $(HOST_SUBDIR)/libtool; \
17027 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
17028 case $(srcdir) in \
17029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17030 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
17031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17032 esac; \
17033 srcdiroption="--srcdir=$${topdir}/libtool"; \
17034 libsrcdir="$$s/libtool"; \
17035 $(SHELL) $${libsrcdir}/configure \
17036 $(HOST_CONFIGARGS) $${srcdiroption} \
17037 || exit 1
17038 @endif libtool
17044 .PHONY: all-libtool maybe-all-libtool
17045 maybe-all-libtool:
17046 @if libtool
17047 TARGET-libtool=all
17048 maybe-all-libtool: all-libtool
17049 all-libtool: configure-libtool
17050 @r=`${PWD_COMMAND}`; export r; \
17051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17052 $(HOST_EXPORTS) \
17053 (cd $(HOST_SUBDIR)/libtool && \
17054 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
17055 @endif libtool
17060 .PHONY: check-libtool maybe-check-libtool
17061 maybe-check-libtool:
17062 @if libtool
17063 maybe-check-libtool: check-libtool
17065 check-libtool:
17066 @r=`${PWD_COMMAND}`; export r; \
17067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17068 $(HOST_EXPORTS) \
17069 (cd $(HOST_SUBDIR)/libtool && \
17070 $(MAKE) $(FLAGS_TO_PASS) check)
17072 @endif libtool
17074 .PHONY: install-libtool maybe-install-libtool
17075 maybe-install-libtool:
17076 @if libtool
17077 maybe-install-libtool: install-libtool
17079 install-libtool: installdirs
17080 @r=`${PWD_COMMAND}`; export r; \
17081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17082 $(HOST_EXPORTS) \
17083 (cd $(HOST_SUBDIR)/libtool && \
17084 $(MAKE) $(FLAGS_TO_PASS) install)
17086 @endif libtool
17088 # Other targets (info, dvi, etc.)
17090 .PHONY: maybe-info-libtool info-libtool
17091 maybe-info-libtool:
17092 @if libtool
17093 maybe-info-libtool: info-libtool
17095 info-libtool: \
17096 configure-libtool
17097 @[ -f ./libtool/Makefile ] || exit 0; \
17098 r=`${PWD_COMMAND}`; export r; \
17099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17100 $(HOST_EXPORTS) \
17101 for flag in $(EXTRA_HOST_FLAGS) ; do \
17102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17103 done; \
17104 echo "Doing info in libtool" ; \
17105 (cd $(HOST_SUBDIR)/libtool && \
17106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17108 "RANLIB=$${RANLIB}" \
17109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17110 info) \
17111 || exit 1
17113 @endif libtool
17115 .PHONY: maybe-dvi-libtool dvi-libtool
17116 maybe-dvi-libtool:
17117 @if libtool
17118 maybe-dvi-libtool: dvi-libtool
17120 dvi-libtool: \
17121 configure-libtool
17122 @[ -f ./libtool/Makefile ] || exit 0; \
17123 r=`${PWD_COMMAND}`; export r; \
17124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17125 $(HOST_EXPORTS) \
17126 for flag in $(EXTRA_HOST_FLAGS) ; do \
17127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17128 done; \
17129 echo "Doing dvi in libtool" ; \
17130 (cd $(HOST_SUBDIR)/libtool && \
17131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17133 "RANLIB=$${RANLIB}" \
17134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17135 dvi) \
17136 || exit 1
17138 @endif libtool
17140 .PHONY: maybe-html-libtool html-libtool
17141 maybe-html-libtool:
17142 @if libtool
17143 maybe-html-libtool: html-libtool
17145 html-libtool: \
17146 configure-libtool
17147 @[ -f ./libtool/Makefile ] || exit 0; \
17148 r=`${PWD_COMMAND}`; export r; \
17149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17150 $(HOST_EXPORTS) \
17151 for flag in $(EXTRA_HOST_FLAGS) ; do \
17152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17153 done; \
17154 echo "Doing html in libtool" ; \
17155 (cd $(HOST_SUBDIR)/libtool && \
17156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17158 "RANLIB=$${RANLIB}" \
17159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17160 html) \
17161 || exit 1
17163 @endif libtool
17165 .PHONY: maybe-TAGS-libtool TAGS-libtool
17166 maybe-TAGS-libtool:
17167 @if libtool
17168 maybe-TAGS-libtool: TAGS-libtool
17170 TAGS-libtool: \
17171 configure-libtool
17172 @[ -f ./libtool/Makefile ] || exit 0; \
17173 r=`${PWD_COMMAND}`; export r; \
17174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17175 $(HOST_EXPORTS) \
17176 for flag in $(EXTRA_HOST_FLAGS) ; do \
17177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17178 done; \
17179 echo "Doing TAGS in libtool" ; \
17180 (cd $(HOST_SUBDIR)/libtool && \
17181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17183 "RANLIB=$${RANLIB}" \
17184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17185 TAGS) \
17186 || exit 1
17188 @endif libtool
17190 .PHONY: maybe-install-info-libtool install-info-libtool
17191 maybe-install-info-libtool:
17192 @if libtool
17193 maybe-install-info-libtool: install-info-libtool
17195 install-info-libtool: \
17196 configure-libtool \
17197 info-libtool
17198 @[ -f ./libtool/Makefile ] || exit 0; \
17199 r=`${PWD_COMMAND}`; export r; \
17200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17201 $(HOST_EXPORTS) \
17202 for flag in $(EXTRA_HOST_FLAGS) ; do \
17203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17204 done; \
17205 echo "Doing install-info in libtool" ; \
17206 (cd $(HOST_SUBDIR)/libtool && \
17207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17209 "RANLIB=$${RANLIB}" \
17210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17211 install-info) \
17212 || exit 1
17214 @endif libtool
17216 .PHONY: maybe-installcheck-libtool installcheck-libtool
17217 maybe-installcheck-libtool:
17218 @if libtool
17219 maybe-installcheck-libtool: installcheck-libtool
17221 installcheck-libtool: \
17222 configure-libtool
17223 @[ -f ./libtool/Makefile ] || exit 0; \
17224 r=`${PWD_COMMAND}`; export r; \
17225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17226 $(HOST_EXPORTS) \
17227 for flag in $(EXTRA_HOST_FLAGS) ; do \
17228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17229 done; \
17230 echo "Doing installcheck in libtool" ; \
17231 (cd $(HOST_SUBDIR)/libtool && \
17232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17234 "RANLIB=$${RANLIB}" \
17235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17236 installcheck) \
17237 || exit 1
17239 @endif libtool
17241 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
17242 maybe-mostlyclean-libtool:
17243 @if libtool
17244 maybe-mostlyclean-libtool: mostlyclean-libtool
17246 mostlyclean-libtool:
17247 @[ -f ./libtool/Makefile ] || exit 0; \
17248 r=`${PWD_COMMAND}`; export r; \
17249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17250 $(HOST_EXPORTS) \
17251 for flag in $(EXTRA_HOST_FLAGS) ; do \
17252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17253 done; \
17254 echo "Doing mostlyclean in libtool" ; \
17255 (cd $(HOST_SUBDIR)/libtool && \
17256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17258 "RANLIB=$${RANLIB}" \
17259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17260 mostlyclean) \
17261 || exit 1
17263 @endif libtool
17265 .PHONY: maybe-clean-libtool clean-libtool
17266 maybe-clean-libtool:
17267 @if libtool
17268 maybe-clean-libtool: clean-libtool
17270 clean-libtool:
17271 @[ -f ./libtool/Makefile ] || exit 0; \
17272 r=`${PWD_COMMAND}`; export r; \
17273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17274 $(HOST_EXPORTS) \
17275 for flag in $(EXTRA_HOST_FLAGS) ; do \
17276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17277 done; \
17278 echo "Doing clean in libtool" ; \
17279 (cd $(HOST_SUBDIR)/libtool && \
17280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17282 "RANLIB=$${RANLIB}" \
17283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17284 clean) \
17285 || exit 1
17287 @endif libtool
17289 .PHONY: maybe-distclean-libtool distclean-libtool
17290 maybe-distclean-libtool:
17291 @if libtool
17292 maybe-distclean-libtool: distclean-libtool
17294 distclean-libtool:
17295 @[ -f ./libtool/Makefile ] || exit 0; \
17296 r=`${PWD_COMMAND}`; export r; \
17297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17298 $(HOST_EXPORTS) \
17299 for flag in $(EXTRA_HOST_FLAGS) ; do \
17300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17301 done; \
17302 echo "Doing distclean in libtool" ; \
17303 (cd $(HOST_SUBDIR)/libtool && \
17304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17306 "RANLIB=$${RANLIB}" \
17307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17308 distclean) \
17309 || exit 1
17311 @endif libtool
17313 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
17314 maybe-maintainer-clean-libtool:
17315 @if libtool
17316 maybe-maintainer-clean-libtool: maintainer-clean-libtool
17318 maintainer-clean-libtool:
17319 @[ -f ./libtool/Makefile ] || exit 0; \
17320 r=`${PWD_COMMAND}`; export r; \
17321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17322 $(HOST_EXPORTS) \
17323 for flag in $(EXTRA_HOST_FLAGS) ; do \
17324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17325 done; \
17326 echo "Doing maintainer-clean in libtool" ; \
17327 (cd $(HOST_SUBDIR)/libtool && \
17328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17330 "RANLIB=$${RANLIB}" \
17331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17332 maintainer-clean) \
17333 || exit 1
17335 @endif libtool
17339 .PHONY: configure-m4 maybe-configure-m4
17340 maybe-configure-m4:
17341 @if m4
17342 maybe-configure-m4: configure-m4
17343 configure-m4:
17344 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
17345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
17346 r=`${PWD_COMMAND}`; export r; \
17347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17348 $(HOST_EXPORTS) \
17349 echo Configuring in $(HOST_SUBDIR)/m4; \
17350 cd "$(HOST_SUBDIR)/m4" || exit 1; \
17351 case $(srcdir) in \
17352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17353 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
17354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17355 esac; \
17356 srcdiroption="--srcdir=$${topdir}/m4"; \
17357 libsrcdir="$$s/m4"; \
17358 $(SHELL) $${libsrcdir}/configure \
17359 $(HOST_CONFIGARGS) $${srcdiroption} \
17360 || exit 1
17361 @endif m4
17367 .PHONY: all-m4 maybe-all-m4
17368 maybe-all-m4:
17369 @if m4
17370 TARGET-m4=all
17371 maybe-all-m4: all-m4
17372 all-m4: configure-m4
17373 @r=`${PWD_COMMAND}`; export r; \
17374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17375 $(HOST_EXPORTS) \
17376 (cd $(HOST_SUBDIR)/m4 && \
17377 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
17378 @endif m4
17383 .PHONY: check-m4 maybe-check-m4
17384 maybe-check-m4:
17385 @if m4
17386 maybe-check-m4: check-m4
17388 check-m4:
17389 @r=`${PWD_COMMAND}`; export r; \
17390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17391 $(HOST_EXPORTS) \
17392 (cd $(HOST_SUBDIR)/m4 && \
17393 $(MAKE) $(FLAGS_TO_PASS) check)
17395 @endif m4
17397 .PHONY: install-m4 maybe-install-m4
17398 maybe-install-m4:
17399 @if m4
17400 maybe-install-m4: install-m4
17402 install-m4: installdirs
17403 @r=`${PWD_COMMAND}`; export r; \
17404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17405 $(HOST_EXPORTS) \
17406 (cd $(HOST_SUBDIR)/m4 && \
17407 $(MAKE) $(FLAGS_TO_PASS) install)
17409 @endif m4
17411 # Other targets (info, dvi, etc.)
17413 .PHONY: maybe-info-m4 info-m4
17414 maybe-info-m4:
17415 @if m4
17416 maybe-info-m4: info-m4
17418 info-m4: \
17419 configure-m4
17420 @[ -f ./m4/Makefile ] || exit 0; \
17421 r=`${PWD_COMMAND}`; export r; \
17422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17423 $(HOST_EXPORTS) \
17424 for flag in $(EXTRA_HOST_FLAGS) ; do \
17425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17426 done; \
17427 echo "Doing info in m4" ; \
17428 (cd $(HOST_SUBDIR)/m4 && \
17429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17431 "RANLIB=$${RANLIB}" \
17432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17433 info) \
17434 || exit 1
17436 @endif m4
17438 .PHONY: maybe-dvi-m4 dvi-m4
17439 maybe-dvi-m4:
17440 @if m4
17441 maybe-dvi-m4: dvi-m4
17443 dvi-m4: \
17444 configure-m4
17445 @[ -f ./m4/Makefile ] || exit 0; \
17446 r=`${PWD_COMMAND}`; export r; \
17447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17448 $(HOST_EXPORTS) \
17449 for flag in $(EXTRA_HOST_FLAGS) ; do \
17450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17451 done; \
17452 echo "Doing dvi in m4" ; \
17453 (cd $(HOST_SUBDIR)/m4 && \
17454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17456 "RANLIB=$${RANLIB}" \
17457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17458 dvi) \
17459 || exit 1
17461 @endif m4
17463 .PHONY: maybe-html-m4 html-m4
17464 maybe-html-m4:
17465 @if m4
17466 maybe-html-m4: html-m4
17468 html-m4: \
17469 configure-m4
17470 @[ -f ./m4/Makefile ] || exit 0; \
17471 r=`${PWD_COMMAND}`; export r; \
17472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17473 $(HOST_EXPORTS) \
17474 for flag in $(EXTRA_HOST_FLAGS) ; do \
17475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17476 done; \
17477 echo "Doing html in m4" ; \
17478 (cd $(HOST_SUBDIR)/m4 && \
17479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17481 "RANLIB=$${RANLIB}" \
17482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17483 html) \
17484 || exit 1
17486 @endif m4
17488 .PHONY: maybe-TAGS-m4 TAGS-m4
17489 maybe-TAGS-m4:
17490 @if m4
17491 maybe-TAGS-m4: TAGS-m4
17493 TAGS-m4: \
17494 configure-m4
17495 @[ -f ./m4/Makefile ] || exit 0; \
17496 r=`${PWD_COMMAND}`; export r; \
17497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17498 $(HOST_EXPORTS) \
17499 for flag in $(EXTRA_HOST_FLAGS) ; do \
17500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17501 done; \
17502 echo "Doing TAGS in m4" ; \
17503 (cd $(HOST_SUBDIR)/m4 && \
17504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17506 "RANLIB=$${RANLIB}" \
17507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17508 TAGS) \
17509 || exit 1
17511 @endif m4
17513 .PHONY: maybe-install-info-m4 install-info-m4
17514 maybe-install-info-m4:
17515 @if m4
17516 maybe-install-info-m4: install-info-m4
17518 install-info-m4: \
17519 configure-m4 \
17520 info-m4
17521 @[ -f ./m4/Makefile ] || exit 0; \
17522 r=`${PWD_COMMAND}`; export r; \
17523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17524 $(HOST_EXPORTS) \
17525 for flag in $(EXTRA_HOST_FLAGS) ; do \
17526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17527 done; \
17528 echo "Doing install-info in m4" ; \
17529 (cd $(HOST_SUBDIR)/m4 && \
17530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17532 "RANLIB=$${RANLIB}" \
17533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17534 install-info) \
17535 || exit 1
17537 @endif m4
17539 .PHONY: maybe-installcheck-m4 installcheck-m4
17540 maybe-installcheck-m4:
17541 @if m4
17542 maybe-installcheck-m4: installcheck-m4
17544 installcheck-m4: \
17545 configure-m4
17546 @[ -f ./m4/Makefile ] || exit 0; \
17547 r=`${PWD_COMMAND}`; export r; \
17548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17549 $(HOST_EXPORTS) \
17550 for flag in $(EXTRA_HOST_FLAGS) ; do \
17551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17552 done; \
17553 echo "Doing installcheck in m4" ; \
17554 (cd $(HOST_SUBDIR)/m4 && \
17555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17557 "RANLIB=$${RANLIB}" \
17558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17559 installcheck) \
17560 || exit 1
17562 @endif m4
17564 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
17565 maybe-mostlyclean-m4:
17566 @if m4
17567 maybe-mostlyclean-m4: mostlyclean-m4
17569 mostlyclean-m4:
17570 @[ -f ./m4/Makefile ] || exit 0; \
17571 r=`${PWD_COMMAND}`; export r; \
17572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17573 $(HOST_EXPORTS) \
17574 for flag in $(EXTRA_HOST_FLAGS) ; do \
17575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17576 done; \
17577 echo "Doing mostlyclean in m4" ; \
17578 (cd $(HOST_SUBDIR)/m4 && \
17579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17581 "RANLIB=$${RANLIB}" \
17582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17583 mostlyclean) \
17584 || exit 1
17586 @endif m4
17588 .PHONY: maybe-clean-m4 clean-m4
17589 maybe-clean-m4:
17590 @if m4
17591 maybe-clean-m4: clean-m4
17593 clean-m4:
17594 @[ -f ./m4/Makefile ] || exit 0; \
17595 r=`${PWD_COMMAND}`; export r; \
17596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17597 $(HOST_EXPORTS) \
17598 for flag in $(EXTRA_HOST_FLAGS) ; do \
17599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17600 done; \
17601 echo "Doing clean in m4" ; \
17602 (cd $(HOST_SUBDIR)/m4 && \
17603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17605 "RANLIB=$${RANLIB}" \
17606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17607 clean) \
17608 || exit 1
17610 @endif m4
17612 .PHONY: maybe-distclean-m4 distclean-m4
17613 maybe-distclean-m4:
17614 @if m4
17615 maybe-distclean-m4: distclean-m4
17617 distclean-m4:
17618 @[ -f ./m4/Makefile ] || exit 0; \
17619 r=`${PWD_COMMAND}`; export r; \
17620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17621 $(HOST_EXPORTS) \
17622 for flag in $(EXTRA_HOST_FLAGS) ; do \
17623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17624 done; \
17625 echo "Doing distclean in m4" ; \
17626 (cd $(HOST_SUBDIR)/m4 && \
17627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17629 "RANLIB=$${RANLIB}" \
17630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17631 distclean) \
17632 || exit 1
17634 @endif m4
17636 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
17637 maybe-maintainer-clean-m4:
17638 @if m4
17639 maybe-maintainer-clean-m4: maintainer-clean-m4
17641 maintainer-clean-m4:
17642 @[ -f ./m4/Makefile ] || exit 0; \
17643 r=`${PWD_COMMAND}`; export r; \
17644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17645 $(HOST_EXPORTS) \
17646 for flag in $(EXTRA_HOST_FLAGS) ; do \
17647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17648 done; \
17649 echo "Doing maintainer-clean in m4" ; \
17650 (cd $(HOST_SUBDIR)/m4 && \
17651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17653 "RANLIB=$${RANLIB}" \
17654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17655 maintainer-clean) \
17656 || exit 1
17658 @endif m4
17662 .PHONY: configure-make maybe-configure-make
17663 maybe-configure-make:
17664 @if make
17665 maybe-configure-make: configure-make
17666 configure-make:
17667 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
17668 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
17669 r=`${PWD_COMMAND}`; export r; \
17670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17671 $(HOST_EXPORTS) \
17672 echo Configuring in $(HOST_SUBDIR)/make; \
17673 cd "$(HOST_SUBDIR)/make" || exit 1; \
17674 case $(srcdir) in \
17675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17676 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
17677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17678 esac; \
17679 srcdiroption="--srcdir=$${topdir}/make"; \
17680 libsrcdir="$$s/make"; \
17681 $(SHELL) $${libsrcdir}/configure \
17682 $(HOST_CONFIGARGS) $${srcdiroption} \
17683 || exit 1
17684 @endif make
17690 .PHONY: all-make maybe-all-make
17691 maybe-all-make:
17692 @if make
17693 TARGET-make=all
17694 maybe-all-make: all-make
17695 all-make: configure-make
17696 @r=`${PWD_COMMAND}`; export r; \
17697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17698 $(HOST_EXPORTS) \
17699 (cd $(HOST_SUBDIR)/make && \
17700 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
17701 @endif make
17706 .PHONY: check-make maybe-check-make
17707 maybe-check-make:
17708 @if make
17709 maybe-check-make: check-make
17711 check-make:
17712 @r=`${PWD_COMMAND}`; export r; \
17713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17714 $(HOST_EXPORTS) \
17715 (cd $(HOST_SUBDIR)/make && \
17716 $(MAKE) $(FLAGS_TO_PASS) check)
17718 @endif make
17720 .PHONY: install-make maybe-install-make
17721 maybe-install-make:
17722 @if make
17723 maybe-install-make: install-make
17725 install-make: installdirs
17726 @r=`${PWD_COMMAND}`; export r; \
17727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17728 $(HOST_EXPORTS) \
17729 (cd $(HOST_SUBDIR)/make && \
17730 $(MAKE) $(FLAGS_TO_PASS) install)
17732 @endif make
17734 # Other targets (info, dvi, etc.)
17736 .PHONY: maybe-info-make info-make
17737 maybe-info-make:
17738 @if make
17739 maybe-info-make: info-make
17741 info-make: \
17742 configure-make
17743 @[ -f ./make/Makefile ] || exit 0; \
17744 r=`${PWD_COMMAND}`; export r; \
17745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17746 $(HOST_EXPORTS) \
17747 for flag in $(EXTRA_HOST_FLAGS) ; do \
17748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17749 done; \
17750 echo "Doing info in make" ; \
17751 (cd $(HOST_SUBDIR)/make && \
17752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17754 "RANLIB=$${RANLIB}" \
17755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17756 info) \
17757 || exit 1
17759 @endif make
17761 .PHONY: maybe-dvi-make dvi-make
17762 maybe-dvi-make:
17763 @if make
17764 maybe-dvi-make: dvi-make
17766 dvi-make: \
17767 configure-make
17768 @[ -f ./make/Makefile ] || exit 0; \
17769 r=`${PWD_COMMAND}`; export r; \
17770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17771 $(HOST_EXPORTS) \
17772 for flag in $(EXTRA_HOST_FLAGS) ; do \
17773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17774 done; \
17775 echo "Doing dvi in make" ; \
17776 (cd $(HOST_SUBDIR)/make && \
17777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17779 "RANLIB=$${RANLIB}" \
17780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17781 dvi) \
17782 || exit 1
17784 @endif make
17786 .PHONY: maybe-html-make html-make
17787 maybe-html-make:
17788 @if make
17789 maybe-html-make: html-make
17791 html-make: \
17792 configure-make
17793 @[ -f ./make/Makefile ] || exit 0; \
17794 r=`${PWD_COMMAND}`; export r; \
17795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17796 $(HOST_EXPORTS) \
17797 for flag in $(EXTRA_HOST_FLAGS) ; do \
17798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17799 done; \
17800 echo "Doing html in make" ; \
17801 (cd $(HOST_SUBDIR)/make && \
17802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17804 "RANLIB=$${RANLIB}" \
17805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17806 html) \
17807 || exit 1
17809 @endif make
17811 .PHONY: maybe-TAGS-make TAGS-make
17812 maybe-TAGS-make:
17813 @if make
17814 maybe-TAGS-make: TAGS-make
17816 TAGS-make: \
17817 configure-make
17818 @[ -f ./make/Makefile ] || exit 0; \
17819 r=`${PWD_COMMAND}`; export r; \
17820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17821 $(HOST_EXPORTS) \
17822 for flag in $(EXTRA_HOST_FLAGS) ; do \
17823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17824 done; \
17825 echo "Doing TAGS in make" ; \
17826 (cd $(HOST_SUBDIR)/make && \
17827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17829 "RANLIB=$${RANLIB}" \
17830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17831 TAGS) \
17832 || exit 1
17834 @endif make
17836 .PHONY: maybe-install-info-make install-info-make
17837 maybe-install-info-make:
17838 @if make
17839 maybe-install-info-make: install-info-make
17841 install-info-make: \
17842 configure-make \
17843 info-make
17844 @[ -f ./make/Makefile ] || exit 0; \
17845 r=`${PWD_COMMAND}`; export r; \
17846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17847 $(HOST_EXPORTS) \
17848 for flag in $(EXTRA_HOST_FLAGS) ; do \
17849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17850 done; \
17851 echo "Doing install-info in make" ; \
17852 (cd $(HOST_SUBDIR)/make && \
17853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17855 "RANLIB=$${RANLIB}" \
17856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17857 install-info) \
17858 || exit 1
17860 @endif make
17862 .PHONY: maybe-installcheck-make installcheck-make
17863 maybe-installcheck-make:
17864 @if make
17865 maybe-installcheck-make: installcheck-make
17867 installcheck-make: \
17868 configure-make
17869 @[ -f ./make/Makefile ] || exit 0; \
17870 r=`${PWD_COMMAND}`; export r; \
17871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17872 $(HOST_EXPORTS) \
17873 for flag in $(EXTRA_HOST_FLAGS) ; do \
17874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17875 done; \
17876 echo "Doing installcheck in make" ; \
17877 (cd $(HOST_SUBDIR)/make && \
17878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17880 "RANLIB=$${RANLIB}" \
17881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17882 installcheck) \
17883 || exit 1
17885 @endif make
17887 .PHONY: maybe-mostlyclean-make mostlyclean-make
17888 maybe-mostlyclean-make:
17889 @if make
17890 maybe-mostlyclean-make: mostlyclean-make
17892 mostlyclean-make:
17893 @[ -f ./make/Makefile ] || exit 0; \
17894 r=`${PWD_COMMAND}`; export r; \
17895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17896 $(HOST_EXPORTS) \
17897 for flag in $(EXTRA_HOST_FLAGS) ; do \
17898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17899 done; \
17900 echo "Doing mostlyclean in make" ; \
17901 (cd $(HOST_SUBDIR)/make && \
17902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17904 "RANLIB=$${RANLIB}" \
17905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17906 mostlyclean) \
17907 || exit 1
17909 @endif make
17911 .PHONY: maybe-clean-make clean-make
17912 maybe-clean-make:
17913 @if make
17914 maybe-clean-make: clean-make
17916 clean-make:
17917 @[ -f ./make/Makefile ] || exit 0; \
17918 r=`${PWD_COMMAND}`; export r; \
17919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17920 $(HOST_EXPORTS) \
17921 for flag in $(EXTRA_HOST_FLAGS) ; do \
17922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17923 done; \
17924 echo "Doing clean in make" ; \
17925 (cd $(HOST_SUBDIR)/make && \
17926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17928 "RANLIB=$${RANLIB}" \
17929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17930 clean) \
17931 || exit 1
17933 @endif make
17935 .PHONY: maybe-distclean-make distclean-make
17936 maybe-distclean-make:
17937 @if make
17938 maybe-distclean-make: distclean-make
17940 distclean-make:
17941 @[ -f ./make/Makefile ] || exit 0; \
17942 r=`${PWD_COMMAND}`; export r; \
17943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17944 $(HOST_EXPORTS) \
17945 for flag in $(EXTRA_HOST_FLAGS) ; do \
17946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17947 done; \
17948 echo "Doing distclean in make" ; \
17949 (cd $(HOST_SUBDIR)/make && \
17950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17952 "RANLIB=$${RANLIB}" \
17953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17954 distclean) \
17955 || exit 1
17957 @endif make
17959 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
17960 maybe-maintainer-clean-make:
17961 @if make
17962 maybe-maintainer-clean-make: maintainer-clean-make
17964 maintainer-clean-make:
17965 @[ -f ./make/Makefile ] || exit 0; \
17966 r=`${PWD_COMMAND}`; export r; \
17967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17968 $(HOST_EXPORTS) \
17969 for flag in $(EXTRA_HOST_FLAGS) ; do \
17970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17971 done; \
17972 echo "Doing maintainer-clean in make" ; \
17973 (cd $(HOST_SUBDIR)/make && \
17974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17976 "RANLIB=$${RANLIB}" \
17977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17978 maintainer-clean) \
17979 || exit 1
17981 @endif make
17985 .PHONY: configure-mmalloc maybe-configure-mmalloc
17986 maybe-configure-mmalloc:
17987 @if mmalloc
17988 maybe-configure-mmalloc: configure-mmalloc
17989 configure-mmalloc:
17990 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
17991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
17992 r=`${PWD_COMMAND}`; export r; \
17993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17994 $(HOST_EXPORTS) \
17995 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
17996 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
17997 case $(srcdir) in \
17998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17999 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
18000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18001 esac; \
18002 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
18003 libsrcdir="$$s/mmalloc"; \
18004 $(SHELL) $${libsrcdir}/configure \
18005 $(HOST_CONFIGARGS) $${srcdiroption} \
18006 || exit 1
18007 @endif mmalloc
18013 .PHONY: all-mmalloc maybe-all-mmalloc
18014 maybe-all-mmalloc:
18015 @if mmalloc
18016 TARGET-mmalloc=all
18017 maybe-all-mmalloc: all-mmalloc
18018 all-mmalloc: configure-mmalloc
18019 @r=`${PWD_COMMAND}`; export r; \
18020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18021 $(HOST_EXPORTS) \
18022 (cd $(HOST_SUBDIR)/mmalloc && \
18023 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
18024 @endif mmalloc
18029 .PHONY: check-mmalloc maybe-check-mmalloc
18030 maybe-check-mmalloc:
18031 @if mmalloc
18032 maybe-check-mmalloc: check-mmalloc
18034 check-mmalloc:
18036 @endif mmalloc
18038 .PHONY: install-mmalloc maybe-install-mmalloc
18039 maybe-install-mmalloc:
18040 @if mmalloc
18041 maybe-install-mmalloc: install-mmalloc
18043 install-mmalloc: installdirs
18044 @r=`${PWD_COMMAND}`; export r; \
18045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18046 $(HOST_EXPORTS) \
18047 (cd $(HOST_SUBDIR)/mmalloc && \
18048 $(MAKE) $(FLAGS_TO_PASS) install)
18050 @endif mmalloc
18052 # Other targets (info, dvi, etc.)
18054 .PHONY: maybe-info-mmalloc info-mmalloc
18055 maybe-info-mmalloc:
18056 @if mmalloc
18057 maybe-info-mmalloc: info-mmalloc
18059 info-mmalloc: \
18060 configure-mmalloc
18061 @[ -f ./mmalloc/Makefile ] || exit 0; \
18062 r=`${PWD_COMMAND}`; export r; \
18063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18064 $(HOST_EXPORTS) \
18065 for flag in $(EXTRA_HOST_FLAGS) ; do \
18066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18067 done; \
18068 echo "Doing info in mmalloc" ; \
18069 (cd $(HOST_SUBDIR)/mmalloc && \
18070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18072 "RANLIB=$${RANLIB}" \
18073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18074 info) \
18075 || exit 1
18077 @endif mmalloc
18079 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
18080 maybe-dvi-mmalloc:
18081 @if mmalloc
18082 maybe-dvi-mmalloc: dvi-mmalloc
18084 dvi-mmalloc: \
18085 configure-mmalloc
18086 @[ -f ./mmalloc/Makefile ] || exit 0; \
18087 r=`${PWD_COMMAND}`; export r; \
18088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18089 $(HOST_EXPORTS) \
18090 for flag in $(EXTRA_HOST_FLAGS) ; do \
18091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18092 done; \
18093 echo "Doing dvi in mmalloc" ; \
18094 (cd $(HOST_SUBDIR)/mmalloc && \
18095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18097 "RANLIB=$${RANLIB}" \
18098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18099 dvi) \
18100 || exit 1
18102 @endif mmalloc
18104 .PHONY: maybe-html-mmalloc html-mmalloc
18105 maybe-html-mmalloc:
18106 @if mmalloc
18107 maybe-html-mmalloc: html-mmalloc
18109 html-mmalloc: \
18110 configure-mmalloc
18111 @[ -f ./mmalloc/Makefile ] || exit 0; \
18112 r=`${PWD_COMMAND}`; export r; \
18113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18114 $(HOST_EXPORTS) \
18115 for flag in $(EXTRA_HOST_FLAGS) ; do \
18116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18117 done; \
18118 echo "Doing html in mmalloc" ; \
18119 (cd $(HOST_SUBDIR)/mmalloc && \
18120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18122 "RANLIB=$${RANLIB}" \
18123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18124 html) \
18125 || exit 1
18127 @endif mmalloc
18129 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
18130 maybe-TAGS-mmalloc:
18131 @if mmalloc
18132 maybe-TAGS-mmalloc: TAGS-mmalloc
18134 TAGS-mmalloc: \
18135 configure-mmalloc
18136 @[ -f ./mmalloc/Makefile ] || exit 0; \
18137 r=`${PWD_COMMAND}`; export r; \
18138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18139 $(HOST_EXPORTS) \
18140 for flag in $(EXTRA_HOST_FLAGS) ; do \
18141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18142 done; \
18143 echo "Doing TAGS in mmalloc" ; \
18144 (cd $(HOST_SUBDIR)/mmalloc && \
18145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18147 "RANLIB=$${RANLIB}" \
18148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18149 TAGS) \
18150 || exit 1
18152 @endif mmalloc
18154 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
18155 maybe-install-info-mmalloc:
18156 @if mmalloc
18157 maybe-install-info-mmalloc: install-info-mmalloc
18159 install-info-mmalloc: \
18160 configure-mmalloc \
18161 info-mmalloc
18162 @[ -f ./mmalloc/Makefile ] || exit 0; \
18163 r=`${PWD_COMMAND}`; export r; \
18164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18165 $(HOST_EXPORTS) \
18166 for flag in $(EXTRA_HOST_FLAGS) ; do \
18167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18168 done; \
18169 echo "Doing install-info in mmalloc" ; \
18170 (cd $(HOST_SUBDIR)/mmalloc && \
18171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18173 "RANLIB=$${RANLIB}" \
18174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18175 install-info) \
18176 || exit 1
18178 @endif mmalloc
18180 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
18181 maybe-installcheck-mmalloc:
18182 @if mmalloc
18183 maybe-installcheck-mmalloc: installcheck-mmalloc
18185 installcheck-mmalloc: \
18186 configure-mmalloc
18187 @[ -f ./mmalloc/Makefile ] || exit 0; \
18188 r=`${PWD_COMMAND}`; export r; \
18189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18190 $(HOST_EXPORTS) \
18191 for flag in $(EXTRA_HOST_FLAGS) ; do \
18192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18193 done; \
18194 echo "Doing installcheck in mmalloc" ; \
18195 (cd $(HOST_SUBDIR)/mmalloc && \
18196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18198 "RANLIB=$${RANLIB}" \
18199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18200 installcheck) \
18201 || exit 1
18203 @endif mmalloc
18205 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
18206 maybe-mostlyclean-mmalloc:
18207 @if mmalloc
18208 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
18210 mostlyclean-mmalloc:
18211 @[ -f ./mmalloc/Makefile ] || exit 0; \
18212 r=`${PWD_COMMAND}`; export r; \
18213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18214 $(HOST_EXPORTS) \
18215 for flag in $(EXTRA_HOST_FLAGS) ; do \
18216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18217 done; \
18218 echo "Doing mostlyclean in mmalloc" ; \
18219 (cd $(HOST_SUBDIR)/mmalloc && \
18220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18222 "RANLIB=$${RANLIB}" \
18223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18224 mostlyclean) \
18225 || exit 1
18227 @endif mmalloc
18229 .PHONY: maybe-clean-mmalloc clean-mmalloc
18230 maybe-clean-mmalloc:
18231 @if mmalloc
18232 maybe-clean-mmalloc: clean-mmalloc
18234 clean-mmalloc:
18235 @[ -f ./mmalloc/Makefile ] || exit 0; \
18236 r=`${PWD_COMMAND}`; export r; \
18237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18238 $(HOST_EXPORTS) \
18239 for flag in $(EXTRA_HOST_FLAGS) ; do \
18240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18241 done; \
18242 echo "Doing clean in mmalloc" ; \
18243 (cd $(HOST_SUBDIR)/mmalloc && \
18244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18246 "RANLIB=$${RANLIB}" \
18247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18248 clean) \
18249 || exit 1
18251 @endif mmalloc
18253 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
18254 maybe-distclean-mmalloc:
18255 @if mmalloc
18256 maybe-distclean-mmalloc: distclean-mmalloc
18258 distclean-mmalloc:
18259 @[ -f ./mmalloc/Makefile ] || exit 0; \
18260 r=`${PWD_COMMAND}`; export r; \
18261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18262 $(HOST_EXPORTS) \
18263 for flag in $(EXTRA_HOST_FLAGS) ; do \
18264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18265 done; \
18266 echo "Doing distclean in mmalloc" ; \
18267 (cd $(HOST_SUBDIR)/mmalloc && \
18268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18270 "RANLIB=$${RANLIB}" \
18271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18272 distclean) \
18273 || exit 1
18275 @endif mmalloc
18277 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
18278 maybe-maintainer-clean-mmalloc:
18279 @if mmalloc
18280 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
18282 maintainer-clean-mmalloc:
18283 @[ -f ./mmalloc/Makefile ] || exit 0; \
18284 r=`${PWD_COMMAND}`; export r; \
18285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18286 $(HOST_EXPORTS) \
18287 for flag in $(EXTRA_HOST_FLAGS) ; do \
18288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18289 done; \
18290 echo "Doing maintainer-clean in mmalloc" ; \
18291 (cd $(HOST_SUBDIR)/mmalloc && \
18292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18294 "RANLIB=$${RANLIB}" \
18295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18296 maintainer-clean) \
18297 || exit 1
18299 @endif mmalloc
18303 .PHONY: configure-patch maybe-configure-patch
18304 maybe-configure-patch:
18305 @if patch
18306 maybe-configure-patch: configure-patch
18307 configure-patch:
18308 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
18309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
18310 r=`${PWD_COMMAND}`; export r; \
18311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18312 $(HOST_EXPORTS) \
18313 echo Configuring in $(HOST_SUBDIR)/patch; \
18314 cd "$(HOST_SUBDIR)/patch" || exit 1; \
18315 case $(srcdir) in \
18316 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18317 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
18318 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18319 esac; \
18320 srcdiroption="--srcdir=$${topdir}/patch"; \
18321 libsrcdir="$$s/patch"; \
18322 $(SHELL) $${libsrcdir}/configure \
18323 $(HOST_CONFIGARGS) $${srcdiroption} \
18324 || exit 1
18325 @endif patch
18331 .PHONY: all-patch maybe-all-patch
18332 maybe-all-patch:
18333 @if patch
18334 TARGET-patch=all
18335 maybe-all-patch: all-patch
18336 all-patch: configure-patch
18337 @r=`${PWD_COMMAND}`; export r; \
18338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18339 $(HOST_EXPORTS) \
18340 (cd $(HOST_SUBDIR)/patch && \
18341 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
18342 @endif patch
18347 .PHONY: check-patch maybe-check-patch
18348 maybe-check-patch:
18349 @if patch
18350 maybe-check-patch: check-patch
18352 check-patch:
18353 @r=`${PWD_COMMAND}`; export r; \
18354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18355 $(HOST_EXPORTS) \
18356 (cd $(HOST_SUBDIR)/patch && \
18357 $(MAKE) $(FLAGS_TO_PASS) check)
18359 @endif patch
18361 .PHONY: install-patch maybe-install-patch
18362 maybe-install-patch:
18363 @if patch
18364 maybe-install-patch: install-patch
18366 install-patch: installdirs
18367 @r=`${PWD_COMMAND}`; export r; \
18368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18369 $(HOST_EXPORTS) \
18370 (cd $(HOST_SUBDIR)/patch && \
18371 $(MAKE) $(FLAGS_TO_PASS) install)
18373 @endif patch
18375 # Other targets (info, dvi, etc.)
18377 .PHONY: maybe-info-patch info-patch
18378 maybe-info-patch:
18379 @if patch
18380 maybe-info-patch: info-patch
18382 info-patch: \
18383 configure-patch
18384 @[ -f ./patch/Makefile ] || exit 0; \
18385 r=`${PWD_COMMAND}`; export r; \
18386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18387 $(HOST_EXPORTS) \
18388 for flag in $(EXTRA_HOST_FLAGS) ; do \
18389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18390 done; \
18391 echo "Doing info in patch" ; \
18392 (cd $(HOST_SUBDIR)/patch && \
18393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18395 "RANLIB=$${RANLIB}" \
18396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18397 info) \
18398 || exit 1
18400 @endif patch
18402 .PHONY: maybe-dvi-patch dvi-patch
18403 maybe-dvi-patch:
18404 @if patch
18405 maybe-dvi-patch: dvi-patch
18407 dvi-patch: \
18408 configure-patch
18409 @[ -f ./patch/Makefile ] || exit 0; \
18410 r=`${PWD_COMMAND}`; export r; \
18411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18412 $(HOST_EXPORTS) \
18413 for flag in $(EXTRA_HOST_FLAGS) ; do \
18414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18415 done; \
18416 echo "Doing dvi in patch" ; \
18417 (cd $(HOST_SUBDIR)/patch && \
18418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18420 "RANLIB=$${RANLIB}" \
18421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18422 dvi) \
18423 || exit 1
18425 @endif patch
18427 .PHONY: maybe-html-patch html-patch
18428 maybe-html-patch:
18429 @if patch
18430 maybe-html-patch: html-patch
18432 html-patch: \
18433 configure-patch
18434 @[ -f ./patch/Makefile ] || exit 0; \
18435 r=`${PWD_COMMAND}`; export r; \
18436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18437 $(HOST_EXPORTS) \
18438 for flag in $(EXTRA_HOST_FLAGS) ; do \
18439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18440 done; \
18441 echo "Doing html in patch" ; \
18442 (cd $(HOST_SUBDIR)/patch && \
18443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18445 "RANLIB=$${RANLIB}" \
18446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18447 html) \
18448 || exit 1
18450 @endif patch
18452 .PHONY: maybe-TAGS-patch TAGS-patch
18453 maybe-TAGS-patch:
18454 @if patch
18455 maybe-TAGS-patch: TAGS-patch
18457 TAGS-patch: \
18458 configure-patch
18459 @[ -f ./patch/Makefile ] || exit 0; \
18460 r=`${PWD_COMMAND}`; export r; \
18461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18462 $(HOST_EXPORTS) \
18463 for flag in $(EXTRA_HOST_FLAGS) ; do \
18464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18465 done; \
18466 echo "Doing TAGS in patch" ; \
18467 (cd $(HOST_SUBDIR)/patch && \
18468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18470 "RANLIB=$${RANLIB}" \
18471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18472 TAGS) \
18473 || exit 1
18475 @endif patch
18477 .PHONY: maybe-install-info-patch install-info-patch
18478 maybe-install-info-patch:
18479 @if patch
18480 maybe-install-info-patch: install-info-patch
18482 install-info-patch: \
18483 configure-patch \
18484 info-patch
18485 @[ -f ./patch/Makefile ] || exit 0; \
18486 r=`${PWD_COMMAND}`; export r; \
18487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18488 $(HOST_EXPORTS) \
18489 for flag in $(EXTRA_HOST_FLAGS) ; do \
18490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18491 done; \
18492 echo "Doing install-info in patch" ; \
18493 (cd $(HOST_SUBDIR)/patch && \
18494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18496 "RANLIB=$${RANLIB}" \
18497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18498 install-info) \
18499 || exit 1
18501 @endif patch
18503 .PHONY: maybe-installcheck-patch installcheck-patch
18504 maybe-installcheck-patch:
18505 @if patch
18506 maybe-installcheck-patch: installcheck-patch
18508 installcheck-patch: \
18509 configure-patch
18510 @[ -f ./patch/Makefile ] || exit 0; \
18511 r=`${PWD_COMMAND}`; export r; \
18512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18513 $(HOST_EXPORTS) \
18514 for flag in $(EXTRA_HOST_FLAGS) ; do \
18515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18516 done; \
18517 echo "Doing installcheck in patch" ; \
18518 (cd $(HOST_SUBDIR)/patch && \
18519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18521 "RANLIB=$${RANLIB}" \
18522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18523 installcheck) \
18524 || exit 1
18526 @endif patch
18528 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
18529 maybe-mostlyclean-patch:
18530 @if patch
18531 maybe-mostlyclean-patch: mostlyclean-patch
18533 mostlyclean-patch:
18534 @[ -f ./patch/Makefile ] || exit 0; \
18535 r=`${PWD_COMMAND}`; export r; \
18536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18537 $(HOST_EXPORTS) \
18538 for flag in $(EXTRA_HOST_FLAGS) ; do \
18539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18540 done; \
18541 echo "Doing mostlyclean in patch" ; \
18542 (cd $(HOST_SUBDIR)/patch && \
18543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18545 "RANLIB=$${RANLIB}" \
18546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18547 mostlyclean) \
18548 || exit 1
18550 @endif patch
18552 .PHONY: maybe-clean-patch clean-patch
18553 maybe-clean-patch:
18554 @if patch
18555 maybe-clean-patch: clean-patch
18557 clean-patch:
18558 @[ -f ./patch/Makefile ] || exit 0; \
18559 r=`${PWD_COMMAND}`; export r; \
18560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18561 $(HOST_EXPORTS) \
18562 for flag in $(EXTRA_HOST_FLAGS) ; do \
18563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18564 done; \
18565 echo "Doing clean in patch" ; \
18566 (cd $(HOST_SUBDIR)/patch && \
18567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18569 "RANLIB=$${RANLIB}" \
18570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18571 clean) \
18572 || exit 1
18574 @endif patch
18576 .PHONY: maybe-distclean-patch distclean-patch
18577 maybe-distclean-patch:
18578 @if patch
18579 maybe-distclean-patch: distclean-patch
18581 distclean-patch:
18582 @[ -f ./patch/Makefile ] || exit 0; \
18583 r=`${PWD_COMMAND}`; export r; \
18584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18585 $(HOST_EXPORTS) \
18586 for flag in $(EXTRA_HOST_FLAGS) ; do \
18587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18588 done; \
18589 echo "Doing distclean in patch" ; \
18590 (cd $(HOST_SUBDIR)/patch && \
18591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18593 "RANLIB=$${RANLIB}" \
18594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18595 distclean) \
18596 || exit 1
18598 @endif patch
18600 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
18601 maybe-maintainer-clean-patch:
18602 @if patch
18603 maybe-maintainer-clean-patch: maintainer-clean-patch
18605 maintainer-clean-patch:
18606 @[ -f ./patch/Makefile ] || exit 0; \
18607 r=`${PWD_COMMAND}`; export r; \
18608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18609 $(HOST_EXPORTS) \
18610 for flag in $(EXTRA_HOST_FLAGS) ; do \
18611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18612 done; \
18613 echo "Doing maintainer-clean in patch" ; \
18614 (cd $(HOST_SUBDIR)/patch && \
18615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18617 "RANLIB=$${RANLIB}" \
18618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18619 maintainer-clean) \
18620 || exit 1
18622 @endif patch
18626 .PHONY: configure-perl maybe-configure-perl
18627 maybe-configure-perl:
18628 @if perl
18629 maybe-configure-perl: configure-perl
18630 configure-perl:
18631 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
18632 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
18633 r=`${PWD_COMMAND}`; export r; \
18634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18635 $(HOST_EXPORTS) \
18636 echo Configuring in $(HOST_SUBDIR)/perl; \
18637 cd "$(HOST_SUBDIR)/perl" || exit 1; \
18638 case $(srcdir) in \
18639 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18640 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
18641 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18642 esac; \
18643 srcdiroption="--srcdir=$${topdir}/perl"; \
18644 libsrcdir="$$s/perl"; \
18645 $(SHELL) $${libsrcdir}/configure \
18646 $(HOST_CONFIGARGS) $${srcdiroption} \
18647 || exit 1
18648 @endif perl
18654 .PHONY: all-perl maybe-all-perl
18655 maybe-all-perl:
18656 @if perl
18657 TARGET-perl=all
18658 maybe-all-perl: all-perl
18659 all-perl: configure-perl
18660 @r=`${PWD_COMMAND}`; export r; \
18661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18662 $(HOST_EXPORTS) \
18663 (cd $(HOST_SUBDIR)/perl && \
18664 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
18665 @endif perl
18670 .PHONY: check-perl maybe-check-perl
18671 maybe-check-perl:
18672 @if perl
18673 maybe-check-perl: check-perl
18675 check-perl:
18676 @r=`${PWD_COMMAND}`; export r; \
18677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18678 $(HOST_EXPORTS) \
18679 (cd $(HOST_SUBDIR)/perl && \
18680 $(MAKE) $(FLAGS_TO_PASS) check)
18682 @endif perl
18684 .PHONY: install-perl maybe-install-perl
18685 maybe-install-perl:
18686 @if perl
18687 maybe-install-perl: install-perl
18689 install-perl: installdirs
18690 @r=`${PWD_COMMAND}`; export r; \
18691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18692 $(HOST_EXPORTS) \
18693 (cd $(HOST_SUBDIR)/perl && \
18694 $(MAKE) $(FLAGS_TO_PASS) install)
18696 @endif perl
18698 # Other targets (info, dvi, etc.)
18700 .PHONY: maybe-info-perl info-perl
18701 maybe-info-perl:
18702 @if perl
18703 maybe-info-perl: info-perl
18705 info-perl: \
18706 configure-perl
18707 @[ -f ./perl/Makefile ] || exit 0; \
18708 r=`${PWD_COMMAND}`; export r; \
18709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18710 $(HOST_EXPORTS) \
18711 for flag in $(EXTRA_HOST_FLAGS) ; do \
18712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18713 done; \
18714 echo "Doing info in perl" ; \
18715 (cd $(HOST_SUBDIR)/perl && \
18716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18718 "RANLIB=$${RANLIB}" \
18719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18720 info) \
18721 || exit 1
18723 @endif perl
18725 .PHONY: maybe-dvi-perl dvi-perl
18726 maybe-dvi-perl:
18727 @if perl
18728 maybe-dvi-perl: dvi-perl
18730 dvi-perl: \
18731 configure-perl
18732 @[ -f ./perl/Makefile ] || exit 0; \
18733 r=`${PWD_COMMAND}`; export r; \
18734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18735 $(HOST_EXPORTS) \
18736 for flag in $(EXTRA_HOST_FLAGS) ; do \
18737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18738 done; \
18739 echo "Doing dvi in perl" ; \
18740 (cd $(HOST_SUBDIR)/perl && \
18741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18743 "RANLIB=$${RANLIB}" \
18744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18745 dvi) \
18746 || exit 1
18748 @endif perl
18750 .PHONY: maybe-html-perl html-perl
18751 maybe-html-perl:
18752 @if perl
18753 maybe-html-perl: html-perl
18755 html-perl: \
18756 configure-perl
18757 @[ -f ./perl/Makefile ] || exit 0; \
18758 r=`${PWD_COMMAND}`; export r; \
18759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18760 $(HOST_EXPORTS) \
18761 for flag in $(EXTRA_HOST_FLAGS) ; do \
18762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18763 done; \
18764 echo "Doing html in perl" ; \
18765 (cd $(HOST_SUBDIR)/perl && \
18766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18768 "RANLIB=$${RANLIB}" \
18769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18770 html) \
18771 || exit 1
18773 @endif perl
18775 .PHONY: maybe-TAGS-perl TAGS-perl
18776 maybe-TAGS-perl:
18777 @if perl
18778 maybe-TAGS-perl: TAGS-perl
18780 TAGS-perl: \
18781 configure-perl
18782 @[ -f ./perl/Makefile ] || exit 0; \
18783 r=`${PWD_COMMAND}`; export r; \
18784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18785 $(HOST_EXPORTS) \
18786 for flag in $(EXTRA_HOST_FLAGS) ; do \
18787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18788 done; \
18789 echo "Doing TAGS in perl" ; \
18790 (cd $(HOST_SUBDIR)/perl && \
18791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18793 "RANLIB=$${RANLIB}" \
18794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18795 TAGS) \
18796 || exit 1
18798 @endif perl
18800 .PHONY: maybe-install-info-perl install-info-perl
18801 maybe-install-info-perl:
18802 @if perl
18803 maybe-install-info-perl: install-info-perl
18805 install-info-perl: \
18806 configure-perl \
18807 info-perl
18808 @[ -f ./perl/Makefile ] || exit 0; \
18809 r=`${PWD_COMMAND}`; export r; \
18810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18811 $(HOST_EXPORTS) \
18812 for flag in $(EXTRA_HOST_FLAGS) ; do \
18813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18814 done; \
18815 echo "Doing install-info in perl" ; \
18816 (cd $(HOST_SUBDIR)/perl && \
18817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18819 "RANLIB=$${RANLIB}" \
18820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18821 install-info) \
18822 || exit 1
18824 @endif perl
18826 .PHONY: maybe-installcheck-perl installcheck-perl
18827 maybe-installcheck-perl:
18828 @if perl
18829 maybe-installcheck-perl: installcheck-perl
18831 installcheck-perl: \
18832 configure-perl
18833 @[ -f ./perl/Makefile ] || exit 0; \
18834 r=`${PWD_COMMAND}`; export r; \
18835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18836 $(HOST_EXPORTS) \
18837 for flag in $(EXTRA_HOST_FLAGS) ; do \
18838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18839 done; \
18840 echo "Doing installcheck in perl" ; \
18841 (cd $(HOST_SUBDIR)/perl && \
18842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18844 "RANLIB=$${RANLIB}" \
18845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18846 installcheck) \
18847 || exit 1
18849 @endif perl
18851 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
18852 maybe-mostlyclean-perl:
18853 @if perl
18854 maybe-mostlyclean-perl: mostlyclean-perl
18856 mostlyclean-perl:
18857 @[ -f ./perl/Makefile ] || exit 0; \
18858 r=`${PWD_COMMAND}`; export r; \
18859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18860 $(HOST_EXPORTS) \
18861 for flag in $(EXTRA_HOST_FLAGS) ; do \
18862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18863 done; \
18864 echo "Doing mostlyclean in perl" ; \
18865 (cd $(HOST_SUBDIR)/perl && \
18866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18868 "RANLIB=$${RANLIB}" \
18869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18870 mostlyclean) \
18871 || exit 1
18873 @endif perl
18875 .PHONY: maybe-clean-perl clean-perl
18876 maybe-clean-perl:
18877 @if perl
18878 maybe-clean-perl: clean-perl
18880 clean-perl:
18881 @[ -f ./perl/Makefile ] || exit 0; \
18882 r=`${PWD_COMMAND}`; export r; \
18883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18884 $(HOST_EXPORTS) \
18885 for flag in $(EXTRA_HOST_FLAGS) ; do \
18886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18887 done; \
18888 echo "Doing clean in perl" ; \
18889 (cd $(HOST_SUBDIR)/perl && \
18890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18892 "RANLIB=$${RANLIB}" \
18893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18894 clean) \
18895 || exit 1
18897 @endif perl
18899 .PHONY: maybe-distclean-perl distclean-perl
18900 maybe-distclean-perl:
18901 @if perl
18902 maybe-distclean-perl: distclean-perl
18904 distclean-perl:
18905 @[ -f ./perl/Makefile ] || exit 0; \
18906 r=`${PWD_COMMAND}`; export r; \
18907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18908 $(HOST_EXPORTS) \
18909 for flag in $(EXTRA_HOST_FLAGS) ; do \
18910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18911 done; \
18912 echo "Doing distclean in perl" ; \
18913 (cd $(HOST_SUBDIR)/perl && \
18914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18916 "RANLIB=$${RANLIB}" \
18917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18918 distclean) \
18919 || exit 1
18921 @endif perl
18923 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
18924 maybe-maintainer-clean-perl:
18925 @if perl
18926 maybe-maintainer-clean-perl: maintainer-clean-perl
18928 maintainer-clean-perl:
18929 @[ -f ./perl/Makefile ] || exit 0; \
18930 r=`${PWD_COMMAND}`; export r; \
18931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18932 $(HOST_EXPORTS) \
18933 for flag in $(EXTRA_HOST_FLAGS) ; do \
18934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18935 done; \
18936 echo "Doing maintainer-clean in perl" ; \
18937 (cd $(HOST_SUBDIR)/perl && \
18938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18940 "RANLIB=$${RANLIB}" \
18941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18942 maintainer-clean) \
18943 || exit 1
18945 @endif perl
18949 .PHONY: configure-prms maybe-configure-prms
18950 maybe-configure-prms:
18951 @if prms
18952 maybe-configure-prms: configure-prms
18953 configure-prms:
18954 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
18955 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
18956 r=`${PWD_COMMAND}`; export r; \
18957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18958 $(HOST_EXPORTS) \
18959 echo Configuring in $(HOST_SUBDIR)/prms; \
18960 cd "$(HOST_SUBDIR)/prms" || exit 1; \
18961 case $(srcdir) in \
18962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18963 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
18964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18965 esac; \
18966 srcdiroption="--srcdir=$${topdir}/prms"; \
18967 libsrcdir="$$s/prms"; \
18968 $(SHELL) $${libsrcdir}/configure \
18969 $(HOST_CONFIGARGS) $${srcdiroption} \
18970 || exit 1
18971 @endif prms
18977 .PHONY: all-prms maybe-all-prms
18978 maybe-all-prms:
18979 @if prms
18980 TARGET-prms=all
18981 maybe-all-prms: all-prms
18982 all-prms: configure-prms
18983 @r=`${PWD_COMMAND}`; export r; \
18984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18985 $(HOST_EXPORTS) \
18986 (cd $(HOST_SUBDIR)/prms && \
18987 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
18988 @endif prms
18993 .PHONY: check-prms maybe-check-prms
18994 maybe-check-prms:
18995 @if prms
18996 maybe-check-prms: check-prms
18998 check-prms:
18999 @r=`${PWD_COMMAND}`; export r; \
19000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19001 $(HOST_EXPORTS) \
19002 (cd $(HOST_SUBDIR)/prms && \
19003 $(MAKE) $(FLAGS_TO_PASS) check)
19005 @endif prms
19007 .PHONY: install-prms maybe-install-prms
19008 maybe-install-prms:
19009 @if prms
19010 maybe-install-prms: install-prms
19012 install-prms: installdirs
19013 @r=`${PWD_COMMAND}`; export r; \
19014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19015 $(HOST_EXPORTS) \
19016 (cd $(HOST_SUBDIR)/prms && \
19017 $(MAKE) $(FLAGS_TO_PASS) install)
19019 @endif prms
19021 # Other targets (info, dvi, etc.)
19023 .PHONY: maybe-info-prms info-prms
19024 maybe-info-prms:
19025 @if prms
19026 maybe-info-prms: info-prms
19028 info-prms: \
19029 configure-prms
19030 @[ -f ./prms/Makefile ] || exit 0; \
19031 r=`${PWD_COMMAND}`; export r; \
19032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19033 $(HOST_EXPORTS) \
19034 for flag in $(EXTRA_HOST_FLAGS) ; do \
19035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19036 done; \
19037 echo "Doing info in prms" ; \
19038 (cd $(HOST_SUBDIR)/prms && \
19039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19041 "RANLIB=$${RANLIB}" \
19042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19043 info) \
19044 || exit 1
19046 @endif prms
19048 .PHONY: maybe-dvi-prms dvi-prms
19049 maybe-dvi-prms:
19050 @if prms
19051 maybe-dvi-prms: dvi-prms
19053 dvi-prms: \
19054 configure-prms
19055 @[ -f ./prms/Makefile ] || exit 0; \
19056 r=`${PWD_COMMAND}`; export r; \
19057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19058 $(HOST_EXPORTS) \
19059 for flag in $(EXTRA_HOST_FLAGS) ; do \
19060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19061 done; \
19062 echo "Doing dvi in prms" ; \
19063 (cd $(HOST_SUBDIR)/prms && \
19064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19066 "RANLIB=$${RANLIB}" \
19067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19068 dvi) \
19069 || exit 1
19071 @endif prms
19073 .PHONY: maybe-html-prms html-prms
19074 maybe-html-prms:
19075 @if prms
19076 maybe-html-prms: html-prms
19078 html-prms: \
19079 configure-prms
19080 @[ -f ./prms/Makefile ] || exit 0; \
19081 r=`${PWD_COMMAND}`; export r; \
19082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19083 $(HOST_EXPORTS) \
19084 for flag in $(EXTRA_HOST_FLAGS) ; do \
19085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19086 done; \
19087 echo "Doing html in prms" ; \
19088 (cd $(HOST_SUBDIR)/prms && \
19089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19091 "RANLIB=$${RANLIB}" \
19092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19093 html) \
19094 || exit 1
19096 @endif prms
19098 .PHONY: maybe-TAGS-prms TAGS-prms
19099 maybe-TAGS-prms:
19100 @if prms
19101 maybe-TAGS-prms: TAGS-prms
19103 TAGS-prms: \
19104 configure-prms
19105 @[ -f ./prms/Makefile ] || exit 0; \
19106 r=`${PWD_COMMAND}`; export r; \
19107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19108 $(HOST_EXPORTS) \
19109 for flag in $(EXTRA_HOST_FLAGS) ; do \
19110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19111 done; \
19112 echo "Doing TAGS in prms" ; \
19113 (cd $(HOST_SUBDIR)/prms && \
19114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19116 "RANLIB=$${RANLIB}" \
19117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19118 TAGS) \
19119 || exit 1
19121 @endif prms
19123 .PHONY: maybe-install-info-prms install-info-prms
19124 maybe-install-info-prms:
19125 @if prms
19126 maybe-install-info-prms: install-info-prms
19128 install-info-prms: \
19129 configure-prms \
19130 info-prms
19131 @[ -f ./prms/Makefile ] || exit 0; \
19132 r=`${PWD_COMMAND}`; export r; \
19133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19134 $(HOST_EXPORTS) \
19135 for flag in $(EXTRA_HOST_FLAGS) ; do \
19136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19137 done; \
19138 echo "Doing install-info in prms" ; \
19139 (cd $(HOST_SUBDIR)/prms && \
19140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19142 "RANLIB=$${RANLIB}" \
19143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19144 install-info) \
19145 || exit 1
19147 @endif prms
19149 .PHONY: maybe-installcheck-prms installcheck-prms
19150 maybe-installcheck-prms:
19151 @if prms
19152 maybe-installcheck-prms: installcheck-prms
19154 installcheck-prms: \
19155 configure-prms
19156 @[ -f ./prms/Makefile ] || exit 0; \
19157 r=`${PWD_COMMAND}`; export r; \
19158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19159 $(HOST_EXPORTS) \
19160 for flag in $(EXTRA_HOST_FLAGS) ; do \
19161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19162 done; \
19163 echo "Doing installcheck in prms" ; \
19164 (cd $(HOST_SUBDIR)/prms && \
19165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19167 "RANLIB=$${RANLIB}" \
19168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19169 installcheck) \
19170 || exit 1
19172 @endif prms
19174 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
19175 maybe-mostlyclean-prms:
19176 @if prms
19177 maybe-mostlyclean-prms: mostlyclean-prms
19179 mostlyclean-prms:
19180 @[ -f ./prms/Makefile ] || exit 0; \
19181 r=`${PWD_COMMAND}`; export r; \
19182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19183 $(HOST_EXPORTS) \
19184 for flag in $(EXTRA_HOST_FLAGS) ; do \
19185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19186 done; \
19187 echo "Doing mostlyclean in prms" ; \
19188 (cd $(HOST_SUBDIR)/prms && \
19189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19191 "RANLIB=$${RANLIB}" \
19192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19193 mostlyclean) \
19194 || exit 1
19196 @endif prms
19198 .PHONY: maybe-clean-prms clean-prms
19199 maybe-clean-prms:
19200 @if prms
19201 maybe-clean-prms: clean-prms
19203 clean-prms:
19204 @[ -f ./prms/Makefile ] || exit 0; \
19205 r=`${PWD_COMMAND}`; export r; \
19206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19207 $(HOST_EXPORTS) \
19208 for flag in $(EXTRA_HOST_FLAGS) ; do \
19209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19210 done; \
19211 echo "Doing clean in prms" ; \
19212 (cd $(HOST_SUBDIR)/prms && \
19213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19215 "RANLIB=$${RANLIB}" \
19216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19217 clean) \
19218 || exit 1
19220 @endif prms
19222 .PHONY: maybe-distclean-prms distclean-prms
19223 maybe-distclean-prms:
19224 @if prms
19225 maybe-distclean-prms: distclean-prms
19227 distclean-prms:
19228 @[ -f ./prms/Makefile ] || exit 0; \
19229 r=`${PWD_COMMAND}`; export r; \
19230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19231 $(HOST_EXPORTS) \
19232 for flag in $(EXTRA_HOST_FLAGS) ; do \
19233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19234 done; \
19235 echo "Doing distclean in prms" ; \
19236 (cd $(HOST_SUBDIR)/prms && \
19237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19239 "RANLIB=$${RANLIB}" \
19240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19241 distclean) \
19242 || exit 1
19244 @endif prms
19246 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
19247 maybe-maintainer-clean-prms:
19248 @if prms
19249 maybe-maintainer-clean-prms: maintainer-clean-prms
19251 maintainer-clean-prms:
19252 @[ -f ./prms/Makefile ] || exit 0; \
19253 r=`${PWD_COMMAND}`; export r; \
19254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19255 $(HOST_EXPORTS) \
19256 for flag in $(EXTRA_HOST_FLAGS) ; do \
19257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19258 done; \
19259 echo "Doing maintainer-clean in prms" ; \
19260 (cd $(HOST_SUBDIR)/prms && \
19261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19263 "RANLIB=$${RANLIB}" \
19264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19265 maintainer-clean) \
19266 || exit 1
19268 @endif prms
19272 .PHONY: configure-rcs maybe-configure-rcs
19273 maybe-configure-rcs:
19274 @if rcs
19275 maybe-configure-rcs: configure-rcs
19276 configure-rcs:
19277 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
19278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
19279 r=`${PWD_COMMAND}`; export r; \
19280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19281 $(HOST_EXPORTS) \
19282 echo Configuring in $(HOST_SUBDIR)/rcs; \
19283 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
19284 case $(srcdir) in \
19285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19286 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
19287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19288 esac; \
19289 srcdiroption="--srcdir=$${topdir}/rcs"; \
19290 libsrcdir="$$s/rcs"; \
19291 $(SHELL) $${libsrcdir}/configure \
19292 $(HOST_CONFIGARGS) $${srcdiroption} \
19293 || exit 1
19294 @endif rcs
19300 .PHONY: all-rcs maybe-all-rcs
19301 maybe-all-rcs:
19302 @if rcs
19303 TARGET-rcs=all
19304 maybe-all-rcs: all-rcs
19305 all-rcs: configure-rcs
19306 @r=`${PWD_COMMAND}`; export r; \
19307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19308 $(HOST_EXPORTS) \
19309 (cd $(HOST_SUBDIR)/rcs && \
19310 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
19311 @endif rcs
19316 .PHONY: check-rcs maybe-check-rcs
19317 maybe-check-rcs:
19318 @if rcs
19319 maybe-check-rcs: check-rcs
19321 check-rcs:
19322 @r=`${PWD_COMMAND}`; export r; \
19323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19324 $(HOST_EXPORTS) \
19325 (cd $(HOST_SUBDIR)/rcs && \
19326 $(MAKE) $(FLAGS_TO_PASS) check)
19328 @endif rcs
19330 .PHONY: install-rcs maybe-install-rcs
19331 maybe-install-rcs:
19332 @if rcs
19333 maybe-install-rcs: install-rcs
19335 install-rcs: installdirs
19336 @r=`${PWD_COMMAND}`; export r; \
19337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19338 $(HOST_EXPORTS) \
19339 (cd $(HOST_SUBDIR)/rcs && \
19340 $(MAKE) $(FLAGS_TO_PASS) install)
19342 @endif rcs
19344 # Other targets (info, dvi, etc.)
19346 .PHONY: maybe-info-rcs info-rcs
19347 maybe-info-rcs:
19348 @if rcs
19349 maybe-info-rcs: info-rcs
19351 info-rcs: \
19352 configure-rcs
19353 @[ -f ./rcs/Makefile ] || exit 0; \
19354 r=`${PWD_COMMAND}`; export r; \
19355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19356 $(HOST_EXPORTS) \
19357 for flag in $(EXTRA_HOST_FLAGS) ; do \
19358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19359 done; \
19360 echo "Doing info in rcs" ; \
19361 (cd $(HOST_SUBDIR)/rcs && \
19362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19364 "RANLIB=$${RANLIB}" \
19365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19366 info) \
19367 || exit 1
19369 @endif rcs
19371 .PHONY: maybe-dvi-rcs dvi-rcs
19372 maybe-dvi-rcs:
19373 @if rcs
19374 maybe-dvi-rcs: dvi-rcs
19376 dvi-rcs: \
19377 configure-rcs
19378 @[ -f ./rcs/Makefile ] || exit 0; \
19379 r=`${PWD_COMMAND}`; export r; \
19380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19381 $(HOST_EXPORTS) \
19382 for flag in $(EXTRA_HOST_FLAGS) ; do \
19383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19384 done; \
19385 echo "Doing dvi in rcs" ; \
19386 (cd $(HOST_SUBDIR)/rcs && \
19387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19389 "RANLIB=$${RANLIB}" \
19390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19391 dvi) \
19392 || exit 1
19394 @endif rcs
19396 .PHONY: maybe-html-rcs html-rcs
19397 maybe-html-rcs:
19398 @if rcs
19399 maybe-html-rcs: html-rcs
19401 html-rcs: \
19402 configure-rcs
19403 @[ -f ./rcs/Makefile ] || exit 0; \
19404 r=`${PWD_COMMAND}`; export r; \
19405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19406 $(HOST_EXPORTS) \
19407 for flag in $(EXTRA_HOST_FLAGS) ; do \
19408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19409 done; \
19410 echo "Doing html in rcs" ; \
19411 (cd $(HOST_SUBDIR)/rcs && \
19412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19414 "RANLIB=$${RANLIB}" \
19415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19416 html) \
19417 || exit 1
19419 @endif rcs
19421 .PHONY: maybe-TAGS-rcs TAGS-rcs
19422 maybe-TAGS-rcs:
19423 @if rcs
19424 maybe-TAGS-rcs: TAGS-rcs
19426 TAGS-rcs: \
19427 configure-rcs
19428 @[ -f ./rcs/Makefile ] || exit 0; \
19429 r=`${PWD_COMMAND}`; export r; \
19430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19431 $(HOST_EXPORTS) \
19432 for flag in $(EXTRA_HOST_FLAGS) ; do \
19433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19434 done; \
19435 echo "Doing TAGS in rcs" ; \
19436 (cd $(HOST_SUBDIR)/rcs && \
19437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19439 "RANLIB=$${RANLIB}" \
19440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19441 TAGS) \
19442 || exit 1
19444 @endif rcs
19446 .PHONY: maybe-install-info-rcs install-info-rcs
19447 maybe-install-info-rcs:
19448 @if rcs
19449 maybe-install-info-rcs: install-info-rcs
19451 install-info-rcs: \
19452 configure-rcs \
19453 info-rcs
19454 @[ -f ./rcs/Makefile ] || exit 0; \
19455 r=`${PWD_COMMAND}`; export r; \
19456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19457 $(HOST_EXPORTS) \
19458 for flag in $(EXTRA_HOST_FLAGS) ; do \
19459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19460 done; \
19461 echo "Doing install-info in rcs" ; \
19462 (cd $(HOST_SUBDIR)/rcs && \
19463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19465 "RANLIB=$${RANLIB}" \
19466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19467 install-info) \
19468 || exit 1
19470 @endif rcs
19472 .PHONY: maybe-installcheck-rcs installcheck-rcs
19473 maybe-installcheck-rcs:
19474 @if rcs
19475 maybe-installcheck-rcs: installcheck-rcs
19477 installcheck-rcs: \
19478 configure-rcs
19479 @[ -f ./rcs/Makefile ] || exit 0; \
19480 r=`${PWD_COMMAND}`; export r; \
19481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19482 $(HOST_EXPORTS) \
19483 for flag in $(EXTRA_HOST_FLAGS) ; do \
19484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19485 done; \
19486 echo "Doing installcheck in rcs" ; \
19487 (cd $(HOST_SUBDIR)/rcs && \
19488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19490 "RANLIB=$${RANLIB}" \
19491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19492 installcheck) \
19493 || exit 1
19495 @endif rcs
19497 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
19498 maybe-mostlyclean-rcs:
19499 @if rcs
19500 maybe-mostlyclean-rcs: mostlyclean-rcs
19502 mostlyclean-rcs:
19503 @[ -f ./rcs/Makefile ] || exit 0; \
19504 r=`${PWD_COMMAND}`; export r; \
19505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19506 $(HOST_EXPORTS) \
19507 for flag in $(EXTRA_HOST_FLAGS) ; do \
19508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19509 done; \
19510 echo "Doing mostlyclean in rcs" ; \
19511 (cd $(HOST_SUBDIR)/rcs && \
19512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19514 "RANLIB=$${RANLIB}" \
19515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19516 mostlyclean) \
19517 || exit 1
19519 @endif rcs
19521 .PHONY: maybe-clean-rcs clean-rcs
19522 maybe-clean-rcs:
19523 @if rcs
19524 maybe-clean-rcs: clean-rcs
19526 clean-rcs:
19527 @[ -f ./rcs/Makefile ] || exit 0; \
19528 r=`${PWD_COMMAND}`; export r; \
19529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19530 $(HOST_EXPORTS) \
19531 for flag in $(EXTRA_HOST_FLAGS) ; do \
19532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19533 done; \
19534 echo "Doing clean in rcs" ; \
19535 (cd $(HOST_SUBDIR)/rcs && \
19536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19538 "RANLIB=$${RANLIB}" \
19539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19540 clean) \
19541 || exit 1
19543 @endif rcs
19545 .PHONY: maybe-distclean-rcs distclean-rcs
19546 maybe-distclean-rcs:
19547 @if rcs
19548 maybe-distclean-rcs: distclean-rcs
19550 distclean-rcs:
19551 @[ -f ./rcs/Makefile ] || exit 0; \
19552 r=`${PWD_COMMAND}`; export r; \
19553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19554 $(HOST_EXPORTS) \
19555 for flag in $(EXTRA_HOST_FLAGS) ; do \
19556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19557 done; \
19558 echo "Doing distclean in rcs" ; \
19559 (cd $(HOST_SUBDIR)/rcs && \
19560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19562 "RANLIB=$${RANLIB}" \
19563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19564 distclean) \
19565 || exit 1
19567 @endif rcs
19569 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
19570 maybe-maintainer-clean-rcs:
19571 @if rcs
19572 maybe-maintainer-clean-rcs: maintainer-clean-rcs
19574 maintainer-clean-rcs:
19575 @[ -f ./rcs/Makefile ] || exit 0; \
19576 r=`${PWD_COMMAND}`; export r; \
19577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19578 $(HOST_EXPORTS) \
19579 for flag in $(EXTRA_HOST_FLAGS) ; do \
19580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19581 done; \
19582 echo "Doing maintainer-clean in rcs" ; \
19583 (cd $(HOST_SUBDIR)/rcs && \
19584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19586 "RANLIB=$${RANLIB}" \
19587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19588 maintainer-clean) \
19589 || exit 1
19591 @endif rcs
19595 .PHONY: configure-readline maybe-configure-readline
19596 maybe-configure-readline:
19597 @if readline
19598 maybe-configure-readline: configure-readline
19599 configure-readline:
19600 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
19601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
19602 r=`${PWD_COMMAND}`; export r; \
19603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19604 $(HOST_EXPORTS) \
19605 echo Configuring in $(HOST_SUBDIR)/readline; \
19606 cd "$(HOST_SUBDIR)/readline" || exit 1; \
19607 case $(srcdir) in \
19608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19609 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
19610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19611 esac; \
19612 srcdiroption="--srcdir=$${topdir}/readline"; \
19613 libsrcdir="$$s/readline"; \
19614 $(SHELL) $${libsrcdir}/configure \
19615 $(HOST_CONFIGARGS) $${srcdiroption} \
19616 || exit 1
19617 @endif readline
19623 .PHONY: all-readline maybe-all-readline
19624 maybe-all-readline:
19625 @if readline
19626 TARGET-readline=all
19627 maybe-all-readline: all-readline
19628 all-readline: configure-readline
19629 @r=`${PWD_COMMAND}`; export r; \
19630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19631 $(HOST_EXPORTS) \
19632 (cd $(HOST_SUBDIR)/readline && \
19633 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
19634 @endif readline
19639 .PHONY: check-readline maybe-check-readline
19640 maybe-check-readline:
19641 @if readline
19642 maybe-check-readline: check-readline
19644 check-readline:
19645 @r=`${PWD_COMMAND}`; export r; \
19646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19647 $(HOST_EXPORTS) \
19648 (cd $(HOST_SUBDIR)/readline && \
19649 $(MAKE) $(FLAGS_TO_PASS) check)
19651 @endif readline
19653 .PHONY: install-readline maybe-install-readline
19654 maybe-install-readline:
19655 @if readline
19656 maybe-install-readline: install-readline
19658 install-readline: installdirs
19659 @r=`${PWD_COMMAND}`; export r; \
19660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19661 $(HOST_EXPORTS) \
19662 (cd $(HOST_SUBDIR)/readline && \
19663 $(MAKE) $(FLAGS_TO_PASS) install)
19665 @endif readline
19667 # Other targets (info, dvi, etc.)
19669 .PHONY: maybe-info-readline info-readline
19670 maybe-info-readline:
19671 @if readline
19672 maybe-info-readline: info-readline
19674 info-readline: \
19675 configure-readline
19676 @[ -f ./readline/Makefile ] || exit 0; \
19677 r=`${PWD_COMMAND}`; export r; \
19678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19679 $(HOST_EXPORTS) \
19680 for flag in $(EXTRA_HOST_FLAGS) ; do \
19681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19682 done; \
19683 echo "Doing info in readline" ; \
19684 (cd $(HOST_SUBDIR)/readline && \
19685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19687 "RANLIB=$${RANLIB}" \
19688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19689 info) \
19690 || exit 1
19692 @endif readline
19694 .PHONY: maybe-dvi-readline dvi-readline
19695 maybe-dvi-readline:
19696 @if readline
19697 maybe-dvi-readline: dvi-readline
19699 dvi-readline: \
19700 configure-readline
19701 @[ -f ./readline/Makefile ] || exit 0; \
19702 r=`${PWD_COMMAND}`; export r; \
19703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19704 $(HOST_EXPORTS) \
19705 for flag in $(EXTRA_HOST_FLAGS) ; do \
19706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19707 done; \
19708 echo "Doing dvi in readline" ; \
19709 (cd $(HOST_SUBDIR)/readline && \
19710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19712 "RANLIB=$${RANLIB}" \
19713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19714 dvi) \
19715 || exit 1
19717 @endif readline
19719 .PHONY: maybe-html-readline html-readline
19720 maybe-html-readline:
19721 @if readline
19722 maybe-html-readline: html-readline
19724 html-readline: \
19725 configure-readline
19726 @[ -f ./readline/Makefile ] || exit 0; \
19727 r=`${PWD_COMMAND}`; export r; \
19728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19729 $(HOST_EXPORTS) \
19730 for flag in $(EXTRA_HOST_FLAGS) ; do \
19731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19732 done; \
19733 echo "Doing html in readline" ; \
19734 (cd $(HOST_SUBDIR)/readline && \
19735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19737 "RANLIB=$${RANLIB}" \
19738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19739 html) \
19740 || exit 1
19742 @endif readline
19744 .PHONY: maybe-TAGS-readline TAGS-readline
19745 maybe-TAGS-readline:
19746 @if readline
19747 maybe-TAGS-readline: TAGS-readline
19749 TAGS-readline: \
19750 configure-readline
19751 @[ -f ./readline/Makefile ] || exit 0; \
19752 r=`${PWD_COMMAND}`; export r; \
19753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19754 $(HOST_EXPORTS) \
19755 for flag in $(EXTRA_HOST_FLAGS) ; do \
19756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19757 done; \
19758 echo "Doing TAGS in readline" ; \
19759 (cd $(HOST_SUBDIR)/readline && \
19760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19762 "RANLIB=$${RANLIB}" \
19763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19764 TAGS) \
19765 || exit 1
19767 @endif readline
19769 .PHONY: maybe-install-info-readline install-info-readline
19770 maybe-install-info-readline:
19771 @if readline
19772 maybe-install-info-readline: install-info-readline
19774 install-info-readline: \
19775 configure-readline \
19776 info-readline
19777 @[ -f ./readline/Makefile ] || exit 0; \
19778 r=`${PWD_COMMAND}`; export r; \
19779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19780 $(HOST_EXPORTS) \
19781 for flag in $(EXTRA_HOST_FLAGS) ; do \
19782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19783 done; \
19784 echo "Doing install-info in readline" ; \
19785 (cd $(HOST_SUBDIR)/readline && \
19786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19788 "RANLIB=$${RANLIB}" \
19789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19790 install-info) \
19791 || exit 1
19793 @endif readline
19795 .PHONY: maybe-installcheck-readline installcheck-readline
19796 maybe-installcheck-readline:
19797 @if readline
19798 maybe-installcheck-readline: installcheck-readline
19800 installcheck-readline: \
19801 configure-readline
19802 @[ -f ./readline/Makefile ] || exit 0; \
19803 r=`${PWD_COMMAND}`; export r; \
19804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19805 $(HOST_EXPORTS) \
19806 for flag in $(EXTRA_HOST_FLAGS) ; do \
19807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19808 done; \
19809 echo "Doing installcheck in readline" ; \
19810 (cd $(HOST_SUBDIR)/readline && \
19811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19813 "RANLIB=$${RANLIB}" \
19814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19815 installcheck) \
19816 || exit 1
19818 @endif readline
19820 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
19821 maybe-mostlyclean-readline:
19822 @if readline
19823 maybe-mostlyclean-readline: mostlyclean-readline
19825 mostlyclean-readline:
19826 @[ -f ./readline/Makefile ] || exit 0; \
19827 r=`${PWD_COMMAND}`; export r; \
19828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19829 $(HOST_EXPORTS) \
19830 for flag in $(EXTRA_HOST_FLAGS) ; do \
19831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19832 done; \
19833 echo "Doing mostlyclean in readline" ; \
19834 (cd $(HOST_SUBDIR)/readline && \
19835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19837 "RANLIB=$${RANLIB}" \
19838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19839 mostlyclean) \
19840 || exit 1
19842 @endif readline
19844 .PHONY: maybe-clean-readline clean-readline
19845 maybe-clean-readline:
19846 @if readline
19847 maybe-clean-readline: clean-readline
19849 clean-readline:
19850 @[ -f ./readline/Makefile ] || exit 0; \
19851 r=`${PWD_COMMAND}`; export r; \
19852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19853 $(HOST_EXPORTS) \
19854 for flag in $(EXTRA_HOST_FLAGS) ; do \
19855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19856 done; \
19857 echo "Doing clean in readline" ; \
19858 (cd $(HOST_SUBDIR)/readline && \
19859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19861 "RANLIB=$${RANLIB}" \
19862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19863 clean) \
19864 || exit 1
19866 @endif readline
19868 .PHONY: maybe-distclean-readline distclean-readline
19869 maybe-distclean-readline:
19870 @if readline
19871 maybe-distclean-readline: distclean-readline
19873 distclean-readline:
19874 @[ -f ./readline/Makefile ] || exit 0; \
19875 r=`${PWD_COMMAND}`; export r; \
19876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19877 $(HOST_EXPORTS) \
19878 for flag in $(EXTRA_HOST_FLAGS) ; do \
19879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19880 done; \
19881 echo "Doing distclean in readline" ; \
19882 (cd $(HOST_SUBDIR)/readline && \
19883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19885 "RANLIB=$${RANLIB}" \
19886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19887 distclean) \
19888 || exit 1
19890 @endif readline
19892 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
19893 maybe-maintainer-clean-readline:
19894 @if readline
19895 maybe-maintainer-clean-readline: maintainer-clean-readline
19897 maintainer-clean-readline:
19898 @[ -f ./readline/Makefile ] || exit 0; \
19899 r=`${PWD_COMMAND}`; export r; \
19900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19901 $(HOST_EXPORTS) \
19902 for flag in $(EXTRA_HOST_FLAGS) ; do \
19903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19904 done; \
19905 echo "Doing maintainer-clean in readline" ; \
19906 (cd $(HOST_SUBDIR)/readline && \
19907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19909 "RANLIB=$${RANLIB}" \
19910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19911 maintainer-clean) \
19912 || exit 1
19914 @endif readline
19918 .PHONY: configure-release maybe-configure-release
19919 maybe-configure-release:
19920 @if release
19921 maybe-configure-release: configure-release
19922 configure-release:
19923 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
19924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
19925 r=`${PWD_COMMAND}`; export r; \
19926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19927 $(HOST_EXPORTS) \
19928 echo Configuring in $(HOST_SUBDIR)/release; \
19929 cd "$(HOST_SUBDIR)/release" || exit 1; \
19930 case $(srcdir) in \
19931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19932 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
19933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19934 esac; \
19935 srcdiroption="--srcdir=$${topdir}/release"; \
19936 libsrcdir="$$s/release"; \
19937 $(SHELL) $${libsrcdir}/configure \
19938 $(HOST_CONFIGARGS) $${srcdiroption} \
19939 || exit 1
19940 @endif release
19946 .PHONY: all-release maybe-all-release
19947 maybe-all-release:
19948 @if release
19949 TARGET-release=all
19950 maybe-all-release: all-release
19951 all-release: configure-release
19952 @r=`${PWD_COMMAND}`; export r; \
19953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19954 $(HOST_EXPORTS) \
19955 (cd $(HOST_SUBDIR)/release && \
19956 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
19957 @endif release
19962 .PHONY: check-release maybe-check-release
19963 maybe-check-release:
19964 @if release
19965 maybe-check-release: check-release
19967 check-release:
19969 @endif release
19971 .PHONY: install-release maybe-install-release
19972 maybe-install-release:
19973 @if release
19974 maybe-install-release: install-release
19976 install-release:
19978 @endif release
19980 # Other targets (info, dvi, etc.)
19982 .PHONY: maybe-info-release info-release
19983 maybe-info-release:
19984 @if release
19985 maybe-info-release: info-release
19987 info-release: \
19988 configure-release
19989 @[ -f ./release/Makefile ] || exit 0; \
19990 r=`${PWD_COMMAND}`; export r; \
19991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19992 $(HOST_EXPORTS) \
19993 for flag in $(EXTRA_HOST_FLAGS) ; do \
19994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19995 done; \
19996 echo "Doing info in release" ; \
19997 (cd $(HOST_SUBDIR)/release && \
19998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20000 "RANLIB=$${RANLIB}" \
20001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20002 info) \
20003 || exit 1
20005 @endif release
20007 .PHONY: maybe-dvi-release dvi-release
20008 maybe-dvi-release:
20009 @if release
20010 maybe-dvi-release: dvi-release
20012 dvi-release: \
20013 configure-release
20014 @[ -f ./release/Makefile ] || exit 0; \
20015 r=`${PWD_COMMAND}`; export r; \
20016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20017 $(HOST_EXPORTS) \
20018 for flag in $(EXTRA_HOST_FLAGS) ; do \
20019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20020 done; \
20021 echo "Doing dvi in release" ; \
20022 (cd $(HOST_SUBDIR)/release && \
20023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20025 "RANLIB=$${RANLIB}" \
20026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20027 dvi) \
20028 || exit 1
20030 @endif release
20032 .PHONY: maybe-html-release html-release
20033 maybe-html-release:
20034 @if release
20035 maybe-html-release: html-release
20037 html-release: \
20038 configure-release
20039 @[ -f ./release/Makefile ] || exit 0; \
20040 r=`${PWD_COMMAND}`; export r; \
20041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20042 $(HOST_EXPORTS) \
20043 for flag in $(EXTRA_HOST_FLAGS) ; do \
20044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20045 done; \
20046 echo "Doing html in release" ; \
20047 (cd $(HOST_SUBDIR)/release && \
20048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20050 "RANLIB=$${RANLIB}" \
20051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20052 html) \
20053 || exit 1
20055 @endif release
20057 .PHONY: maybe-TAGS-release TAGS-release
20058 maybe-TAGS-release:
20059 @if release
20060 maybe-TAGS-release: TAGS-release
20062 TAGS-release: \
20063 configure-release
20064 @[ -f ./release/Makefile ] || exit 0; \
20065 r=`${PWD_COMMAND}`; export r; \
20066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20067 $(HOST_EXPORTS) \
20068 for flag in $(EXTRA_HOST_FLAGS) ; do \
20069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20070 done; \
20071 echo "Doing TAGS in release" ; \
20072 (cd $(HOST_SUBDIR)/release && \
20073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20075 "RANLIB=$${RANLIB}" \
20076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20077 TAGS) \
20078 || exit 1
20080 @endif release
20082 .PHONY: maybe-install-info-release install-info-release
20083 maybe-install-info-release:
20084 @if release
20085 maybe-install-info-release: install-info-release
20087 install-info-release: \
20088 configure-release \
20089 info-release
20090 @[ -f ./release/Makefile ] || exit 0; \
20091 r=`${PWD_COMMAND}`; export r; \
20092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20093 $(HOST_EXPORTS) \
20094 for flag in $(EXTRA_HOST_FLAGS) ; do \
20095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20096 done; \
20097 echo "Doing install-info in release" ; \
20098 (cd $(HOST_SUBDIR)/release && \
20099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20101 "RANLIB=$${RANLIB}" \
20102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20103 install-info) \
20104 || exit 1
20106 @endif release
20108 .PHONY: maybe-installcheck-release installcheck-release
20109 maybe-installcheck-release:
20110 @if release
20111 maybe-installcheck-release: installcheck-release
20113 installcheck-release: \
20114 configure-release
20115 @[ -f ./release/Makefile ] || exit 0; \
20116 r=`${PWD_COMMAND}`; export r; \
20117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20118 $(HOST_EXPORTS) \
20119 for flag in $(EXTRA_HOST_FLAGS) ; do \
20120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20121 done; \
20122 echo "Doing installcheck in release" ; \
20123 (cd $(HOST_SUBDIR)/release && \
20124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20126 "RANLIB=$${RANLIB}" \
20127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20128 installcheck) \
20129 || exit 1
20131 @endif release
20133 .PHONY: maybe-mostlyclean-release mostlyclean-release
20134 maybe-mostlyclean-release:
20135 @if release
20136 maybe-mostlyclean-release: mostlyclean-release
20138 mostlyclean-release:
20139 @[ -f ./release/Makefile ] || exit 0; \
20140 r=`${PWD_COMMAND}`; export r; \
20141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20142 $(HOST_EXPORTS) \
20143 for flag in $(EXTRA_HOST_FLAGS) ; do \
20144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20145 done; \
20146 echo "Doing mostlyclean in release" ; \
20147 (cd $(HOST_SUBDIR)/release && \
20148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20150 "RANLIB=$${RANLIB}" \
20151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20152 mostlyclean) \
20153 || exit 1
20155 @endif release
20157 .PHONY: maybe-clean-release clean-release
20158 maybe-clean-release:
20159 @if release
20160 maybe-clean-release: clean-release
20162 clean-release:
20163 @[ -f ./release/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 clean in release" ; \
20171 (cd $(HOST_SUBDIR)/release && \
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 clean) \
20177 || exit 1
20179 @endif release
20181 .PHONY: maybe-distclean-release distclean-release
20182 maybe-distclean-release:
20183 @if release
20184 maybe-distclean-release: distclean-release
20186 distclean-release:
20187 @[ -f ./release/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 distclean in release" ; \
20195 (cd $(HOST_SUBDIR)/release && \
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 distclean) \
20201 || exit 1
20203 @endif release
20205 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
20206 maybe-maintainer-clean-release:
20207 @if release
20208 maybe-maintainer-clean-release: maintainer-clean-release
20210 maintainer-clean-release:
20211 @[ -f ./release/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 maintainer-clean in release" ; \
20219 (cd $(HOST_SUBDIR)/release && \
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 maintainer-clean) \
20225 || exit 1
20227 @endif release
20231 .PHONY: configure-recode maybe-configure-recode
20232 maybe-configure-recode:
20233 @if recode
20234 maybe-configure-recode: configure-recode
20235 configure-recode:
20236 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
20237 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
20238 r=`${PWD_COMMAND}`; export r; \
20239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20240 $(HOST_EXPORTS) \
20241 echo Configuring in $(HOST_SUBDIR)/recode; \
20242 cd "$(HOST_SUBDIR)/recode" || exit 1; \
20243 case $(srcdir) in \
20244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20245 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
20246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20247 esac; \
20248 srcdiroption="--srcdir=$${topdir}/recode"; \
20249 libsrcdir="$$s/recode"; \
20250 $(SHELL) $${libsrcdir}/configure \
20251 $(HOST_CONFIGARGS) $${srcdiroption} \
20252 || exit 1
20253 @endif recode
20259 .PHONY: all-recode maybe-all-recode
20260 maybe-all-recode:
20261 @if recode
20262 TARGET-recode=all
20263 maybe-all-recode: all-recode
20264 all-recode: configure-recode
20265 @r=`${PWD_COMMAND}`; export r; \
20266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20267 $(HOST_EXPORTS) \
20268 (cd $(HOST_SUBDIR)/recode && \
20269 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
20270 @endif recode
20275 .PHONY: check-recode maybe-check-recode
20276 maybe-check-recode:
20277 @if recode
20278 maybe-check-recode: check-recode
20280 check-recode:
20281 @r=`${PWD_COMMAND}`; export r; \
20282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20283 $(HOST_EXPORTS) \
20284 (cd $(HOST_SUBDIR)/recode && \
20285 $(MAKE) $(FLAGS_TO_PASS) check)
20287 @endif recode
20289 .PHONY: install-recode maybe-install-recode
20290 maybe-install-recode:
20291 @if recode
20292 maybe-install-recode: install-recode
20294 install-recode: installdirs
20295 @r=`${PWD_COMMAND}`; export r; \
20296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20297 $(HOST_EXPORTS) \
20298 (cd $(HOST_SUBDIR)/recode && \
20299 $(MAKE) $(FLAGS_TO_PASS) install)
20301 @endif recode
20303 # Other targets (info, dvi, etc.)
20305 .PHONY: maybe-info-recode info-recode
20306 maybe-info-recode:
20307 @if recode
20308 maybe-info-recode: info-recode
20310 info-recode: \
20311 configure-recode
20312 @[ -f ./recode/Makefile ] || exit 0; \
20313 r=`${PWD_COMMAND}`; export r; \
20314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20315 $(HOST_EXPORTS) \
20316 for flag in $(EXTRA_HOST_FLAGS) ; do \
20317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20318 done; \
20319 echo "Doing info in recode" ; \
20320 (cd $(HOST_SUBDIR)/recode && \
20321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20323 "RANLIB=$${RANLIB}" \
20324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20325 info) \
20326 || exit 1
20328 @endif recode
20330 .PHONY: maybe-dvi-recode dvi-recode
20331 maybe-dvi-recode:
20332 @if recode
20333 maybe-dvi-recode: dvi-recode
20335 dvi-recode: \
20336 configure-recode
20337 @[ -f ./recode/Makefile ] || exit 0; \
20338 r=`${PWD_COMMAND}`; export r; \
20339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20340 $(HOST_EXPORTS) \
20341 for flag in $(EXTRA_HOST_FLAGS) ; do \
20342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20343 done; \
20344 echo "Doing dvi in recode" ; \
20345 (cd $(HOST_SUBDIR)/recode && \
20346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20348 "RANLIB=$${RANLIB}" \
20349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20350 dvi) \
20351 || exit 1
20353 @endif recode
20355 .PHONY: maybe-html-recode html-recode
20356 maybe-html-recode:
20357 @if recode
20358 maybe-html-recode: html-recode
20360 html-recode: \
20361 configure-recode
20362 @[ -f ./recode/Makefile ] || exit 0; \
20363 r=`${PWD_COMMAND}`; export r; \
20364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20365 $(HOST_EXPORTS) \
20366 for flag in $(EXTRA_HOST_FLAGS) ; do \
20367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20368 done; \
20369 echo "Doing html in recode" ; \
20370 (cd $(HOST_SUBDIR)/recode && \
20371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20373 "RANLIB=$${RANLIB}" \
20374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20375 html) \
20376 || exit 1
20378 @endif recode
20380 .PHONY: maybe-TAGS-recode TAGS-recode
20381 maybe-TAGS-recode:
20382 @if recode
20383 maybe-TAGS-recode: TAGS-recode
20385 TAGS-recode: \
20386 configure-recode
20387 @[ -f ./recode/Makefile ] || exit 0; \
20388 r=`${PWD_COMMAND}`; export r; \
20389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20390 $(HOST_EXPORTS) \
20391 for flag in $(EXTRA_HOST_FLAGS) ; do \
20392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20393 done; \
20394 echo "Doing TAGS in recode" ; \
20395 (cd $(HOST_SUBDIR)/recode && \
20396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20398 "RANLIB=$${RANLIB}" \
20399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20400 TAGS) \
20401 || exit 1
20403 @endif recode
20405 .PHONY: maybe-install-info-recode install-info-recode
20406 maybe-install-info-recode:
20407 @if recode
20408 maybe-install-info-recode: install-info-recode
20410 install-info-recode: \
20411 configure-recode \
20412 info-recode
20413 @[ -f ./recode/Makefile ] || exit 0; \
20414 r=`${PWD_COMMAND}`; export r; \
20415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20416 $(HOST_EXPORTS) \
20417 for flag in $(EXTRA_HOST_FLAGS) ; do \
20418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20419 done; \
20420 echo "Doing install-info in recode" ; \
20421 (cd $(HOST_SUBDIR)/recode && \
20422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20424 "RANLIB=$${RANLIB}" \
20425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20426 install-info) \
20427 || exit 1
20429 @endif recode
20431 .PHONY: maybe-installcheck-recode installcheck-recode
20432 maybe-installcheck-recode:
20433 @if recode
20434 maybe-installcheck-recode: installcheck-recode
20436 installcheck-recode: \
20437 configure-recode
20438 @[ -f ./recode/Makefile ] || exit 0; \
20439 r=`${PWD_COMMAND}`; export r; \
20440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20441 $(HOST_EXPORTS) \
20442 for flag in $(EXTRA_HOST_FLAGS) ; do \
20443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20444 done; \
20445 echo "Doing installcheck in recode" ; \
20446 (cd $(HOST_SUBDIR)/recode && \
20447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20449 "RANLIB=$${RANLIB}" \
20450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20451 installcheck) \
20452 || exit 1
20454 @endif recode
20456 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
20457 maybe-mostlyclean-recode:
20458 @if recode
20459 maybe-mostlyclean-recode: mostlyclean-recode
20461 mostlyclean-recode:
20462 @[ -f ./recode/Makefile ] || exit 0; \
20463 r=`${PWD_COMMAND}`; export r; \
20464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20465 $(HOST_EXPORTS) \
20466 for flag in $(EXTRA_HOST_FLAGS) ; do \
20467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20468 done; \
20469 echo "Doing mostlyclean in recode" ; \
20470 (cd $(HOST_SUBDIR)/recode && \
20471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20473 "RANLIB=$${RANLIB}" \
20474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20475 mostlyclean) \
20476 || exit 1
20478 @endif recode
20480 .PHONY: maybe-clean-recode clean-recode
20481 maybe-clean-recode:
20482 @if recode
20483 maybe-clean-recode: clean-recode
20485 clean-recode:
20486 @[ -f ./recode/Makefile ] || exit 0; \
20487 r=`${PWD_COMMAND}`; export r; \
20488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20489 $(HOST_EXPORTS) \
20490 for flag in $(EXTRA_HOST_FLAGS) ; do \
20491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20492 done; \
20493 echo "Doing clean in recode" ; \
20494 (cd $(HOST_SUBDIR)/recode && \
20495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20497 "RANLIB=$${RANLIB}" \
20498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20499 clean) \
20500 || exit 1
20502 @endif recode
20504 .PHONY: maybe-distclean-recode distclean-recode
20505 maybe-distclean-recode:
20506 @if recode
20507 maybe-distclean-recode: distclean-recode
20509 distclean-recode:
20510 @[ -f ./recode/Makefile ] || exit 0; \
20511 r=`${PWD_COMMAND}`; export r; \
20512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20513 $(HOST_EXPORTS) \
20514 for flag in $(EXTRA_HOST_FLAGS) ; do \
20515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20516 done; \
20517 echo "Doing distclean in recode" ; \
20518 (cd $(HOST_SUBDIR)/recode && \
20519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20521 "RANLIB=$${RANLIB}" \
20522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20523 distclean) \
20524 || exit 1
20526 @endif recode
20528 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
20529 maybe-maintainer-clean-recode:
20530 @if recode
20531 maybe-maintainer-clean-recode: maintainer-clean-recode
20533 maintainer-clean-recode:
20534 @[ -f ./recode/Makefile ] || exit 0; \
20535 r=`${PWD_COMMAND}`; export r; \
20536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20537 $(HOST_EXPORTS) \
20538 for flag in $(EXTRA_HOST_FLAGS) ; do \
20539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20540 done; \
20541 echo "Doing maintainer-clean in recode" ; \
20542 (cd $(HOST_SUBDIR)/recode && \
20543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20545 "RANLIB=$${RANLIB}" \
20546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20547 maintainer-clean) \
20548 || exit 1
20550 @endif recode
20554 .PHONY: configure-sed maybe-configure-sed
20555 maybe-configure-sed:
20556 @if sed
20557 maybe-configure-sed: configure-sed
20558 configure-sed:
20559 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
20560 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
20561 r=`${PWD_COMMAND}`; export r; \
20562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20563 $(HOST_EXPORTS) \
20564 echo Configuring in $(HOST_SUBDIR)/sed; \
20565 cd "$(HOST_SUBDIR)/sed" || exit 1; \
20566 case $(srcdir) in \
20567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20568 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
20569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20570 esac; \
20571 srcdiroption="--srcdir=$${topdir}/sed"; \
20572 libsrcdir="$$s/sed"; \
20573 $(SHELL) $${libsrcdir}/configure \
20574 $(HOST_CONFIGARGS) $${srcdiroption} \
20575 || exit 1
20576 @endif sed
20582 .PHONY: all-sed maybe-all-sed
20583 maybe-all-sed:
20584 @if sed
20585 TARGET-sed=all
20586 maybe-all-sed: all-sed
20587 all-sed: configure-sed
20588 @r=`${PWD_COMMAND}`; export r; \
20589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20590 $(HOST_EXPORTS) \
20591 (cd $(HOST_SUBDIR)/sed && \
20592 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
20593 @endif sed
20598 .PHONY: check-sed maybe-check-sed
20599 maybe-check-sed:
20600 @if sed
20601 maybe-check-sed: check-sed
20603 check-sed:
20604 @r=`${PWD_COMMAND}`; export r; \
20605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20606 $(HOST_EXPORTS) \
20607 (cd $(HOST_SUBDIR)/sed && \
20608 $(MAKE) $(FLAGS_TO_PASS) check)
20610 @endif sed
20612 .PHONY: install-sed maybe-install-sed
20613 maybe-install-sed:
20614 @if sed
20615 maybe-install-sed: install-sed
20617 install-sed: installdirs
20618 @r=`${PWD_COMMAND}`; export r; \
20619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20620 $(HOST_EXPORTS) \
20621 (cd $(HOST_SUBDIR)/sed && \
20622 $(MAKE) $(FLAGS_TO_PASS) install)
20624 @endif sed
20626 # Other targets (info, dvi, etc.)
20628 .PHONY: maybe-info-sed info-sed
20629 maybe-info-sed:
20630 @if sed
20631 maybe-info-sed: info-sed
20633 info-sed: \
20634 configure-sed
20635 @[ -f ./sed/Makefile ] || exit 0; \
20636 r=`${PWD_COMMAND}`; export r; \
20637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20638 $(HOST_EXPORTS) \
20639 for flag in $(EXTRA_HOST_FLAGS) ; do \
20640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20641 done; \
20642 echo "Doing info in sed" ; \
20643 (cd $(HOST_SUBDIR)/sed && \
20644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20646 "RANLIB=$${RANLIB}" \
20647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20648 info) \
20649 || exit 1
20651 @endif sed
20653 .PHONY: maybe-dvi-sed dvi-sed
20654 maybe-dvi-sed:
20655 @if sed
20656 maybe-dvi-sed: dvi-sed
20658 dvi-sed: \
20659 configure-sed
20660 @[ -f ./sed/Makefile ] || exit 0; \
20661 r=`${PWD_COMMAND}`; export r; \
20662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20663 $(HOST_EXPORTS) \
20664 for flag in $(EXTRA_HOST_FLAGS) ; do \
20665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20666 done; \
20667 echo "Doing dvi in sed" ; \
20668 (cd $(HOST_SUBDIR)/sed && \
20669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20671 "RANLIB=$${RANLIB}" \
20672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20673 dvi) \
20674 || exit 1
20676 @endif sed
20678 .PHONY: maybe-html-sed html-sed
20679 maybe-html-sed:
20680 @if sed
20681 maybe-html-sed: html-sed
20683 html-sed: \
20684 configure-sed
20685 @[ -f ./sed/Makefile ] || exit 0; \
20686 r=`${PWD_COMMAND}`; export r; \
20687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20688 $(HOST_EXPORTS) \
20689 for flag in $(EXTRA_HOST_FLAGS) ; do \
20690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20691 done; \
20692 echo "Doing html in sed" ; \
20693 (cd $(HOST_SUBDIR)/sed && \
20694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20696 "RANLIB=$${RANLIB}" \
20697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20698 html) \
20699 || exit 1
20701 @endif sed
20703 .PHONY: maybe-TAGS-sed TAGS-sed
20704 maybe-TAGS-sed:
20705 @if sed
20706 maybe-TAGS-sed: TAGS-sed
20708 TAGS-sed: \
20709 configure-sed
20710 @[ -f ./sed/Makefile ] || exit 0; \
20711 r=`${PWD_COMMAND}`; export r; \
20712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20713 $(HOST_EXPORTS) \
20714 for flag in $(EXTRA_HOST_FLAGS) ; do \
20715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20716 done; \
20717 echo "Doing TAGS in sed" ; \
20718 (cd $(HOST_SUBDIR)/sed && \
20719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20721 "RANLIB=$${RANLIB}" \
20722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20723 TAGS) \
20724 || exit 1
20726 @endif sed
20728 .PHONY: maybe-install-info-sed install-info-sed
20729 maybe-install-info-sed:
20730 @if sed
20731 maybe-install-info-sed: install-info-sed
20733 install-info-sed: \
20734 configure-sed \
20735 info-sed
20736 @[ -f ./sed/Makefile ] || exit 0; \
20737 r=`${PWD_COMMAND}`; export r; \
20738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20739 $(HOST_EXPORTS) \
20740 for flag in $(EXTRA_HOST_FLAGS) ; do \
20741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20742 done; \
20743 echo "Doing install-info in sed" ; \
20744 (cd $(HOST_SUBDIR)/sed && \
20745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20747 "RANLIB=$${RANLIB}" \
20748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20749 install-info) \
20750 || exit 1
20752 @endif sed
20754 .PHONY: maybe-installcheck-sed installcheck-sed
20755 maybe-installcheck-sed:
20756 @if sed
20757 maybe-installcheck-sed: installcheck-sed
20759 installcheck-sed: \
20760 configure-sed
20761 @[ -f ./sed/Makefile ] || exit 0; \
20762 r=`${PWD_COMMAND}`; export r; \
20763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20764 $(HOST_EXPORTS) \
20765 for flag in $(EXTRA_HOST_FLAGS) ; do \
20766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20767 done; \
20768 echo "Doing installcheck in sed" ; \
20769 (cd $(HOST_SUBDIR)/sed && \
20770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20772 "RANLIB=$${RANLIB}" \
20773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20774 installcheck) \
20775 || exit 1
20777 @endif sed
20779 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
20780 maybe-mostlyclean-sed:
20781 @if sed
20782 maybe-mostlyclean-sed: mostlyclean-sed
20784 mostlyclean-sed:
20785 @[ -f ./sed/Makefile ] || exit 0; \
20786 r=`${PWD_COMMAND}`; export r; \
20787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20788 $(HOST_EXPORTS) \
20789 for flag in $(EXTRA_HOST_FLAGS) ; do \
20790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20791 done; \
20792 echo "Doing mostlyclean in sed" ; \
20793 (cd $(HOST_SUBDIR)/sed && \
20794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20796 "RANLIB=$${RANLIB}" \
20797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20798 mostlyclean) \
20799 || exit 1
20801 @endif sed
20803 .PHONY: maybe-clean-sed clean-sed
20804 maybe-clean-sed:
20805 @if sed
20806 maybe-clean-sed: clean-sed
20808 clean-sed:
20809 @[ -f ./sed/Makefile ] || exit 0; \
20810 r=`${PWD_COMMAND}`; export r; \
20811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20812 $(HOST_EXPORTS) \
20813 for flag in $(EXTRA_HOST_FLAGS) ; do \
20814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20815 done; \
20816 echo "Doing clean in sed" ; \
20817 (cd $(HOST_SUBDIR)/sed && \
20818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20820 "RANLIB=$${RANLIB}" \
20821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20822 clean) \
20823 || exit 1
20825 @endif sed
20827 .PHONY: maybe-distclean-sed distclean-sed
20828 maybe-distclean-sed:
20829 @if sed
20830 maybe-distclean-sed: distclean-sed
20832 distclean-sed:
20833 @[ -f ./sed/Makefile ] || exit 0; \
20834 r=`${PWD_COMMAND}`; export r; \
20835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20836 $(HOST_EXPORTS) \
20837 for flag in $(EXTRA_HOST_FLAGS) ; do \
20838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20839 done; \
20840 echo "Doing distclean in sed" ; \
20841 (cd $(HOST_SUBDIR)/sed && \
20842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20844 "RANLIB=$${RANLIB}" \
20845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20846 distclean) \
20847 || exit 1
20849 @endif sed
20851 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
20852 maybe-maintainer-clean-sed:
20853 @if sed
20854 maybe-maintainer-clean-sed: maintainer-clean-sed
20856 maintainer-clean-sed:
20857 @[ -f ./sed/Makefile ] || exit 0; \
20858 r=`${PWD_COMMAND}`; export r; \
20859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20860 $(HOST_EXPORTS) \
20861 for flag in $(EXTRA_HOST_FLAGS) ; do \
20862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20863 done; \
20864 echo "Doing maintainer-clean in sed" ; \
20865 (cd $(HOST_SUBDIR)/sed && \
20866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20868 "RANLIB=$${RANLIB}" \
20869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20870 maintainer-clean) \
20871 || exit 1
20873 @endif sed
20877 .PHONY: configure-send-pr maybe-configure-send-pr
20878 maybe-configure-send-pr:
20879 @if send-pr
20880 maybe-configure-send-pr: configure-send-pr
20881 configure-send-pr:
20882 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
20883 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
20884 r=`${PWD_COMMAND}`; export r; \
20885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20886 $(HOST_EXPORTS) \
20887 echo Configuring in $(HOST_SUBDIR)/send-pr; \
20888 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
20889 case $(srcdir) in \
20890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20891 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
20892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20893 esac; \
20894 srcdiroption="--srcdir=$${topdir}/send-pr"; \
20895 libsrcdir="$$s/send-pr"; \
20896 $(SHELL) $${libsrcdir}/configure \
20897 $(HOST_CONFIGARGS) $${srcdiroption} \
20898 || exit 1
20899 @endif send-pr
20905 .PHONY: all-send-pr maybe-all-send-pr
20906 maybe-all-send-pr:
20907 @if send-pr
20908 TARGET-send-pr=all
20909 maybe-all-send-pr: all-send-pr
20910 all-send-pr: configure-send-pr
20911 @r=`${PWD_COMMAND}`; export r; \
20912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20913 $(HOST_EXPORTS) \
20914 (cd $(HOST_SUBDIR)/send-pr && \
20915 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
20916 @endif send-pr
20921 .PHONY: check-send-pr maybe-check-send-pr
20922 maybe-check-send-pr:
20923 @if send-pr
20924 maybe-check-send-pr: check-send-pr
20926 check-send-pr:
20927 @r=`${PWD_COMMAND}`; export r; \
20928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20929 $(HOST_EXPORTS) \
20930 (cd $(HOST_SUBDIR)/send-pr && \
20931 $(MAKE) $(FLAGS_TO_PASS) check)
20933 @endif send-pr
20935 .PHONY: install-send-pr maybe-install-send-pr
20936 maybe-install-send-pr:
20937 @if send-pr
20938 maybe-install-send-pr: install-send-pr
20940 install-send-pr: installdirs
20941 @r=`${PWD_COMMAND}`; export r; \
20942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20943 $(HOST_EXPORTS) \
20944 (cd $(HOST_SUBDIR)/send-pr && \
20945 $(MAKE) $(FLAGS_TO_PASS) install)
20947 @endif send-pr
20949 # Other targets (info, dvi, etc.)
20951 .PHONY: maybe-info-send-pr info-send-pr
20952 maybe-info-send-pr:
20953 @if send-pr
20954 maybe-info-send-pr: info-send-pr
20956 info-send-pr: \
20957 configure-send-pr
20958 @[ -f ./send-pr/Makefile ] || exit 0; \
20959 r=`${PWD_COMMAND}`; export r; \
20960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20961 $(HOST_EXPORTS) \
20962 for flag in $(EXTRA_HOST_FLAGS) ; do \
20963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20964 done; \
20965 echo "Doing info in send-pr" ; \
20966 (cd $(HOST_SUBDIR)/send-pr && \
20967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20969 "RANLIB=$${RANLIB}" \
20970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20971 info) \
20972 || exit 1
20974 @endif send-pr
20976 .PHONY: maybe-dvi-send-pr dvi-send-pr
20977 maybe-dvi-send-pr:
20978 @if send-pr
20979 maybe-dvi-send-pr: dvi-send-pr
20981 dvi-send-pr: \
20982 configure-send-pr
20983 @[ -f ./send-pr/Makefile ] || exit 0; \
20984 r=`${PWD_COMMAND}`; export r; \
20985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20986 $(HOST_EXPORTS) \
20987 for flag in $(EXTRA_HOST_FLAGS) ; do \
20988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20989 done; \
20990 echo "Doing dvi in send-pr" ; \
20991 (cd $(HOST_SUBDIR)/send-pr && \
20992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20994 "RANLIB=$${RANLIB}" \
20995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20996 dvi) \
20997 || exit 1
20999 @endif send-pr
21001 .PHONY: maybe-html-send-pr html-send-pr
21002 maybe-html-send-pr:
21003 @if send-pr
21004 maybe-html-send-pr: html-send-pr
21006 html-send-pr: \
21007 configure-send-pr
21008 @[ -f ./send-pr/Makefile ] || exit 0; \
21009 r=`${PWD_COMMAND}`; export r; \
21010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21011 $(HOST_EXPORTS) \
21012 for flag in $(EXTRA_HOST_FLAGS) ; do \
21013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21014 done; \
21015 echo "Doing html in send-pr" ; \
21016 (cd $(HOST_SUBDIR)/send-pr && \
21017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21019 "RANLIB=$${RANLIB}" \
21020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21021 html) \
21022 || exit 1
21024 @endif send-pr
21026 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
21027 maybe-TAGS-send-pr:
21028 @if send-pr
21029 maybe-TAGS-send-pr: TAGS-send-pr
21031 TAGS-send-pr: \
21032 configure-send-pr
21033 @[ -f ./send-pr/Makefile ] || exit 0; \
21034 r=`${PWD_COMMAND}`; export r; \
21035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21036 $(HOST_EXPORTS) \
21037 for flag in $(EXTRA_HOST_FLAGS) ; do \
21038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21039 done; \
21040 echo "Doing TAGS in send-pr" ; \
21041 (cd $(HOST_SUBDIR)/send-pr && \
21042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21044 "RANLIB=$${RANLIB}" \
21045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21046 TAGS) \
21047 || exit 1
21049 @endif send-pr
21051 .PHONY: maybe-install-info-send-pr install-info-send-pr
21052 maybe-install-info-send-pr:
21053 @if send-pr
21054 maybe-install-info-send-pr: install-info-send-pr
21056 install-info-send-pr: \
21057 configure-send-pr \
21058 info-send-pr
21059 @[ -f ./send-pr/Makefile ] || exit 0; \
21060 r=`${PWD_COMMAND}`; export r; \
21061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21062 $(HOST_EXPORTS) \
21063 for flag in $(EXTRA_HOST_FLAGS) ; do \
21064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21065 done; \
21066 echo "Doing install-info in send-pr" ; \
21067 (cd $(HOST_SUBDIR)/send-pr && \
21068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21070 "RANLIB=$${RANLIB}" \
21071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21072 install-info) \
21073 || exit 1
21075 @endif send-pr
21077 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
21078 maybe-installcheck-send-pr:
21079 @if send-pr
21080 maybe-installcheck-send-pr: installcheck-send-pr
21082 installcheck-send-pr: \
21083 configure-send-pr
21084 @[ -f ./send-pr/Makefile ] || exit 0; \
21085 r=`${PWD_COMMAND}`; export r; \
21086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21087 $(HOST_EXPORTS) \
21088 for flag in $(EXTRA_HOST_FLAGS) ; do \
21089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21090 done; \
21091 echo "Doing installcheck in send-pr" ; \
21092 (cd $(HOST_SUBDIR)/send-pr && \
21093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21095 "RANLIB=$${RANLIB}" \
21096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21097 installcheck) \
21098 || exit 1
21100 @endif send-pr
21102 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
21103 maybe-mostlyclean-send-pr:
21104 @if send-pr
21105 maybe-mostlyclean-send-pr: mostlyclean-send-pr
21107 mostlyclean-send-pr:
21108 @[ -f ./send-pr/Makefile ] || exit 0; \
21109 r=`${PWD_COMMAND}`; export r; \
21110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21111 $(HOST_EXPORTS) \
21112 for flag in $(EXTRA_HOST_FLAGS) ; do \
21113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21114 done; \
21115 echo "Doing mostlyclean in send-pr" ; \
21116 (cd $(HOST_SUBDIR)/send-pr && \
21117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21119 "RANLIB=$${RANLIB}" \
21120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21121 mostlyclean) \
21122 || exit 1
21124 @endif send-pr
21126 .PHONY: maybe-clean-send-pr clean-send-pr
21127 maybe-clean-send-pr:
21128 @if send-pr
21129 maybe-clean-send-pr: clean-send-pr
21131 clean-send-pr:
21132 @[ -f ./send-pr/Makefile ] || exit 0; \
21133 r=`${PWD_COMMAND}`; export r; \
21134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21135 $(HOST_EXPORTS) \
21136 for flag in $(EXTRA_HOST_FLAGS) ; do \
21137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21138 done; \
21139 echo "Doing clean in send-pr" ; \
21140 (cd $(HOST_SUBDIR)/send-pr && \
21141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21143 "RANLIB=$${RANLIB}" \
21144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21145 clean) \
21146 || exit 1
21148 @endif send-pr
21150 .PHONY: maybe-distclean-send-pr distclean-send-pr
21151 maybe-distclean-send-pr:
21152 @if send-pr
21153 maybe-distclean-send-pr: distclean-send-pr
21155 distclean-send-pr:
21156 @[ -f ./send-pr/Makefile ] || exit 0; \
21157 r=`${PWD_COMMAND}`; export r; \
21158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21159 $(HOST_EXPORTS) \
21160 for flag in $(EXTRA_HOST_FLAGS) ; do \
21161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21162 done; \
21163 echo "Doing distclean in send-pr" ; \
21164 (cd $(HOST_SUBDIR)/send-pr && \
21165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21167 "RANLIB=$${RANLIB}" \
21168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21169 distclean) \
21170 || exit 1
21172 @endif send-pr
21174 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
21175 maybe-maintainer-clean-send-pr:
21176 @if send-pr
21177 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
21179 maintainer-clean-send-pr:
21180 @[ -f ./send-pr/Makefile ] || exit 0; \
21181 r=`${PWD_COMMAND}`; export r; \
21182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21183 $(HOST_EXPORTS) \
21184 for flag in $(EXTRA_HOST_FLAGS) ; do \
21185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21186 done; \
21187 echo "Doing maintainer-clean in send-pr" ; \
21188 (cd $(HOST_SUBDIR)/send-pr && \
21189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21191 "RANLIB=$${RANLIB}" \
21192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21193 maintainer-clean) \
21194 || exit 1
21196 @endif send-pr
21200 .PHONY: configure-shellutils maybe-configure-shellutils
21201 maybe-configure-shellutils:
21202 @if shellutils
21203 maybe-configure-shellutils: configure-shellutils
21204 configure-shellutils:
21205 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
21206 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
21207 r=`${PWD_COMMAND}`; export r; \
21208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21209 $(HOST_EXPORTS) \
21210 echo Configuring in $(HOST_SUBDIR)/shellutils; \
21211 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
21212 case $(srcdir) in \
21213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21214 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
21215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21216 esac; \
21217 srcdiroption="--srcdir=$${topdir}/shellutils"; \
21218 libsrcdir="$$s/shellutils"; \
21219 $(SHELL) $${libsrcdir}/configure \
21220 $(HOST_CONFIGARGS) $${srcdiroption} \
21221 || exit 1
21222 @endif shellutils
21228 .PHONY: all-shellutils maybe-all-shellutils
21229 maybe-all-shellutils:
21230 @if shellutils
21231 TARGET-shellutils=all
21232 maybe-all-shellutils: all-shellutils
21233 all-shellutils: configure-shellutils
21234 @r=`${PWD_COMMAND}`; export r; \
21235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21236 $(HOST_EXPORTS) \
21237 (cd $(HOST_SUBDIR)/shellutils && \
21238 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
21239 @endif shellutils
21244 .PHONY: check-shellutils maybe-check-shellutils
21245 maybe-check-shellutils:
21246 @if shellutils
21247 maybe-check-shellutils: check-shellutils
21249 check-shellutils:
21250 @r=`${PWD_COMMAND}`; export r; \
21251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21252 $(HOST_EXPORTS) \
21253 (cd $(HOST_SUBDIR)/shellutils && \
21254 $(MAKE) $(FLAGS_TO_PASS) check)
21256 @endif shellutils
21258 .PHONY: install-shellutils maybe-install-shellutils
21259 maybe-install-shellutils:
21260 @if shellutils
21261 maybe-install-shellutils: install-shellutils
21263 install-shellutils: installdirs
21264 @r=`${PWD_COMMAND}`; export r; \
21265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21266 $(HOST_EXPORTS) \
21267 (cd $(HOST_SUBDIR)/shellutils && \
21268 $(MAKE) $(FLAGS_TO_PASS) install)
21270 @endif shellutils
21272 # Other targets (info, dvi, etc.)
21274 .PHONY: maybe-info-shellutils info-shellutils
21275 maybe-info-shellutils:
21276 @if shellutils
21277 maybe-info-shellutils: info-shellutils
21279 info-shellutils: \
21280 configure-shellutils
21281 @[ -f ./shellutils/Makefile ] || exit 0; \
21282 r=`${PWD_COMMAND}`; export r; \
21283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21284 $(HOST_EXPORTS) \
21285 for flag in $(EXTRA_HOST_FLAGS) ; do \
21286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21287 done; \
21288 echo "Doing info in shellutils" ; \
21289 (cd $(HOST_SUBDIR)/shellutils && \
21290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21292 "RANLIB=$${RANLIB}" \
21293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21294 info) \
21295 || exit 1
21297 @endif shellutils
21299 .PHONY: maybe-dvi-shellutils dvi-shellutils
21300 maybe-dvi-shellutils:
21301 @if shellutils
21302 maybe-dvi-shellutils: dvi-shellutils
21304 dvi-shellutils: \
21305 configure-shellutils
21306 @[ -f ./shellutils/Makefile ] || exit 0; \
21307 r=`${PWD_COMMAND}`; export r; \
21308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21309 $(HOST_EXPORTS) \
21310 for flag in $(EXTRA_HOST_FLAGS) ; do \
21311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21312 done; \
21313 echo "Doing dvi in shellutils" ; \
21314 (cd $(HOST_SUBDIR)/shellutils && \
21315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21317 "RANLIB=$${RANLIB}" \
21318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21319 dvi) \
21320 || exit 1
21322 @endif shellutils
21324 .PHONY: maybe-html-shellutils html-shellutils
21325 maybe-html-shellutils:
21326 @if shellutils
21327 maybe-html-shellutils: html-shellutils
21329 html-shellutils: \
21330 configure-shellutils
21331 @[ -f ./shellutils/Makefile ] || exit 0; \
21332 r=`${PWD_COMMAND}`; export r; \
21333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21334 $(HOST_EXPORTS) \
21335 for flag in $(EXTRA_HOST_FLAGS) ; do \
21336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21337 done; \
21338 echo "Doing html in shellutils" ; \
21339 (cd $(HOST_SUBDIR)/shellutils && \
21340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21342 "RANLIB=$${RANLIB}" \
21343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21344 html) \
21345 || exit 1
21347 @endif shellutils
21349 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
21350 maybe-TAGS-shellutils:
21351 @if shellutils
21352 maybe-TAGS-shellutils: TAGS-shellutils
21354 TAGS-shellutils: \
21355 configure-shellutils
21356 @[ -f ./shellutils/Makefile ] || exit 0; \
21357 r=`${PWD_COMMAND}`; export r; \
21358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21359 $(HOST_EXPORTS) \
21360 for flag in $(EXTRA_HOST_FLAGS) ; do \
21361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21362 done; \
21363 echo "Doing TAGS in shellutils" ; \
21364 (cd $(HOST_SUBDIR)/shellutils && \
21365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21367 "RANLIB=$${RANLIB}" \
21368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21369 TAGS) \
21370 || exit 1
21372 @endif shellutils
21374 .PHONY: maybe-install-info-shellutils install-info-shellutils
21375 maybe-install-info-shellutils:
21376 @if shellutils
21377 maybe-install-info-shellutils: install-info-shellutils
21379 install-info-shellutils: \
21380 configure-shellutils \
21381 info-shellutils
21382 @[ -f ./shellutils/Makefile ] || exit 0; \
21383 r=`${PWD_COMMAND}`; export r; \
21384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21385 $(HOST_EXPORTS) \
21386 for flag in $(EXTRA_HOST_FLAGS) ; do \
21387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21388 done; \
21389 echo "Doing install-info in shellutils" ; \
21390 (cd $(HOST_SUBDIR)/shellutils && \
21391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21393 "RANLIB=$${RANLIB}" \
21394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21395 install-info) \
21396 || exit 1
21398 @endif shellutils
21400 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
21401 maybe-installcheck-shellutils:
21402 @if shellutils
21403 maybe-installcheck-shellutils: installcheck-shellutils
21405 installcheck-shellutils: \
21406 configure-shellutils
21407 @[ -f ./shellutils/Makefile ] || exit 0; \
21408 r=`${PWD_COMMAND}`; export r; \
21409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21410 $(HOST_EXPORTS) \
21411 for flag in $(EXTRA_HOST_FLAGS) ; do \
21412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21413 done; \
21414 echo "Doing installcheck in shellutils" ; \
21415 (cd $(HOST_SUBDIR)/shellutils && \
21416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21418 "RANLIB=$${RANLIB}" \
21419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21420 installcheck) \
21421 || exit 1
21423 @endif shellutils
21425 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
21426 maybe-mostlyclean-shellutils:
21427 @if shellutils
21428 maybe-mostlyclean-shellutils: mostlyclean-shellutils
21430 mostlyclean-shellutils:
21431 @[ -f ./shellutils/Makefile ] || exit 0; \
21432 r=`${PWD_COMMAND}`; export r; \
21433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21434 $(HOST_EXPORTS) \
21435 for flag in $(EXTRA_HOST_FLAGS) ; do \
21436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21437 done; \
21438 echo "Doing mostlyclean in shellutils" ; \
21439 (cd $(HOST_SUBDIR)/shellutils && \
21440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21442 "RANLIB=$${RANLIB}" \
21443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21444 mostlyclean) \
21445 || exit 1
21447 @endif shellutils
21449 .PHONY: maybe-clean-shellutils clean-shellutils
21450 maybe-clean-shellutils:
21451 @if shellutils
21452 maybe-clean-shellutils: clean-shellutils
21454 clean-shellutils:
21455 @[ -f ./shellutils/Makefile ] || exit 0; \
21456 r=`${PWD_COMMAND}`; export r; \
21457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21458 $(HOST_EXPORTS) \
21459 for flag in $(EXTRA_HOST_FLAGS) ; do \
21460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21461 done; \
21462 echo "Doing clean in shellutils" ; \
21463 (cd $(HOST_SUBDIR)/shellutils && \
21464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21466 "RANLIB=$${RANLIB}" \
21467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21468 clean) \
21469 || exit 1
21471 @endif shellutils
21473 .PHONY: maybe-distclean-shellutils distclean-shellutils
21474 maybe-distclean-shellutils:
21475 @if shellutils
21476 maybe-distclean-shellutils: distclean-shellutils
21478 distclean-shellutils:
21479 @[ -f ./shellutils/Makefile ] || exit 0; \
21480 r=`${PWD_COMMAND}`; export r; \
21481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21482 $(HOST_EXPORTS) \
21483 for flag in $(EXTRA_HOST_FLAGS) ; do \
21484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21485 done; \
21486 echo "Doing distclean in shellutils" ; \
21487 (cd $(HOST_SUBDIR)/shellutils && \
21488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21490 "RANLIB=$${RANLIB}" \
21491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21492 distclean) \
21493 || exit 1
21495 @endif shellutils
21497 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
21498 maybe-maintainer-clean-shellutils:
21499 @if shellutils
21500 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
21502 maintainer-clean-shellutils:
21503 @[ -f ./shellutils/Makefile ] || exit 0; \
21504 r=`${PWD_COMMAND}`; export r; \
21505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21506 $(HOST_EXPORTS) \
21507 for flag in $(EXTRA_HOST_FLAGS) ; do \
21508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21509 done; \
21510 echo "Doing maintainer-clean in shellutils" ; \
21511 (cd $(HOST_SUBDIR)/shellutils && \
21512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21514 "RANLIB=$${RANLIB}" \
21515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21516 maintainer-clean) \
21517 || exit 1
21519 @endif shellutils
21523 .PHONY: configure-sid maybe-configure-sid
21524 maybe-configure-sid:
21525 @if sid
21526 maybe-configure-sid: configure-sid
21527 configure-sid:
21528 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
21529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
21530 r=`${PWD_COMMAND}`; export r; \
21531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21532 $(HOST_EXPORTS) \
21533 echo Configuring in $(HOST_SUBDIR)/sid; \
21534 cd "$(HOST_SUBDIR)/sid" || exit 1; \
21535 case $(srcdir) in \
21536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21537 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
21538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21539 esac; \
21540 srcdiroption="--srcdir=$${topdir}/sid"; \
21541 libsrcdir="$$s/sid"; \
21542 $(SHELL) $${libsrcdir}/configure \
21543 $(HOST_CONFIGARGS) $${srcdiroption} \
21544 || exit 1
21545 @endif sid
21551 .PHONY: all-sid maybe-all-sid
21552 maybe-all-sid:
21553 @if sid
21554 TARGET-sid=all
21555 maybe-all-sid: all-sid
21556 all-sid: configure-sid
21557 @r=`${PWD_COMMAND}`; export r; \
21558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21559 $(HOST_EXPORTS) \
21560 (cd $(HOST_SUBDIR)/sid && \
21561 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
21562 @endif sid
21567 .PHONY: check-sid maybe-check-sid
21568 maybe-check-sid:
21569 @if sid
21570 maybe-check-sid: check-sid
21572 check-sid:
21573 @r=`${PWD_COMMAND}`; export r; \
21574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21575 $(HOST_EXPORTS) \
21576 (cd $(HOST_SUBDIR)/sid && \
21577 $(MAKE) $(FLAGS_TO_PASS) check)
21579 @endif sid
21581 .PHONY: install-sid maybe-install-sid
21582 maybe-install-sid:
21583 @if sid
21584 maybe-install-sid: install-sid
21586 install-sid: installdirs
21587 @r=`${PWD_COMMAND}`; export r; \
21588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21589 $(HOST_EXPORTS) \
21590 (cd $(HOST_SUBDIR)/sid && \
21591 $(MAKE) $(FLAGS_TO_PASS) install)
21593 @endif sid
21595 # Other targets (info, dvi, etc.)
21597 .PHONY: maybe-info-sid info-sid
21598 maybe-info-sid:
21599 @if sid
21600 maybe-info-sid: info-sid
21602 info-sid: \
21603 configure-sid
21604 @[ -f ./sid/Makefile ] || exit 0; \
21605 r=`${PWD_COMMAND}`; export r; \
21606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21607 $(HOST_EXPORTS) \
21608 for flag in $(EXTRA_HOST_FLAGS) ; do \
21609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21610 done; \
21611 echo "Doing info in sid" ; \
21612 (cd $(HOST_SUBDIR)/sid && \
21613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21615 "RANLIB=$${RANLIB}" \
21616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21617 info) \
21618 || exit 1
21620 @endif sid
21622 .PHONY: maybe-dvi-sid dvi-sid
21623 maybe-dvi-sid:
21624 @if sid
21625 maybe-dvi-sid: dvi-sid
21627 dvi-sid: \
21628 configure-sid
21629 @[ -f ./sid/Makefile ] || exit 0; \
21630 r=`${PWD_COMMAND}`; export r; \
21631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21632 $(HOST_EXPORTS) \
21633 for flag in $(EXTRA_HOST_FLAGS) ; do \
21634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21635 done; \
21636 echo "Doing dvi in sid" ; \
21637 (cd $(HOST_SUBDIR)/sid && \
21638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21640 "RANLIB=$${RANLIB}" \
21641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21642 dvi) \
21643 || exit 1
21645 @endif sid
21647 .PHONY: maybe-html-sid html-sid
21648 maybe-html-sid:
21649 @if sid
21650 maybe-html-sid: html-sid
21652 html-sid: \
21653 configure-sid
21654 @[ -f ./sid/Makefile ] || exit 0; \
21655 r=`${PWD_COMMAND}`; export r; \
21656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21657 $(HOST_EXPORTS) \
21658 for flag in $(EXTRA_HOST_FLAGS) ; do \
21659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21660 done; \
21661 echo "Doing html in sid" ; \
21662 (cd $(HOST_SUBDIR)/sid && \
21663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21665 "RANLIB=$${RANLIB}" \
21666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21667 html) \
21668 || exit 1
21670 @endif sid
21672 .PHONY: maybe-TAGS-sid TAGS-sid
21673 maybe-TAGS-sid:
21674 @if sid
21675 maybe-TAGS-sid: TAGS-sid
21677 TAGS-sid: \
21678 configure-sid
21679 @[ -f ./sid/Makefile ] || exit 0; \
21680 r=`${PWD_COMMAND}`; export r; \
21681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21682 $(HOST_EXPORTS) \
21683 for flag in $(EXTRA_HOST_FLAGS) ; do \
21684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21685 done; \
21686 echo "Doing TAGS in sid" ; \
21687 (cd $(HOST_SUBDIR)/sid && \
21688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21690 "RANLIB=$${RANLIB}" \
21691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21692 TAGS) \
21693 || exit 1
21695 @endif sid
21697 .PHONY: maybe-install-info-sid install-info-sid
21698 maybe-install-info-sid:
21699 @if sid
21700 maybe-install-info-sid: install-info-sid
21702 install-info-sid: \
21703 configure-sid \
21704 info-sid
21705 @[ -f ./sid/Makefile ] || exit 0; \
21706 r=`${PWD_COMMAND}`; export r; \
21707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21708 $(HOST_EXPORTS) \
21709 for flag in $(EXTRA_HOST_FLAGS) ; do \
21710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21711 done; \
21712 echo "Doing install-info in sid" ; \
21713 (cd $(HOST_SUBDIR)/sid && \
21714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21716 "RANLIB=$${RANLIB}" \
21717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21718 install-info) \
21719 || exit 1
21721 @endif sid
21723 .PHONY: maybe-installcheck-sid installcheck-sid
21724 maybe-installcheck-sid:
21725 @if sid
21726 maybe-installcheck-sid: installcheck-sid
21728 installcheck-sid: \
21729 configure-sid
21730 @[ -f ./sid/Makefile ] || exit 0; \
21731 r=`${PWD_COMMAND}`; export r; \
21732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21733 $(HOST_EXPORTS) \
21734 for flag in $(EXTRA_HOST_FLAGS) ; do \
21735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21736 done; \
21737 echo "Doing installcheck in sid" ; \
21738 (cd $(HOST_SUBDIR)/sid && \
21739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21741 "RANLIB=$${RANLIB}" \
21742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21743 installcheck) \
21744 || exit 1
21746 @endif sid
21748 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
21749 maybe-mostlyclean-sid:
21750 @if sid
21751 maybe-mostlyclean-sid: mostlyclean-sid
21753 mostlyclean-sid:
21754 @[ -f ./sid/Makefile ] || exit 0; \
21755 r=`${PWD_COMMAND}`; export r; \
21756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21757 $(HOST_EXPORTS) \
21758 for flag in $(EXTRA_HOST_FLAGS) ; do \
21759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21760 done; \
21761 echo "Doing mostlyclean in sid" ; \
21762 (cd $(HOST_SUBDIR)/sid && \
21763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21765 "RANLIB=$${RANLIB}" \
21766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21767 mostlyclean) \
21768 || exit 1
21770 @endif sid
21772 .PHONY: maybe-clean-sid clean-sid
21773 maybe-clean-sid:
21774 @if sid
21775 maybe-clean-sid: clean-sid
21777 clean-sid:
21778 @[ -f ./sid/Makefile ] || exit 0; \
21779 r=`${PWD_COMMAND}`; export r; \
21780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21781 $(HOST_EXPORTS) \
21782 for flag in $(EXTRA_HOST_FLAGS) ; do \
21783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21784 done; \
21785 echo "Doing clean in sid" ; \
21786 (cd $(HOST_SUBDIR)/sid && \
21787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21789 "RANLIB=$${RANLIB}" \
21790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21791 clean) \
21792 || exit 1
21794 @endif sid
21796 .PHONY: maybe-distclean-sid distclean-sid
21797 maybe-distclean-sid:
21798 @if sid
21799 maybe-distclean-sid: distclean-sid
21801 distclean-sid:
21802 @[ -f ./sid/Makefile ] || exit 0; \
21803 r=`${PWD_COMMAND}`; export r; \
21804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21805 $(HOST_EXPORTS) \
21806 for flag in $(EXTRA_HOST_FLAGS) ; do \
21807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21808 done; \
21809 echo "Doing distclean in sid" ; \
21810 (cd $(HOST_SUBDIR)/sid && \
21811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21813 "RANLIB=$${RANLIB}" \
21814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21815 distclean) \
21816 || exit 1
21818 @endif sid
21820 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
21821 maybe-maintainer-clean-sid:
21822 @if sid
21823 maybe-maintainer-clean-sid: maintainer-clean-sid
21825 maintainer-clean-sid:
21826 @[ -f ./sid/Makefile ] || exit 0; \
21827 r=`${PWD_COMMAND}`; export r; \
21828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21829 $(HOST_EXPORTS) \
21830 for flag in $(EXTRA_HOST_FLAGS) ; do \
21831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21832 done; \
21833 echo "Doing maintainer-clean in sid" ; \
21834 (cd $(HOST_SUBDIR)/sid && \
21835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21837 "RANLIB=$${RANLIB}" \
21838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21839 maintainer-clean) \
21840 || exit 1
21842 @endif sid
21846 .PHONY: configure-sim maybe-configure-sim
21847 maybe-configure-sim:
21848 @if sim
21849 maybe-configure-sim: configure-sim
21850 configure-sim:
21851 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
21852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
21853 r=`${PWD_COMMAND}`; export r; \
21854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21855 $(HOST_EXPORTS) \
21856 echo Configuring in $(HOST_SUBDIR)/sim; \
21857 cd "$(HOST_SUBDIR)/sim" || exit 1; \
21858 case $(srcdir) in \
21859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21860 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
21861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21862 esac; \
21863 srcdiroption="--srcdir=$${topdir}/sim"; \
21864 libsrcdir="$$s/sim"; \
21865 $(SHELL) $${libsrcdir}/configure \
21866 $(HOST_CONFIGARGS) $${srcdiroption} \
21867 || exit 1
21868 @endif sim
21874 .PHONY: all-sim maybe-all-sim
21875 maybe-all-sim:
21876 @if sim
21877 TARGET-sim=all
21878 maybe-all-sim: all-sim
21879 all-sim: configure-sim
21880 @r=`${PWD_COMMAND}`; export r; \
21881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21882 $(HOST_EXPORTS) \
21883 (cd $(HOST_SUBDIR)/sim && \
21884 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
21885 @endif sim
21890 .PHONY: check-sim maybe-check-sim
21891 maybe-check-sim:
21892 @if sim
21893 maybe-check-sim: check-sim
21895 check-sim:
21896 @r=`${PWD_COMMAND}`; export r; \
21897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21898 $(HOST_EXPORTS) \
21899 (cd $(HOST_SUBDIR)/sim && \
21900 $(MAKE) $(FLAGS_TO_PASS) check)
21902 @endif sim
21904 .PHONY: install-sim maybe-install-sim
21905 maybe-install-sim:
21906 @if sim
21907 maybe-install-sim: install-sim
21909 install-sim: installdirs
21910 @r=`${PWD_COMMAND}`; export r; \
21911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21912 $(HOST_EXPORTS) \
21913 (cd $(HOST_SUBDIR)/sim && \
21914 $(MAKE) $(FLAGS_TO_PASS) install)
21916 @endif sim
21918 # Other targets (info, dvi, etc.)
21920 .PHONY: maybe-info-sim info-sim
21921 maybe-info-sim:
21922 @if sim
21923 maybe-info-sim: info-sim
21925 info-sim: \
21926 configure-sim
21927 @[ -f ./sim/Makefile ] || exit 0; \
21928 r=`${PWD_COMMAND}`; export r; \
21929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21930 $(HOST_EXPORTS) \
21931 for flag in $(EXTRA_HOST_FLAGS) ; do \
21932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21933 done; \
21934 echo "Doing info in sim" ; \
21935 (cd $(HOST_SUBDIR)/sim && \
21936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21938 "RANLIB=$${RANLIB}" \
21939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21940 info) \
21941 || exit 1
21943 @endif sim
21945 .PHONY: maybe-dvi-sim dvi-sim
21946 maybe-dvi-sim:
21947 @if sim
21948 maybe-dvi-sim: dvi-sim
21950 dvi-sim: \
21951 configure-sim
21952 @[ -f ./sim/Makefile ] || exit 0; \
21953 r=`${PWD_COMMAND}`; export r; \
21954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21955 $(HOST_EXPORTS) \
21956 for flag in $(EXTRA_HOST_FLAGS) ; do \
21957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21958 done; \
21959 echo "Doing dvi in sim" ; \
21960 (cd $(HOST_SUBDIR)/sim && \
21961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21963 "RANLIB=$${RANLIB}" \
21964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21965 dvi) \
21966 || exit 1
21968 @endif sim
21970 .PHONY: maybe-html-sim html-sim
21971 maybe-html-sim:
21972 @if sim
21973 maybe-html-sim: html-sim
21975 html-sim: \
21976 configure-sim
21977 @[ -f ./sim/Makefile ] || exit 0; \
21978 r=`${PWD_COMMAND}`; export r; \
21979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21980 $(HOST_EXPORTS) \
21981 for flag in $(EXTRA_HOST_FLAGS) ; do \
21982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21983 done; \
21984 echo "Doing html in sim" ; \
21985 (cd $(HOST_SUBDIR)/sim && \
21986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21988 "RANLIB=$${RANLIB}" \
21989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21990 html) \
21991 || exit 1
21993 @endif sim
21995 .PHONY: maybe-TAGS-sim TAGS-sim
21996 maybe-TAGS-sim:
21997 @if sim
21998 maybe-TAGS-sim: TAGS-sim
22000 TAGS-sim: \
22001 configure-sim
22002 @[ -f ./sim/Makefile ] || exit 0; \
22003 r=`${PWD_COMMAND}`; export r; \
22004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22005 $(HOST_EXPORTS) \
22006 for flag in $(EXTRA_HOST_FLAGS) ; do \
22007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22008 done; \
22009 echo "Doing TAGS in sim" ; \
22010 (cd $(HOST_SUBDIR)/sim && \
22011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22013 "RANLIB=$${RANLIB}" \
22014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22015 TAGS) \
22016 || exit 1
22018 @endif sim
22020 .PHONY: maybe-install-info-sim install-info-sim
22021 maybe-install-info-sim:
22022 @if sim
22023 maybe-install-info-sim: install-info-sim
22025 install-info-sim: \
22026 configure-sim \
22027 info-sim
22028 @[ -f ./sim/Makefile ] || exit 0; \
22029 r=`${PWD_COMMAND}`; export r; \
22030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22031 $(HOST_EXPORTS) \
22032 for flag in $(EXTRA_HOST_FLAGS) ; do \
22033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22034 done; \
22035 echo "Doing install-info in sim" ; \
22036 (cd $(HOST_SUBDIR)/sim && \
22037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22039 "RANLIB=$${RANLIB}" \
22040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22041 install-info) \
22042 || exit 1
22044 @endif sim
22046 .PHONY: maybe-installcheck-sim installcheck-sim
22047 maybe-installcheck-sim:
22048 @if sim
22049 maybe-installcheck-sim: installcheck-sim
22051 installcheck-sim: \
22052 configure-sim
22053 @[ -f ./sim/Makefile ] || exit 0; \
22054 r=`${PWD_COMMAND}`; export r; \
22055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22056 $(HOST_EXPORTS) \
22057 for flag in $(EXTRA_HOST_FLAGS) ; do \
22058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22059 done; \
22060 echo "Doing installcheck in sim" ; \
22061 (cd $(HOST_SUBDIR)/sim && \
22062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22064 "RANLIB=$${RANLIB}" \
22065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22066 installcheck) \
22067 || exit 1
22069 @endif sim
22071 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
22072 maybe-mostlyclean-sim:
22073 @if sim
22074 maybe-mostlyclean-sim: mostlyclean-sim
22076 mostlyclean-sim:
22077 @[ -f ./sim/Makefile ] || exit 0; \
22078 r=`${PWD_COMMAND}`; export r; \
22079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22080 $(HOST_EXPORTS) \
22081 for flag in $(EXTRA_HOST_FLAGS) ; do \
22082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22083 done; \
22084 echo "Doing mostlyclean in sim" ; \
22085 (cd $(HOST_SUBDIR)/sim && \
22086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22088 "RANLIB=$${RANLIB}" \
22089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22090 mostlyclean) \
22091 || exit 1
22093 @endif sim
22095 .PHONY: maybe-clean-sim clean-sim
22096 maybe-clean-sim:
22097 @if sim
22098 maybe-clean-sim: clean-sim
22100 clean-sim:
22101 @[ -f ./sim/Makefile ] || exit 0; \
22102 r=`${PWD_COMMAND}`; export r; \
22103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22104 $(HOST_EXPORTS) \
22105 for flag in $(EXTRA_HOST_FLAGS) ; do \
22106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22107 done; \
22108 echo "Doing clean in sim" ; \
22109 (cd $(HOST_SUBDIR)/sim && \
22110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22112 "RANLIB=$${RANLIB}" \
22113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22114 clean) \
22115 || exit 1
22117 @endif sim
22119 .PHONY: maybe-distclean-sim distclean-sim
22120 maybe-distclean-sim:
22121 @if sim
22122 maybe-distclean-sim: distclean-sim
22124 distclean-sim:
22125 @[ -f ./sim/Makefile ] || exit 0; \
22126 r=`${PWD_COMMAND}`; export r; \
22127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22128 $(HOST_EXPORTS) \
22129 for flag in $(EXTRA_HOST_FLAGS) ; do \
22130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22131 done; \
22132 echo "Doing distclean in sim" ; \
22133 (cd $(HOST_SUBDIR)/sim && \
22134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22136 "RANLIB=$${RANLIB}" \
22137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22138 distclean) \
22139 || exit 1
22141 @endif sim
22143 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
22144 maybe-maintainer-clean-sim:
22145 @if sim
22146 maybe-maintainer-clean-sim: maintainer-clean-sim
22148 maintainer-clean-sim:
22149 @[ -f ./sim/Makefile ] || exit 0; \
22150 r=`${PWD_COMMAND}`; export r; \
22151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22152 $(HOST_EXPORTS) \
22153 for flag in $(EXTRA_HOST_FLAGS) ; do \
22154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22155 done; \
22156 echo "Doing maintainer-clean in sim" ; \
22157 (cd $(HOST_SUBDIR)/sim && \
22158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22160 "RANLIB=$${RANLIB}" \
22161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22162 maintainer-clean) \
22163 || exit 1
22165 @endif sim
22169 .PHONY: configure-tar maybe-configure-tar
22170 maybe-configure-tar:
22171 @if tar
22172 maybe-configure-tar: configure-tar
22173 configure-tar:
22174 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
22175 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
22176 r=`${PWD_COMMAND}`; export r; \
22177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22178 $(HOST_EXPORTS) \
22179 echo Configuring in $(HOST_SUBDIR)/tar; \
22180 cd "$(HOST_SUBDIR)/tar" || exit 1; \
22181 case $(srcdir) in \
22182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22183 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
22184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22185 esac; \
22186 srcdiroption="--srcdir=$${topdir}/tar"; \
22187 libsrcdir="$$s/tar"; \
22188 $(SHELL) $${libsrcdir}/configure \
22189 $(HOST_CONFIGARGS) $${srcdiroption} \
22190 || exit 1
22191 @endif tar
22197 .PHONY: all-tar maybe-all-tar
22198 maybe-all-tar:
22199 @if tar
22200 TARGET-tar=all
22201 maybe-all-tar: all-tar
22202 all-tar: configure-tar
22203 @r=`${PWD_COMMAND}`; export r; \
22204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22205 $(HOST_EXPORTS) \
22206 (cd $(HOST_SUBDIR)/tar && \
22207 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
22208 @endif tar
22213 .PHONY: check-tar maybe-check-tar
22214 maybe-check-tar:
22215 @if tar
22216 maybe-check-tar: check-tar
22218 check-tar:
22219 @r=`${PWD_COMMAND}`; export r; \
22220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22221 $(HOST_EXPORTS) \
22222 (cd $(HOST_SUBDIR)/tar && \
22223 $(MAKE) $(FLAGS_TO_PASS) check)
22225 @endif tar
22227 .PHONY: install-tar maybe-install-tar
22228 maybe-install-tar:
22229 @if tar
22230 maybe-install-tar: install-tar
22232 install-tar: installdirs
22233 @r=`${PWD_COMMAND}`; export r; \
22234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22235 $(HOST_EXPORTS) \
22236 (cd $(HOST_SUBDIR)/tar && \
22237 $(MAKE) $(FLAGS_TO_PASS) install)
22239 @endif tar
22241 # Other targets (info, dvi, etc.)
22243 .PHONY: maybe-info-tar info-tar
22244 maybe-info-tar:
22245 @if tar
22246 maybe-info-tar: info-tar
22248 info-tar: \
22249 configure-tar
22250 @[ -f ./tar/Makefile ] || exit 0; \
22251 r=`${PWD_COMMAND}`; export r; \
22252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22253 $(HOST_EXPORTS) \
22254 for flag in $(EXTRA_HOST_FLAGS) ; do \
22255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22256 done; \
22257 echo "Doing info in tar" ; \
22258 (cd $(HOST_SUBDIR)/tar && \
22259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22261 "RANLIB=$${RANLIB}" \
22262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22263 info) \
22264 || exit 1
22266 @endif tar
22268 .PHONY: maybe-dvi-tar dvi-tar
22269 maybe-dvi-tar:
22270 @if tar
22271 maybe-dvi-tar: dvi-tar
22273 dvi-tar: \
22274 configure-tar
22275 @[ -f ./tar/Makefile ] || exit 0; \
22276 r=`${PWD_COMMAND}`; export r; \
22277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22278 $(HOST_EXPORTS) \
22279 for flag in $(EXTRA_HOST_FLAGS) ; do \
22280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22281 done; \
22282 echo "Doing dvi in tar" ; \
22283 (cd $(HOST_SUBDIR)/tar && \
22284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22286 "RANLIB=$${RANLIB}" \
22287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22288 dvi) \
22289 || exit 1
22291 @endif tar
22293 .PHONY: maybe-html-tar html-tar
22294 maybe-html-tar:
22295 @if tar
22296 maybe-html-tar: html-tar
22298 html-tar: \
22299 configure-tar
22300 @[ -f ./tar/Makefile ] || exit 0; \
22301 r=`${PWD_COMMAND}`; export r; \
22302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22303 $(HOST_EXPORTS) \
22304 for flag in $(EXTRA_HOST_FLAGS) ; do \
22305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22306 done; \
22307 echo "Doing html in tar" ; \
22308 (cd $(HOST_SUBDIR)/tar && \
22309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22311 "RANLIB=$${RANLIB}" \
22312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22313 html) \
22314 || exit 1
22316 @endif tar
22318 .PHONY: maybe-TAGS-tar TAGS-tar
22319 maybe-TAGS-tar:
22320 @if tar
22321 maybe-TAGS-tar: TAGS-tar
22323 TAGS-tar: \
22324 configure-tar
22325 @[ -f ./tar/Makefile ] || exit 0; \
22326 r=`${PWD_COMMAND}`; export r; \
22327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22328 $(HOST_EXPORTS) \
22329 for flag in $(EXTRA_HOST_FLAGS) ; do \
22330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22331 done; \
22332 echo "Doing TAGS in tar" ; \
22333 (cd $(HOST_SUBDIR)/tar && \
22334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22336 "RANLIB=$${RANLIB}" \
22337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22338 TAGS) \
22339 || exit 1
22341 @endif tar
22343 .PHONY: maybe-install-info-tar install-info-tar
22344 maybe-install-info-tar:
22345 @if tar
22346 maybe-install-info-tar: install-info-tar
22348 install-info-tar: \
22349 configure-tar \
22350 info-tar
22351 @[ -f ./tar/Makefile ] || exit 0; \
22352 r=`${PWD_COMMAND}`; export r; \
22353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22354 $(HOST_EXPORTS) \
22355 for flag in $(EXTRA_HOST_FLAGS) ; do \
22356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22357 done; \
22358 echo "Doing install-info in tar" ; \
22359 (cd $(HOST_SUBDIR)/tar && \
22360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22362 "RANLIB=$${RANLIB}" \
22363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22364 install-info) \
22365 || exit 1
22367 @endif tar
22369 .PHONY: maybe-installcheck-tar installcheck-tar
22370 maybe-installcheck-tar:
22371 @if tar
22372 maybe-installcheck-tar: installcheck-tar
22374 installcheck-tar: \
22375 configure-tar
22376 @[ -f ./tar/Makefile ] || exit 0; \
22377 r=`${PWD_COMMAND}`; export r; \
22378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22379 $(HOST_EXPORTS) \
22380 for flag in $(EXTRA_HOST_FLAGS) ; do \
22381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22382 done; \
22383 echo "Doing installcheck in tar" ; \
22384 (cd $(HOST_SUBDIR)/tar && \
22385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22387 "RANLIB=$${RANLIB}" \
22388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22389 installcheck) \
22390 || exit 1
22392 @endif tar
22394 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
22395 maybe-mostlyclean-tar:
22396 @if tar
22397 maybe-mostlyclean-tar: mostlyclean-tar
22399 mostlyclean-tar:
22400 @[ -f ./tar/Makefile ] || exit 0; \
22401 r=`${PWD_COMMAND}`; export r; \
22402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22403 $(HOST_EXPORTS) \
22404 for flag in $(EXTRA_HOST_FLAGS) ; do \
22405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22406 done; \
22407 echo "Doing mostlyclean in tar" ; \
22408 (cd $(HOST_SUBDIR)/tar && \
22409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22411 "RANLIB=$${RANLIB}" \
22412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22413 mostlyclean) \
22414 || exit 1
22416 @endif tar
22418 .PHONY: maybe-clean-tar clean-tar
22419 maybe-clean-tar:
22420 @if tar
22421 maybe-clean-tar: clean-tar
22423 clean-tar:
22424 @[ -f ./tar/Makefile ] || exit 0; \
22425 r=`${PWD_COMMAND}`; export r; \
22426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22427 $(HOST_EXPORTS) \
22428 for flag in $(EXTRA_HOST_FLAGS) ; do \
22429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22430 done; \
22431 echo "Doing clean in tar" ; \
22432 (cd $(HOST_SUBDIR)/tar && \
22433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22435 "RANLIB=$${RANLIB}" \
22436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22437 clean) \
22438 || exit 1
22440 @endif tar
22442 .PHONY: maybe-distclean-tar distclean-tar
22443 maybe-distclean-tar:
22444 @if tar
22445 maybe-distclean-tar: distclean-tar
22447 distclean-tar:
22448 @[ -f ./tar/Makefile ] || exit 0; \
22449 r=`${PWD_COMMAND}`; export r; \
22450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22451 $(HOST_EXPORTS) \
22452 for flag in $(EXTRA_HOST_FLAGS) ; do \
22453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22454 done; \
22455 echo "Doing distclean in tar" ; \
22456 (cd $(HOST_SUBDIR)/tar && \
22457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22459 "RANLIB=$${RANLIB}" \
22460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22461 distclean) \
22462 || exit 1
22464 @endif tar
22466 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
22467 maybe-maintainer-clean-tar:
22468 @if tar
22469 maybe-maintainer-clean-tar: maintainer-clean-tar
22471 maintainer-clean-tar:
22472 @[ -f ./tar/Makefile ] || exit 0; \
22473 r=`${PWD_COMMAND}`; export r; \
22474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22475 $(HOST_EXPORTS) \
22476 for flag in $(EXTRA_HOST_FLAGS) ; do \
22477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22478 done; \
22479 echo "Doing maintainer-clean in tar" ; \
22480 (cd $(HOST_SUBDIR)/tar && \
22481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22483 "RANLIB=$${RANLIB}" \
22484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22485 maintainer-clean) \
22486 || exit 1
22488 @endif tar
22492 .PHONY: configure-texinfo maybe-configure-texinfo
22493 maybe-configure-texinfo:
22494 @if texinfo
22495 maybe-configure-texinfo: configure-texinfo
22496 configure-texinfo:
22497 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
22498 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
22499 r=`${PWD_COMMAND}`; export r; \
22500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22501 $(HOST_EXPORTS) \
22502 echo Configuring in $(HOST_SUBDIR)/texinfo; \
22503 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
22504 case $(srcdir) in \
22505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22506 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
22507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22508 esac; \
22509 srcdiroption="--srcdir=$${topdir}/texinfo"; \
22510 libsrcdir="$$s/texinfo"; \
22511 $(SHELL) $${libsrcdir}/configure \
22512 $(HOST_CONFIGARGS) $${srcdiroption} \
22513 || exit 1
22514 @endif texinfo
22520 .PHONY: all-texinfo maybe-all-texinfo
22521 maybe-all-texinfo:
22522 @if texinfo
22523 TARGET-texinfo=all
22524 maybe-all-texinfo: all-texinfo
22525 all-texinfo: configure-texinfo
22526 @r=`${PWD_COMMAND}`; export r; \
22527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22528 $(HOST_EXPORTS) \
22529 (cd $(HOST_SUBDIR)/texinfo && \
22530 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
22531 @endif texinfo
22536 .PHONY: check-texinfo maybe-check-texinfo
22537 maybe-check-texinfo:
22538 @if texinfo
22539 maybe-check-texinfo: check-texinfo
22541 check-texinfo:
22542 @r=`${PWD_COMMAND}`; export r; \
22543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22544 $(HOST_EXPORTS) \
22545 (cd $(HOST_SUBDIR)/texinfo && \
22546 $(MAKE) $(FLAGS_TO_PASS) check)
22548 @endif texinfo
22550 .PHONY: install-texinfo maybe-install-texinfo
22551 maybe-install-texinfo:
22552 @if texinfo
22553 maybe-install-texinfo: install-texinfo
22555 install-texinfo:
22557 @endif texinfo
22559 # Other targets (info, dvi, etc.)
22561 .PHONY: maybe-info-texinfo info-texinfo
22562 maybe-info-texinfo:
22563 @if texinfo
22564 maybe-info-texinfo: info-texinfo
22566 info-texinfo: \
22567 configure-texinfo
22568 @[ -f ./texinfo/Makefile ] || exit 0; \
22569 r=`${PWD_COMMAND}`; export r; \
22570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22571 $(HOST_EXPORTS) \
22572 for flag in $(EXTRA_HOST_FLAGS) ; do \
22573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22574 done; \
22575 echo "Doing info in texinfo" ; \
22576 (cd $(HOST_SUBDIR)/texinfo && \
22577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22579 "RANLIB=$${RANLIB}" \
22580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22581 info) \
22582 || exit 1
22584 @endif texinfo
22586 .PHONY: maybe-dvi-texinfo dvi-texinfo
22587 maybe-dvi-texinfo:
22588 @if texinfo
22589 maybe-dvi-texinfo: dvi-texinfo
22591 dvi-texinfo: \
22592 configure-texinfo
22593 @[ -f ./texinfo/Makefile ] || exit 0; \
22594 r=`${PWD_COMMAND}`; export r; \
22595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22596 $(HOST_EXPORTS) \
22597 for flag in $(EXTRA_HOST_FLAGS) ; do \
22598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22599 done; \
22600 echo "Doing dvi in texinfo" ; \
22601 (cd $(HOST_SUBDIR)/texinfo && \
22602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22604 "RANLIB=$${RANLIB}" \
22605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22606 dvi) \
22607 || exit 1
22609 @endif texinfo
22611 .PHONY: maybe-html-texinfo html-texinfo
22612 maybe-html-texinfo:
22613 @if texinfo
22614 maybe-html-texinfo: html-texinfo
22616 html-texinfo: \
22617 configure-texinfo
22618 @[ -f ./texinfo/Makefile ] || exit 0; \
22619 r=`${PWD_COMMAND}`; export r; \
22620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22621 $(HOST_EXPORTS) \
22622 for flag in $(EXTRA_HOST_FLAGS) ; do \
22623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22624 done; \
22625 echo "Doing html in texinfo" ; \
22626 (cd $(HOST_SUBDIR)/texinfo && \
22627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22629 "RANLIB=$${RANLIB}" \
22630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22631 html) \
22632 || exit 1
22634 @endif texinfo
22636 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
22637 maybe-TAGS-texinfo:
22638 @if texinfo
22639 maybe-TAGS-texinfo: TAGS-texinfo
22641 TAGS-texinfo: \
22642 configure-texinfo
22643 @[ -f ./texinfo/Makefile ] || exit 0; \
22644 r=`${PWD_COMMAND}`; export r; \
22645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22646 $(HOST_EXPORTS) \
22647 for flag in $(EXTRA_HOST_FLAGS) ; do \
22648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22649 done; \
22650 echo "Doing TAGS in texinfo" ; \
22651 (cd $(HOST_SUBDIR)/texinfo && \
22652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22654 "RANLIB=$${RANLIB}" \
22655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22656 TAGS) \
22657 || exit 1
22659 @endif texinfo
22661 .PHONY: maybe-install-info-texinfo install-info-texinfo
22662 maybe-install-info-texinfo:
22663 @if texinfo
22664 maybe-install-info-texinfo: install-info-texinfo
22666 install-info-texinfo: \
22667 configure-texinfo \
22668 info-texinfo
22669 @[ -f ./texinfo/Makefile ] || exit 0; \
22670 r=`${PWD_COMMAND}`; export r; \
22671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22672 $(HOST_EXPORTS) \
22673 for flag in $(EXTRA_HOST_FLAGS) ; do \
22674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22675 done; \
22676 echo "Doing install-info in texinfo" ; \
22677 (cd $(HOST_SUBDIR)/texinfo && \
22678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22680 "RANLIB=$${RANLIB}" \
22681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22682 install-info) \
22683 || exit 1
22685 @endif texinfo
22687 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
22688 maybe-installcheck-texinfo:
22689 @if texinfo
22690 maybe-installcheck-texinfo: installcheck-texinfo
22692 installcheck-texinfo: \
22693 configure-texinfo
22694 @[ -f ./texinfo/Makefile ] || exit 0; \
22695 r=`${PWD_COMMAND}`; export r; \
22696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22697 $(HOST_EXPORTS) \
22698 for flag in $(EXTRA_HOST_FLAGS) ; do \
22699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22700 done; \
22701 echo "Doing installcheck in texinfo" ; \
22702 (cd $(HOST_SUBDIR)/texinfo && \
22703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22705 "RANLIB=$${RANLIB}" \
22706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22707 installcheck) \
22708 || exit 1
22710 @endif texinfo
22712 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
22713 maybe-mostlyclean-texinfo:
22714 @if texinfo
22715 maybe-mostlyclean-texinfo: mostlyclean-texinfo
22717 mostlyclean-texinfo:
22718 @[ -f ./texinfo/Makefile ] || exit 0; \
22719 r=`${PWD_COMMAND}`; export r; \
22720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22721 $(HOST_EXPORTS) \
22722 for flag in $(EXTRA_HOST_FLAGS) ; do \
22723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22724 done; \
22725 echo "Doing mostlyclean in texinfo" ; \
22726 (cd $(HOST_SUBDIR)/texinfo && \
22727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22729 "RANLIB=$${RANLIB}" \
22730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22731 mostlyclean) \
22732 || exit 1
22734 @endif texinfo
22736 .PHONY: maybe-clean-texinfo clean-texinfo
22737 maybe-clean-texinfo:
22738 @if texinfo
22739 maybe-clean-texinfo: clean-texinfo
22741 clean-texinfo:
22742 @[ -f ./texinfo/Makefile ] || exit 0; \
22743 r=`${PWD_COMMAND}`; export r; \
22744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22745 $(HOST_EXPORTS) \
22746 for flag in $(EXTRA_HOST_FLAGS) ; do \
22747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22748 done; \
22749 echo "Doing clean in texinfo" ; \
22750 (cd $(HOST_SUBDIR)/texinfo && \
22751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22753 "RANLIB=$${RANLIB}" \
22754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22755 clean) \
22756 || exit 1
22758 @endif texinfo
22760 .PHONY: maybe-distclean-texinfo distclean-texinfo
22761 maybe-distclean-texinfo:
22762 @if texinfo
22763 maybe-distclean-texinfo: distclean-texinfo
22765 distclean-texinfo:
22766 @[ -f ./texinfo/Makefile ] || exit 0; \
22767 r=`${PWD_COMMAND}`; export r; \
22768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22769 $(HOST_EXPORTS) \
22770 for flag in $(EXTRA_HOST_FLAGS) ; do \
22771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22772 done; \
22773 echo "Doing distclean in texinfo" ; \
22774 (cd $(HOST_SUBDIR)/texinfo && \
22775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22777 "RANLIB=$${RANLIB}" \
22778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22779 distclean) \
22780 || exit 1
22782 @endif texinfo
22784 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
22785 maybe-maintainer-clean-texinfo:
22786 @if texinfo
22787 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
22789 maintainer-clean-texinfo:
22790 @[ -f ./texinfo/Makefile ] || exit 0; \
22791 r=`${PWD_COMMAND}`; export r; \
22792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22793 $(HOST_EXPORTS) \
22794 for flag in $(EXTRA_HOST_FLAGS) ; do \
22795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22796 done; \
22797 echo "Doing maintainer-clean in texinfo" ; \
22798 (cd $(HOST_SUBDIR)/texinfo && \
22799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22801 "RANLIB=$${RANLIB}" \
22802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22803 maintainer-clean) \
22804 || exit 1
22806 @endif texinfo
22810 .PHONY: configure-textutils maybe-configure-textutils
22811 maybe-configure-textutils:
22812 @if textutils
22813 maybe-configure-textutils: configure-textutils
22814 configure-textutils:
22815 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
22816 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
22817 r=`${PWD_COMMAND}`; export r; \
22818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22819 $(HOST_EXPORTS) \
22820 echo Configuring in $(HOST_SUBDIR)/textutils; \
22821 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
22822 case $(srcdir) in \
22823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22824 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
22825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22826 esac; \
22827 srcdiroption="--srcdir=$${topdir}/textutils"; \
22828 libsrcdir="$$s/textutils"; \
22829 $(SHELL) $${libsrcdir}/configure \
22830 $(HOST_CONFIGARGS) $${srcdiroption} \
22831 || exit 1
22832 @endif textutils
22838 .PHONY: all-textutils maybe-all-textutils
22839 maybe-all-textutils:
22840 @if textutils
22841 TARGET-textutils=all
22842 maybe-all-textutils: all-textutils
22843 all-textutils: configure-textutils
22844 @r=`${PWD_COMMAND}`; export r; \
22845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22846 $(HOST_EXPORTS) \
22847 (cd $(HOST_SUBDIR)/textutils && \
22848 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
22849 @endif textutils
22854 .PHONY: check-textutils maybe-check-textutils
22855 maybe-check-textutils:
22856 @if textutils
22857 maybe-check-textutils: check-textutils
22859 check-textutils:
22860 @r=`${PWD_COMMAND}`; export r; \
22861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22862 $(HOST_EXPORTS) \
22863 (cd $(HOST_SUBDIR)/textutils && \
22864 $(MAKE) $(FLAGS_TO_PASS) check)
22866 @endif textutils
22868 .PHONY: install-textutils maybe-install-textutils
22869 maybe-install-textutils:
22870 @if textutils
22871 maybe-install-textutils: install-textutils
22873 install-textutils: installdirs
22874 @r=`${PWD_COMMAND}`; export r; \
22875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22876 $(HOST_EXPORTS) \
22877 (cd $(HOST_SUBDIR)/textutils && \
22878 $(MAKE) $(FLAGS_TO_PASS) install)
22880 @endif textutils
22882 # Other targets (info, dvi, etc.)
22884 .PHONY: maybe-info-textutils info-textutils
22885 maybe-info-textutils:
22886 @if textutils
22887 maybe-info-textutils: info-textutils
22889 info-textutils: \
22890 configure-textutils
22891 @[ -f ./textutils/Makefile ] || exit 0; \
22892 r=`${PWD_COMMAND}`; export r; \
22893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22894 $(HOST_EXPORTS) \
22895 for flag in $(EXTRA_HOST_FLAGS) ; do \
22896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22897 done; \
22898 echo "Doing info in textutils" ; \
22899 (cd $(HOST_SUBDIR)/textutils && \
22900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22902 "RANLIB=$${RANLIB}" \
22903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22904 info) \
22905 || exit 1
22907 @endif textutils
22909 .PHONY: maybe-dvi-textutils dvi-textutils
22910 maybe-dvi-textutils:
22911 @if textutils
22912 maybe-dvi-textutils: dvi-textutils
22914 dvi-textutils: \
22915 configure-textutils
22916 @[ -f ./textutils/Makefile ] || exit 0; \
22917 r=`${PWD_COMMAND}`; export r; \
22918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22919 $(HOST_EXPORTS) \
22920 for flag in $(EXTRA_HOST_FLAGS) ; do \
22921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22922 done; \
22923 echo "Doing dvi in textutils" ; \
22924 (cd $(HOST_SUBDIR)/textutils && \
22925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22927 "RANLIB=$${RANLIB}" \
22928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22929 dvi) \
22930 || exit 1
22932 @endif textutils
22934 .PHONY: maybe-html-textutils html-textutils
22935 maybe-html-textutils:
22936 @if textutils
22937 maybe-html-textutils: html-textutils
22939 html-textutils: \
22940 configure-textutils
22941 @[ -f ./textutils/Makefile ] || exit 0; \
22942 r=`${PWD_COMMAND}`; export r; \
22943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22944 $(HOST_EXPORTS) \
22945 for flag in $(EXTRA_HOST_FLAGS) ; do \
22946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22947 done; \
22948 echo "Doing html in textutils" ; \
22949 (cd $(HOST_SUBDIR)/textutils && \
22950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22952 "RANLIB=$${RANLIB}" \
22953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22954 html) \
22955 || exit 1
22957 @endif textutils
22959 .PHONY: maybe-TAGS-textutils TAGS-textutils
22960 maybe-TAGS-textutils:
22961 @if textutils
22962 maybe-TAGS-textutils: TAGS-textutils
22964 TAGS-textutils: \
22965 configure-textutils
22966 @[ -f ./textutils/Makefile ] || exit 0; \
22967 r=`${PWD_COMMAND}`; export r; \
22968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22969 $(HOST_EXPORTS) \
22970 for flag in $(EXTRA_HOST_FLAGS) ; do \
22971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22972 done; \
22973 echo "Doing TAGS in textutils" ; \
22974 (cd $(HOST_SUBDIR)/textutils && \
22975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22977 "RANLIB=$${RANLIB}" \
22978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22979 TAGS) \
22980 || exit 1
22982 @endif textutils
22984 .PHONY: maybe-install-info-textutils install-info-textutils
22985 maybe-install-info-textutils:
22986 @if textutils
22987 maybe-install-info-textutils: install-info-textutils
22989 install-info-textutils: \
22990 configure-textutils \
22991 info-textutils
22992 @[ -f ./textutils/Makefile ] || exit 0; \
22993 r=`${PWD_COMMAND}`; export r; \
22994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22995 $(HOST_EXPORTS) \
22996 for flag in $(EXTRA_HOST_FLAGS) ; do \
22997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22998 done; \
22999 echo "Doing install-info in textutils" ; \
23000 (cd $(HOST_SUBDIR)/textutils && \
23001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23003 "RANLIB=$${RANLIB}" \
23004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23005 install-info) \
23006 || exit 1
23008 @endif textutils
23010 .PHONY: maybe-installcheck-textutils installcheck-textutils
23011 maybe-installcheck-textutils:
23012 @if textutils
23013 maybe-installcheck-textutils: installcheck-textutils
23015 installcheck-textutils: \
23016 configure-textutils
23017 @[ -f ./textutils/Makefile ] || exit 0; \
23018 r=`${PWD_COMMAND}`; export r; \
23019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23020 $(HOST_EXPORTS) \
23021 for flag in $(EXTRA_HOST_FLAGS) ; do \
23022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23023 done; \
23024 echo "Doing installcheck in textutils" ; \
23025 (cd $(HOST_SUBDIR)/textutils && \
23026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23028 "RANLIB=$${RANLIB}" \
23029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23030 installcheck) \
23031 || exit 1
23033 @endif textutils
23035 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
23036 maybe-mostlyclean-textutils:
23037 @if textutils
23038 maybe-mostlyclean-textutils: mostlyclean-textutils
23040 mostlyclean-textutils:
23041 @[ -f ./textutils/Makefile ] || exit 0; \
23042 r=`${PWD_COMMAND}`; export r; \
23043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23044 $(HOST_EXPORTS) \
23045 for flag in $(EXTRA_HOST_FLAGS) ; do \
23046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23047 done; \
23048 echo "Doing mostlyclean in textutils" ; \
23049 (cd $(HOST_SUBDIR)/textutils && \
23050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23052 "RANLIB=$${RANLIB}" \
23053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23054 mostlyclean) \
23055 || exit 1
23057 @endif textutils
23059 .PHONY: maybe-clean-textutils clean-textutils
23060 maybe-clean-textutils:
23061 @if textutils
23062 maybe-clean-textutils: clean-textutils
23064 clean-textutils:
23065 @[ -f ./textutils/Makefile ] || exit 0; \
23066 r=`${PWD_COMMAND}`; export r; \
23067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23068 $(HOST_EXPORTS) \
23069 for flag in $(EXTRA_HOST_FLAGS) ; do \
23070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23071 done; \
23072 echo "Doing clean in textutils" ; \
23073 (cd $(HOST_SUBDIR)/textutils && \
23074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23076 "RANLIB=$${RANLIB}" \
23077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23078 clean) \
23079 || exit 1
23081 @endif textutils
23083 .PHONY: maybe-distclean-textutils distclean-textutils
23084 maybe-distclean-textutils:
23085 @if textutils
23086 maybe-distclean-textutils: distclean-textutils
23088 distclean-textutils:
23089 @[ -f ./textutils/Makefile ] || exit 0; \
23090 r=`${PWD_COMMAND}`; export r; \
23091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23092 $(HOST_EXPORTS) \
23093 for flag in $(EXTRA_HOST_FLAGS) ; do \
23094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23095 done; \
23096 echo "Doing distclean in textutils" ; \
23097 (cd $(HOST_SUBDIR)/textutils && \
23098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23100 "RANLIB=$${RANLIB}" \
23101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23102 distclean) \
23103 || exit 1
23105 @endif textutils
23107 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
23108 maybe-maintainer-clean-textutils:
23109 @if textutils
23110 maybe-maintainer-clean-textutils: maintainer-clean-textutils
23112 maintainer-clean-textutils:
23113 @[ -f ./textutils/Makefile ] || exit 0; \
23114 r=`${PWD_COMMAND}`; export r; \
23115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23116 $(HOST_EXPORTS) \
23117 for flag in $(EXTRA_HOST_FLAGS) ; do \
23118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23119 done; \
23120 echo "Doing maintainer-clean in textutils" ; \
23121 (cd $(HOST_SUBDIR)/textutils && \
23122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23124 "RANLIB=$${RANLIB}" \
23125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23126 maintainer-clean) \
23127 || exit 1
23129 @endif textutils
23133 .PHONY: configure-time maybe-configure-time
23134 maybe-configure-time:
23135 @if time
23136 maybe-configure-time: configure-time
23137 configure-time:
23138 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
23139 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
23140 r=`${PWD_COMMAND}`; export r; \
23141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23142 $(HOST_EXPORTS) \
23143 echo Configuring in $(HOST_SUBDIR)/time; \
23144 cd "$(HOST_SUBDIR)/time" || exit 1; \
23145 case $(srcdir) in \
23146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23147 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
23148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23149 esac; \
23150 srcdiroption="--srcdir=$${topdir}/time"; \
23151 libsrcdir="$$s/time"; \
23152 $(SHELL) $${libsrcdir}/configure \
23153 $(HOST_CONFIGARGS) $${srcdiroption} \
23154 || exit 1
23155 @endif time
23161 .PHONY: all-time maybe-all-time
23162 maybe-all-time:
23163 @if time
23164 TARGET-time=all
23165 maybe-all-time: all-time
23166 all-time: configure-time
23167 @r=`${PWD_COMMAND}`; export r; \
23168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23169 $(HOST_EXPORTS) \
23170 (cd $(HOST_SUBDIR)/time && \
23171 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
23172 @endif time
23177 .PHONY: check-time maybe-check-time
23178 maybe-check-time:
23179 @if time
23180 maybe-check-time: check-time
23182 check-time:
23183 @r=`${PWD_COMMAND}`; export r; \
23184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23185 $(HOST_EXPORTS) \
23186 (cd $(HOST_SUBDIR)/time && \
23187 $(MAKE) $(FLAGS_TO_PASS) check)
23189 @endif time
23191 .PHONY: install-time maybe-install-time
23192 maybe-install-time:
23193 @if time
23194 maybe-install-time: install-time
23196 install-time: installdirs
23197 @r=`${PWD_COMMAND}`; export r; \
23198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23199 $(HOST_EXPORTS) \
23200 (cd $(HOST_SUBDIR)/time && \
23201 $(MAKE) $(FLAGS_TO_PASS) install)
23203 @endif time
23205 # Other targets (info, dvi, etc.)
23207 .PHONY: maybe-info-time info-time
23208 maybe-info-time:
23209 @if time
23210 maybe-info-time: info-time
23212 info-time: \
23213 configure-time
23214 @[ -f ./time/Makefile ] || exit 0; \
23215 r=`${PWD_COMMAND}`; export r; \
23216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23217 $(HOST_EXPORTS) \
23218 for flag in $(EXTRA_HOST_FLAGS) ; do \
23219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23220 done; \
23221 echo "Doing info in time" ; \
23222 (cd $(HOST_SUBDIR)/time && \
23223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23225 "RANLIB=$${RANLIB}" \
23226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23227 info) \
23228 || exit 1
23230 @endif time
23232 .PHONY: maybe-dvi-time dvi-time
23233 maybe-dvi-time:
23234 @if time
23235 maybe-dvi-time: dvi-time
23237 dvi-time: \
23238 configure-time
23239 @[ -f ./time/Makefile ] || exit 0; \
23240 r=`${PWD_COMMAND}`; export r; \
23241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23242 $(HOST_EXPORTS) \
23243 for flag in $(EXTRA_HOST_FLAGS) ; do \
23244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23245 done; \
23246 echo "Doing dvi in time" ; \
23247 (cd $(HOST_SUBDIR)/time && \
23248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23250 "RANLIB=$${RANLIB}" \
23251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23252 dvi) \
23253 || exit 1
23255 @endif time
23257 .PHONY: maybe-html-time html-time
23258 maybe-html-time:
23259 @if time
23260 maybe-html-time: html-time
23262 html-time: \
23263 configure-time
23264 @[ -f ./time/Makefile ] || exit 0; \
23265 r=`${PWD_COMMAND}`; export r; \
23266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23267 $(HOST_EXPORTS) \
23268 for flag in $(EXTRA_HOST_FLAGS) ; do \
23269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23270 done; \
23271 echo "Doing html in time" ; \
23272 (cd $(HOST_SUBDIR)/time && \
23273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23275 "RANLIB=$${RANLIB}" \
23276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23277 html) \
23278 || exit 1
23280 @endif time
23282 .PHONY: maybe-TAGS-time TAGS-time
23283 maybe-TAGS-time:
23284 @if time
23285 maybe-TAGS-time: TAGS-time
23287 TAGS-time: \
23288 configure-time
23289 @[ -f ./time/Makefile ] || exit 0; \
23290 r=`${PWD_COMMAND}`; export r; \
23291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23292 $(HOST_EXPORTS) \
23293 for flag in $(EXTRA_HOST_FLAGS) ; do \
23294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23295 done; \
23296 echo "Doing TAGS in time" ; \
23297 (cd $(HOST_SUBDIR)/time && \
23298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23300 "RANLIB=$${RANLIB}" \
23301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23302 TAGS) \
23303 || exit 1
23305 @endif time
23307 .PHONY: maybe-install-info-time install-info-time
23308 maybe-install-info-time:
23309 @if time
23310 maybe-install-info-time: install-info-time
23312 install-info-time: \
23313 configure-time \
23314 info-time
23315 @[ -f ./time/Makefile ] || exit 0; \
23316 r=`${PWD_COMMAND}`; export r; \
23317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23318 $(HOST_EXPORTS) \
23319 for flag in $(EXTRA_HOST_FLAGS) ; do \
23320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23321 done; \
23322 echo "Doing install-info in time" ; \
23323 (cd $(HOST_SUBDIR)/time && \
23324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23326 "RANLIB=$${RANLIB}" \
23327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23328 install-info) \
23329 || exit 1
23331 @endif time
23333 .PHONY: maybe-installcheck-time installcheck-time
23334 maybe-installcheck-time:
23335 @if time
23336 maybe-installcheck-time: installcheck-time
23338 installcheck-time: \
23339 configure-time
23340 @[ -f ./time/Makefile ] || exit 0; \
23341 r=`${PWD_COMMAND}`; export r; \
23342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23343 $(HOST_EXPORTS) \
23344 for flag in $(EXTRA_HOST_FLAGS) ; do \
23345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23346 done; \
23347 echo "Doing installcheck in time" ; \
23348 (cd $(HOST_SUBDIR)/time && \
23349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23351 "RANLIB=$${RANLIB}" \
23352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23353 installcheck) \
23354 || exit 1
23356 @endif time
23358 .PHONY: maybe-mostlyclean-time mostlyclean-time
23359 maybe-mostlyclean-time:
23360 @if time
23361 maybe-mostlyclean-time: mostlyclean-time
23363 mostlyclean-time:
23364 @[ -f ./time/Makefile ] || exit 0; \
23365 r=`${PWD_COMMAND}`; export r; \
23366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23367 $(HOST_EXPORTS) \
23368 for flag in $(EXTRA_HOST_FLAGS) ; do \
23369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23370 done; \
23371 echo "Doing mostlyclean in time" ; \
23372 (cd $(HOST_SUBDIR)/time && \
23373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23375 "RANLIB=$${RANLIB}" \
23376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23377 mostlyclean) \
23378 || exit 1
23380 @endif time
23382 .PHONY: maybe-clean-time clean-time
23383 maybe-clean-time:
23384 @if time
23385 maybe-clean-time: clean-time
23387 clean-time:
23388 @[ -f ./time/Makefile ] || exit 0; \
23389 r=`${PWD_COMMAND}`; export r; \
23390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23391 $(HOST_EXPORTS) \
23392 for flag in $(EXTRA_HOST_FLAGS) ; do \
23393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23394 done; \
23395 echo "Doing clean in time" ; \
23396 (cd $(HOST_SUBDIR)/time && \
23397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23399 "RANLIB=$${RANLIB}" \
23400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23401 clean) \
23402 || exit 1
23404 @endif time
23406 .PHONY: maybe-distclean-time distclean-time
23407 maybe-distclean-time:
23408 @if time
23409 maybe-distclean-time: distclean-time
23411 distclean-time:
23412 @[ -f ./time/Makefile ] || exit 0; \
23413 r=`${PWD_COMMAND}`; export r; \
23414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23415 $(HOST_EXPORTS) \
23416 for flag in $(EXTRA_HOST_FLAGS) ; do \
23417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23418 done; \
23419 echo "Doing distclean in time" ; \
23420 (cd $(HOST_SUBDIR)/time && \
23421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23423 "RANLIB=$${RANLIB}" \
23424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23425 distclean) \
23426 || exit 1
23428 @endif time
23430 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
23431 maybe-maintainer-clean-time:
23432 @if time
23433 maybe-maintainer-clean-time: maintainer-clean-time
23435 maintainer-clean-time:
23436 @[ -f ./time/Makefile ] || exit 0; \
23437 r=`${PWD_COMMAND}`; export r; \
23438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23439 $(HOST_EXPORTS) \
23440 for flag in $(EXTRA_HOST_FLAGS) ; do \
23441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23442 done; \
23443 echo "Doing maintainer-clean in time" ; \
23444 (cd $(HOST_SUBDIR)/time && \
23445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23447 "RANLIB=$${RANLIB}" \
23448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23449 maintainer-clean) \
23450 || exit 1
23452 @endif time
23456 .PHONY: configure-uudecode maybe-configure-uudecode
23457 maybe-configure-uudecode:
23458 @if uudecode
23459 maybe-configure-uudecode: configure-uudecode
23460 configure-uudecode:
23461 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
23462 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
23463 r=`${PWD_COMMAND}`; export r; \
23464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23465 $(HOST_EXPORTS) \
23466 echo Configuring in $(HOST_SUBDIR)/uudecode; \
23467 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
23468 case $(srcdir) in \
23469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23470 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
23471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23472 esac; \
23473 srcdiroption="--srcdir=$${topdir}/uudecode"; \
23474 libsrcdir="$$s/uudecode"; \
23475 $(SHELL) $${libsrcdir}/configure \
23476 $(HOST_CONFIGARGS) $${srcdiroption} \
23477 || exit 1
23478 @endif uudecode
23484 .PHONY: all-uudecode maybe-all-uudecode
23485 maybe-all-uudecode:
23486 @if uudecode
23487 TARGET-uudecode=all
23488 maybe-all-uudecode: all-uudecode
23489 all-uudecode: configure-uudecode
23490 @r=`${PWD_COMMAND}`; export r; \
23491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23492 $(HOST_EXPORTS) \
23493 (cd $(HOST_SUBDIR)/uudecode && \
23494 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
23495 @endif uudecode
23500 .PHONY: check-uudecode maybe-check-uudecode
23501 maybe-check-uudecode:
23502 @if uudecode
23503 maybe-check-uudecode: check-uudecode
23505 check-uudecode:
23506 @r=`${PWD_COMMAND}`; export r; \
23507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23508 $(HOST_EXPORTS) \
23509 (cd $(HOST_SUBDIR)/uudecode && \
23510 $(MAKE) $(FLAGS_TO_PASS) check)
23512 @endif uudecode
23514 .PHONY: install-uudecode maybe-install-uudecode
23515 maybe-install-uudecode:
23516 @if uudecode
23517 maybe-install-uudecode: install-uudecode
23519 install-uudecode: installdirs
23520 @r=`${PWD_COMMAND}`; export r; \
23521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23522 $(HOST_EXPORTS) \
23523 (cd $(HOST_SUBDIR)/uudecode && \
23524 $(MAKE) $(FLAGS_TO_PASS) install)
23526 @endif uudecode
23528 # Other targets (info, dvi, etc.)
23530 .PHONY: maybe-info-uudecode info-uudecode
23531 maybe-info-uudecode:
23532 @if uudecode
23533 maybe-info-uudecode: info-uudecode
23535 info-uudecode: \
23536 configure-uudecode
23537 @[ -f ./uudecode/Makefile ] || exit 0; \
23538 r=`${PWD_COMMAND}`; export r; \
23539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23540 $(HOST_EXPORTS) \
23541 for flag in $(EXTRA_HOST_FLAGS) ; do \
23542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23543 done; \
23544 echo "Doing info in uudecode" ; \
23545 (cd $(HOST_SUBDIR)/uudecode && \
23546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23548 "RANLIB=$${RANLIB}" \
23549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23550 info) \
23551 || exit 1
23553 @endif uudecode
23555 .PHONY: maybe-dvi-uudecode dvi-uudecode
23556 maybe-dvi-uudecode:
23557 @if uudecode
23558 maybe-dvi-uudecode: dvi-uudecode
23560 dvi-uudecode: \
23561 configure-uudecode
23562 @[ -f ./uudecode/Makefile ] || exit 0; \
23563 r=`${PWD_COMMAND}`; export r; \
23564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23565 $(HOST_EXPORTS) \
23566 for flag in $(EXTRA_HOST_FLAGS) ; do \
23567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23568 done; \
23569 echo "Doing dvi in uudecode" ; \
23570 (cd $(HOST_SUBDIR)/uudecode && \
23571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23573 "RANLIB=$${RANLIB}" \
23574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23575 dvi) \
23576 || exit 1
23578 @endif uudecode
23580 .PHONY: maybe-html-uudecode html-uudecode
23581 maybe-html-uudecode:
23582 @if uudecode
23583 maybe-html-uudecode: html-uudecode
23585 html-uudecode: \
23586 configure-uudecode
23587 @[ -f ./uudecode/Makefile ] || exit 0; \
23588 r=`${PWD_COMMAND}`; export r; \
23589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23590 $(HOST_EXPORTS) \
23591 for flag in $(EXTRA_HOST_FLAGS) ; do \
23592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23593 done; \
23594 echo "Doing html in uudecode" ; \
23595 (cd $(HOST_SUBDIR)/uudecode && \
23596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23598 "RANLIB=$${RANLIB}" \
23599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23600 html) \
23601 || exit 1
23603 @endif uudecode
23605 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
23606 maybe-TAGS-uudecode:
23607 @if uudecode
23608 maybe-TAGS-uudecode: TAGS-uudecode
23610 TAGS-uudecode: \
23611 configure-uudecode
23612 @[ -f ./uudecode/Makefile ] || exit 0; \
23613 r=`${PWD_COMMAND}`; export r; \
23614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23615 $(HOST_EXPORTS) \
23616 for flag in $(EXTRA_HOST_FLAGS) ; do \
23617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23618 done; \
23619 echo "Doing TAGS in uudecode" ; \
23620 (cd $(HOST_SUBDIR)/uudecode && \
23621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23623 "RANLIB=$${RANLIB}" \
23624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23625 TAGS) \
23626 || exit 1
23628 @endif uudecode
23630 .PHONY: maybe-install-info-uudecode install-info-uudecode
23631 maybe-install-info-uudecode:
23632 @if uudecode
23633 maybe-install-info-uudecode: install-info-uudecode
23635 install-info-uudecode: \
23636 configure-uudecode \
23637 info-uudecode
23638 @[ -f ./uudecode/Makefile ] || exit 0; \
23639 r=`${PWD_COMMAND}`; export r; \
23640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23641 $(HOST_EXPORTS) \
23642 for flag in $(EXTRA_HOST_FLAGS) ; do \
23643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23644 done; \
23645 echo "Doing install-info in uudecode" ; \
23646 (cd $(HOST_SUBDIR)/uudecode && \
23647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23649 "RANLIB=$${RANLIB}" \
23650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23651 install-info) \
23652 || exit 1
23654 @endif uudecode
23656 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
23657 maybe-installcheck-uudecode:
23658 @if uudecode
23659 maybe-installcheck-uudecode: installcheck-uudecode
23661 installcheck-uudecode: \
23662 configure-uudecode
23663 @[ -f ./uudecode/Makefile ] || exit 0; \
23664 r=`${PWD_COMMAND}`; export r; \
23665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23666 $(HOST_EXPORTS) \
23667 for flag in $(EXTRA_HOST_FLAGS) ; do \
23668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23669 done; \
23670 echo "Doing installcheck in uudecode" ; \
23671 (cd $(HOST_SUBDIR)/uudecode && \
23672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23674 "RANLIB=$${RANLIB}" \
23675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23676 installcheck) \
23677 || exit 1
23679 @endif uudecode
23681 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
23682 maybe-mostlyclean-uudecode:
23683 @if uudecode
23684 maybe-mostlyclean-uudecode: mostlyclean-uudecode
23686 mostlyclean-uudecode:
23687 @[ -f ./uudecode/Makefile ] || exit 0; \
23688 r=`${PWD_COMMAND}`; export r; \
23689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23690 $(HOST_EXPORTS) \
23691 for flag in $(EXTRA_HOST_FLAGS) ; do \
23692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23693 done; \
23694 echo "Doing mostlyclean in uudecode" ; \
23695 (cd $(HOST_SUBDIR)/uudecode && \
23696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23698 "RANLIB=$${RANLIB}" \
23699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23700 mostlyclean) \
23701 || exit 1
23703 @endif uudecode
23705 .PHONY: maybe-clean-uudecode clean-uudecode
23706 maybe-clean-uudecode:
23707 @if uudecode
23708 maybe-clean-uudecode: clean-uudecode
23710 clean-uudecode:
23711 @[ -f ./uudecode/Makefile ] || exit 0; \
23712 r=`${PWD_COMMAND}`; export r; \
23713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23714 $(HOST_EXPORTS) \
23715 for flag in $(EXTRA_HOST_FLAGS) ; do \
23716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23717 done; \
23718 echo "Doing clean in uudecode" ; \
23719 (cd $(HOST_SUBDIR)/uudecode && \
23720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23722 "RANLIB=$${RANLIB}" \
23723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23724 clean) \
23725 || exit 1
23727 @endif uudecode
23729 .PHONY: maybe-distclean-uudecode distclean-uudecode
23730 maybe-distclean-uudecode:
23731 @if uudecode
23732 maybe-distclean-uudecode: distclean-uudecode
23734 distclean-uudecode:
23735 @[ -f ./uudecode/Makefile ] || exit 0; \
23736 r=`${PWD_COMMAND}`; export r; \
23737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23738 $(HOST_EXPORTS) \
23739 for flag in $(EXTRA_HOST_FLAGS) ; do \
23740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23741 done; \
23742 echo "Doing distclean in uudecode" ; \
23743 (cd $(HOST_SUBDIR)/uudecode && \
23744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23746 "RANLIB=$${RANLIB}" \
23747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23748 distclean) \
23749 || exit 1
23751 @endif uudecode
23753 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
23754 maybe-maintainer-clean-uudecode:
23755 @if uudecode
23756 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
23758 maintainer-clean-uudecode:
23759 @[ -f ./uudecode/Makefile ] || exit 0; \
23760 r=`${PWD_COMMAND}`; export r; \
23761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23762 $(HOST_EXPORTS) \
23763 for flag in $(EXTRA_HOST_FLAGS) ; do \
23764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23765 done; \
23766 echo "Doing maintainer-clean in uudecode" ; \
23767 (cd $(HOST_SUBDIR)/uudecode && \
23768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23770 "RANLIB=$${RANLIB}" \
23771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23772 maintainer-clean) \
23773 || exit 1
23775 @endif uudecode
23779 .PHONY: configure-wdiff maybe-configure-wdiff
23780 maybe-configure-wdiff:
23781 @if wdiff
23782 maybe-configure-wdiff: configure-wdiff
23783 configure-wdiff:
23784 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
23785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
23786 r=`${PWD_COMMAND}`; export r; \
23787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23788 $(HOST_EXPORTS) \
23789 echo Configuring in $(HOST_SUBDIR)/wdiff; \
23790 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
23791 case $(srcdir) in \
23792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23793 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
23794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23795 esac; \
23796 srcdiroption="--srcdir=$${topdir}/wdiff"; \
23797 libsrcdir="$$s/wdiff"; \
23798 $(SHELL) $${libsrcdir}/configure \
23799 $(HOST_CONFIGARGS) $${srcdiroption} \
23800 || exit 1
23801 @endif wdiff
23807 .PHONY: all-wdiff maybe-all-wdiff
23808 maybe-all-wdiff:
23809 @if wdiff
23810 TARGET-wdiff=all
23811 maybe-all-wdiff: all-wdiff
23812 all-wdiff: configure-wdiff
23813 @r=`${PWD_COMMAND}`; export r; \
23814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23815 $(HOST_EXPORTS) \
23816 (cd $(HOST_SUBDIR)/wdiff && \
23817 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
23818 @endif wdiff
23823 .PHONY: check-wdiff maybe-check-wdiff
23824 maybe-check-wdiff:
23825 @if wdiff
23826 maybe-check-wdiff: check-wdiff
23828 check-wdiff:
23829 @r=`${PWD_COMMAND}`; export r; \
23830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23831 $(HOST_EXPORTS) \
23832 (cd $(HOST_SUBDIR)/wdiff && \
23833 $(MAKE) $(FLAGS_TO_PASS) check)
23835 @endif wdiff
23837 .PHONY: install-wdiff maybe-install-wdiff
23838 maybe-install-wdiff:
23839 @if wdiff
23840 maybe-install-wdiff: install-wdiff
23842 install-wdiff: installdirs
23843 @r=`${PWD_COMMAND}`; export r; \
23844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23845 $(HOST_EXPORTS) \
23846 (cd $(HOST_SUBDIR)/wdiff && \
23847 $(MAKE) $(FLAGS_TO_PASS) install)
23849 @endif wdiff
23851 # Other targets (info, dvi, etc.)
23853 .PHONY: maybe-info-wdiff info-wdiff
23854 maybe-info-wdiff:
23855 @if wdiff
23856 maybe-info-wdiff: info-wdiff
23858 info-wdiff: \
23859 configure-wdiff
23860 @[ -f ./wdiff/Makefile ] || exit 0; \
23861 r=`${PWD_COMMAND}`; export r; \
23862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23863 $(HOST_EXPORTS) \
23864 for flag in $(EXTRA_HOST_FLAGS) ; do \
23865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23866 done; \
23867 echo "Doing info in wdiff" ; \
23868 (cd $(HOST_SUBDIR)/wdiff && \
23869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23871 "RANLIB=$${RANLIB}" \
23872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23873 info) \
23874 || exit 1
23876 @endif wdiff
23878 .PHONY: maybe-dvi-wdiff dvi-wdiff
23879 maybe-dvi-wdiff:
23880 @if wdiff
23881 maybe-dvi-wdiff: dvi-wdiff
23883 dvi-wdiff: \
23884 configure-wdiff
23885 @[ -f ./wdiff/Makefile ] || exit 0; \
23886 r=`${PWD_COMMAND}`; export r; \
23887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23888 $(HOST_EXPORTS) \
23889 for flag in $(EXTRA_HOST_FLAGS) ; do \
23890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23891 done; \
23892 echo "Doing dvi in wdiff" ; \
23893 (cd $(HOST_SUBDIR)/wdiff && \
23894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23896 "RANLIB=$${RANLIB}" \
23897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23898 dvi) \
23899 || exit 1
23901 @endif wdiff
23903 .PHONY: maybe-html-wdiff html-wdiff
23904 maybe-html-wdiff:
23905 @if wdiff
23906 maybe-html-wdiff: html-wdiff
23908 html-wdiff: \
23909 configure-wdiff
23910 @[ -f ./wdiff/Makefile ] || exit 0; \
23911 r=`${PWD_COMMAND}`; export r; \
23912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23913 $(HOST_EXPORTS) \
23914 for flag in $(EXTRA_HOST_FLAGS) ; do \
23915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23916 done; \
23917 echo "Doing html in wdiff" ; \
23918 (cd $(HOST_SUBDIR)/wdiff && \
23919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23921 "RANLIB=$${RANLIB}" \
23922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23923 html) \
23924 || exit 1
23926 @endif wdiff
23928 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
23929 maybe-TAGS-wdiff:
23930 @if wdiff
23931 maybe-TAGS-wdiff: TAGS-wdiff
23933 TAGS-wdiff: \
23934 configure-wdiff
23935 @[ -f ./wdiff/Makefile ] || exit 0; \
23936 r=`${PWD_COMMAND}`; export r; \
23937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23938 $(HOST_EXPORTS) \
23939 for flag in $(EXTRA_HOST_FLAGS) ; do \
23940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23941 done; \
23942 echo "Doing TAGS in wdiff" ; \
23943 (cd $(HOST_SUBDIR)/wdiff && \
23944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23946 "RANLIB=$${RANLIB}" \
23947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23948 TAGS) \
23949 || exit 1
23951 @endif wdiff
23953 .PHONY: maybe-install-info-wdiff install-info-wdiff
23954 maybe-install-info-wdiff:
23955 @if wdiff
23956 maybe-install-info-wdiff: install-info-wdiff
23958 install-info-wdiff: \
23959 configure-wdiff \
23960 info-wdiff
23961 @[ -f ./wdiff/Makefile ] || exit 0; \
23962 r=`${PWD_COMMAND}`; export r; \
23963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23964 $(HOST_EXPORTS) \
23965 for flag in $(EXTRA_HOST_FLAGS) ; do \
23966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23967 done; \
23968 echo "Doing install-info in wdiff" ; \
23969 (cd $(HOST_SUBDIR)/wdiff && \
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 install-info) \
23975 || exit 1
23977 @endif wdiff
23979 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
23980 maybe-installcheck-wdiff:
23981 @if wdiff
23982 maybe-installcheck-wdiff: installcheck-wdiff
23984 installcheck-wdiff: \
23985 configure-wdiff
23986 @[ -f ./wdiff/Makefile ] || exit 0; \
23987 r=`${PWD_COMMAND}`; export r; \
23988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23989 $(HOST_EXPORTS) \
23990 for flag in $(EXTRA_HOST_FLAGS) ; do \
23991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23992 done; \
23993 echo "Doing installcheck in wdiff" ; \
23994 (cd $(HOST_SUBDIR)/wdiff && \
23995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23997 "RANLIB=$${RANLIB}" \
23998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23999 installcheck) \
24000 || exit 1
24002 @endif wdiff
24004 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
24005 maybe-mostlyclean-wdiff:
24006 @if wdiff
24007 maybe-mostlyclean-wdiff: mostlyclean-wdiff
24009 mostlyclean-wdiff:
24010 @[ -f ./wdiff/Makefile ] || exit 0; \
24011 r=`${PWD_COMMAND}`; export r; \
24012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24013 $(HOST_EXPORTS) \
24014 for flag in $(EXTRA_HOST_FLAGS) ; do \
24015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24016 done; \
24017 echo "Doing mostlyclean in wdiff" ; \
24018 (cd $(HOST_SUBDIR)/wdiff && \
24019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24021 "RANLIB=$${RANLIB}" \
24022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24023 mostlyclean) \
24024 || exit 1
24026 @endif wdiff
24028 .PHONY: maybe-clean-wdiff clean-wdiff
24029 maybe-clean-wdiff:
24030 @if wdiff
24031 maybe-clean-wdiff: clean-wdiff
24033 clean-wdiff:
24034 @[ -f ./wdiff/Makefile ] || exit 0; \
24035 r=`${PWD_COMMAND}`; export r; \
24036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24037 $(HOST_EXPORTS) \
24038 for flag in $(EXTRA_HOST_FLAGS) ; do \
24039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24040 done; \
24041 echo "Doing clean in wdiff" ; \
24042 (cd $(HOST_SUBDIR)/wdiff && \
24043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24045 "RANLIB=$${RANLIB}" \
24046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24047 clean) \
24048 || exit 1
24050 @endif wdiff
24052 .PHONY: maybe-distclean-wdiff distclean-wdiff
24053 maybe-distclean-wdiff:
24054 @if wdiff
24055 maybe-distclean-wdiff: distclean-wdiff
24057 distclean-wdiff:
24058 @[ -f ./wdiff/Makefile ] || exit 0; \
24059 r=`${PWD_COMMAND}`; export r; \
24060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24061 $(HOST_EXPORTS) \
24062 for flag in $(EXTRA_HOST_FLAGS) ; do \
24063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24064 done; \
24065 echo "Doing distclean in wdiff" ; \
24066 (cd $(HOST_SUBDIR)/wdiff && \
24067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24069 "RANLIB=$${RANLIB}" \
24070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24071 distclean) \
24072 || exit 1
24074 @endif wdiff
24076 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
24077 maybe-maintainer-clean-wdiff:
24078 @if wdiff
24079 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
24081 maintainer-clean-wdiff:
24082 @[ -f ./wdiff/Makefile ] || exit 0; \
24083 r=`${PWD_COMMAND}`; export r; \
24084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24085 $(HOST_EXPORTS) \
24086 for flag in $(EXTRA_HOST_FLAGS) ; do \
24087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24088 done; \
24089 echo "Doing maintainer-clean in wdiff" ; \
24090 (cd $(HOST_SUBDIR)/wdiff && \
24091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24093 "RANLIB=$${RANLIB}" \
24094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24095 maintainer-clean) \
24096 || exit 1
24098 @endif wdiff
24102 .PHONY: configure-zip maybe-configure-zip
24103 maybe-configure-zip:
24104 @if zip
24105 maybe-configure-zip: configure-zip
24106 configure-zip:
24107 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
24108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
24109 r=`${PWD_COMMAND}`; export r; \
24110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24111 $(HOST_EXPORTS) \
24112 echo Configuring in $(HOST_SUBDIR)/zip; \
24113 cd "$(HOST_SUBDIR)/zip" || exit 1; \
24114 case $(srcdir) in \
24115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24116 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
24117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24118 esac; \
24119 srcdiroption="--srcdir=$${topdir}/zip"; \
24120 libsrcdir="$$s/zip"; \
24121 $(SHELL) $${libsrcdir}/configure \
24122 $(HOST_CONFIGARGS) $${srcdiroption} \
24123 || exit 1
24124 @endif zip
24130 .PHONY: all-zip maybe-all-zip
24131 maybe-all-zip:
24132 @if zip
24133 TARGET-zip=all
24134 maybe-all-zip: all-zip
24135 all-zip: configure-zip
24136 @r=`${PWD_COMMAND}`; export r; \
24137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24138 $(HOST_EXPORTS) \
24139 (cd $(HOST_SUBDIR)/zip && \
24140 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
24141 @endif zip
24146 .PHONY: check-zip maybe-check-zip
24147 maybe-check-zip:
24148 @if zip
24149 maybe-check-zip: check-zip
24151 # This module is only tested in a native toolchain.
24152 check-zip:
24153 @if [ '$(host)' = '$(target)' ] ; then \
24154 r=`${PWD_COMMAND}`; export r; \
24155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24156 $(HOST_EXPORTS) \
24157 (cd $(HOST_SUBDIR)/zip && \
24158 $(MAKE) $(FLAGS_TO_PASS) check); \
24161 @endif zip
24163 .PHONY: install-zip maybe-install-zip
24164 maybe-install-zip:
24165 @if zip
24166 maybe-install-zip: install-zip
24168 install-zip: installdirs
24169 @r=`${PWD_COMMAND}`; export r; \
24170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24171 $(HOST_EXPORTS) \
24172 (cd $(HOST_SUBDIR)/zip && \
24173 $(MAKE) $(FLAGS_TO_PASS) install)
24175 @endif zip
24177 # Other targets (info, dvi, etc.)
24179 .PHONY: maybe-info-zip info-zip
24180 maybe-info-zip:
24181 @if zip
24182 maybe-info-zip: info-zip
24184 info-zip: \
24185 configure-zip
24186 @[ -f ./zip/Makefile ] || exit 0; \
24187 r=`${PWD_COMMAND}`; export r; \
24188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24189 $(HOST_EXPORTS) \
24190 for flag in $(EXTRA_HOST_FLAGS) ; do \
24191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24192 done; \
24193 echo "Doing info in zip" ; \
24194 (cd $(HOST_SUBDIR)/zip && \
24195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24197 "RANLIB=$${RANLIB}" \
24198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24199 info) \
24200 || exit 1
24202 @endif zip
24204 .PHONY: maybe-dvi-zip dvi-zip
24205 maybe-dvi-zip:
24206 @if zip
24207 maybe-dvi-zip: dvi-zip
24209 dvi-zip: \
24210 configure-zip
24211 @[ -f ./zip/Makefile ] || exit 0; \
24212 r=`${PWD_COMMAND}`; export r; \
24213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24214 $(HOST_EXPORTS) \
24215 for flag in $(EXTRA_HOST_FLAGS) ; do \
24216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24217 done; \
24218 echo "Doing dvi in zip" ; \
24219 (cd $(HOST_SUBDIR)/zip && \
24220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24222 "RANLIB=$${RANLIB}" \
24223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24224 dvi) \
24225 || exit 1
24227 @endif zip
24229 .PHONY: maybe-html-zip html-zip
24230 maybe-html-zip:
24231 @if zip
24232 maybe-html-zip: html-zip
24234 html-zip: \
24235 configure-zip
24236 @[ -f ./zip/Makefile ] || exit 0; \
24237 r=`${PWD_COMMAND}`; export r; \
24238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24239 $(HOST_EXPORTS) \
24240 for flag in $(EXTRA_HOST_FLAGS) ; do \
24241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24242 done; \
24243 echo "Doing html in zip" ; \
24244 (cd $(HOST_SUBDIR)/zip && \
24245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24247 "RANLIB=$${RANLIB}" \
24248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24249 html) \
24250 || exit 1
24252 @endif zip
24254 .PHONY: maybe-TAGS-zip TAGS-zip
24255 maybe-TAGS-zip:
24256 @if zip
24257 maybe-TAGS-zip: TAGS-zip
24259 TAGS-zip: \
24260 configure-zip
24261 @[ -f ./zip/Makefile ] || exit 0; \
24262 r=`${PWD_COMMAND}`; export r; \
24263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24264 $(HOST_EXPORTS) \
24265 for flag in $(EXTRA_HOST_FLAGS) ; do \
24266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24267 done; \
24268 echo "Doing TAGS in zip" ; \
24269 (cd $(HOST_SUBDIR)/zip && \
24270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24272 "RANLIB=$${RANLIB}" \
24273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24274 TAGS) \
24275 || exit 1
24277 @endif zip
24279 .PHONY: maybe-install-info-zip install-info-zip
24280 maybe-install-info-zip:
24281 @if zip
24282 maybe-install-info-zip: install-info-zip
24284 install-info-zip: \
24285 configure-zip \
24286 info-zip
24287 @[ -f ./zip/Makefile ] || exit 0; \
24288 r=`${PWD_COMMAND}`; export r; \
24289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24290 $(HOST_EXPORTS) \
24291 for flag in $(EXTRA_HOST_FLAGS) ; do \
24292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24293 done; \
24294 echo "Doing install-info in zip" ; \
24295 (cd $(HOST_SUBDIR)/zip && \
24296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24298 "RANLIB=$${RANLIB}" \
24299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24300 install-info) \
24301 || exit 1
24303 @endif zip
24305 .PHONY: maybe-installcheck-zip installcheck-zip
24306 maybe-installcheck-zip:
24307 @if zip
24308 maybe-installcheck-zip: installcheck-zip
24310 installcheck-zip: \
24311 configure-zip
24312 @[ -f ./zip/Makefile ] || exit 0; \
24313 r=`${PWD_COMMAND}`; export r; \
24314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24315 $(HOST_EXPORTS) \
24316 for flag in $(EXTRA_HOST_FLAGS) ; do \
24317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24318 done; \
24319 echo "Doing installcheck in zip" ; \
24320 (cd $(HOST_SUBDIR)/zip && \
24321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24323 "RANLIB=$${RANLIB}" \
24324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24325 installcheck) \
24326 || exit 1
24328 @endif zip
24330 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
24331 maybe-mostlyclean-zip:
24332 @if zip
24333 maybe-mostlyclean-zip: mostlyclean-zip
24335 mostlyclean-zip:
24336 @[ -f ./zip/Makefile ] || exit 0; \
24337 r=`${PWD_COMMAND}`; export r; \
24338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24339 $(HOST_EXPORTS) \
24340 for flag in $(EXTRA_HOST_FLAGS) ; do \
24341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24342 done; \
24343 echo "Doing mostlyclean in zip" ; \
24344 (cd $(HOST_SUBDIR)/zip && \
24345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24347 "RANLIB=$${RANLIB}" \
24348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24349 mostlyclean) \
24350 || exit 1
24352 @endif zip
24354 .PHONY: maybe-clean-zip clean-zip
24355 maybe-clean-zip:
24356 @if zip
24357 maybe-clean-zip: clean-zip
24359 clean-zip:
24360 @[ -f ./zip/Makefile ] || exit 0; \
24361 r=`${PWD_COMMAND}`; export r; \
24362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24363 $(HOST_EXPORTS) \
24364 for flag in $(EXTRA_HOST_FLAGS) ; do \
24365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24366 done; \
24367 echo "Doing clean in zip" ; \
24368 (cd $(HOST_SUBDIR)/zip && \
24369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24371 "RANLIB=$${RANLIB}" \
24372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24373 clean) \
24374 || exit 1
24376 @endif zip
24378 .PHONY: maybe-distclean-zip distclean-zip
24379 maybe-distclean-zip:
24380 @if zip
24381 maybe-distclean-zip: distclean-zip
24383 distclean-zip:
24384 @[ -f ./zip/Makefile ] || exit 0; \
24385 r=`${PWD_COMMAND}`; export r; \
24386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24387 $(HOST_EXPORTS) \
24388 for flag in $(EXTRA_HOST_FLAGS) ; do \
24389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24390 done; \
24391 echo "Doing distclean in zip" ; \
24392 (cd $(HOST_SUBDIR)/zip && \
24393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24395 "RANLIB=$${RANLIB}" \
24396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24397 distclean) \
24398 || exit 1
24400 @endif zip
24402 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
24403 maybe-maintainer-clean-zip:
24404 @if zip
24405 maybe-maintainer-clean-zip: maintainer-clean-zip
24407 maintainer-clean-zip:
24408 @[ -f ./zip/Makefile ] || exit 0; \
24409 r=`${PWD_COMMAND}`; export r; \
24410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24411 $(HOST_EXPORTS) \
24412 for flag in $(EXTRA_HOST_FLAGS) ; do \
24413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24414 done; \
24415 echo "Doing maintainer-clean in zip" ; \
24416 (cd $(HOST_SUBDIR)/zip && \
24417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24419 "RANLIB=$${RANLIB}" \
24420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24421 maintainer-clean) \
24422 || exit 1
24424 @endif zip
24428 .PHONY: configure-zlib maybe-configure-zlib
24429 maybe-configure-zlib:
24430 @if zlib
24431 maybe-configure-zlib: configure-zlib
24432 configure-zlib:
24433 @test -f stage_last && exit 0; \
24434 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
24435 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
24436 r=`${PWD_COMMAND}`; export r; \
24437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24438 $(HOST_EXPORTS) \
24439 echo Configuring in $(HOST_SUBDIR)/zlib; \
24440 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
24441 case $(srcdir) in \
24442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24443 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24445 esac; \
24446 srcdiroption="--srcdir=$${topdir}/zlib"; \
24447 libsrcdir="$$s/zlib"; \
24448 $(SHELL) $${libsrcdir}/configure \
24449 $(HOST_CONFIGARGS) $${srcdiroption} \
24450 || exit 1
24451 @endif zlib
24455 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
24456 maybe-configure-stage1-zlib:
24457 @if zlib-bootstrap
24458 maybe-configure-stage1-zlib: configure-stage1-zlib
24459 configure-stage1-zlib:
24460 @$(MAKE) stage1-start
24461 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24462 r=`${PWD_COMMAND}`; export r; \
24463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24464 $(HOST_EXPORTS) \
24465 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
24466 cd $(HOST_SUBDIR)/zlib || exit 1; \
24467 case $(srcdir) in \
24468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24469 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24471 esac; \
24472 srcdiroption="--srcdir=$${topdir}/zlib"; \
24473 libsrcdir="$$s/zlib"; \
24474 $(SHELL) $${libsrcdir}/configure \
24475 $(HOST_CONFIGARGS) $${srcdiroption} \
24476 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
24477 @endif zlib-bootstrap
24479 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
24480 maybe-configure-stage2-zlib:
24481 @if zlib-bootstrap
24482 maybe-configure-stage2-zlib: configure-stage2-zlib
24483 configure-stage2-zlib:
24484 @$(MAKE) stage2-start
24485 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24486 r=`${PWD_COMMAND}`; export r; \
24487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24488 $(HOST_EXPORTS) \
24489 $(POSTSTAGE1_HOST_EXPORTS) \
24490 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
24491 cd $(HOST_SUBDIR)/zlib || exit 1; \
24492 case $(srcdir) in \
24493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24494 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24496 esac; \
24497 srcdiroption="--srcdir=$${topdir}/zlib"; \
24498 libsrcdir="$$s/zlib"; \
24499 $(SHELL) $${libsrcdir}/configure \
24500 $(HOST_CONFIGARGS) $${srcdiroption} \
24501 @stage2_werror_flag@
24502 @endif zlib-bootstrap
24504 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
24505 maybe-configure-stage3-zlib:
24506 @if zlib-bootstrap
24507 maybe-configure-stage3-zlib: configure-stage3-zlib
24508 configure-stage3-zlib:
24509 @$(MAKE) stage3-start
24510 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24511 r=`${PWD_COMMAND}`; export r; \
24512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24513 $(HOST_EXPORTS) \
24514 $(POSTSTAGE1_HOST_EXPORTS) \
24515 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
24516 cd $(HOST_SUBDIR)/zlib || exit 1; \
24517 case $(srcdir) in \
24518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24519 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24521 esac; \
24522 srcdiroption="--srcdir=$${topdir}/zlib"; \
24523 libsrcdir="$$s/zlib"; \
24524 $(SHELL) $${libsrcdir}/configure \
24525 $(HOST_CONFIGARGS) $${srcdiroption} \
24526 @stage2_werror_flag@
24527 @endif zlib-bootstrap
24529 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
24530 maybe-configure-stage4-zlib:
24531 @if zlib-bootstrap
24532 maybe-configure-stage4-zlib: configure-stage4-zlib
24533 configure-stage4-zlib:
24534 @$(MAKE) stage4-start
24535 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24536 r=`${PWD_COMMAND}`; export r; \
24537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24538 $(HOST_EXPORTS) \
24539 $(POSTSTAGE1_HOST_EXPORTS) \
24540 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
24541 cd $(HOST_SUBDIR)/zlib || exit 1; \
24542 case $(srcdir) in \
24543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24544 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24546 esac; \
24547 srcdiroption="--srcdir=$${topdir}/zlib"; \
24548 libsrcdir="$$s/zlib"; \
24549 $(SHELL) $${libsrcdir}/configure \
24550 $(HOST_CONFIGARGS) $${srcdiroption} \
24551 @stage2_werror_flag@
24552 @endif zlib-bootstrap
24554 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
24555 maybe-configure-stageprofile-zlib:
24556 @if zlib-bootstrap
24557 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
24558 configure-stageprofile-zlib:
24559 @$(MAKE) stageprofile-start
24560 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24561 r=`${PWD_COMMAND}`; export r; \
24562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24563 $(HOST_EXPORTS) \
24564 $(POSTSTAGE1_HOST_EXPORTS) \
24565 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
24566 cd $(HOST_SUBDIR)/zlib || exit 1; \
24567 case $(srcdir) in \
24568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24569 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24571 esac; \
24572 srcdiroption="--srcdir=$${topdir}/zlib"; \
24573 libsrcdir="$$s/zlib"; \
24574 $(SHELL) $${libsrcdir}/configure \
24575 $(HOST_CONFIGARGS) $${srcdiroption} \
24576 @stage2_werror_flag@
24577 @endif zlib-bootstrap
24579 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
24580 maybe-configure-stagefeedback-zlib:
24581 @if zlib-bootstrap
24582 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
24583 configure-stagefeedback-zlib:
24584 @$(MAKE) stagefeedback-start
24585 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24586 r=`${PWD_COMMAND}`; export r; \
24587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24588 $(HOST_EXPORTS) \
24589 $(POSTSTAGE1_HOST_EXPORTS) \
24590 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
24591 cd $(HOST_SUBDIR)/zlib || exit 1; \
24592 case $(srcdir) in \
24593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24594 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24596 esac; \
24597 srcdiroption="--srcdir=$${topdir}/zlib"; \
24598 libsrcdir="$$s/zlib"; \
24599 $(SHELL) $${libsrcdir}/configure \
24600 $(HOST_CONFIGARGS) $${srcdiroption} \
24601 @stage2_werror_flag@
24602 @endif zlib-bootstrap
24608 .PHONY: all-zlib maybe-all-zlib
24609 maybe-all-zlib:
24610 @if zlib
24611 TARGET-zlib=all
24612 maybe-all-zlib: all-zlib
24613 all-zlib: configure-zlib
24614 @test -f stage_last && exit 0; \
24615 r=`${PWD_COMMAND}`; export r; \
24616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24617 $(HOST_EXPORTS) \
24618 (cd $(HOST_SUBDIR)/zlib && \
24619 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
24620 @endif zlib
24624 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
24625 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
24626 maybe-all-stage1-zlib:
24627 maybe-clean-stage1-zlib:
24628 @if zlib-bootstrap
24629 maybe-all-stage1-zlib: all-stage1-zlib
24630 all-stage1: all-stage1-zlib
24631 all-stage1-zlib: configure-stage1-zlib
24632 @$(MAKE) stage1-start
24633 @r=`${PWD_COMMAND}`; export r; \
24634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24635 $(HOST_EXPORTS) \
24636 cd $(HOST_SUBDIR)/zlib && \
24637 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
24639 maybe-clean-stage1-zlib: clean-stage1-zlib
24640 clean-stage1: clean-stage1-zlib
24641 clean-stage1-zlib:
24642 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
24643 || exit 0 ; \
24644 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage1-start ; \
24645 cd $(HOST_SUBDIR)/zlib && \
24646 $(MAKE) $(FLAGS_TO_PASS) \
24647 CFLAGS="$(STAGE1_CFLAGS)" clean
24648 @endif zlib-bootstrap
24651 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
24652 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
24653 maybe-all-stage2-zlib:
24654 maybe-clean-stage2-zlib:
24655 @if zlib-bootstrap
24656 maybe-all-stage2-zlib: all-stage2-zlib
24657 all-stage2: all-stage2-zlib
24658 all-stage2-zlib: configure-stage2-zlib
24659 @$(MAKE) stage2-start
24660 @r=`${PWD_COMMAND}`; export r; \
24661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24662 $(HOST_EXPORTS) \
24663 $(POSTSTAGE1_HOST_EXPORTS) \
24664 cd $(HOST_SUBDIR)/zlib && \
24665 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
24667 maybe-clean-stage2-zlib: clean-stage2-zlib
24668 clean-stage2: clean-stage2-zlib
24669 clean-stage2-zlib:
24670 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
24671 || exit 0 ; \
24672 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage2-start ; \
24673 cd $(HOST_SUBDIR)/zlib && \
24674 $(MAKE) $(FLAGS_TO_PASS) \
24675 $(POSTSTAGE1_FLAGS_TO_PASS) \
24676 clean
24677 @endif zlib-bootstrap
24680 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
24681 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
24682 maybe-all-stage3-zlib:
24683 maybe-clean-stage3-zlib:
24684 @if zlib-bootstrap
24685 maybe-all-stage3-zlib: all-stage3-zlib
24686 all-stage3: all-stage3-zlib
24687 all-stage3-zlib: configure-stage3-zlib
24688 @$(MAKE) stage3-start
24689 @r=`${PWD_COMMAND}`; export r; \
24690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24691 $(HOST_EXPORTS) \
24692 $(POSTSTAGE1_HOST_EXPORTS) \
24693 cd $(HOST_SUBDIR)/zlib && \
24694 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
24696 maybe-clean-stage3-zlib: clean-stage3-zlib
24697 clean-stage3: clean-stage3-zlib
24698 clean-stage3-zlib:
24699 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
24700 || exit 0 ; \
24701 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage3-start ; \
24702 cd $(HOST_SUBDIR)/zlib && \
24703 $(MAKE) $(FLAGS_TO_PASS) \
24704 $(POSTSTAGE1_FLAGS_TO_PASS) \
24705 clean
24706 @endif zlib-bootstrap
24709 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
24710 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
24711 maybe-all-stage4-zlib:
24712 maybe-clean-stage4-zlib:
24713 @if zlib-bootstrap
24714 maybe-all-stage4-zlib: all-stage4-zlib
24715 all-stage4: all-stage4-zlib
24716 all-stage4-zlib: configure-stage4-zlib
24717 @$(MAKE) stage4-start
24718 @r=`${PWD_COMMAND}`; export r; \
24719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24720 $(HOST_EXPORTS) \
24721 $(POSTSTAGE1_HOST_EXPORTS) \
24722 cd $(HOST_SUBDIR)/zlib && \
24723 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
24725 maybe-clean-stage4-zlib: clean-stage4-zlib
24726 clean-stage4: clean-stage4-zlib
24727 clean-stage4-zlib:
24728 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
24729 || exit 0 ; \
24730 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage4-start ; \
24731 cd $(HOST_SUBDIR)/zlib && \
24732 $(MAKE) $(FLAGS_TO_PASS) \
24733 $(POSTSTAGE1_FLAGS_TO_PASS) \
24734 clean
24735 @endif zlib-bootstrap
24738 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
24739 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
24740 maybe-all-stageprofile-zlib:
24741 maybe-clean-stageprofile-zlib:
24742 @if zlib-bootstrap
24743 maybe-all-stageprofile-zlib: all-stageprofile-zlib
24744 all-stageprofile: all-stageprofile-zlib
24745 all-stageprofile-zlib: configure-stageprofile-zlib
24746 @$(MAKE) stageprofile-start
24747 @r=`${PWD_COMMAND}`; export r; \
24748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24749 $(HOST_EXPORTS) \
24750 $(POSTSTAGE1_HOST_EXPORTS) \
24751 cd $(HOST_SUBDIR)/zlib && \
24752 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
24754 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
24755 clean-stageprofile: clean-stageprofile-zlib
24756 clean-stageprofile-zlib:
24757 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
24758 || exit 0 ; \
24759 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stageprofile-start ; \
24760 cd $(HOST_SUBDIR)/zlib && \
24761 $(MAKE) $(FLAGS_TO_PASS) \
24762 $(POSTSTAGE1_FLAGS_TO_PASS) \
24763 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
24764 @endif zlib-bootstrap
24767 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
24768 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
24769 maybe-all-stagefeedback-zlib:
24770 maybe-clean-stagefeedback-zlib:
24771 @if zlib-bootstrap
24772 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
24773 all-stagefeedback: all-stagefeedback-zlib
24774 all-stagefeedback-zlib: configure-stagefeedback-zlib
24775 @$(MAKE) stagefeedback-start
24776 @r=`${PWD_COMMAND}`; export r; \
24777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24778 $(HOST_EXPORTS) \
24779 $(POSTSTAGE1_HOST_EXPORTS) \
24780 cd $(HOST_SUBDIR)/zlib && \
24781 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
24783 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
24784 clean-stagefeedback: clean-stagefeedback-zlib
24785 clean-stagefeedback-zlib:
24786 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
24787 || exit 0 ; \
24788 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
24789 cd $(HOST_SUBDIR)/zlib && \
24790 $(MAKE) $(FLAGS_TO_PASS) \
24791 $(POSTSTAGE1_FLAGS_TO_PASS) \
24792 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
24793 @endif zlib-bootstrap
24799 .PHONY: check-zlib maybe-check-zlib
24800 maybe-check-zlib:
24801 @if zlib
24802 maybe-check-zlib: check-zlib
24804 check-zlib:
24806 @endif zlib
24808 .PHONY: install-zlib maybe-install-zlib
24809 maybe-install-zlib:
24810 @if zlib
24811 maybe-install-zlib: install-zlib
24813 install-zlib:
24815 @endif zlib
24817 # Other targets (info, dvi, etc.)
24819 .PHONY: maybe-info-zlib info-zlib
24820 maybe-info-zlib:
24821 @if zlib
24822 maybe-info-zlib: info-zlib
24824 info-zlib: \
24825 configure-zlib
24826 @[ -f ./zlib/Makefile ] || exit 0; \
24827 r=`${PWD_COMMAND}`; export r; \
24828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24829 $(HOST_EXPORTS) \
24830 for flag in $(EXTRA_HOST_FLAGS) ; do \
24831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24832 done; \
24833 echo "Doing info in zlib" ; \
24834 (cd $(HOST_SUBDIR)/zlib && \
24835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24837 "RANLIB=$${RANLIB}" \
24838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24839 info) \
24840 || exit 1
24842 @endif zlib
24844 .PHONY: maybe-dvi-zlib dvi-zlib
24845 maybe-dvi-zlib:
24846 @if zlib
24847 maybe-dvi-zlib: dvi-zlib
24849 dvi-zlib: \
24850 configure-zlib
24851 @[ -f ./zlib/Makefile ] || exit 0; \
24852 r=`${PWD_COMMAND}`; export r; \
24853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24854 $(HOST_EXPORTS) \
24855 for flag in $(EXTRA_HOST_FLAGS) ; do \
24856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24857 done; \
24858 echo "Doing dvi in zlib" ; \
24859 (cd $(HOST_SUBDIR)/zlib && \
24860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24862 "RANLIB=$${RANLIB}" \
24863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24864 dvi) \
24865 || exit 1
24867 @endif zlib
24869 .PHONY: maybe-html-zlib html-zlib
24870 maybe-html-zlib:
24871 @if zlib
24872 maybe-html-zlib: html-zlib
24874 html-zlib: \
24875 configure-zlib
24876 @[ -f ./zlib/Makefile ] || exit 0; \
24877 r=`${PWD_COMMAND}`; export r; \
24878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24879 $(HOST_EXPORTS) \
24880 for flag in $(EXTRA_HOST_FLAGS) ; do \
24881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24882 done; \
24883 echo "Doing html in zlib" ; \
24884 (cd $(HOST_SUBDIR)/zlib && \
24885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24887 "RANLIB=$${RANLIB}" \
24888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24889 html) \
24890 || exit 1
24892 @endif zlib
24894 .PHONY: maybe-TAGS-zlib TAGS-zlib
24895 maybe-TAGS-zlib:
24896 @if zlib
24897 maybe-TAGS-zlib: TAGS-zlib
24899 TAGS-zlib: \
24900 configure-zlib
24901 @[ -f ./zlib/Makefile ] || exit 0; \
24902 r=`${PWD_COMMAND}`; export r; \
24903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24904 $(HOST_EXPORTS) \
24905 for flag in $(EXTRA_HOST_FLAGS) ; do \
24906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24907 done; \
24908 echo "Doing TAGS in zlib" ; \
24909 (cd $(HOST_SUBDIR)/zlib && \
24910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24912 "RANLIB=$${RANLIB}" \
24913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24914 TAGS) \
24915 || exit 1
24917 @endif zlib
24919 .PHONY: maybe-install-info-zlib install-info-zlib
24920 maybe-install-info-zlib:
24921 @if zlib
24922 maybe-install-info-zlib: install-info-zlib
24924 install-info-zlib: \
24925 configure-zlib \
24926 info-zlib
24927 @[ -f ./zlib/Makefile ] || exit 0; \
24928 r=`${PWD_COMMAND}`; export r; \
24929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24930 $(HOST_EXPORTS) \
24931 for flag in $(EXTRA_HOST_FLAGS) ; do \
24932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24933 done; \
24934 echo "Doing install-info in zlib" ; \
24935 (cd $(HOST_SUBDIR)/zlib && \
24936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24938 "RANLIB=$${RANLIB}" \
24939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24940 install-info) \
24941 || exit 1
24943 @endif zlib
24945 .PHONY: maybe-installcheck-zlib installcheck-zlib
24946 maybe-installcheck-zlib:
24947 @if zlib
24948 maybe-installcheck-zlib: installcheck-zlib
24950 installcheck-zlib: \
24951 configure-zlib
24952 @[ -f ./zlib/Makefile ] || exit 0; \
24953 r=`${PWD_COMMAND}`; export r; \
24954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24955 $(HOST_EXPORTS) \
24956 for flag in $(EXTRA_HOST_FLAGS) ; do \
24957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24958 done; \
24959 echo "Doing installcheck in zlib" ; \
24960 (cd $(HOST_SUBDIR)/zlib && \
24961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24963 "RANLIB=$${RANLIB}" \
24964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24965 installcheck) \
24966 || exit 1
24968 @endif zlib
24970 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
24971 maybe-mostlyclean-zlib:
24972 @if zlib
24973 maybe-mostlyclean-zlib: mostlyclean-zlib
24975 mostlyclean-zlib:
24976 @[ -f ./zlib/Makefile ] || exit 0; \
24977 r=`${PWD_COMMAND}`; export r; \
24978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24979 $(HOST_EXPORTS) \
24980 for flag in $(EXTRA_HOST_FLAGS) ; do \
24981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24982 done; \
24983 echo "Doing mostlyclean in zlib" ; \
24984 (cd $(HOST_SUBDIR)/zlib && \
24985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24987 "RANLIB=$${RANLIB}" \
24988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24989 mostlyclean) \
24990 || exit 1
24992 @endif zlib
24994 .PHONY: maybe-clean-zlib clean-zlib
24995 maybe-clean-zlib:
24996 @if zlib
24997 maybe-clean-zlib: clean-zlib
24999 clean-zlib:
25000 @[ -f ./zlib/Makefile ] || exit 0; \
25001 r=`${PWD_COMMAND}`; export r; \
25002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25003 $(HOST_EXPORTS) \
25004 for flag in $(EXTRA_HOST_FLAGS) ; do \
25005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25006 done; \
25007 echo "Doing clean in zlib" ; \
25008 (cd $(HOST_SUBDIR)/zlib && \
25009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25011 "RANLIB=$${RANLIB}" \
25012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25013 clean) \
25014 || exit 1
25016 @endif zlib
25018 .PHONY: maybe-distclean-zlib distclean-zlib
25019 maybe-distclean-zlib:
25020 @if zlib
25021 maybe-distclean-zlib: distclean-zlib
25023 distclean-zlib:
25024 @[ -f ./zlib/Makefile ] || exit 0; \
25025 r=`${PWD_COMMAND}`; export r; \
25026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25027 $(HOST_EXPORTS) \
25028 for flag in $(EXTRA_HOST_FLAGS) ; do \
25029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25030 done; \
25031 echo "Doing distclean in zlib" ; \
25032 (cd $(HOST_SUBDIR)/zlib && \
25033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25035 "RANLIB=$${RANLIB}" \
25036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25037 distclean) \
25038 || exit 1
25040 @endif zlib
25042 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
25043 maybe-maintainer-clean-zlib:
25044 @if zlib
25045 maybe-maintainer-clean-zlib: maintainer-clean-zlib
25047 maintainer-clean-zlib:
25048 @[ -f ./zlib/Makefile ] || exit 0; \
25049 r=`${PWD_COMMAND}`; export r; \
25050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25051 $(HOST_EXPORTS) \
25052 for flag in $(EXTRA_HOST_FLAGS) ; do \
25053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25054 done; \
25055 echo "Doing maintainer-clean in zlib" ; \
25056 (cd $(HOST_SUBDIR)/zlib && \
25057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25059 "RANLIB=$${RANLIB}" \
25060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25061 maintainer-clean) \
25062 || exit 1
25064 @endif zlib
25068 .PHONY: configure-gdb maybe-configure-gdb
25069 maybe-configure-gdb:
25070 @if gdb
25071 maybe-configure-gdb: configure-gdb
25072 configure-gdb:
25073 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
25074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
25075 r=`${PWD_COMMAND}`; export r; \
25076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25077 $(HOST_EXPORTS) \
25078 echo Configuring in $(HOST_SUBDIR)/gdb; \
25079 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
25080 case $(srcdir) in \
25081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25082 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
25083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25084 esac; \
25085 srcdiroption="--srcdir=$${topdir}/gdb"; \
25086 libsrcdir="$$s/gdb"; \
25087 $(SHELL) $${libsrcdir}/configure \
25088 $(HOST_CONFIGARGS) $${srcdiroption} \
25089 || exit 1
25090 @endif gdb
25096 .PHONY: all-gdb maybe-all-gdb
25097 maybe-all-gdb:
25098 @if gdb
25099 TARGET-gdb=all
25100 maybe-all-gdb: all-gdb
25101 all-gdb: configure-gdb
25102 @r=`${PWD_COMMAND}`; export r; \
25103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25104 $(HOST_EXPORTS) \
25105 (cd $(HOST_SUBDIR)/gdb && \
25106 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
25107 @endif gdb
25112 .PHONY: check-gdb maybe-check-gdb
25113 maybe-check-gdb:
25114 @if gdb
25115 maybe-check-gdb: check-gdb
25117 check-gdb:
25118 @r=`${PWD_COMMAND}`; export r; \
25119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25120 $(HOST_EXPORTS) \
25121 (cd $(HOST_SUBDIR)/gdb && \
25122 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
25124 @endif gdb
25126 .PHONY: install-gdb maybe-install-gdb
25127 maybe-install-gdb:
25128 @if gdb
25129 maybe-install-gdb: install-gdb
25131 install-gdb: installdirs
25132 @r=`${PWD_COMMAND}`; export r; \
25133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25134 $(HOST_EXPORTS) \
25135 (cd $(HOST_SUBDIR)/gdb && \
25136 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
25138 @endif gdb
25140 # Other targets (info, dvi, etc.)
25142 .PHONY: maybe-info-gdb info-gdb
25143 maybe-info-gdb:
25144 @if gdb
25145 maybe-info-gdb: info-gdb
25147 info-gdb: \
25148 configure-gdb
25149 @[ -f ./gdb/Makefile ] || exit 0; \
25150 r=`${PWD_COMMAND}`; export r; \
25151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25152 $(HOST_EXPORTS) \
25153 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25155 done; \
25156 echo "Doing info in gdb" ; \
25157 (cd $(HOST_SUBDIR)/gdb && \
25158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25160 "RANLIB=$${RANLIB}" \
25161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25162 info) \
25163 || exit 1
25165 @endif gdb
25167 .PHONY: maybe-dvi-gdb dvi-gdb
25168 maybe-dvi-gdb:
25169 @if gdb
25170 maybe-dvi-gdb: dvi-gdb
25172 dvi-gdb: \
25173 configure-gdb
25174 @[ -f ./gdb/Makefile ] || exit 0; \
25175 r=`${PWD_COMMAND}`; export r; \
25176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25177 $(HOST_EXPORTS) \
25178 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25180 done; \
25181 echo "Doing dvi in gdb" ; \
25182 (cd $(HOST_SUBDIR)/gdb && \
25183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25185 "RANLIB=$${RANLIB}" \
25186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25187 dvi) \
25188 || exit 1
25190 @endif gdb
25192 .PHONY: maybe-html-gdb html-gdb
25193 maybe-html-gdb:
25194 @if gdb
25195 maybe-html-gdb: html-gdb
25197 html-gdb: \
25198 configure-gdb
25199 @[ -f ./gdb/Makefile ] || exit 0; \
25200 r=`${PWD_COMMAND}`; export r; \
25201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25202 $(HOST_EXPORTS) \
25203 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25205 done; \
25206 echo "Doing html in gdb" ; \
25207 (cd $(HOST_SUBDIR)/gdb && \
25208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25210 "RANLIB=$${RANLIB}" \
25211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25212 html) \
25213 || exit 1
25215 @endif gdb
25217 .PHONY: maybe-TAGS-gdb TAGS-gdb
25218 maybe-TAGS-gdb:
25219 @if gdb
25220 maybe-TAGS-gdb: TAGS-gdb
25222 TAGS-gdb: \
25223 configure-gdb
25224 @[ -f ./gdb/Makefile ] || exit 0; \
25225 r=`${PWD_COMMAND}`; export r; \
25226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25227 $(HOST_EXPORTS) \
25228 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25230 done; \
25231 echo "Doing TAGS in gdb" ; \
25232 (cd $(HOST_SUBDIR)/gdb && \
25233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25235 "RANLIB=$${RANLIB}" \
25236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25237 TAGS) \
25238 || exit 1
25240 @endif gdb
25242 .PHONY: maybe-install-info-gdb install-info-gdb
25243 maybe-install-info-gdb:
25244 @if gdb
25245 maybe-install-info-gdb: install-info-gdb
25247 install-info-gdb: \
25248 configure-gdb \
25249 info-gdb
25250 @[ -f ./gdb/Makefile ] || exit 0; \
25251 r=`${PWD_COMMAND}`; export r; \
25252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25253 $(HOST_EXPORTS) \
25254 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25256 done; \
25257 echo "Doing install-info in gdb" ; \
25258 (cd $(HOST_SUBDIR)/gdb && \
25259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25261 "RANLIB=$${RANLIB}" \
25262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25263 install-info) \
25264 || exit 1
25266 @endif gdb
25268 .PHONY: maybe-installcheck-gdb installcheck-gdb
25269 maybe-installcheck-gdb:
25270 @if gdb
25271 maybe-installcheck-gdb: installcheck-gdb
25273 installcheck-gdb: \
25274 configure-gdb
25275 @[ -f ./gdb/Makefile ] || exit 0; \
25276 r=`${PWD_COMMAND}`; export r; \
25277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25278 $(HOST_EXPORTS) \
25279 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25281 done; \
25282 echo "Doing installcheck in gdb" ; \
25283 (cd $(HOST_SUBDIR)/gdb && \
25284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25286 "RANLIB=$${RANLIB}" \
25287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25288 installcheck) \
25289 || exit 1
25291 @endif gdb
25293 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
25294 maybe-mostlyclean-gdb:
25295 @if gdb
25296 maybe-mostlyclean-gdb: mostlyclean-gdb
25298 mostlyclean-gdb:
25299 @[ -f ./gdb/Makefile ] || exit 0; \
25300 r=`${PWD_COMMAND}`; export r; \
25301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25302 $(HOST_EXPORTS) \
25303 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25305 done; \
25306 echo "Doing mostlyclean in gdb" ; \
25307 (cd $(HOST_SUBDIR)/gdb && \
25308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25310 "RANLIB=$${RANLIB}" \
25311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25312 mostlyclean) \
25313 || exit 1
25315 @endif gdb
25317 .PHONY: maybe-clean-gdb clean-gdb
25318 maybe-clean-gdb:
25319 @if gdb
25320 maybe-clean-gdb: clean-gdb
25322 clean-gdb:
25323 @[ -f ./gdb/Makefile ] || exit 0; \
25324 r=`${PWD_COMMAND}`; export r; \
25325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25326 $(HOST_EXPORTS) \
25327 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25329 done; \
25330 echo "Doing clean in gdb" ; \
25331 (cd $(HOST_SUBDIR)/gdb && \
25332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25334 "RANLIB=$${RANLIB}" \
25335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25336 clean) \
25337 || exit 1
25339 @endif gdb
25341 .PHONY: maybe-distclean-gdb distclean-gdb
25342 maybe-distclean-gdb:
25343 @if gdb
25344 maybe-distclean-gdb: distclean-gdb
25346 distclean-gdb:
25347 @[ -f ./gdb/Makefile ] || exit 0; \
25348 r=`${PWD_COMMAND}`; export r; \
25349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25350 $(HOST_EXPORTS) \
25351 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25353 done; \
25354 echo "Doing distclean in gdb" ; \
25355 (cd $(HOST_SUBDIR)/gdb && \
25356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25358 "RANLIB=$${RANLIB}" \
25359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25360 distclean) \
25361 || exit 1
25363 @endif gdb
25365 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
25366 maybe-maintainer-clean-gdb:
25367 @if gdb
25368 maybe-maintainer-clean-gdb: maintainer-clean-gdb
25370 maintainer-clean-gdb:
25371 @[ -f ./gdb/Makefile ] || exit 0; \
25372 r=`${PWD_COMMAND}`; export r; \
25373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25374 $(HOST_EXPORTS) \
25375 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25377 done; \
25378 echo "Doing maintainer-clean in gdb" ; \
25379 (cd $(HOST_SUBDIR)/gdb && \
25380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25382 "RANLIB=$${RANLIB}" \
25383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25384 maintainer-clean) \
25385 || exit 1
25387 @endif gdb
25391 .PHONY: configure-expect maybe-configure-expect
25392 maybe-configure-expect:
25393 @if expect
25394 maybe-configure-expect: configure-expect
25395 configure-expect:
25396 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
25397 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
25398 r=`${PWD_COMMAND}`; export r; \
25399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25400 $(HOST_EXPORTS) \
25401 echo Configuring in $(HOST_SUBDIR)/expect; \
25402 cd "$(HOST_SUBDIR)/expect" || exit 1; \
25403 case $(srcdir) in \
25404 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25405 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
25406 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25407 esac; \
25408 srcdiroption="--srcdir=$${topdir}/expect"; \
25409 libsrcdir="$$s/expect"; \
25410 $(SHELL) $${libsrcdir}/configure \
25411 $(HOST_CONFIGARGS) $${srcdiroption} \
25412 || exit 1
25413 @endif expect
25419 .PHONY: all-expect maybe-all-expect
25420 maybe-all-expect:
25421 @if expect
25422 TARGET-expect=all
25423 maybe-all-expect: all-expect
25424 all-expect: configure-expect
25425 @r=`${PWD_COMMAND}`; export r; \
25426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25427 $(HOST_EXPORTS) \
25428 (cd $(HOST_SUBDIR)/expect && \
25429 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
25430 @endif expect
25435 .PHONY: check-expect maybe-check-expect
25436 maybe-check-expect:
25437 @if expect
25438 maybe-check-expect: check-expect
25440 check-expect:
25441 @r=`${PWD_COMMAND}`; export r; \
25442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25443 $(HOST_EXPORTS) \
25444 (cd $(HOST_SUBDIR)/expect && \
25445 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
25447 @endif expect
25449 .PHONY: install-expect maybe-install-expect
25450 maybe-install-expect:
25451 @if expect
25452 maybe-install-expect: install-expect
25454 install-expect: installdirs
25455 @r=`${PWD_COMMAND}`; export r; \
25456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25457 $(HOST_EXPORTS) \
25458 (cd $(HOST_SUBDIR)/expect && \
25459 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
25461 @endif expect
25463 # Other targets (info, dvi, etc.)
25465 .PHONY: maybe-info-expect info-expect
25466 maybe-info-expect:
25467 @if expect
25468 maybe-info-expect: info-expect
25470 info-expect: \
25471 configure-expect
25472 @[ -f ./expect/Makefile ] || exit 0; \
25473 r=`${PWD_COMMAND}`; export r; \
25474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25475 $(HOST_EXPORTS) \
25476 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25478 done; \
25479 echo "Doing info in expect" ; \
25480 (cd $(HOST_SUBDIR)/expect && \
25481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25483 "RANLIB=$${RANLIB}" \
25484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25485 info) \
25486 || exit 1
25488 @endif expect
25490 .PHONY: maybe-dvi-expect dvi-expect
25491 maybe-dvi-expect:
25492 @if expect
25493 maybe-dvi-expect: dvi-expect
25495 dvi-expect: \
25496 configure-expect
25497 @[ -f ./expect/Makefile ] || exit 0; \
25498 r=`${PWD_COMMAND}`; export r; \
25499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25500 $(HOST_EXPORTS) \
25501 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25503 done; \
25504 echo "Doing dvi in expect" ; \
25505 (cd $(HOST_SUBDIR)/expect && \
25506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25508 "RANLIB=$${RANLIB}" \
25509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25510 dvi) \
25511 || exit 1
25513 @endif expect
25515 .PHONY: maybe-html-expect html-expect
25516 maybe-html-expect:
25517 @if expect
25518 maybe-html-expect: html-expect
25520 html-expect: \
25521 configure-expect
25522 @[ -f ./expect/Makefile ] || exit 0; \
25523 r=`${PWD_COMMAND}`; export r; \
25524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25525 $(HOST_EXPORTS) \
25526 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25528 done; \
25529 echo "Doing html in expect" ; \
25530 (cd $(HOST_SUBDIR)/expect && \
25531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25533 "RANLIB=$${RANLIB}" \
25534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25535 html) \
25536 || exit 1
25538 @endif expect
25540 .PHONY: maybe-TAGS-expect TAGS-expect
25541 maybe-TAGS-expect:
25542 @if expect
25543 maybe-TAGS-expect: TAGS-expect
25545 TAGS-expect: \
25546 configure-expect
25547 @[ -f ./expect/Makefile ] || exit 0; \
25548 r=`${PWD_COMMAND}`; export r; \
25549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25550 $(HOST_EXPORTS) \
25551 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25553 done; \
25554 echo "Doing TAGS in expect" ; \
25555 (cd $(HOST_SUBDIR)/expect && \
25556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25558 "RANLIB=$${RANLIB}" \
25559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25560 TAGS) \
25561 || exit 1
25563 @endif expect
25565 .PHONY: maybe-install-info-expect install-info-expect
25566 maybe-install-info-expect:
25567 @if expect
25568 maybe-install-info-expect: install-info-expect
25570 install-info-expect: \
25571 configure-expect \
25572 info-expect
25573 @[ -f ./expect/Makefile ] || exit 0; \
25574 r=`${PWD_COMMAND}`; export r; \
25575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25576 $(HOST_EXPORTS) \
25577 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25579 done; \
25580 echo "Doing install-info in expect" ; \
25581 (cd $(HOST_SUBDIR)/expect && \
25582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25584 "RANLIB=$${RANLIB}" \
25585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25586 install-info) \
25587 || exit 1
25589 @endif expect
25591 .PHONY: maybe-installcheck-expect installcheck-expect
25592 maybe-installcheck-expect:
25593 @if expect
25594 maybe-installcheck-expect: installcheck-expect
25596 installcheck-expect: \
25597 configure-expect
25598 @[ -f ./expect/Makefile ] || exit 0; \
25599 r=`${PWD_COMMAND}`; export r; \
25600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25601 $(HOST_EXPORTS) \
25602 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25604 done; \
25605 echo "Doing installcheck in expect" ; \
25606 (cd $(HOST_SUBDIR)/expect && \
25607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25609 "RANLIB=$${RANLIB}" \
25610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25611 installcheck) \
25612 || exit 1
25614 @endif expect
25616 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
25617 maybe-mostlyclean-expect:
25618 @if expect
25619 maybe-mostlyclean-expect: mostlyclean-expect
25621 mostlyclean-expect:
25622 @[ -f ./expect/Makefile ] || exit 0; \
25623 r=`${PWD_COMMAND}`; export r; \
25624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25625 $(HOST_EXPORTS) \
25626 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25628 done; \
25629 echo "Doing mostlyclean in expect" ; \
25630 (cd $(HOST_SUBDIR)/expect && \
25631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25633 "RANLIB=$${RANLIB}" \
25634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25635 mostlyclean) \
25636 || exit 1
25638 @endif expect
25640 .PHONY: maybe-clean-expect clean-expect
25641 maybe-clean-expect:
25642 @if expect
25643 maybe-clean-expect: clean-expect
25645 clean-expect:
25646 @[ -f ./expect/Makefile ] || exit 0; \
25647 r=`${PWD_COMMAND}`; export r; \
25648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25649 $(HOST_EXPORTS) \
25650 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25652 done; \
25653 echo "Doing clean in expect" ; \
25654 (cd $(HOST_SUBDIR)/expect && \
25655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25657 "RANLIB=$${RANLIB}" \
25658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25659 clean) \
25660 || exit 1
25662 @endif expect
25664 .PHONY: maybe-distclean-expect distclean-expect
25665 maybe-distclean-expect:
25666 @if expect
25667 maybe-distclean-expect: distclean-expect
25669 distclean-expect:
25670 @[ -f ./expect/Makefile ] || exit 0; \
25671 r=`${PWD_COMMAND}`; export r; \
25672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25673 $(HOST_EXPORTS) \
25674 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25676 done; \
25677 echo "Doing distclean in expect" ; \
25678 (cd $(HOST_SUBDIR)/expect && \
25679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25681 "RANLIB=$${RANLIB}" \
25682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25683 distclean) \
25684 || exit 1
25686 @endif expect
25688 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
25689 maybe-maintainer-clean-expect:
25690 @if expect
25691 maybe-maintainer-clean-expect: maintainer-clean-expect
25693 maintainer-clean-expect:
25694 @[ -f ./expect/Makefile ] || exit 0; \
25695 r=`${PWD_COMMAND}`; export r; \
25696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25697 $(HOST_EXPORTS) \
25698 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25700 done; \
25701 echo "Doing maintainer-clean in expect" ; \
25702 (cd $(HOST_SUBDIR)/expect && \
25703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25705 "RANLIB=$${RANLIB}" \
25706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25707 maintainer-clean) \
25708 || exit 1
25710 @endif expect
25714 .PHONY: configure-guile maybe-configure-guile
25715 maybe-configure-guile:
25716 @if guile
25717 maybe-configure-guile: configure-guile
25718 configure-guile:
25719 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
25720 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
25721 r=`${PWD_COMMAND}`; export r; \
25722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25723 $(HOST_EXPORTS) \
25724 echo Configuring in $(HOST_SUBDIR)/guile; \
25725 cd "$(HOST_SUBDIR)/guile" || exit 1; \
25726 case $(srcdir) in \
25727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25728 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
25729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25730 esac; \
25731 srcdiroption="--srcdir=$${topdir}/guile"; \
25732 libsrcdir="$$s/guile"; \
25733 $(SHELL) $${libsrcdir}/configure \
25734 $(HOST_CONFIGARGS) $${srcdiroption} \
25735 || exit 1
25736 @endif guile
25742 .PHONY: all-guile maybe-all-guile
25743 maybe-all-guile:
25744 @if guile
25745 TARGET-guile=all
25746 maybe-all-guile: all-guile
25747 all-guile: configure-guile
25748 @r=`${PWD_COMMAND}`; export r; \
25749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25750 $(HOST_EXPORTS) \
25751 (cd $(HOST_SUBDIR)/guile && \
25752 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
25753 @endif guile
25758 .PHONY: check-guile maybe-check-guile
25759 maybe-check-guile:
25760 @if guile
25761 maybe-check-guile: check-guile
25763 check-guile:
25764 @r=`${PWD_COMMAND}`; export r; \
25765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25766 $(HOST_EXPORTS) \
25767 (cd $(HOST_SUBDIR)/guile && \
25768 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
25770 @endif guile
25772 .PHONY: install-guile maybe-install-guile
25773 maybe-install-guile:
25774 @if guile
25775 maybe-install-guile: install-guile
25777 install-guile: installdirs
25778 @r=`${PWD_COMMAND}`; export r; \
25779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25780 $(HOST_EXPORTS) \
25781 (cd $(HOST_SUBDIR)/guile && \
25782 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
25784 @endif guile
25786 # Other targets (info, dvi, etc.)
25788 .PHONY: maybe-info-guile info-guile
25789 maybe-info-guile:
25790 @if guile
25791 maybe-info-guile: info-guile
25793 info-guile: \
25794 configure-guile
25795 @[ -f ./guile/Makefile ] || exit 0; \
25796 r=`${PWD_COMMAND}`; export r; \
25797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25798 $(HOST_EXPORTS) \
25799 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25801 done; \
25802 echo "Doing info in guile" ; \
25803 (cd $(HOST_SUBDIR)/guile && \
25804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25806 "RANLIB=$${RANLIB}" \
25807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25808 info) \
25809 || exit 1
25811 @endif guile
25813 .PHONY: maybe-dvi-guile dvi-guile
25814 maybe-dvi-guile:
25815 @if guile
25816 maybe-dvi-guile: dvi-guile
25818 dvi-guile: \
25819 configure-guile
25820 @[ -f ./guile/Makefile ] || exit 0; \
25821 r=`${PWD_COMMAND}`; export r; \
25822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25823 $(HOST_EXPORTS) \
25824 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25826 done; \
25827 echo "Doing dvi in guile" ; \
25828 (cd $(HOST_SUBDIR)/guile && \
25829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25831 "RANLIB=$${RANLIB}" \
25832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25833 dvi) \
25834 || exit 1
25836 @endif guile
25838 .PHONY: maybe-html-guile html-guile
25839 maybe-html-guile:
25840 @if guile
25841 maybe-html-guile: html-guile
25843 html-guile: \
25844 configure-guile
25845 @[ -f ./guile/Makefile ] || exit 0; \
25846 r=`${PWD_COMMAND}`; export r; \
25847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25848 $(HOST_EXPORTS) \
25849 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25851 done; \
25852 echo "Doing html in guile" ; \
25853 (cd $(HOST_SUBDIR)/guile && \
25854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25856 "RANLIB=$${RANLIB}" \
25857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25858 html) \
25859 || exit 1
25861 @endif guile
25863 .PHONY: maybe-TAGS-guile TAGS-guile
25864 maybe-TAGS-guile:
25865 @if guile
25866 maybe-TAGS-guile: TAGS-guile
25868 TAGS-guile: \
25869 configure-guile
25870 @[ -f ./guile/Makefile ] || exit 0; \
25871 r=`${PWD_COMMAND}`; export r; \
25872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25873 $(HOST_EXPORTS) \
25874 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25876 done; \
25877 echo "Doing TAGS in guile" ; \
25878 (cd $(HOST_SUBDIR)/guile && \
25879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25881 "RANLIB=$${RANLIB}" \
25882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25883 TAGS) \
25884 || exit 1
25886 @endif guile
25888 .PHONY: maybe-install-info-guile install-info-guile
25889 maybe-install-info-guile:
25890 @if guile
25891 maybe-install-info-guile: install-info-guile
25893 install-info-guile: \
25894 configure-guile \
25895 info-guile
25896 @[ -f ./guile/Makefile ] || exit 0; \
25897 r=`${PWD_COMMAND}`; export r; \
25898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25899 $(HOST_EXPORTS) \
25900 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25902 done; \
25903 echo "Doing install-info in guile" ; \
25904 (cd $(HOST_SUBDIR)/guile && \
25905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25907 "RANLIB=$${RANLIB}" \
25908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25909 install-info) \
25910 || exit 1
25912 @endif guile
25914 .PHONY: maybe-installcheck-guile installcheck-guile
25915 maybe-installcheck-guile:
25916 @if guile
25917 maybe-installcheck-guile: installcheck-guile
25919 installcheck-guile: \
25920 configure-guile
25921 @[ -f ./guile/Makefile ] || exit 0; \
25922 r=`${PWD_COMMAND}`; export r; \
25923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25924 $(HOST_EXPORTS) \
25925 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25927 done; \
25928 echo "Doing installcheck in guile" ; \
25929 (cd $(HOST_SUBDIR)/guile && \
25930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25932 "RANLIB=$${RANLIB}" \
25933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25934 installcheck) \
25935 || exit 1
25937 @endif guile
25939 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
25940 maybe-mostlyclean-guile:
25941 @if guile
25942 maybe-mostlyclean-guile: mostlyclean-guile
25944 mostlyclean-guile:
25945 @[ -f ./guile/Makefile ] || exit 0; \
25946 r=`${PWD_COMMAND}`; export r; \
25947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25948 $(HOST_EXPORTS) \
25949 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25951 done; \
25952 echo "Doing mostlyclean in guile" ; \
25953 (cd $(HOST_SUBDIR)/guile && \
25954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25956 "RANLIB=$${RANLIB}" \
25957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25958 mostlyclean) \
25959 || exit 1
25961 @endif guile
25963 .PHONY: maybe-clean-guile clean-guile
25964 maybe-clean-guile:
25965 @if guile
25966 maybe-clean-guile: clean-guile
25968 clean-guile:
25969 @[ -f ./guile/Makefile ] || exit 0; \
25970 r=`${PWD_COMMAND}`; export r; \
25971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25972 $(HOST_EXPORTS) \
25973 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25975 done; \
25976 echo "Doing clean in guile" ; \
25977 (cd $(HOST_SUBDIR)/guile && \
25978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25980 "RANLIB=$${RANLIB}" \
25981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25982 clean) \
25983 || exit 1
25985 @endif guile
25987 .PHONY: maybe-distclean-guile distclean-guile
25988 maybe-distclean-guile:
25989 @if guile
25990 maybe-distclean-guile: distclean-guile
25992 distclean-guile:
25993 @[ -f ./guile/Makefile ] || exit 0; \
25994 r=`${PWD_COMMAND}`; export r; \
25995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25996 $(HOST_EXPORTS) \
25997 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25999 done; \
26000 echo "Doing distclean in guile" ; \
26001 (cd $(HOST_SUBDIR)/guile && \
26002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26004 "RANLIB=$${RANLIB}" \
26005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26006 distclean) \
26007 || exit 1
26009 @endif guile
26011 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
26012 maybe-maintainer-clean-guile:
26013 @if guile
26014 maybe-maintainer-clean-guile: maintainer-clean-guile
26016 maintainer-clean-guile:
26017 @[ -f ./guile/Makefile ] || exit 0; \
26018 r=`${PWD_COMMAND}`; export r; \
26019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26020 $(HOST_EXPORTS) \
26021 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26023 done; \
26024 echo "Doing maintainer-clean in guile" ; \
26025 (cd $(HOST_SUBDIR)/guile && \
26026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26028 "RANLIB=$${RANLIB}" \
26029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26030 maintainer-clean) \
26031 || exit 1
26033 @endif guile
26037 .PHONY: configure-tk maybe-configure-tk
26038 maybe-configure-tk:
26039 @if tk
26040 maybe-configure-tk: configure-tk
26041 configure-tk:
26042 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
26043 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
26044 r=`${PWD_COMMAND}`; export r; \
26045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26046 $(HOST_EXPORTS) \
26047 echo Configuring in $(HOST_SUBDIR)/tk; \
26048 cd "$(HOST_SUBDIR)/tk" || exit 1; \
26049 case $(srcdir) in \
26050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26051 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
26052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26053 esac; \
26054 srcdiroption="--srcdir=$${topdir}/tk"; \
26055 libsrcdir="$$s/tk"; \
26056 $(SHELL) $${libsrcdir}/configure \
26057 $(HOST_CONFIGARGS) $${srcdiroption} \
26058 || exit 1
26059 @endif tk
26065 .PHONY: all-tk maybe-all-tk
26066 maybe-all-tk:
26067 @if tk
26068 TARGET-tk=all
26069 maybe-all-tk: all-tk
26070 all-tk: configure-tk
26071 @r=`${PWD_COMMAND}`; export r; \
26072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26073 $(HOST_EXPORTS) \
26074 (cd $(HOST_SUBDIR)/tk && \
26075 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
26076 @endif tk
26081 .PHONY: check-tk maybe-check-tk
26082 maybe-check-tk:
26083 @if tk
26084 maybe-check-tk: check-tk
26086 check-tk:
26087 @r=`${PWD_COMMAND}`; export r; \
26088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26089 $(HOST_EXPORTS) \
26090 (cd $(HOST_SUBDIR)/tk && \
26091 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26093 @endif tk
26095 .PHONY: install-tk maybe-install-tk
26096 maybe-install-tk:
26097 @if tk
26098 maybe-install-tk: install-tk
26100 install-tk: installdirs
26101 @r=`${PWD_COMMAND}`; export r; \
26102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26103 $(HOST_EXPORTS) \
26104 (cd $(HOST_SUBDIR)/tk && \
26105 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26107 @endif tk
26109 # Other targets (info, dvi, etc.)
26111 .PHONY: maybe-info-tk info-tk
26112 maybe-info-tk:
26113 @if tk
26114 maybe-info-tk: info-tk
26116 info-tk: \
26117 configure-tk
26118 @[ -f ./tk/Makefile ] || exit 0; \
26119 r=`${PWD_COMMAND}`; export r; \
26120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26121 $(HOST_EXPORTS) \
26122 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26124 done; \
26125 echo "Doing info in tk" ; \
26126 (cd $(HOST_SUBDIR)/tk && \
26127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26129 "RANLIB=$${RANLIB}" \
26130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26131 info) \
26132 || exit 1
26134 @endif tk
26136 .PHONY: maybe-dvi-tk dvi-tk
26137 maybe-dvi-tk:
26138 @if tk
26139 maybe-dvi-tk: dvi-tk
26141 dvi-tk: \
26142 configure-tk
26143 @[ -f ./tk/Makefile ] || exit 0; \
26144 r=`${PWD_COMMAND}`; export r; \
26145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26146 $(HOST_EXPORTS) \
26147 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26149 done; \
26150 echo "Doing dvi in tk" ; \
26151 (cd $(HOST_SUBDIR)/tk && \
26152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26154 "RANLIB=$${RANLIB}" \
26155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26156 dvi) \
26157 || exit 1
26159 @endif tk
26161 .PHONY: maybe-html-tk html-tk
26162 maybe-html-tk:
26163 @if tk
26164 maybe-html-tk: html-tk
26166 html-tk: \
26167 configure-tk
26168 @[ -f ./tk/Makefile ] || exit 0; \
26169 r=`${PWD_COMMAND}`; export r; \
26170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26171 $(HOST_EXPORTS) \
26172 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26174 done; \
26175 echo "Doing html in tk" ; \
26176 (cd $(HOST_SUBDIR)/tk && \
26177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26179 "RANLIB=$${RANLIB}" \
26180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26181 html) \
26182 || exit 1
26184 @endif tk
26186 .PHONY: maybe-TAGS-tk TAGS-tk
26187 maybe-TAGS-tk:
26188 @if tk
26189 maybe-TAGS-tk: TAGS-tk
26191 TAGS-tk: \
26192 configure-tk
26193 @[ -f ./tk/Makefile ] || exit 0; \
26194 r=`${PWD_COMMAND}`; export r; \
26195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26196 $(HOST_EXPORTS) \
26197 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26199 done; \
26200 echo "Doing TAGS in tk" ; \
26201 (cd $(HOST_SUBDIR)/tk && \
26202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26204 "RANLIB=$${RANLIB}" \
26205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26206 TAGS) \
26207 || exit 1
26209 @endif tk
26211 .PHONY: maybe-install-info-tk install-info-tk
26212 maybe-install-info-tk:
26213 @if tk
26214 maybe-install-info-tk: install-info-tk
26216 install-info-tk: \
26217 configure-tk \
26218 info-tk
26219 @[ -f ./tk/Makefile ] || exit 0; \
26220 r=`${PWD_COMMAND}`; export r; \
26221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26222 $(HOST_EXPORTS) \
26223 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26225 done; \
26226 echo "Doing install-info in tk" ; \
26227 (cd $(HOST_SUBDIR)/tk && \
26228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26230 "RANLIB=$${RANLIB}" \
26231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26232 install-info) \
26233 || exit 1
26235 @endif tk
26237 .PHONY: maybe-installcheck-tk installcheck-tk
26238 maybe-installcheck-tk:
26239 @if tk
26240 maybe-installcheck-tk: installcheck-tk
26242 installcheck-tk: \
26243 configure-tk
26244 @[ -f ./tk/Makefile ] || exit 0; \
26245 r=`${PWD_COMMAND}`; export r; \
26246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26247 $(HOST_EXPORTS) \
26248 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26250 done; \
26251 echo "Doing installcheck in tk" ; \
26252 (cd $(HOST_SUBDIR)/tk && \
26253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26255 "RANLIB=$${RANLIB}" \
26256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26257 installcheck) \
26258 || exit 1
26260 @endif tk
26262 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
26263 maybe-mostlyclean-tk:
26264 @if tk
26265 maybe-mostlyclean-tk: mostlyclean-tk
26267 mostlyclean-tk:
26268 @[ -f ./tk/Makefile ] || exit 0; \
26269 r=`${PWD_COMMAND}`; export r; \
26270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26271 $(HOST_EXPORTS) \
26272 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26274 done; \
26275 echo "Doing mostlyclean in tk" ; \
26276 (cd $(HOST_SUBDIR)/tk && \
26277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26279 "RANLIB=$${RANLIB}" \
26280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26281 mostlyclean) \
26282 || exit 1
26284 @endif tk
26286 .PHONY: maybe-clean-tk clean-tk
26287 maybe-clean-tk:
26288 @if tk
26289 maybe-clean-tk: clean-tk
26291 clean-tk:
26292 @[ -f ./tk/Makefile ] || exit 0; \
26293 r=`${PWD_COMMAND}`; export r; \
26294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26295 $(HOST_EXPORTS) \
26296 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26298 done; \
26299 echo "Doing clean in tk" ; \
26300 (cd $(HOST_SUBDIR)/tk && \
26301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26303 "RANLIB=$${RANLIB}" \
26304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26305 clean) \
26306 || exit 1
26308 @endif tk
26310 .PHONY: maybe-distclean-tk distclean-tk
26311 maybe-distclean-tk:
26312 @if tk
26313 maybe-distclean-tk: distclean-tk
26315 distclean-tk:
26316 @[ -f ./tk/Makefile ] || exit 0; \
26317 r=`${PWD_COMMAND}`; export r; \
26318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26319 $(HOST_EXPORTS) \
26320 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26322 done; \
26323 echo "Doing distclean in tk" ; \
26324 (cd $(HOST_SUBDIR)/tk && \
26325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26327 "RANLIB=$${RANLIB}" \
26328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26329 distclean) \
26330 || exit 1
26332 @endif tk
26334 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
26335 maybe-maintainer-clean-tk:
26336 @if tk
26337 maybe-maintainer-clean-tk: maintainer-clean-tk
26339 maintainer-clean-tk:
26340 @[ -f ./tk/Makefile ] || exit 0; \
26341 r=`${PWD_COMMAND}`; export r; \
26342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26343 $(HOST_EXPORTS) \
26344 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26346 done; \
26347 echo "Doing maintainer-clean in tk" ; \
26348 (cd $(HOST_SUBDIR)/tk && \
26349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26351 "RANLIB=$${RANLIB}" \
26352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26353 maintainer-clean) \
26354 || exit 1
26356 @endif tk
26360 .PHONY: configure-libtermcap maybe-configure-libtermcap
26361 maybe-configure-libtermcap:
26362 @if libtermcap
26363 maybe-configure-libtermcap: configure-libtermcap
26364 configure-libtermcap:
26365 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
26366 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
26367 r=`${PWD_COMMAND}`; export r; \
26368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26369 $(HOST_EXPORTS) \
26370 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
26371 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
26372 case $(srcdir) in \
26373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26374 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
26375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26376 esac; \
26377 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
26378 libsrcdir="$$s/libtermcap"; \
26379 $(SHELL) $${libsrcdir}/configure \
26380 $(HOST_CONFIGARGS) $${srcdiroption} \
26381 || exit 1
26382 @endif libtermcap
26388 .PHONY: all-libtermcap maybe-all-libtermcap
26389 maybe-all-libtermcap:
26390 @if libtermcap
26391 TARGET-libtermcap=all
26392 maybe-all-libtermcap: all-libtermcap
26393 all-libtermcap: configure-libtermcap
26394 @r=`${PWD_COMMAND}`; export r; \
26395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26396 $(HOST_EXPORTS) \
26397 (cd $(HOST_SUBDIR)/libtermcap && \
26398 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
26399 @endif libtermcap
26404 .PHONY: check-libtermcap maybe-check-libtermcap
26405 maybe-check-libtermcap:
26406 @if libtermcap
26407 maybe-check-libtermcap: check-libtermcap
26409 check-libtermcap:
26411 @endif libtermcap
26413 .PHONY: install-libtermcap maybe-install-libtermcap
26414 maybe-install-libtermcap:
26415 @if libtermcap
26416 maybe-install-libtermcap: install-libtermcap
26418 install-libtermcap: installdirs
26419 @r=`${PWD_COMMAND}`; export r; \
26420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26421 $(HOST_EXPORTS) \
26422 (cd $(HOST_SUBDIR)/libtermcap && \
26423 $(MAKE) $(FLAGS_TO_PASS) install)
26425 @endif libtermcap
26427 # Other targets (info, dvi, etc.)
26429 .PHONY: maybe-info-libtermcap info-libtermcap
26430 maybe-info-libtermcap:
26431 @if libtermcap
26432 maybe-info-libtermcap: info-libtermcap
26434 info-libtermcap: \
26435 configure-libtermcap
26436 @[ -f ./libtermcap/Makefile ] || exit 0; \
26437 r=`${PWD_COMMAND}`; export r; \
26438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26439 $(HOST_EXPORTS) \
26440 for flag in $(EXTRA_HOST_FLAGS) ; do \
26441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26442 done; \
26443 echo "Doing info in libtermcap" ; \
26444 (cd $(HOST_SUBDIR)/libtermcap && \
26445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26447 "RANLIB=$${RANLIB}" \
26448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26449 info) \
26450 || exit 1
26452 @endif libtermcap
26454 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
26455 maybe-dvi-libtermcap:
26456 @if libtermcap
26457 maybe-dvi-libtermcap: dvi-libtermcap
26459 dvi-libtermcap: \
26460 configure-libtermcap
26461 @[ -f ./libtermcap/Makefile ] || exit 0; \
26462 r=`${PWD_COMMAND}`; export r; \
26463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26464 $(HOST_EXPORTS) \
26465 for flag in $(EXTRA_HOST_FLAGS) ; do \
26466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26467 done; \
26468 echo "Doing dvi in libtermcap" ; \
26469 (cd $(HOST_SUBDIR)/libtermcap && \
26470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26472 "RANLIB=$${RANLIB}" \
26473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26474 dvi) \
26475 || exit 1
26477 @endif libtermcap
26479 .PHONY: maybe-html-libtermcap html-libtermcap
26480 maybe-html-libtermcap:
26481 @if libtermcap
26482 maybe-html-libtermcap: html-libtermcap
26484 html-libtermcap: \
26485 configure-libtermcap
26486 @[ -f ./libtermcap/Makefile ] || exit 0; \
26487 r=`${PWD_COMMAND}`; export r; \
26488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26489 $(HOST_EXPORTS) \
26490 for flag in $(EXTRA_HOST_FLAGS) ; do \
26491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26492 done; \
26493 echo "Doing html in libtermcap" ; \
26494 (cd $(HOST_SUBDIR)/libtermcap && \
26495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26497 "RANLIB=$${RANLIB}" \
26498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26499 html) \
26500 || exit 1
26502 @endif libtermcap
26504 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
26505 maybe-TAGS-libtermcap:
26506 @if libtermcap
26507 maybe-TAGS-libtermcap: TAGS-libtermcap
26509 TAGS-libtermcap: \
26510 configure-libtermcap
26511 @[ -f ./libtermcap/Makefile ] || exit 0; \
26512 r=`${PWD_COMMAND}`; export r; \
26513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26514 $(HOST_EXPORTS) \
26515 for flag in $(EXTRA_HOST_FLAGS) ; do \
26516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26517 done; \
26518 echo "Doing TAGS in libtermcap" ; \
26519 (cd $(HOST_SUBDIR)/libtermcap && \
26520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26522 "RANLIB=$${RANLIB}" \
26523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26524 TAGS) \
26525 || exit 1
26527 @endif libtermcap
26529 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
26530 maybe-install-info-libtermcap:
26531 @if libtermcap
26532 maybe-install-info-libtermcap: install-info-libtermcap
26534 install-info-libtermcap: \
26535 configure-libtermcap \
26536 info-libtermcap
26537 @[ -f ./libtermcap/Makefile ] || exit 0; \
26538 r=`${PWD_COMMAND}`; export r; \
26539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26540 $(HOST_EXPORTS) \
26541 for flag in $(EXTRA_HOST_FLAGS) ; do \
26542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26543 done; \
26544 echo "Doing install-info in libtermcap" ; \
26545 (cd $(HOST_SUBDIR)/libtermcap && \
26546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26548 "RANLIB=$${RANLIB}" \
26549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26550 install-info) \
26551 || exit 1
26553 @endif libtermcap
26555 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
26556 maybe-installcheck-libtermcap:
26557 @if libtermcap
26558 maybe-installcheck-libtermcap: installcheck-libtermcap
26560 installcheck-libtermcap: \
26561 configure-libtermcap
26562 @[ -f ./libtermcap/Makefile ] || exit 0; \
26563 r=`${PWD_COMMAND}`; export r; \
26564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26565 $(HOST_EXPORTS) \
26566 for flag in $(EXTRA_HOST_FLAGS) ; do \
26567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26568 done; \
26569 echo "Doing installcheck in libtermcap" ; \
26570 (cd $(HOST_SUBDIR)/libtermcap && \
26571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26573 "RANLIB=$${RANLIB}" \
26574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26575 installcheck) \
26576 || exit 1
26578 @endif libtermcap
26580 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
26581 maybe-mostlyclean-libtermcap:
26582 @if libtermcap
26583 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
26585 # libtermcap doesn't support mostlyclean.
26586 mostlyclean-libtermcap:
26588 @endif libtermcap
26590 .PHONY: maybe-clean-libtermcap clean-libtermcap
26591 maybe-clean-libtermcap:
26592 @if libtermcap
26593 maybe-clean-libtermcap: clean-libtermcap
26595 # libtermcap doesn't support clean.
26596 clean-libtermcap:
26598 @endif libtermcap
26600 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
26601 maybe-distclean-libtermcap:
26602 @if libtermcap
26603 maybe-distclean-libtermcap: distclean-libtermcap
26605 # libtermcap doesn't support distclean.
26606 distclean-libtermcap:
26608 @endif libtermcap
26610 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
26611 maybe-maintainer-clean-libtermcap:
26612 @if libtermcap
26613 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
26615 # libtermcap doesn't support maintainer-clean.
26616 maintainer-clean-libtermcap:
26618 @endif libtermcap
26622 .PHONY: configure-utils maybe-configure-utils
26623 maybe-configure-utils:
26624 @if utils
26625 maybe-configure-utils: configure-utils
26626 configure-utils:
26627 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
26628 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
26629 r=`${PWD_COMMAND}`; export r; \
26630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26631 $(HOST_EXPORTS) \
26632 echo Configuring in $(HOST_SUBDIR)/utils; \
26633 cd "$(HOST_SUBDIR)/utils" || exit 1; \
26634 case $(srcdir) in \
26635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26636 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
26637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26638 esac; \
26639 srcdiroption="--srcdir=$${topdir}/utils"; \
26640 libsrcdir="$$s/utils"; \
26641 $(SHELL) $${libsrcdir}/configure \
26642 $(HOST_CONFIGARGS) $${srcdiroption} \
26643 || exit 1
26644 @endif utils
26650 .PHONY: all-utils maybe-all-utils
26651 maybe-all-utils:
26652 @if utils
26653 TARGET-utils=all
26654 maybe-all-utils: all-utils
26655 all-utils: configure-utils
26656 @r=`${PWD_COMMAND}`; export r; \
26657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26658 $(HOST_EXPORTS) \
26659 (cd $(HOST_SUBDIR)/utils && \
26660 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
26661 @endif utils
26666 .PHONY: check-utils maybe-check-utils
26667 maybe-check-utils:
26668 @if utils
26669 maybe-check-utils: check-utils
26671 check-utils:
26673 @endif utils
26675 .PHONY: install-utils maybe-install-utils
26676 maybe-install-utils:
26677 @if utils
26678 maybe-install-utils: install-utils
26680 install-utils: installdirs
26681 @r=`${PWD_COMMAND}`; export r; \
26682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26683 $(HOST_EXPORTS) \
26684 (cd $(HOST_SUBDIR)/utils && \
26685 $(MAKE) $(FLAGS_TO_PASS) install)
26687 @endif utils
26689 # Other targets (info, dvi, etc.)
26691 .PHONY: maybe-info-utils info-utils
26692 maybe-info-utils:
26693 @if utils
26694 maybe-info-utils: info-utils
26696 info-utils: \
26697 configure-utils
26698 @[ -f ./utils/Makefile ] || exit 0; \
26699 r=`${PWD_COMMAND}`; export r; \
26700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26701 $(HOST_EXPORTS) \
26702 for flag in $(EXTRA_HOST_FLAGS) ; do \
26703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26704 done; \
26705 echo "Doing info in utils" ; \
26706 (cd $(HOST_SUBDIR)/utils && \
26707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26709 "RANLIB=$${RANLIB}" \
26710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26711 info) \
26712 || exit 1
26714 @endif utils
26716 .PHONY: maybe-dvi-utils dvi-utils
26717 maybe-dvi-utils:
26718 @if utils
26719 maybe-dvi-utils: dvi-utils
26721 dvi-utils: \
26722 configure-utils
26723 @[ -f ./utils/Makefile ] || exit 0; \
26724 r=`${PWD_COMMAND}`; export r; \
26725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26726 $(HOST_EXPORTS) \
26727 for flag in $(EXTRA_HOST_FLAGS) ; do \
26728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26729 done; \
26730 echo "Doing dvi in utils" ; \
26731 (cd $(HOST_SUBDIR)/utils && \
26732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26734 "RANLIB=$${RANLIB}" \
26735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26736 dvi) \
26737 || exit 1
26739 @endif utils
26741 .PHONY: maybe-html-utils html-utils
26742 maybe-html-utils:
26743 @if utils
26744 maybe-html-utils: html-utils
26746 html-utils: \
26747 configure-utils
26748 @[ -f ./utils/Makefile ] || exit 0; \
26749 r=`${PWD_COMMAND}`; export r; \
26750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26751 $(HOST_EXPORTS) \
26752 for flag in $(EXTRA_HOST_FLAGS) ; do \
26753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26754 done; \
26755 echo "Doing html in utils" ; \
26756 (cd $(HOST_SUBDIR)/utils && \
26757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26759 "RANLIB=$${RANLIB}" \
26760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26761 html) \
26762 || exit 1
26764 @endif utils
26766 .PHONY: maybe-TAGS-utils TAGS-utils
26767 maybe-TAGS-utils:
26768 @if utils
26769 maybe-TAGS-utils: TAGS-utils
26771 TAGS-utils: \
26772 configure-utils
26773 @[ -f ./utils/Makefile ] || exit 0; \
26774 r=`${PWD_COMMAND}`; export r; \
26775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26776 $(HOST_EXPORTS) \
26777 for flag in $(EXTRA_HOST_FLAGS) ; do \
26778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26779 done; \
26780 echo "Doing TAGS in utils" ; \
26781 (cd $(HOST_SUBDIR)/utils && \
26782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26784 "RANLIB=$${RANLIB}" \
26785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26786 TAGS) \
26787 || exit 1
26789 @endif utils
26791 .PHONY: maybe-install-info-utils install-info-utils
26792 maybe-install-info-utils:
26793 @if utils
26794 maybe-install-info-utils: install-info-utils
26796 install-info-utils: \
26797 configure-utils \
26798 info-utils
26799 @[ -f ./utils/Makefile ] || exit 0; \
26800 r=`${PWD_COMMAND}`; export r; \
26801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26802 $(HOST_EXPORTS) \
26803 for flag in $(EXTRA_HOST_FLAGS) ; do \
26804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26805 done; \
26806 echo "Doing install-info in utils" ; \
26807 (cd $(HOST_SUBDIR)/utils && \
26808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26810 "RANLIB=$${RANLIB}" \
26811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26812 install-info) \
26813 || exit 1
26815 @endif utils
26817 .PHONY: maybe-installcheck-utils installcheck-utils
26818 maybe-installcheck-utils:
26819 @if utils
26820 maybe-installcheck-utils: installcheck-utils
26822 installcheck-utils: \
26823 configure-utils
26824 @[ -f ./utils/Makefile ] || exit 0; \
26825 r=`${PWD_COMMAND}`; export r; \
26826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26827 $(HOST_EXPORTS) \
26828 for flag in $(EXTRA_HOST_FLAGS) ; do \
26829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26830 done; \
26831 echo "Doing installcheck in utils" ; \
26832 (cd $(HOST_SUBDIR)/utils && \
26833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26835 "RANLIB=$${RANLIB}" \
26836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26837 installcheck) \
26838 || exit 1
26840 @endif utils
26842 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
26843 maybe-mostlyclean-utils:
26844 @if utils
26845 maybe-mostlyclean-utils: mostlyclean-utils
26847 mostlyclean-utils:
26848 @[ -f ./utils/Makefile ] || exit 0; \
26849 r=`${PWD_COMMAND}`; export r; \
26850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26851 $(HOST_EXPORTS) \
26852 for flag in $(EXTRA_HOST_FLAGS) ; do \
26853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26854 done; \
26855 echo "Doing mostlyclean in utils" ; \
26856 (cd $(HOST_SUBDIR)/utils && \
26857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26859 "RANLIB=$${RANLIB}" \
26860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26861 mostlyclean) \
26862 || exit 1
26864 @endif utils
26866 .PHONY: maybe-clean-utils clean-utils
26867 maybe-clean-utils:
26868 @if utils
26869 maybe-clean-utils: clean-utils
26871 clean-utils:
26872 @[ -f ./utils/Makefile ] || exit 0; \
26873 r=`${PWD_COMMAND}`; export r; \
26874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26875 $(HOST_EXPORTS) \
26876 for flag in $(EXTRA_HOST_FLAGS) ; do \
26877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26878 done; \
26879 echo "Doing clean in utils" ; \
26880 (cd $(HOST_SUBDIR)/utils && \
26881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26883 "RANLIB=$${RANLIB}" \
26884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26885 clean) \
26886 || exit 1
26888 @endif utils
26890 .PHONY: maybe-distclean-utils distclean-utils
26891 maybe-distclean-utils:
26892 @if utils
26893 maybe-distclean-utils: distclean-utils
26895 distclean-utils:
26896 @[ -f ./utils/Makefile ] || exit 0; \
26897 r=`${PWD_COMMAND}`; export r; \
26898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26899 $(HOST_EXPORTS) \
26900 for flag in $(EXTRA_HOST_FLAGS) ; do \
26901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26902 done; \
26903 echo "Doing distclean in utils" ; \
26904 (cd $(HOST_SUBDIR)/utils && \
26905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26907 "RANLIB=$${RANLIB}" \
26908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26909 distclean) \
26910 || exit 1
26912 @endif utils
26914 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
26915 maybe-maintainer-clean-utils:
26916 @if utils
26917 maybe-maintainer-clean-utils: maintainer-clean-utils
26919 maintainer-clean-utils:
26920 @[ -f ./utils/Makefile ] || exit 0; \
26921 r=`${PWD_COMMAND}`; export r; \
26922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26923 $(HOST_EXPORTS) \
26924 for flag in $(EXTRA_HOST_FLAGS) ; do \
26925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26926 done; \
26927 echo "Doing maintainer-clean in utils" ; \
26928 (cd $(HOST_SUBDIR)/utils && \
26929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26931 "RANLIB=$${RANLIB}" \
26932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26933 maintainer-clean) \
26934 || exit 1
26936 @endif utils
26940 .PHONY: configure-gnattools maybe-configure-gnattools
26941 maybe-configure-gnattools:
26942 @if gnattools
26943 maybe-configure-gnattools: configure-gnattools
26944 configure-gnattools:
26945 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
26946 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
26947 r=`${PWD_COMMAND}`; export r; \
26948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26949 $(HOST_EXPORTS) \
26950 echo Configuring in $(HOST_SUBDIR)/gnattools; \
26951 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
26952 case $(srcdir) in \
26953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26954 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
26955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26956 esac; \
26957 srcdiroption="--srcdir=$${topdir}/gnattools"; \
26958 libsrcdir="$$s/gnattools"; \
26959 $(SHELL) $${libsrcdir}/configure \
26960 $(HOST_CONFIGARGS) $${srcdiroption} \
26961 || exit 1
26962 @endif gnattools
26968 .PHONY: all-gnattools maybe-all-gnattools
26969 maybe-all-gnattools:
26970 @if gnattools
26971 TARGET-gnattools=all
26972 maybe-all-gnattools: all-gnattools
26973 all-gnattools: configure-gnattools
26974 @r=`${PWD_COMMAND}`; export r; \
26975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26976 $(HOST_EXPORTS) \
26977 (cd $(HOST_SUBDIR)/gnattools && \
26978 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
26979 @endif gnattools
26984 .PHONY: check-gnattools maybe-check-gnattools
26985 maybe-check-gnattools:
26986 @if gnattools
26987 maybe-check-gnattools: check-gnattools
26989 check-gnattools:
26990 @r=`${PWD_COMMAND}`; export r; \
26991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26992 $(HOST_EXPORTS) \
26993 (cd $(HOST_SUBDIR)/gnattools && \
26994 $(MAKE) $(FLAGS_TO_PASS) check)
26996 @endif gnattools
26998 .PHONY: install-gnattools maybe-install-gnattools
26999 maybe-install-gnattools:
27000 @if gnattools
27001 maybe-install-gnattools: install-gnattools
27003 install-gnattools: installdirs
27004 @r=`${PWD_COMMAND}`; export r; \
27005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27006 $(HOST_EXPORTS) \
27007 (cd $(HOST_SUBDIR)/gnattools && \
27008 $(MAKE) $(FLAGS_TO_PASS) install)
27010 @endif gnattools
27012 # Other targets (info, dvi, etc.)
27014 .PHONY: maybe-info-gnattools info-gnattools
27015 maybe-info-gnattools:
27016 @if gnattools
27017 maybe-info-gnattools: info-gnattools
27019 info-gnattools: \
27020 configure-gnattools
27021 @[ -f ./gnattools/Makefile ] || exit 0; \
27022 r=`${PWD_COMMAND}`; export r; \
27023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27024 $(HOST_EXPORTS) \
27025 for flag in $(EXTRA_HOST_FLAGS) ; do \
27026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27027 done; \
27028 echo "Doing info in gnattools" ; \
27029 (cd $(HOST_SUBDIR)/gnattools && \
27030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27032 "RANLIB=$${RANLIB}" \
27033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27034 info) \
27035 || exit 1
27037 @endif gnattools
27039 .PHONY: maybe-dvi-gnattools dvi-gnattools
27040 maybe-dvi-gnattools:
27041 @if gnattools
27042 maybe-dvi-gnattools: dvi-gnattools
27044 dvi-gnattools: \
27045 configure-gnattools
27046 @[ -f ./gnattools/Makefile ] || exit 0; \
27047 r=`${PWD_COMMAND}`; export r; \
27048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27049 $(HOST_EXPORTS) \
27050 for flag in $(EXTRA_HOST_FLAGS) ; do \
27051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27052 done; \
27053 echo "Doing dvi in gnattools" ; \
27054 (cd $(HOST_SUBDIR)/gnattools && \
27055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27057 "RANLIB=$${RANLIB}" \
27058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27059 dvi) \
27060 || exit 1
27062 @endif gnattools
27064 .PHONY: maybe-html-gnattools html-gnattools
27065 maybe-html-gnattools:
27066 @if gnattools
27067 maybe-html-gnattools: html-gnattools
27069 html-gnattools: \
27070 configure-gnattools
27071 @[ -f ./gnattools/Makefile ] || exit 0; \
27072 r=`${PWD_COMMAND}`; export r; \
27073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27074 $(HOST_EXPORTS) \
27075 for flag in $(EXTRA_HOST_FLAGS) ; do \
27076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27077 done; \
27078 echo "Doing html in gnattools" ; \
27079 (cd $(HOST_SUBDIR)/gnattools && \
27080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27082 "RANLIB=$${RANLIB}" \
27083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27084 html) \
27085 || exit 1
27087 @endif gnattools
27089 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
27090 maybe-TAGS-gnattools:
27091 @if gnattools
27092 maybe-TAGS-gnattools: TAGS-gnattools
27094 TAGS-gnattools: \
27095 configure-gnattools
27096 @[ -f ./gnattools/Makefile ] || exit 0; \
27097 r=`${PWD_COMMAND}`; export r; \
27098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27099 $(HOST_EXPORTS) \
27100 for flag in $(EXTRA_HOST_FLAGS) ; do \
27101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27102 done; \
27103 echo "Doing TAGS in gnattools" ; \
27104 (cd $(HOST_SUBDIR)/gnattools && \
27105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27107 "RANLIB=$${RANLIB}" \
27108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27109 TAGS) \
27110 || exit 1
27112 @endif gnattools
27114 .PHONY: maybe-install-info-gnattools install-info-gnattools
27115 maybe-install-info-gnattools:
27116 @if gnattools
27117 maybe-install-info-gnattools: install-info-gnattools
27119 install-info-gnattools: \
27120 configure-gnattools \
27121 info-gnattools
27122 @[ -f ./gnattools/Makefile ] || exit 0; \
27123 r=`${PWD_COMMAND}`; export r; \
27124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27125 $(HOST_EXPORTS) \
27126 for flag in $(EXTRA_HOST_FLAGS) ; do \
27127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27128 done; \
27129 echo "Doing install-info in gnattools" ; \
27130 (cd $(HOST_SUBDIR)/gnattools && \
27131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27133 "RANLIB=$${RANLIB}" \
27134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27135 install-info) \
27136 || exit 1
27138 @endif gnattools
27140 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
27141 maybe-installcheck-gnattools:
27142 @if gnattools
27143 maybe-installcheck-gnattools: installcheck-gnattools
27145 installcheck-gnattools: \
27146 configure-gnattools
27147 @[ -f ./gnattools/Makefile ] || exit 0; \
27148 r=`${PWD_COMMAND}`; export r; \
27149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27150 $(HOST_EXPORTS) \
27151 for flag in $(EXTRA_HOST_FLAGS) ; do \
27152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27153 done; \
27154 echo "Doing installcheck in gnattools" ; \
27155 (cd $(HOST_SUBDIR)/gnattools && \
27156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27158 "RANLIB=$${RANLIB}" \
27159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27160 installcheck) \
27161 || exit 1
27163 @endif gnattools
27165 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
27166 maybe-mostlyclean-gnattools:
27167 @if gnattools
27168 maybe-mostlyclean-gnattools: mostlyclean-gnattools
27170 mostlyclean-gnattools:
27171 @[ -f ./gnattools/Makefile ] || exit 0; \
27172 r=`${PWD_COMMAND}`; export r; \
27173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27174 $(HOST_EXPORTS) \
27175 for flag in $(EXTRA_HOST_FLAGS) ; do \
27176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27177 done; \
27178 echo "Doing mostlyclean in gnattools" ; \
27179 (cd $(HOST_SUBDIR)/gnattools && \
27180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27182 "RANLIB=$${RANLIB}" \
27183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27184 mostlyclean) \
27185 || exit 1
27187 @endif gnattools
27189 .PHONY: maybe-clean-gnattools clean-gnattools
27190 maybe-clean-gnattools:
27191 @if gnattools
27192 maybe-clean-gnattools: clean-gnattools
27194 clean-gnattools:
27195 @[ -f ./gnattools/Makefile ] || exit 0; \
27196 r=`${PWD_COMMAND}`; export r; \
27197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27198 $(HOST_EXPORTS) \
27199 for flag in $(EXTRA_HOST_FLAGS) ; do \
27200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27201 done; \
27202 echo "Doing clean in gnattools" ; \
27203 (cd $(HOST_SUBDIR)/gnattools && \
27204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27206 "RANLIB=$${RANLIB}" \
27207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27208 clean) \
27209 || exit 1
27211 @endif gnattools
27213 .PHONY: maybe-distclean-gnattools distclean-gnattools
27214 maybe-distclean-gnattools:
27215 @if gnattools
27216 maybe-distclean-gnattools: distclean-gnattools
27218 distclean-gnattools:
27219 @[ -f ./gnattools/Makefile ] || exit 0; \
27220 r=`${PWD_COMMAND}`; export r; \
27221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27222 $(HOST_EXPORTS) \
27223 for flag in $(EXTRA_HOST_FLAGS) ; do \
27224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27225 done; \
27226 echo "Doing distclean in gnattools" ; \
27227 (cd $(HOST_SUBDIR)/gnattools && \
27228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27230 "RANLIB=$${RANLIB}" \
27231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27232 distclean) \
27233 || exit 1
27235 @endif gnattools
27237 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
27238 maybe-maintainer-clean-gnattools:
27239 @if gnattools
27240 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
27242 maintainer-clean-gnattools:
27243 @[ -f ./gnattools/Makefile ] || exit 0; \
27244 r=`${PWD_COMMAND}`; export r; \
27245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27246 $(HOST_EXPORTS) \
27247 for flag in $(EXTRA_HOST_FLAGS) ; do \
27248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27249 done; \
27250 echo "Doing maintainer-clean in gnattools" ; \
27251 (cd $(HOST_SUBDIR)/gnattools && \
27252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27254 "RANLIB=$${RANLIB}" \
27255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27256 maintainer-clean) \
27257 || exit 1
27259 @endif gnattools
27263 # ---------------------------------------
27264 # Modules which run on the target machine
27265 # ---------------------------------------
27268 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27269 @if target-libstdc++-v3
27270 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
27271 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
27272 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
27273 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
27274 @endif target-libstdc++-v3
27278 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
27279 maybe-configure-target-libstdc++-v3:
27280 @if target-libstdc++-v3
27281 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
27282 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
27283 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
27284 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
27285 r=`${PWD_COMMAND}`; export r; \
27286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27287 $(RAW_CXX_TARGET_EXPORTS) \
27288 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
27289 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
27290 case $(srcdir) in \
27291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27292 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
27293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27294 esac; \
27295 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
27296 libsrcdir="$$s/libstdc++-v3"; \
27297 rm -f no-such-file || : ; \
27298 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27299 $(TARGET_CONFIGARGS) $${srcdiroption} \
27300 || exit 1
27301 @endif target-libstdc++-v3
27307 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
27308 maybe-all-target-libstdc++-v3:
27309 @if target-libstdc++-v3
27310 TARGET-target-libstdc++-v3=all
27311 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
27312 all-target-libstdc++-v3: configure-target-libstdc++-v3
27313 @r=`${PWD_COMMAND}`; export r; \
27314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27315 $(RAW_CXX_TARGET_EXPORTS) \
27316 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27317 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
27318 @endif target-libstdc++-v3
27324 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
27325 maybe-check-target-libstdc++-v3:
27326 @if target-libstdc++-v3
27327 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
27329 check-target-libstdc++-v3:
27330 @r=`${PWD_COMMAND}`; export r; \
27331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27332 $(RAW_CXX_TARGET_EXPORTS) \
27333 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27334 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
27336 @endif target-libstdc++-v3
27338 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
27339 maybe-install-target-libstdc++-v3:
27340 @if target-libstdc++-v3
27341 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
27343 install-target-libstdc++-v3: installdirs
27344 @r=`${PWD_COMMAND}`; export r; \
27345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27346 $(RAW_CXX_TARGET_EXPORTS) \
27347 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27348 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27350 @endif target-libstdc++-v3
27352 # Other targets (info, dvi, etc.)
27354 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
27355 maybe-info-target-libstdc++-v3:
27356 @if target-libstdc++-v3
27357 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
27359 info-target-libstdc++-v3: \
27360 configure-target-libstdc++-v3
27361 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27362 r=`${PWD_COMMAND}`; export r; \
27363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27364 $(RAW_CXX_TARGET_EXPORTS) \
27365 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27366 for flag in $(EXTRA_TARGET_FLAGS); do \
27367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27368 done; \
27369 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27372 "RANLIB=$${RANLIB}" \
27373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27374 info) \
27375 || exit 1
27377 @endif target-libstdc++-v3
27379 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
27380 maybe-dvi-target-libstdc++-v3:
27381 @if target-libstdc++-v3
27382 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
27384 dvi-target-libstdc++-v3: \
27385 configure-target-libstdc++-v3
27386 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27387 r=`${PWD_COMMAND}`; export r; \
27388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27389 $(RAW_CXX_TARGET_EXPORTS) \
27390 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27391 for flag in $(EXTRA_TARGET_FLAGS); do \
27392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27393 done; \
27394 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27397 "RANLIB=$${RANLIB}" \
27398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27399 dvi) \
27400 || exit 1
27402 @endif target-libstdc++-v3
27404 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
27405 maybe-html-target-libstdc++-v3:
27406 @if target-libstdc++-v3
27407 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
27409 html-target-libstdc++-v3: \
27410 configure-target-libstdc++-v3
27411 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27412 r=`${PWD_COMMAND}`; export r; \
27413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27414 $(RAW_CXX_TARGET_EXPORTS) \
27415 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27416 for flag in $(EXTRA_TARGET_FLAGS); do \
27417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27418 done; \
27419 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27422 "RANLIB=$${RANLIB}" \
27423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27424 html) \
27425 || exit 1
27427 @endif target-libstdc++-v3
27429 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
27430 maybe-TAGS-target-libstdc++-v3:
27431 @if target-libstdc++-v3
27432 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
27434 TAGS-target-libstdc++-v3: \
27435 configure-target-libstdc++-v3
27436 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27437 r=`${PWD_COMMAND}`; export r; \
27438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27439 $(RAW_CXX_TARGET_EXPORTS) \
27440 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27441 for flag in $(EXTRA_TARGET_FLAGS); do \
27442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27443 done; \
27444 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27447 "RANLIB=$${RANLIB}" \
27448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27449 TAGS) \
27450 || exit 1
27452 @endif target-libstdc++-v3
27454 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
27455 maybe-install-info-target-libstdc++-v3:
27456 @if target-libstdc++-v3
27457 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
27459 install-info-target-libstdc++-v3: \
27460 configure-target-libstdc++-v3 \
27461 info-target-libstdc++-v3
27462 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27463 r=`${PWD_COMMAND}`; export r; \
27464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27465 $(RAW_CXX_TARGET_EXPORTS) \
27466 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27467 for flag in $(EXTRA_TARGET_FLAGS); do \
27468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27469 done; \
27470 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27473 "RANLIB=$${RANLIB}" \
27474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27475 install-info) \
27476 || exit 1
27478 @endif target-libstdc++-v3
27480 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
27481 maybe-installcheck-target-libstdc++-v3:
27482 @if target-libstdc++-v3
27483 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
27485 installcheck-target-libstdc++-v3: \
27486 configure-target-libstdc++-v3
27487 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27488 r=`${PWD_COMMAND}`; export r; \
27489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27490 $(RAW_CXX_TARGET_EXPORTS) \
27491 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27492 for flag in $(EXTRA_TARGET_FLAGS); do \
27493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27494 done; \
27495 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27498 "RANLIB=$${RANLIB}" \
27499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27500 installcheck) \
27501 || exit 1
27503 @endif target-libstdc++-v3
27505 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
27506 maybe-mostlyclean-target-libstdc++-v3:
27507 @if target-libstdc++-v3
27508 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
27510 mostlyclean-target-libstdc++-v3:
27511 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27512 r=`${PWD_COMMAND}`; export r; \
27513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27514 $(RAW_CXX_TARGET_EXPORTS) \
27515 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27516 for flag in $(EXTRA_TARGET_FLAGS); do \
27517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27518 done; \
27519 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27522 "RANLIB=$${RANLIB}" \
27523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27524 mostlyclean) \
27525 || exit 1
27527 @endif target-libstdc++-v3
27529 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
27530 maybe-clean-target-libstdc++-v3:
27531 @if target-libstdc++-v3
27532 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
27534 clean-target-libstdc++-v3:
27535 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27536 r=`${PWD_COMMAND}`; export r; \
27537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27538 $(RAW_CXX_TARGET_EXPORTS) \
27539 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27540 for flag in $(EXTRA_TARGET_FLAGS); do \
27541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27542 done; \
27543 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27546 "RANLIB=$${RANLIB}" \
27547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27548 clean) \
27549 || exit 1
27551 @endif target-libstdc++-v3
27553 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
27554 maybe-distclean-target-libstdc++-v3:
27555 @if target-libstdc++-v3
27556 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
27558 distclean-target-libstdc++-v3:
27559 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27560 r=`${PWD_COMMAND}`; export r; \
27561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27562 $(RAW_CXX_TARGET_EXPORTS) \
27563 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27564 for flag in $(EXTRA_TARGET_FLAGS); do \
27565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27566 done; \
27567 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27570 "RANLIB=$${RANLIB}" \
27571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27572 distclean) \
27573 || exit 1
27575 @endif target-libstdc++-v3
27577 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
27578 maybe-maintainer-clean-target-libstdc++-v3:
27579 @if target-libstdc++-v3
27580 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
27582 maintainer-clean-target-libstdc++-v3:
27583 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27584 r=`${PWD_COMMAND}`; export r; \
27585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27586 $(RAW_CXX_TARGET_EXPORTS) \
27587 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27588 for flag in $(EXTRA_TARGET_FLAGS); do \
27589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27590 done; \
27591 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27594 "RANLIB=$${RANLIB}" \
27595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27596 maintainer-clean) \
27597 || exit 1
27599 @endif target-libstdc++-v3
27603 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27604 @if target-libmudflap
27605 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
27606 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
27607 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
27608 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
27609 @endif target-libmudflap
27613 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
27614 maybe-configure-target-libmudflap:
27615 @if target-libmudflap
27616 maybe-configure-target-libmudflap: configure-target-libmudflap
27617 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
27618 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
27619 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
27620 r=`${PWD_COMMAND}`; export r; \
27621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27622 $(NORMAL_TARGET_EXPORTS) \
27623 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
27624 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
27625 case $(srcdir) in \
27626 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27627 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
27628 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27629 esac; \
27630 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
27631 libsrcdir="$$s/libmudflap"; \
27632 rm -f no-such-file || : ; \
27633 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27634 $(TARGET_CONFIGARGS) $${srcdiroption} \
27635 || exit 1
27636 @endif target-libmudflap
27642 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
27643 maybe-all-target-libmudflap:
27644 @if target-libmudflap
27645 TARGET-target-libmudflap=all
27646 maybe-all-target-libmudflap: all-target-libmudflap
27647 all-target-libmudflap: configure-target-libmudflap
27648 @r=`${PWD_COMMAND}`; export r; \
27649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27650 $(NORMAL_TARGET_EXPORTS) \
27651 (cd $(TARGET_SUBDIR)/libmudflap && \
27652 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
27653 @endif target-libmudflap
27659 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
27660 maybe-check-target-libmudflap:
27661 @if target-libmudflap
27662 maybe-check-target-libmudflap: check-target-libmudflap
27664 check-target-libmudflap:
27665 @r=`${PWD_COMMAND}`; export r; \
27666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27667 $(NORMAL_TARGET_EXPORTS) \
27668 (cd $(TARGET_SUBDIR)/libmudflap && \
27669 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27671 @endif target-libmudflap
27673 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
27674 maybe-install-target-libmudflap:
27675 @if target-libmudflap
27676 maybe-install-target-libmudflap: install-target-libmudflap
27678 install-target-libmudflap: installdirs
27679 @r=`${PWD_COMMAND}`; export r; \
27680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27681 $(NORMAL_TARGET_EXPORTS) \
27682 (cd $(TARGET_SUBDIR)/libmudflap && \
27683 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27685 @endif target-libmudflap
27687 # Other targets (info, dvi, etc.)
27689 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
27690 maybe-info-target-libmudflap:
27691 @if target-libmudflap
27692 maybe-info-target-libmudflap: info-target-libmudflap
27694 info-target-libmudflap: \
27695 configure-target-libmudflap
27696 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27697 r=`${PWD_COMMAND}`; export r; \
27698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27699 $(NORMAL_TARGET_EXPORTS) \
27700 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
27701 for flag in $(EXTRA_TARGET_FLAGS); do \
27702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27703 done; \
27704 (cd $(TARGET_SUBDIR)/libmudflap && \
27705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27707 "RANLIB=$${RANLIB}" \
27708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27709 info) \
27710 || exit 1
27712 @endif target-libmudflap
27714 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
27715 maybe-dvi-target-libmudflap:
27716 @if target-libmudflap
27717 maybe-dvi-target-libmudflap: dvi-target-libmudflap
27719 dvi-target-libmudflap: \
27720 configure-target-libmudflap
27721 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27722 r=`${PWD_COMMAND}`; export r; \
27723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27724 $(NORMAL_TARGET_EXPORTS) \
27725 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
27726 for flag in $(EXTRA_TARGET_FLAGS); do \
27727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27728 done; \
27729 (cd $(TARGET_SUBDIR)/libmudflap && \
27730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27732 "RANLIB=$${RANLIB}" \
27733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27734 dvi) \
27735 || exit 1
27737 @endif target-libmudflap
27739 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
27740 maybe-html-target-libmudflap:
27741 @if target-libmudflap
27742 maybe-html-target-libmudflap: html-target-libmudflap
27744 html-target-libmudflap: \
27745 configure-target-libmudflap
27746 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27747 r=`${PWD_COMMAND}`; export r; \
27748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27749 $(NORMAL_TARGET_EXPORTS) \
27750 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
27751 for flag in $(EXTRA_TARGET_FLAGS); do \
27752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27753 done; \
27754 (cd $(TARGET_SUBDIR)/libmudflap && \
27755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27757 "RANLIB=$${RANLIB}" \
27758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27759 html) \
27760 || exit 1
27762 @endif target-libmudflap
27764 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
27765 maybe-TAGS-target-libmudflap:
27766 @if target-libmudflap
27767 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
27769 TAGS-target-libmudflap: \
27770 configure-target-libmudflap
27771 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27772 r=`${PWD_COMMAND}`; export r; \
27773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27774 $(NORMAL_TARGET_EXPORTS) \
27775 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
27776 for flag in $(EXTRA_TARGET_FLAGS); do \
27777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27778 done; \
27779 (cd $(TARGET_SUBDIR)/libmudflap && \
27780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27782 "RANLIB=$${RANLIB}" \
27783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27784 TAGS) \
27785 || exit 1
27787 @endif target-libmudflap
27789 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
27790 maybe-install-info-target-libmudflap:
27791 @if target-libmudflap
27792 maybe-install-info-target-libmudflap: install-info-target-libmudflap
27794 install-info-target-libmudflap: \
27795 configure-target-libmudflap \
27796 info-target-libmudflap
27797 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27798 r=`${PWD_COMMAND}`; export r; \
27799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27800 $(NORMAL_TARGET_EXPORTS) \
27801 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
27802 for flag in $(EXTRA_TARGET_FLAGS); do \
27803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27804 done; \
27805 (cd $(TARGET_SUBDIR)/libmudflap && \
27806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27808 "RANLIB=$${RANLIB}" \
27809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27810 install-info) \
27811 || exit 1
27813 @endif target-libmudflap
27815 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
27816 maybe-installcheck-target-libmudflap:
27817 @if target-libmudflap
27818 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
27820 installcheck-target-libmudflap: \
27821 configure-target-libmudflap
27822 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27823 r=`${PWD_COMMAND}`; export r; \
27824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27825 $(NORMAL_TARGET_EXPORTS) \
27826 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
27827 for flag in $(EXTRA_TARGET_FLAGS); do \
27828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27829 done; \
27830 (cd $(TARGET_SUBDIR)/libmudflap && \
27831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27833 "RANLIB=$${RANLIB}" \
27834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27835 installcheck) \
27836 || exit 1
27838 @endif target-libmudflap
27840 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
27841 maybe-mostlyclean-target-libmudflap:
27842 @if target-libmudflap
27843 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
27845 mostlyclean-target-libmudflap:
27846 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27847 r=`${PWD_COMMAND}`; export r; \
27848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27849 $(NORMAL_TARGET_EXPORTS) \
27850 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
27851 for flag in $(EXTRA_TARGET_FLAGS); do \
27852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27853 done; \
27854 (cd $(TARGET_SUBDIR)/libmudflap && \
27855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27857 "RANLIB=$${RANLIB}" \
27858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27859 mostlyclean) \
27860 || exit 1
27862 @endif target-libmudflap
27864 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
27865 maybe-clean-target-libmudflap:
27866 @if target-libmudflap
27867 maybe-clean-target-libmudflap: clean-target-libmudflap
27869 clean-target-libmudflap:
27870 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27871 r=`${PWD_COMMAND}`; export r; \
27872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27873 $(NORMAL_TARGET_EXPORTS) \
27874 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
27875 for flag in $(EXTRA_TARGET_FLAGS); do \
27876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27877 done; \
27878 (cd $(TARGET_SUBDIR)/libmudflap && \
27879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27881 "RANLIB=$${RANLIB}" \
27882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27883 clean) \
27884 || exit 1
27886 @endif target-libmudflap
27888 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
27889 maybe-distclean-target-libmudflap:
27890 @if target-libmudflap
27891 maybe-distclean-target-libmudflap: distclean-target-libmudflap
27893 distclean-target-libmudflap:
27894 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27895 r=`${PWD_COMMAND}`; export r; \
27896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27897 $(NORMAL_TARGET_EXPORTS) \
27898 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
27899 for flag in $(EXTRA_TARGET_FLAGS); do \
27900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27901 done; \
27902 (cd $(TARGET_SUBDIR)/libmudflap && \
27903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27905 "RANLIB=$${RANLIB}" \
27906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27907 distclean) \
27908 || exit 1
27910 @endif target-libmudflap
27912 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
27913 maybe-maintainer-clean-target-libmudflap:
27914 @if target-libmudflap
27915 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
27917 maintainer-clean-target-libmudflap:
27918 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27919 r=`${PWD_COMMAND}`; export r; \
27920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27921 $(NORMAL_TARGET_EXPORTS) \
27922 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
27923 for flag in $(EXTRA_TARGET_FLAGS); do \
27924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27925 done; \
27926 (cd $(TARGET_SUBDIR)/libmudflap && \
27927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27929 "RANLIB=$${RANLIB}" \
27930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27931 maintainer-clean) \
27932 || exit 1
27934 @endif target-libmudflap
27938 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27939 @if target-newlib
27940 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
27941 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
27942 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
27943 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
27944 @endif target-newlib
27948 .PHONY: configure-target-newlib maybe-configure-target-newlib
27949 maybe-configure-target-newlib:
27950 @if target-newlib
27951 maybe-configure-target-newlib: configure-target-newlib
27952 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
27953 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
27954 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
27955 r=`${PWD_COMMAND}`; export r; \
27956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27957 $(NORMAL_TARGET_EXPORTS) \
27958 echo Configuring in $(TARGET_SUBDIR)/newlib; \
27959 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
27960 case $(srcdir) in \
27961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27962 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
27963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27964 esac; \
27965 srcdiroption="--srcdir=$${topdir}/newlib"; \
27966 libsrcdir="$$s/newlib"; \
27967 rm -f no-such-file || : ; \
27968 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27969 $(TARGET_CONFIGARGS) $${srcdiroption} \
27970 || exit 1
27971 @endif target-newlib
27977 .PHONY: all-target-newlib maybe-all-target-newlib
27978 maybe-all-target-newlib:
27979 @if target-newlib
27980 TARGET-target-newlib=all
27981 maybe-all-target-newlib: all-target-newlib
27982 all-target-newlib: configure-target-newlib
27983 @r=`${PWD_COMMAND}`; export r; \
27984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27985 $(NORMAL_TARGET_EXPORTS) \
27986 (cd $(TARGET_SUBDIR)/newlib && \
27987 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
27988 @endif target-newlib
27994 .PHONY: check-target-newlib maybe-check-target-newlib
27995 maybe-check-target-newlib:
27996 @if target-newlib
27997 maybe-check-target-newlib: check-target-newlib
27999 check-target-newlib:
28000 @r=`${PWD_COMMAND}`; export r; \
28001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28002 $(NORMAL_TARGET_EXPORTS) \
28003 (cd $(TARGET_SUBDIR)/newlib && \
28004 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28006 @endif target-newlib
28008 .PHONY: install-target-newlib maybe-install-target-newlib
28009 maybe-install-target-newlib:
28010 @if target-newlib
28011 maybe-install-target-newlib: install-target-newlib
28013 install-target-newlib: installdirs
28014 @r=`${PWD_COMMAND}`; export r; \
28015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28016 $(NORMAL_TARGET_EXPORTS) \
28017 (cd $(TARGET_SUBDIR)/newlib && \
28018 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28020 @endif target-newlib
28022 # Other targets (info, dvi, etc.)
28024 .PHONY: maybe-info-target-newlib info-target-newlib
28025 maybe-info-target-newlib:
28026 @if target-newlib
28027 maybe-info-target-newlib: info-target-newlib
28029 info-target-newlib: \
28030 configure-target-newlib
28031 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28032 r=`${PWD_COMMAND}`; export r; \
28033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28034 $(NORMAL_TARGET_EXPORTS) \
28035 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
28036 for flag in $(EXTRA_TARGET_FLAGS); do \
28037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28038 done; \
28039 (cd $(TARGET_SUBDIR)/newlib && \
28040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28042 "RANLIB=$${RANLIB}" \
28043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28044 info) \
28045 || exit 1
28047 @endif target-newlib
28049 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
28050 maybe-dvi-target-newlib:
28051 @if target-newlib
28052 maybe-dvi-target-newlib: dvi-target-newlib
28054 dvi-target-newlib: \
28055 configure-target-newlib
28056 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28057 r=`${PWD_COMMAND}`; export r; \
28058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28059 $(NORMAL_TARGET_EXPORTS) \
28060 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
28061 for flag in $(EXTRA_TARGET_FLAGS); do \
28062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28063 done; \
28064 (cd $(TARGET_SUBDIR)/newlib && \
28065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28067 "RANLIB=$${RANLIB}" \
28068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28069 dvi) \
28070 || exit 1
28072 @endif target-newlib
28074 .PHONY: maybe-html-target-newlib html-target-newlib
28075 maybe-html-target-newlib:
28076 @if target-newlib
28077 maybe-html-target-newlib: html-target-newlib
28079 html-target-newlib: \
28080 configure-target-newlib
28081 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28082 r=`${PWD_COMMAND}`; export r; \
28083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28084 $(NORMAL_TARGET_EXPORTS) \
28085 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
28086 for flag in $(EXTRA_TARGET_FLAGS); do \
28087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28088 done; \
28089 (cd $(TARGET_SUBDIR)/newlib && \
28090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28092 "RANLIB=$${RANLIB}" \
28093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28094 html) \
28095 || exit 1
28097 @endif target-newlib
28099 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
28100 maybe-TAGS-target-newlib:
28101 @if target-newlib
28102 maybe-TAGS-target-newlib: TAGS-target-newlib
28104 TAGS-target-newlib: \
28105 configure-target-newlib
28106 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28107 r=`${PWD_COMMAND}`; export r; \
28108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28109 $(NORMAL_TARGET_EXPORTS) \
28110 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
28111 for flag in $(EXTRA_TARGET_FLAGS); do \
28112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28113 done; \
28114 (cd $(TARGET_SUBDIR)/newlib && \
28115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28117 "RANLIB=$${RANLIB}" \
28118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28119 TAGS) \
28120 || exit 1
28122 @endif target-newlib
28124 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
28125 maybe-install-info-target-newlib:
28126 @if target-newlib
28127 maybe-install-info-target-newlib: install-info-target-newlib
28129 install-info-target-newlib: \
28130 configure-target-newlib \
28131 info-target-newlib
28132 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28133 r=`${PWD_COMMAND}`; export r; \
28134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28135 $(NORMAL_TARGET_EXPORTS) \
28136 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
28137 for flag in $(EXTRA_TARGET_FLAGS); do \
28138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28139 done; \
28140 (cd $(TARGET_SUBDIR)/newlib && \
28141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28143 "RANLIB=$${RANLIB}" \
28144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28145 install-info) \
28146 || exit 1
28148 @endif target-newlib
28150 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
28151 maybe-installcheck-target-newlib:
28152 @if target-newlib
28153 maybe-installcheck-target-newlib: installcheck-target-newlib
28155 installcheck-target-newlib: \
28156 configure-target-newlib
28157 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28158 r=`${PWD_COMMAND}`; export r; \
28159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28160 $(NORMAL_TARGET_EXPORTS) \
28161 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
28162 for flag in $(EXTRA_TARGET_FLAGS); do \
28163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28164 done; \
28165 (cd $(TARGET_SUBDIR)/newlib && \
28166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28168 "RANLIB=$${RANLIB}" \
28169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28170 installcheck) \
28171 || exit 1
28173 @endif target-newlib
28175 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
28176 maybe-mostlyclean-target-newlib:
28177 @if target-newlib
28178 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
28180 mostlyclean-target-newlib:
28181 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28182 r=`${PWD_COMMAND}`; export r; \
28183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28184 $(NORMAL_TARGET_EXPORTS) \
28185 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
28186 for flag in $(EXTRA_TARGET_FLAGS); do \
28187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28188 done; \
28189 (cd $(TARGET_SUBDIR)/newlib && \
28190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28192 "RANLIB=$${RANLIB}" \
28193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28194 mostlyclean) \
28195 || exit 1
28197 @endif target-newlib
28199 .PHONY: maybe-clean-target-newlib clean-target-newlib
28200 maybe-clean-target-newlib:
28201 @if target-newlib
28202 maybe-clean-target-newlib: clean-target-newlib
28204 clean-target-newlib:
28205 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28206 r=`${PWD_COMMAND}`; export r; \
28207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28208 $(NORMAL_TARGET_EXPORTS) \
28209 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
28210 for flag in $(EXTRA_TARGET_FLAGS); do \
28211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28212 done; \
28213 (cd $(TARGET_SUBDIR)/newlib && \
28214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28216 "RANLIB=$${RANLIB}" \
28217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28218 clean) \
28219 || exit 1
28221 @endif target-newlib
28223 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
28224 maybe-distclean-target-newlib:
28225 @if target-newlib
28226 maybe-distclean-target-newlib: distclean-target-newlib
28228 distclean-target-newlib:
28229 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28230 r=`${PWD_COMMAND}`; export r; \
28231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28232 $(NORMAL_TARGET_EXPORTS) \
28233 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
28234 for flag in $(EXTRA_TARGET_FLAGS); do \
28235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28236 done; \
28237 (cd $(TARGET_SUBDIR)/newlib && \
28238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28240 "RANLIB=$${RANLIB}" \
28241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28242 distclean) \
28243 || exit 1
28245 @endif target-newlib
28247 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
28248 maybe-maintainer-clean-target-newlib:
28249 @if target-newlib
28250 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
28252 maintainer-clean-target-newlib:
28253 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28254 r=`${PWD_COMMAND}`; export r; \
28255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28256 $(NORMAL_TARGET_EXPORTS) \
28257 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
28258 for flag in $(EXTRA_TARGET_FLAGS); do \
28259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28260 done; \
28261 (cd $(TARGET_SUBDIR)/newlib && \
28262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28264 "RANLIB=$${RANLIB}" \
28265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28266 maintainer-clean) \
28267 || exit 1
28269 @endif target-newlib
28273 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28274 @if target-libgfortran
28275 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
28276 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
28277 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
28278 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
28279 @endif target-libgfortran
28283 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
28284 maybe-configure-target-libgfortran:
28285 @if target-libgfortran
28286 maybe-configure-target-libgfortran: configure-target-libgfortran
28287 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
28288 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
28289 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
28290 r=`${PWD_COMMAND}`; export r; \
28291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28292 $(NORMAL_TARGET_EXPORTS) \
28293 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
28294 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
28295 case $(srcdir) in \
28296 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28297 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
28298 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28299 esac; \
28300 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
28301 libsrcdir="$$s/libgfortran"; \
28302 rm -f no-such-file || : ; \
28303 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28304 $(TARGET_CONFIGARGS) $${srcdiroption} \
28305 || exit 1
28306 @endif target-libgfortran
28312 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
28313 maybe-all-target-libgfortran:
28314 @if target-libgfortran
28315 TARGET-target-libgfortran=all
28316 maybe-all-target-libgfortran: all-target-libgfortran
28317 all-target-libgfortran: configure-target-libgfortran
28318 @r=`${PWD_COMMAND}`; export r; \
28319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28320 $(NORMAL_TARGET_EXPORTS) \
28321 (cd $(TARGET_SUBDIR)/libgfortran && \
28322 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
28323 @endif target-libgfortran
28329 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
28330 maybe-check-target-libgfortran:
28331 @if target-libgfortran
28332 maybe-check-target-libgfortran: check-target-libgfortran
28334 check-target-libgfortran:
28335 @r=`${PWD_COMMAND}`; export r; \
28336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28337 $(NORMAL_TARGET_EXPORTS) \
28338 (cd $(TARGET_SUBDIR)/libgfortran && \
28339 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28341 @endif target-libgfortran
28343 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
28344 maybe-install-target-libgfortran:
28345 @if target-libgfortran
28346 maybe-install-target-libgfortran: install-target-libgfortran
28348 install-target-libgfortran: installdirs
28349 @r=`${PWD_COMMAND}`; export r; \
28350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28351 $(NORMAL_TARGET_EXPORTS) \
28352 (cd $(TARGET_SUBDIR)/libgfortran && \
28353 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28355 @endif target-libgfortran
28357 # Other targets (info, dvi, etc.)
28359 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
28360 maybe-info-target-libgfortran:
28361 @if target-libgfortran
28362 maybe-info-target-libgfortran: info-target-libgfortran
28364 info-target-libgfortran: \
28365 configure-target-libgfortran
28366 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28367 r=`${PWD_COMMAND}`; export r; \
28368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28369 $(NORMAL_TARGET_EXPORTS) \
28370 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
28371 for flag in $(EXTRA_TARGET_FLAGS); do \
28372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28373 done; \
28374 (cd $(TARGET_SUBDIR)/libgfortran && \
28375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28377 "RANLIB=$${RANLIB}" \
28378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28379 info) \
28380 || exit 1
28382 @endif target-libgfortran
28384 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
28385 maybe-dvi-target-libgfortran:
28386 @if target-libgfortran
28387 maybe-dvi-target-libgfortran: dvi-target-libgfortran
28389 dvi-target-libgfortran: \
28390 configure-target-libgfortran
28391 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28392 r=`${PWD_COMMAND}`; export r; \
28393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28394 $(NORMAL_TARGET_EXPORTS) \
28395 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
28396 for flag in $(EXTRA_TARGET_FLAGS); do \
28397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28398 done; \
28399 (cd $(TARGET_SUBDIR)/libgfortran && \
28400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28402 "RANLIB=$${RANLIB}" \
28403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28404 dvi) \
28405 || exit 1
28407 @endif target-libgfortran
28409 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
28410 maybe-html-target-libgfortran:
28411 @if target-libgfortran
28412 maybe-html-target-libgfortran: html-target-libgfortran
28414 html-target-libgfortran: \
28415 configure-target-libgfortran
28416 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28417 r=`${PWD_COMMAND}`; export r; \
28418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28419 $(NORMAL_TARGET_EXPORTS) \
28420 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
28421 for flag in $(EXTRA_TARGET_FLAGS); do \
28422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28423 done; \
28424 (cd $(TARGET_SUBDIR)/libgfortran && \
28425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28427 "RANLIB=$${RANLIB}" \
28428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28429 html) \
28430 || exit 1
28432 @endif target-libgfortran
28434 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
28435 maybe-TAGS-target-libgfortran:
28436 @if target-libgfortran
28437 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
28439 TAGS-target-libgfortran: \
28440 configure-target-libgfortran
28441 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28442 r=`${PWD_COMMAND}`; export r; \
28443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28444 $(NORMAL_TARGET_EXPORTS) \
28445 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
28446 for flag in $(EXTRA_TARGET_FLAGS); do \
28447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28448 done; \
28449 (cd $(TARGET_SUBDIR)/libgfortran && \
28450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28452 "RANLIB=$${RANLIB}" \
28453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28454 TAGS) \
28455 || exit 1
28457 @endif target-libgfortran
28459 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
28460 maybe-install-info-target-libgfortran:
28461 @if target-libgfortran
28462 maybe-install-info-target-libgfortran: install-info-target-libgfortran
28464 install-info-target-libgfortran: \
28465 configure-target-libgfortran \
28466 info-target-libgfortran
28467 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28468 r=`${PWD_COMMAND}`; export r; \
28469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28470 $(NORMAL_TARGET_EXPORTS) \
28471 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
28472 for flag in $(EXTRA_TARGET_FLAGS); do \
28473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28474 done; \
28475 (cd $(TARGET_SUBDIR)/libgfortran && \
28476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28478 "RANLIB=$${RANLIB}" \
28479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28480 install-info) \
28481 || exit 1
28483 @endif target-libgfortran
28485 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
28486 maybe-installcheck-target-libgfortran:
28487 @if target-libgfortran
28488 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
28490 installcheck-target-libgfortran: \
28491 configure-target-libgfortran
28492 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28493 r=`${PWD_COMMAND}`; export r; \
28494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28495 $(NORMAL_TARGET_EXPORTS) \
28496 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
28497 for flag in $(EXTRA_TARGET_FLAGS); do \
28498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28499 done; \
28500 (cd $(TARGET_SUBDIR)/libgfortran && \
28501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28503 "RANLIB=$${RANLIB}" \
28504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28505 installcheck) \
28506 || exit 1
28508 @endif target-libgfortran
28510 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
28511 maybe-mostlyclean-target-libgfortran:
28512 @if target-libgfortran
28513 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
28515 mostlyclean-target-libgfortran:
28516 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28517 r=`${PWD_COMMAND}`; export r; \
28518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28519 $(NORMAL_TARGET_EXPORTS) \
28520 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
28521 for flag in $(EXTRA_TARGET_FLAGS); do \
28522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28523 done; \
28524 (cd $(TARGET_SUBDIR)/libgfortran && \
28525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28527 "RANLIB=$${RANLIB}" \
28528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28529 mostlyclean) \
28530 || exit 1
28532 @endif target-libgfortran
28534 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
28535 maybe-clean-target-libgfortran:
28536 @if target-libgfortran
28537 maybe-clean-target-libgfortran: clean-target-libgfortran
28539 clean-target-libgfortran:
28540 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28541 r=`${PWD_COMMAND}`; export r; \
28542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28543 $(NORMAL_TARGET_EXPORTS) \
28544 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
28545 for flag in $(EXTRA_TARGET_FLAGS); do \
28546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28547 done; \
28548 (cd $(TARGET_SUBDIR)/libgfortran && \
28549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28551 "RANLIB=$${RANLIB}" \
28552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28553 clean) \
28554 || exit 1
28556 @endif target-libgfortran
28558 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
28559 maybe-distclean-target-libgfortran:
28560 @if target-libgfortran
28561 maybe-distclean-target-libgfortran: distclean-target-libgfortran
28563 distclean-target-libgfortran:
28564 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28565 r=`${PWD_COMMAND}`; export r; \
28566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28567 $(NORMAL_TARGET_EXPORTS) \
28568 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
28569 for flag in $(EXTRA_TARGET_FLAGS); do \
28570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28571 done; \
28572 (cd $(TARGET_SUBDIR)/libgfortran && \
28573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28575 "RANLIB=$${RANLIB}" \
28576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28577 distclean) \
28578 || exit 1
28580 @endif target-libgfortran
28582 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
28583 maybe-maintainer-clean-target-libgfortran:
28584 @if target-libgfortran
28585 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
28587 maintainer-clean-target-libgfortran:
28588 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28589 r=`${PWD_COMMAND}`; export r; \
28590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28591 $(NORMAL_TARGET_EXPORTS) \
28592 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
28593 for flag in $(EXTRA_TARGET_FLAGS); do \
28594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28595 done; \
28596 (cd $(TARGET_SUBDIR)/libgfortran && \
28597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28599 "RANLIB=$${RANLIB}" \
28600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28601 maintainer-clean) \
28602 || exit 1
28604 @endif target-libgfortran
28608 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28609 @if target-libobjc
28610 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
28611 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
28612 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
28613 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
28614 @endif target-libobjc
28618 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
28619 maybe-configure-target-libobjc:
28620 @if target-libobjc
28621 maybe-configure-target-libobjc: configure-target-libobjc
28622 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
28623 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
28624 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
28625 r=`${PWD_COMMAND}`; export r; \
28626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28627 $(NORMAL_TARGET_EXPORTS) \
28628 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
28629 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
28630 case $(srcdir) in \
28631 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28632 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
28633 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28634 esac; \
28635 srcdiroption="--srcdir=$${topdir}/libobjc"; \
28636 libsrcdir="$$s/libobjc"; \
28637 rm -f no-such-file || : ; \
28638 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28639 $(TARGET_CONFIGARGS) $${srcdiroption} \
28640 || exit 1
28641 @endif target-libobjc
28647 .PHONY: all-target-libobjc maybe-all-target-libobjc
28648 maybe-all-target-libobjc:
28649 @if target-libobjc
28650 TARGET-target-libobjc=all
28651 maybe-all-target-libobjc: all-target-libobjc
28652 all-target-libobjc: configure-target-libobjc
28653 @r=`${PWD_COMMAND}`; export r; \
28654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28655 $(NORMAL_TARGET_EXPORTS) \
28656 (cd $(TARGET_SUBDIR)/libobjc && \
28657 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
28658 @endif target-libobjc
28664 .PHONY: check-target-libobjc maybe-check-target-libobjc
28665 maybe-check-target-libobjc:
28666 @if target-libobjc
28667 maybe-check-target-libobjc: check-target-libobjc
28669 check-target-libobjc:
28670 @r=`${PWD_COMMAND}`; export r; \
28671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28672 $(NORMAL_TARGET_EXPORTS) \
28673 (cd $(TARGET_SUBDIR)/libobjc && \
28674 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28676 @endif target-libobjc
28678 .PHONY: install-target-libobjc maybe-install-target-libobjc
28679 maybe-install-target-libobjc:
28680 @if target-libobjc
28681 maybe-install-target-libobjc: install-target-libobjc
28683 install-target-libobjc: installdirs
28684 @r=`${PWD_COMMAND}`; export r; \
28685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28686 $(NORMAL_TARGET_EXPORTS) \
28687 (cd $(TARGET_SUBDIR)/libobjc && \
28688 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28690 @endif target-libobjc
28692 # Other targets (info, dvi, etc.)
28694 .PHONY: maybe-info-target-libobjc info-target-libobjc
28695 maybe-info-target-libobjc:
28696 @if target-libobjc
28697 maybe-info-target-libobjc: info-target-libobjc
28699 info-target-libobjc: \
28700 configure-target-libobjc
28701 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
28702 r=`${PWD_COMMAND}`; export r; \
28703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28704 $(NORMAL_TARGET_EXPORTS) \
28705 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
28706 for flag in $(EXTRA_TARGET_FLAGS); do \
28707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28708 done; \
28709 (cd $(TARGET_SUBDIR)/libobjc && \
28710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28712 "RANLIB=$${RANLIB}" \
28713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28714 info) \
28715 || exit 1
28717 @endif target-libobjc
28719 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
28720 maybe-dvi-target-libobjc:
28721 @if target-libobjc
28722 maybe-dvi-target-libobjc: dvi-target-libobjc
28724 dvi-target-libobjc: \
28725 configure-target-libobjc
28726 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
28727 r=`${PWD_COMMAND}`; export r; \
28728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28729 $(NORMAL_TARGET_EXPORTS) \
28730 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
28731 for flag in $(EXTRA_TARGET_FLAGS); do \
28732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28733 done; \
28734 (cd $(TARGET_SUBDIR)/libobjc && \
28735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28737 "RANLIB=$${RANLIB}" \
28738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28739 dvi) \
28740 || exit 1
28742 @endif target-libobjc
28744 .PHONY: maybe-html-target-libobjc html-target-libobjc
28745 maybe-html-target-libobjc:
28746 @if target-libobjc
28747 maybe-html-target-libobjc: html-target-libobjc
28749 html-target-libobjc: \
28750 configure-target-libobjc
28751 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
28752 r=`${PWD_COMMAND}`; export r; \
28753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28754 $(NORMAL_TARGET_EXPORTS) \
28755 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
28756 for flag in $(EXTRA_TARGET_FLAGS); do \
28757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28758 done; \
28759 (cd $(TARGET_SUBDIR)/libobjc && \
28760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28762 "RANLIB=$${RANLIB}" \
28763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28764 html) \
28765 || exit 1
28767 @endif target-libobjc
28769 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
28770 maybe-TAGS-target-libobjc:
28771 @if target-libobjc
28772 maybe-TAGS-target-libobjc: TAGS-target-libobjc
28774 TAGS-target-libobjc: \
28775 configure-target-libobjc
28776 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
28777 r=`${PWD_COMMAND}`; export r; \
28778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28779 $(NORMAL_TARGET_EXPORTS) \
28780 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
28781 for flag in $(EXTRA_TARGET_FLAGS); do \
28782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28783 done; \
28784 (cd $(TARGET_SUBDIR)/libobjc && \
28785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28787 "RANLIB=$${RANLIB}" \
28788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28789 TAGS) \
28790 || exit 1
28792 @endif target-libobjc
28794 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
28795 maybe-install-info-target-libobjc:
28796 @if target-libobjc
28797 maybe-install-info-target-libobjc: install-info-target-libobjc
28799 install-info-target-libobjc: \
28800 configure-target-libobjc \
28801 info-target-libobjc
28802 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
28803 r=`${PWD_COMMAND}`; export r; \
28804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28805 $(NORMAL_TARGET_EXPORTS) \
28806 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
28807 for flag in $(EXTRA_TARGET_FLAGS); do \
28808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28809 done; \
28810 (cd $(TARGET_SUBDIR)/libobjc && \
28811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28813 "RANLIB=$${RANLIB}" \
28814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28815 install-info) \
28816 || exit 1
28818 @endif target-libobjc
28820 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
28821 maybe-installcheck-target-libobjc:
28822 @if target-libobjc
28823 maybe-installcheck-target-libobjc: installcheck-target-libobjc
28825 installcheck-target-libobjc: \
28826 configure-target-libobjc
28827 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
28828 r=`${PWD_COMMAND}`; export r; \
28829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28830 $(NORMAL_TARGET_EXPORTS) \
28831 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
28832 for flag in $(EXTRA_TARGET_FLAGS); do \
28833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28834 done; \
28835 (cd $(TARGET_SUBDIR)/libobjc && \
28836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28838 "RANLIB=$${RANLIB}" \
28839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28840 installcheck) \
28841 || exit 1
28843 @endif target-libobjc
28845 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
28846 maybe-mostlyclean-target-libobjc:
28847 @if target-libobjc
28848 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
28850 mostlyclean-target-libobjc:
28851 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
28852 r=`${PWD_COMMAND}`; export r; \
28853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28854 $(NORMAL_TARGET_EXPORTS) \
28855 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
28856 for flag in $(EXTRA_TARGET_FLAGS); do \
28857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28858 done; \
28859 (cd $(TARGET_SUBDIR)/libobjc && \
28860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28862 "RANLIB=$${RANLIB}" \
28863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28864 mostlyclean) \
28865 || exit 1
28867 @endif target-libobjc
28869 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
28870 maybe-clean-target-libobjc:
28871 @if target-libobjc
28872 maybe-clean-target-libobjc: clean-target-libobjc
28874 clean-target-libobjc:
28875 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
28876 r=`${PWD_COMMAND}`; export r; \
28877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28878 $(NORMAL_TARGET_EXPORTS) \
28879 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
28880 for flag in $(EXTRA_TARGET_FLAGS); do \
28881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28882 done; \
28883 (cd $(TARGET_SUBDIR)/libobjc && \
28884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28886 "RANLIB=$${RANLIB}" \
28887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28888 clean) \
28889 || exit 1
28891 @endif target-libobjc
28893 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
28894 maybe-distclean-target-libobjc:
28895 @if target-libobjc
28896 maybe-distclean-target-libobjc: distclean-target-libobjc
28898 distclean-target-libobjc:
28899 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
28900 r=`${PWD_COMMAND}`; export r; \
28901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28902 $(NORMAL_TARGET_EXPORTS) \
28903 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
28904 for flag in $(EXTRA_TARGET_FLAGS); do \
28905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28906 done; \
28907 (cd $(TARGET_SUBDIR)/libobjc && \
28908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28910 "RANLIB=$${RANLIB}" \
28911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28912 distclean) \
28913 || exit 1
28915 @endif target-libobjc
28917 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
28918 maybe-maintainer-clean-target-libobjc:
28919 @if target-libobjc
28920 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
28922 maintainer-clean-target-libobjc:
28923 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
28924 r=`${PWD_COMMAND}`; export r; \
28925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28926 $(NORMAL_TARGET_EXPORTS) \
28927 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
28928 for flag in $(EXTRA_TARGET_FLAGS); do \
28929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28930 done; \
28931 (cd $(TARGET_SUBDIR)/libobjc && \
28932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28934 "RANLIB=$${RANLIB}" \
28935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28936 maintainer-clean) \
28937 || exit 1
28939 @endif target-libobjc
28943 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28944 @if target-libtermcap
28945 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
28946 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
28947 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
28948 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
28949 @endif target-libtermcap
28953 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
28954 maybe-configure-target-libtermcap:
28955 @if target-libtermcap
28956 maybe-configure-target-libtermcap: configure-target-libtermcap
28957 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
28958 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
28959 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
28960 r=`${PWD_COMMAND}`; export r; \
28961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28962 $(NORMAL_TARGET_EXPORTS) \
28963 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
28964 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
28965 case $(srcdir) in \
28966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28967 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
28968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28969 esac; \
28970 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
28971 libsrcdir="$$s/libtermcap"; \
28972 rm -f no-such-file || : ; \
28973 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28974 $(TARGET_CONFIGARGS) $${srcdiroption} \
28975 || exit 1
28976 @endif target-libtermcap
28982 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
28983 maybe-all-target-libtermcap:
28984 @if target-libtermcap
28985 TARGET-target-libtermcap=all
28986 maybe-all-target-libtermcap: all-target-libtermcap
28987 all-target-libtermcap: configure-target-libtermcap
28988 @r=`${PWD_COMMAND}`; export r; \
28989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28990 $(NORMAL_TARGET_EXPORTS) \
28991 (cd $(TARGET_SUBDIR)/libtermcap && \
28992 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
28993 @endif target-libtermcap
28999 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
29000 maybe-check-target-libtermcap:
29001 @if target-libtermcap
29002 maybe-check-target-libtermcap: check-target-libtermcap
29004 # Dummy target for uncheckable module.
29005 check-target-libtermcap:
29007 @endif target-libtermcap
29009 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
29010 maybe-install-target-libtermcap:
29011 @if target-libtermcap
29012 maybe-install-target-libtermcap: install-target-libtermcap
29014 install-target-libtermcap: installdirs
29015 @r=`${PWD_COMMAND}`; export r; \
29016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29017 $(NORMAL_TARGET_EXPORTS) \
29018 (cd $(TARGET_SUBDIR)/libtermcap && \
29019 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29021 @endif target-libtermcap
29023 # Other targets (info, dvi, etc.)
29025 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
29026 maybe-info-target-libtermcap:
29027 @if target-libtermcap
29028 maybe-info-target-libtermcap: info-target-libtermcap
29030 info-target-libtermcap: \
29031 configure-target-libtermcap
29032 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29033 r=`${PWD_COMMAND}`; export r; \
29034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29035 $(NORMAL_TARGET_EXPORTS) \
29036 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
29037 for flag in $(EXTRA_TARGET_FLAGS); do \
29038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29039 done; \
29040 (cd $(TARGET_SUBDIR)/libtermcap && \
29041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29043 "RANLIB=$${RANLIB}" \
29044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29045 info) \
29046 || exit 1
29048 @endif target-libtermcap
29050 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
29051 maybe-dvi-target-libtermcap:
29052 @if target-libtermcap
29053 maybe-dvi-target-libtermcap: dvi-target-libtermcap
29055 dvi-target-libtermcap: \
29056 configure-target-libtermcap
29057 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29058 r=`${PWD_COMMAND}`; export r; \
29059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29060 $(NORMAL_TARGET_EXPORTS) \
29061 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
29062 for flag in $(EXTRA_TARGET_FLAGS); do \
29063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29064 done; \
29065 (cd $(TARGET_SUBDIR)/libtermcap && \
29066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29068 "RANLIB=$${RANLIB}" \
29069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29070 dvi) \
29071 || exit 1
29073 @endif target-libtermcap
29075 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
29076 maybe-html-target-libtermcap:
29077 @if target-libtermcap
29078 maybe-html-target-libtermcap: html-target-libtermcap
29080 html-target-libtermcap: \
29081 configure-target-libtermcap
29082 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29083 r=`${PWD_COMMAND}`; export r; \
29084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29085 $(NORMAL_TARGET_EXPORTS) \
29086 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
29087 for flag in $(EXTRA_TARGET_FLAGS); do \
29088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29089 done; \
29090 (cd $(TARGET_SUBDIR)/libtermcap && \
29091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29093 "RANLIB=$${RANLIB}" \
29094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29095 html) \
29096 || exit 1
29098 @endif target-libtermcap
29100 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
29101 maybe-TAGS-target-libtermcap:
29102 @if target-libtermcap
29103 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
29105 TAGS-target-libtermcap: \
29106 configure-target-libtermcap
29107 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29108 r=`${PWD_COMMAND}`; export r; \
29109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29110 $(NORMAL_TARGET_EXPORTS) \
29111 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
29112 for flag in $(EXTRA_TARGET_FLAGS); do \
29113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29114 done; \
29115 (cd $(TARGET_SUBDIR)/libtermcap && \
29116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29118 "RANLIB=$${RANLIB}" \
29119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29120 TAGS) \
29121 || exit 1
29123 @endif target-libtermcap
29125 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
29126 maybe-install-info-target-libtermcap:
29127 @if target-libtermcap
29128 maybe-install-info-target-libtermcap: install-info-target-libtermcap
29130 install-info-target-libtermcap: \
29131 configure-target-libtermcap \
29132 info-target-libtermcap
29133 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29134 r=`${PWD_COMMAND}`; export r; \
29135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29136 $(NORMAL_TARGET_EXPORTS) \
29137 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
29138 for flag in $(EXTRA_TARGET_FLAGS); do \
29139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29140 done; \
29141 (cd $(TARGET_SUBDIR)/libtermcap && \
29142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29144 "RANLIB=$${RANLIB}" \
29145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29146 install-info) \
29147 || exit 1
29149 @endif target-libtermcap
29151 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
29152 maybe-installcheck-target-libtermcap:
29153 @if target-libtermcap
29154 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
29156 installcheck-target-libtermcap: \
29157 configure-target-libtermcap
29158 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29159 r=`${PWD_COMMAND}`; export r; \
29160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29161 $(NORMAL_TARGET_EXPORTS) \
29162 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
29163 for flag in $(EXTRA_TARGET_FLAGS); do \
29164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29165 done; \
29166 (cd $(TARGET_SUBDIR)/libtermcap && \
29167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29169 "RANLIB=$${RANLIB}" \
29170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29171 installcheck) \
29172 || exit 1
29174 @endif target-libtermcap
29176 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
29177 maybe-mostlyclean-target-libtermcap:
29178 @if target-libtermcap
29179 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
29181 # libtermcap doesn't support mostlyclean.
29182 mostlyclean-target-libtermcap:
29184 @endif target-libtermcap
29186 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
29187 maybe-clean-target-libtermcap:
29188 @if target-libtermcap
29189 maybe-clean-target-libtermcap: clean-target-libtermcap
29191 # libtermcap doesn't support clean.
29192 clean-target-libtermcap:
29194 @endif target-libtermcap
29196 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
29197 maybe-distclean-target-libtermcap:
29198 @if target-libtermcap
29199 maybe-distclean-target-libtermcap: distclean-target-libtermcap
29201 # libtermcap doesn't support distclean.
29202 distclean-target-libtermcap:
29204 @endif target-libtermcap
29206 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
29207 maybe-maintainer-clean-target-libtermcap:
29208 @if target-libtermcap
29209 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
29211 # libtermcap doesn't support maintainer-clean.
29212 maintainer-clean-target-libtermcap:
29214 @endif target-libtermcap
29218 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29219 @if target-winsup
29220 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
29221 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
29222 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
29223 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
29224 @endif target-winsup
29228 .PHONY: configure-target-winsup maybe-configure-target-winsup
29229 maybe-configure-target-winsup:
29230 @if target-winsup
29231 maybe-configure-target-winsup: configure-target-winsup
29232 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
29233 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
29234 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
29235 r=`${PWD_COMMAND}`; export r; \
29236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29237 $(NORMAL_TARGET_EXPORTS) \
29238 echo Configuring in $(TARGET_SUBDIR)/winsup; \
29239 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
29240 case $(srcdir) in \
29241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29242 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
29243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29244 esac; \
29245 srcdiroption="--srcdir=$${topdir}/winsup"; \
29246 libsrcdir="$$s/winsup"; \
29247 rm -f no-such-file || : ; \
29248 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29249 $(TARGET_CONFIGARGS) $${srcdiroption} \
29250 || exit 1
29251 @endif target-winsup
29257 .PHONY: all-target-winsup maybe-all-target-winsup
29258 maybe-all-target-winsup:
29259 @if target-winsup
29260 TARGET-target-winsup=all
29261 maybe-all-target-winsup: all-target-winsup
29262 all-target-winsup: configure-target-winsup
29263 @r=`${PWD_COMMAND}`; export r; \
29264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29265 $(NORMAL_TARGET_EXPORTS) \
29266 (cd $(TARGET_SUBDIR)/winsup && \
29267 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
29268 @endif target-winsup
29274 .PHONY: check-target-winsup maybe-check-target-winsup
29275 maybe-check-target-winsup:
29276 @if target-winsup
29277 maybe-check-target-winsup: check-target-winsup
29279 check-target-winsup:
29280 @r=`${PWD_COMMAND}`; export r; \
29281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29282 $(NORMAL_TARGET_EXPORTS) \
29283 (cd $(TARGET_SUBDIR)/winsup && \
29284 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29286 @endif target-winsup
29288 .PHONY: install-target-winsup maybe-install-target-winsup
29289 maybe-install-target-winsup:
29290 @if target-winsup
29291 maybe-install-target-winsup: install-target-winsup
29293 install-target-winsup: installdirs
29294 @r=`${PWD_COMMAND}`; export r; \
29295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29296 $(NORMAL_TARGET_EXPORTS) \
29297 (cd $(TARGET_SUBDIR)/winsup && \
29298 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29300 @endif target-winsup
29302 # Other targets (info, dvi, etc.)
29304 .PHONY: maybe-info-target-winsup info-target-winsup
29305 maybe-info-target-winsup:
29306 @if target-winsup
29307 maybe-info-target-winsup: info-target-winsup
29309 info-target-winsup: \
29310 configure-target-winsup
29311 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29312 r=`${PWD_COMMAND}`; export r; \
29313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29314 $(NORMAL_TARGET_EXPORTS) \
29315 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
29316 for flag in $(EXTRA_TARGET_FLAGS); do \
29317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29318 done; \
29319 (cd $(TARGET_SUBDIR)/winsup && \
29320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29322 "RANLIB=$${RANLIB}" \
29323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29324 info) \
29325 || exit 1
29327 @endif target-winsup
29329 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
29330 maybe-dvi-target-winsup:
29331 @if target-winsup
29332 maybe-dvi-target-winsup: dvi-target-winsup
29334 dvi-target-winsup: \
29335 configure-target-winsup
29336 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29337 r=`${PWD_COMMAND}`; export r; \
29338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29339 $(NORMAL_TARGET_EXPORTS) \
29340 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
29341 for flag in $(EXTRA_TARGET_FLAGS); do \
29342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29343 done; \
29344 (cd $(TARGET_SUBDIR)/winsup && \
29345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29347 "RANLIB=$${RANLIB}" \
29348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29349 dvi) \
29350 || exit 1
29352 @endif target-winsup
29354 .PHONY: maybe-html-target-winsup html-target-winsup
29355 maybe-html-target-winsup:
29356 @if target-winsup
29357 maybe-html-target-winsup: html-target-winsup
29359 html-target-winsup: \
29360 configure-target-winsup
29361 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29362 r=`${PWD_COMMAND}`; export r; \
29363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29364 $(NORMAL_TARGET_EXPORTS) \
29365 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
29366 for flag in $(EXTRA_TARGET_FLAGS); do \
29367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29368 done; \
29369 (cd $(TARGET_SUBDIR)/winsup && \
29370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29372 "RANLIB=$${RANLIB}" \
29373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29374 html) \
29375 || exit 1
29377 @endif target-winsup
29379 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
29380 maybe-TAGS-target-winsup:
29381 @if target-winsup
29382 maybe-TAGS-target-winsup: TAGS-target-winsup
29384 TAGS-target-winsup: \
29385 configure-target-winsup
29386 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29387 r=`${PWD_COMMAND}`; export r; \
29388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29389 $(NORMAL_TARGET_EXPORTS) \
29390 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
29391 for flag in $(EXTRA_TARGET_FLAGS); do \
29392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29393 done; \
29394 (cd $(TARGET_SUBDIR)/winsup && \
29395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29397 "RANLIB=$${RANLIB}" \
29398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29399 TAGS) \
29400 || exit 1
29402 @endif target-winsup
29404 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
29405 maybe-install-info-target-winsup:
29406 @if target-winsup
29407 maybe-install-info-target-winsup: install-info-target-winsup
29409 install-info-target-winsup: \
29410 configure-target-winsup \
29411 info-target-winsup
29412 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29413 r=`${PWD_COMMAND}`; export r; \
29414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29415 $(NORMAL_TARGET_EXPORTS) \
29416 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
29417 for flag in $(EXTRA_TARGET_FLAGS); do \
29418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29419 done; \
29420 (cd $(TARGET_SUBDIR)/winsup && \
29421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29423 "RANLIB=$${RANLIB}" \
29424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29425 install-info) \
29426 || exit 1
29428 @endif target-winsup
29430 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
29431 maybe-installcheck-target-winsup:
29432 @if target-winsup
29433 maybe-installcheck-target-winsup: installcheck-target-winsup
29435 installcheck-target-winsup: \
29436 configure-target-winsup
29437 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29438 r=`${PWD_COMMAND}`; export r; \
29439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29440 $(NORMAL_TARGET_EXPORTS) \
29441 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
29442 for flag in $(EXTRA_TARGET_FLAGS); do \
29443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29444 done; \
29445 (cd $(TARGET_SUBDIR)/winsup && \
29446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29448 "RANLIB=$${RANLIB}" \
29449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29450 installcheck) \
29451 || exit 1
29453 @endif target-winsup
29455 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
29456 maybe-mostlyclean-target-winsup:
29457 @if target-winsup
29458 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
29460 mostlyclean-target-winsup:
29461 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29462 r=`${PWD_COMMAND}`; export r; \
29463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29464 $(NORMAL_TARGET_EXPORTS) \
29465 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
29466 for flag in $(EXTRA_TARGET_FLAGS); do \
29467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29468 done; \
29469 (cd $(TARGET_SUBDIR)/winsup && \
29470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29472 "RANLIB=$${RANLIB}" \
29473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29474 mostlyclean) \
29475 || exit 1
29477 @endif target-winsup
29479 .PHONY: maybe-clean-target-winsup clean-target-winsup
29480 maybe-clean-target-winsup:
29481 @if target-winsup
29482 maybe-clean-target-winsup: clean-target-winsup
29484 clean-target-winsup:
29485 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29486 r=`${PWD_COMMAND}`; export r; \
29487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29488 $(NORMAL_TARGET_EXPORTS) \
29489 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
29490 for flag in $(EXTRA_TARGET_FLAGS); do \
29491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29492 done; \
29493 (cd $(TARGET_SUBDIR)/winsup && \
29494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29496 "RANLIB=$${RANLIB}" \
29497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29498 clean) \
29499 || exit 1
29501 @endif target-winsup
29503 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
29504 maybe-distclean-target-winsup:
29505 @if target-winsup
29506 maybe-distclean-target-winsup: distclean-target-winsup
29508 distclean-target-winsup:
29509 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29510 r=`${PWD_COMMAND}`; export r; \
29511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29512 $(NORMAL_TARGET_EXPORTS) \
29513 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
29514 for flag in $(EXTRA_TARGET_FLAGS); do \
29515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29516 done; \
29517 (cd $(TARGET_SUBDIR)/winsup && \
29518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29520 "RANLIB=$${RANLIB}" \
29521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29522 distclean) \
29523 || exit 1
29525 @endif target-winsup
29527 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
29528 maybe-maintainer-clean-target-winsup:
29529 @if target-winsup
29530 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
29532 maintainer-clean-target-winsup:
29533 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29534 r=`${PWD_COMMAND}`; export r; \
29535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29536 $(NORMAL_TARGET_EXPORTS) \
29537 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
29538 for flag in $(EXTRA_TARGET_FLAGS); do \
29539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29540 done; \
29541 (cd $(TARGET_SUBDIR)/winsup && \
29542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29544 "RANLIB=$${RANLIB}" \
29545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29546 maintainer-clean) \
29547 || exit 1
29549 @endif target-winsup
29553 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29554 @if target-libgloss
29555 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
29556 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
29557 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
29558 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
29559 @endif target-libgloss
29563 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
29564 maybe-configure-target-libgloss:
29565 @if target-libgloss
29566 maybe-configure-target-libgloss: configure-target-libgloss
29567 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
29568 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
29569 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
29570 r=`${PWD_COMMAND}`; export r; \
29571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29572 $(NORMAL_TARGET_EXPORTS) \
29573 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
29574 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
29575 case $(srcdir) in \
29576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29577 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
29578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29579 esac; \
29580 srcdiroption="--srcdir=$${topdir}/libgloss"; \
29581 libsrcdir="$$s/libgloss"; \
29582 rm -f no-such-file || : ; \
29583 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29584 $(TARGET_CONFIGARGS) $${srcdiroption} \
29585 || exit 1
29586 @endif target-libgloss
29592 .PHONY: all-target-libgloss maybe-all-target-libgloss
29593 maybe-all-target-libgloss:
29594 @if target-libgloss
29595 TARGET-target-libgloss=all
29596 maybe-all-target-libgloss: all-target-libgloss
29597 all-target-libgloss: configure-target-libgloss
29598 @r=`${PWD_COMMAND}`; export r; \
29599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29600 $(NORMAL_TARGET_EXPORTS) \
29601 (cd $(TARGET_SUBDIR)/libgloss && \
29602 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
29603 @endif target-libgloss
29609 .PHONY: check-target-libgloss maybe-check-target-libgloss
29610 maybe-check-target-libgloss:
29611 @if target-libgloss
29612 maybe-check-target-libgloss: check-target-libgloss
29614 # Dummy target for uncheckable module.
29615 check-target-libgloss:
29617 @endif target-libgloss
29619 .PHONY: install-target-libgloss maybe-install-target-libgloss
29620 maybe-install-target-libgloss:
29621 @if target-libgloss
29622 maybe-install-target-libgloss: install-target-libgloss
29624 install-target-libgloss: installdirs
29625 @r=`${PWD_COMMAND}`; export r; \
29626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29627 $(NORMAL_TARGET_EXPORTS) \
29628 (cd $(TARGET_SUBDIR)/libgloss && \
29629 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29631 @endif target-libgloss
29633 # Other targets (info, dvi, etc.)
29635 .PHONY: maybe-info-target-libgloss info-target-libgloss
29636 maybe-info-target-libgloss:
29637 @if target-libgloss
29638 maybe-info-target-libgloss: info-target-libgloss
29640 info-target-libgloss: \
29641 configure-target-libgloss
29642 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
29643 r=`${PWD_COMMAND}`; export r; \
29644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29645 $(NORMAL_TARGET_EXPORTS) \
29646 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
29647 for flag in $(EXTRA_TARGET_FLAGS); do \
29648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29649 done; \
29650 (cd $(TARGET_SUBDIR)/libgloss && \
29651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29653 "RANLIB=$${RANLIB}" \
29654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29655 info) \
29656 || exit 1
29658 @endif target-libgloss
29660 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
29661 maybe-dvi-target-libgloss:
29662 @if target-libgloss
29663 maybe-dvi-target-libgloss: dvi-target-libgloss
29665 dvi-target-libgloss: \
29666 configure-target-libgloss
29667 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
29668 r=`${PWD_COMMAND}`; export r; \
29669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29670 $(NORMAL_TARGET_EXPORTS) \
29671 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
29672 for flag in $(EXTRA_TARGET_FLAGS); do \
29673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29674 done; \
29675 (cd $(TARGET_SUBDIR)/libgloss && \
29676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29678 "RANLIB=$${RANLIB}" \
29679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29680 dvi) \
29681 || exit 1
29683 @endif target-libgloss
29685 .PHONY: maybe-html-target-libgloss html-target-libgloss
29686 maybe-html-target-libgloss:
29687 @if target-libgloss
29688 maybe-html-target-libgloss: html-target-libgloss
29690 html-target-libgloss: \
29691 configure-target-libgloss
29692 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
29693 r=`${PWD_COMMAND}`; export r; \
29694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29695 $(NORMAL_TARGET_EXPORTS) \
29696 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
29697 for flag in $(EXTRA_TARGET_FLAGS); do \
29698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29699 done; \
29700 (cd $(TARGET_SUBDIR)/libgloss && \
29701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29703 "RANLIB=$${RANLIB}" \
29704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29705 html) \
29706 || exit 1
29708 @endif target-libgloss
29710 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
29711 maybe-TAGS-target-libgloss:
29712 @if target-libgloss
29713 maybe-TAGS-target-libgloss: TAGS-target-libgloss
29715 TAGS-target-libgloss: \
29716 configure-target-libgloss
29717 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
29718 r=`${PWD_COMMAND}`; export r; \
29719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29720 $(NORMAL_TARGET_EXPORTS) \
29721 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
29722 for flag in $(EXTRA_TARGET_FLAGS); do \
29723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29724 done; \
29725 (cd $(TARGET_SUBDIR)/libgloss && \
29726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29728 "RANLIB=$${RANLIB}" \
29729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29730 TAGS) \
29731 || exit 1
29733 @endif target-libgloss
29735 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
29736 maybe-install-info-target-libgloss:
29737 @if target-libgloss
29738 maybe-install-info-target-libgloss: install-info-target-libgloss
29740 install-info-target-libgloss: \
29741 configure-target-libgloss \
29742 info-target-libgloss
29743 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
29744 r=`${PWD_COMMAND}`; export r; \
29745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29746 $(NORMAL_TARGET_EXPORTS) \
29747 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
29748 for flag in $(EXTRA_TARGET_FLAGS); do \
29749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29750 done; \
29751 (cd $(TARGET_SUBDIR)/libgloss && \
29752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29754 "RANLIB=$${RANLIB}" \
29755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29756 install-info) \
29757 || exit 1
29759 @endif target-libgloss
29761 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
29762 maybe-installcheck-target-libgloss:
29763 @if target-libgloss
29764 maybe-installcheck-target-libgloss: installcheck-target-libgloss
29766 installcheck-target-libgloss: \
29767 configure-target-libgloss
29768 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
29769 r=`${PWD_COMMAND}`; export r; \
29770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29771 $(NORMAL_TARGET_EXPORTS) \
29772 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
29773 for flag in $(EXTRA_TARGET_FLAGS); do \
29774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29775 done; \
29776 (cd $(TARGET_SUBDIR)/libgloss && \
29777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29779 "RANLIB=$${RANLIB}" \
29780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29781 installcheck) \
29782 || exit 1
29784 @endif target-libgloss
29786 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
29787 maybe-mostlyclean-target-libgloss:
29788 @if target-libgloss
29789 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
29791 mostlyclean-target-libgloss:
29792 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
29793 r=`${PWD_COMMAND}`; export r; \
29794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29795 $(NORMAL_TARGET_EXPORTS) \
29796 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
29797 for flag in $(EXTRA_TARGET_FLAGS); do \
29798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29799 done; \
29800 (cd $(TARGET_SUBDIR)/libgloss && \
29801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29803 "RANLIB=$${RANLIB}" \
29804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29805 mostlyclean) \
29806 || exit 1
29808 @endif target-libgloss
29810 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
29811 maybe-clean-target-libgloss:
29812 @if target-libgloss
29813 maybe-clean-target-libgloss: clean-target-libgloss
29815 clean-target-libgloss:
29816 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
29817 r=`${PWD_COMMAND}`; export r; \
29818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29819 $(NORMAL_TARGET_EXPORTS) \
29820 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
29821 for flag in $(EXTRA_TARGET_FLAGS); do \
29822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29823 done; \
29824 (cd $(TARGET_SUBDIR)/libgloss && \
29825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29827 "RANLIB=$${RANLIB}" \
29828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29829 clean) \
29830 || exit 1
29832 @endif target-libgloss
29834 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
29835 maybe-distclean-target-libgloss:
29836 @if target-libgloss
29837 maybe-distclean-target-libgloss: distclean-target-libgloss
29839 distclean-target-libgloss:
29840 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
29841 r=`${PWD_COMMAND}`; export r; \
29842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29843 $(NORMAL_TARGET_EXPORTS) \
29844 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
29845 for flag in $(EXTRA_TARGET_FLAGS); do \
29846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29847 done; \
29848 (cd $(TARGET_SUBDIR)/libgloss && \
29849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29851 "RANLIB=$${RANLIB}" \
29852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29853 distclean) \
29854 || exit 1
29856 @endif target-libgloss
29858 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
29859 maybe-maintainer-clean-target-libgloss:
29860 @if target-libgloss
29861 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
29863 maintainer-clean-target-libgloss:
29864 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
29865 r=`${PWD_COMMAND}`; export r; \
29866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29867 $(NORMAL_TARGET_EXPORTS) \
29868 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
29869 for flag in $(EXTRA_TARGET_FLAGS); do \
29870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29871 done; \
29872 (cd $(TARGET_SUBDIR)/libgloss && \
29873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29875 "RANLIB=$${RANLIB}" \
29876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29877 maintainer-clean) \
29878 || exit 1
29880 @endif target-libgloss
29884 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29885 @if target-libiberty
29886 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
29887 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
29888 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
29889 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
29890 @endif target-libiberty
29894 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
29895 maybe-configure-target-libiberty:
29896 @if target-libiberty
29897 maybe-configure-target-libiberty: configure-target-libiberty
29898 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
29899 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
29900 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
29901 r=`${PWD_COMMAND}`; export r; \
29902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29903 $(NORMAL_TARGET_EXPORTS) \
29904 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
29905 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
29906 case $(srcdir) in \
29907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29908 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
29909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29910 esac; \
29911 srcdiroption="--srcdir=$${topdir}/libiberty"; \
29912 libsrcdir="$$s/libiberty"; \
29913 rm -f no-such-file || : ; \
29914 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29915 $(TARGET_CONFIGARGS) $${srcdiroption} \
29916 || exit 1
29917 @endif target-libiberty
29923 .PHONY: all-target-libiberty maybe-all-target-libiberty
29924 maybe-all-target-libiberty:
29925 @if target-libiberty
29926 TARGET-target-libiberty=all
29927 maybe-all-target-libiberty: all-target-libiberty
29928 all-target-libiberty: configure-target-libiberty
29929 @r=`${PWD_COMMAND}`; export r; \
29930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29931 $(NORMAL_TARGET_EXPORTS) \
29932 (cd $(TARGET_SUBDIR)/libiberty && \
29933 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
29934 @endif target-libiberty
29940 .PHONY: check-target-libiberty maybe-check-target-libiberty
29941 maybe-check-target-libiberty:
29942 @if target-libiberty
29943 maybe-check-target-libiberty: check-target-libiberty
29945 check-target-libiberty:
29946 @r=`${PWD_COMMAND}`; export r; \
29947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29948 $(NORMAL_TARGET_EXPORTS) \
29949 (cd $(TARGET_SUBDIR)/libiberty && \
29950 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29952 @endif target-libiberty
29954 .PHONY: install-target-libiberty maybe-install-target-libiberty
29955 maybe-install-target-libiberty:
29956 @if target-libiberty
29957 maybe-install-target-libiberty: install-target-libiberty
29959 install-target-libiberty: installdirs
29960 @r=`${PWD_COMMAND}`; export r; \
29961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29962 $(NORMAL_TARGET_EXPORTS) \
29963 (cd $(TARGET_SUBDIR)/libiberty && \
29964 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29966 @endif target-libiberty
29968 # Other targets (info, dvi, etc.)
29970 .PHONY: maybe-info-target-libiberty info-target-libiberty
29971 maybe-info-target-libiberty:
29972 @if target-libiberty
29973 maybe-info-target-libiberty: info-target-libiberty
29975 info-target-libiberty: \
29976 configure-target-libiberty
29977 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
29978 r=`${PWD_COMMAND}`; export r; \
29979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29980 $(NORMAL_TARGET_EXPORTS) \
29981 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
29982 for flag in $(EXTRA_TARGET_FLAGS); do \
29983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29984 done; \
29985 (cd $(TARGET_SUBDIR)/libiberty && \
29986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29988 "RANLIB=$${RANLIB}" \
29989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29990 info) \
29991 || exit 1
29993 @endif target-libiberty
29995 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
29996 maybe-dvi-target-libiberty:
29997 @if target-libiberty
29998 maybe-dvi-target-libiberty: dvi-target-libiberty
30000 dvi-target-libiberty: \
30001 configure-target-libiberty
30002 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30003 r=`${PWD_COMMAND}`; export r; \
30004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30005 $(NORMAL_TARGET_EXPORTS) \
30006 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
30007 for flag in $(EXTRA_TARGET_FLAGS); do \
30008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30009 done; \
30010 (cd $(TARGET_SUBDIR)/libiberty && \
30011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30013 "RANLIB=$${RANLIB}" \
30014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30015 dvi) \
30016 || exit 1
30018 @endif target-libiberty
30020 .PHONY: maybe-html-target-libiberty html-target-libiberty
30021 maybe-html-target-libiberty:
30022 @if target-libiberty
30023 maybe-html-target-libiberty: html-target-libiberty
30025 html-target-libiberty: \
30026 configure-target-libiberty
30027 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30028 r=`${PWD_COMMAND}`; export r; \
30029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30030 $(NORMAL_TARGET_EXPORTS) \
30031 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
30032 for flag in $(EXTRA_TARGET_FLAGS); do \
30033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30034 done; \
30035 (cd $(TARGET_SUBDIR)/libiberty && \
30036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30038 "RANLIB=$${RANLIB}" \
30039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30040 html) \
30041 || exit 1
30043 @endif target-libiberty
30045 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
30046 maybe-TAGS-target-libiberty:
30047 @if target-libiberty
30048 maybe-TAGS-target-libiberty: TAGS-target-libiberty
30050 TAGS-target-libiberty: \
30051 configure-target-libiberty
30052 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30053 r=`${PWD_COMMAND}`; export r; \
30054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30055 $(NORMAL_TARGET_EXPORTS) \
30056 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
30057 for flag in $(EXTRA_TARGET_FLAGS); do \
30058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30059 done; \
30060 (cd $(TARGET_SUBDIR)/libiberty && \
30061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30063 "RANLIB=$${RANLIB}" \
30064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30065 TAGS) \
30066 || exit 1
30068 @endif target-libiberty
30070 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
30071 maybe-install-info-target-libiberty:
30072 @if target-libiberty
30073 maybe-install-info-target-libiberty: install-info-target-libiberty
30075 install-info-target-libiberty: \
30076 configure-target-libiberty \
30077 info-target-libiberty
30078 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30079 r=`${PWD_COMMAND}`; export r; \
30080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30081 $(NORMAL_TARGET_EXPORTS) \
30082 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
30083 for flag in $(EXTRA_TARGET_FLAGS); do \
30084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30085 done; \
30086 (cd $(TARGET_SUBDIR)/libiberty && \
30087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30089 "RANLIB=$${RANLIB}" \
30090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30091 install-info) \
30092 || exit 1
30094 @endif target-libiberty
30096 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
30097 maybe-installcheck-target-libiberty:
30098 @if target-libiberty
30099 maybe-installcheck-target-libiberty: installcheck-target-libiberty
30101 installcheck-target-libiberty: \
30102 configure-target-libiberty
30103 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30104 r=`${PWD_COMMAND}`; export r; \
30105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30106 $(NORMAL_TARGET_EXPORTS) \
30107 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
30108 for flag in $(EXTRA_TARGET_FLAGS); do \
30109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30110 done; \
30111 (cd $(TARGET_SUBDIR)/libiberty && \
30112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30114 "RANLIB=$${RANLIB}" \
30115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30116 installcheck) \
30117 || exit 1
30119 @endif target-libiberty
30121 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
30122 maybe-mostlyclean-target-libiberty:
30123 @if target-libiberty
30124 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
30126 mostlyclean-target-libiberty:
30127 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30128 r=`${PWD_COMMAND}`; export r; \
30129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30130 $(NORMAL_TARGET_EXPORTS) \
30131 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
30132 for flag in $(EXTRA_TARGET_FLAGS); do \
30133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30134 done; \
30135 (cd $(TARGET_SUBDIR)/libiberty && \
30136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30138 "RANLIB=$${RANLIB}" \
30139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30140 mostlyclean) \
30141 || exit 1
30143 @endif target-libiberty
30145 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
30146 maybe-clean-target-libiberty:
30147 @if target-libiberty
30148 maybe-clean-target-libiberty: clean-target-libiberty
30150 clean-target-libiberty:
30151 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30152 r=`${PWD_COMMAND}`; export r; \
30153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30154 $(NORMAL_TARGET_EXPORTS) \
30155 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
30156 for flag in $(EXTRA_TARGET_FLAGS); do \
30157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30158 done; \
30159 (cd $(TARGET_SUBDIR)/libiberty && \
30160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30162 "RANLIB=$${RANLIB}" \
30163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30164 clean) \
30165 || exit 1
30167 @endif target-libiberty
30169 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
30170 maybe-distclean-target-libiberty:
30171 @if target-libiberty
30172 maybe-distclean-target-libiberty: distclean-target-libiberty
30174 distclean-target-libiberty:
30175 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30176 r=`${PWD_COMMAND}`; export r; \
30177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30178 $(NORMAL_TARGET_EXPORTS) \
30179 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
30180 for flag in $(EXTRA_TARGET_FLAGS); do \
30181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30182 done; \
30183 (cd $(TARGET_SUBDIR)/libiberty && \
30184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30186 "RANLIB=$${RANLIB}" \
30187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30188 distclean) \
30189 || exit 1
30191 @endif target-libiberty
30193 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
30194 maybe-maintainer-clean-target-libiberty:
30195 @if target-libiberty
30196 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
30198 maintainer-clean-target-libiberty:
30199 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30200 r=`${PWD_COMMAND}`; export r; \
30201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30202 $(NORMAL_TARGET_EXPORTS) \
30203 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
30204 for flag in $(EXTRA_TARGET_FLAGS); do \
30205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30206 done; \
30207 (cd $(TARGET_SUBDIR)/libiberty && \
30208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30210 "RANLIB=$${RANLIB}" \
30211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30212 maintainer-clean) \
30213 || exit 1
30215 @endif target-libiberty
30219 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30220 @if target-gperf
30221 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
30222 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
30223 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
30224 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
30225 @endif target-gperf
30229 .PHONY: configure-target-gperf maybe-configure-target-gperf
30230 maybe-configure-target-gperf:
30231 @if target-gperf
30232 maybe-configure-target-gperf: configure-target-gperf
30233 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
30234 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
30235 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
30236 r=`${PWD_COMMAND}`; export r; \
30237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30238 $(NORMAL_TARGET_EXPORTS) \
30239 echo Configuring in $(TARGET_SUBDIR)/gperf; \
30240 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
30241 case $(srcdir) in \
30242 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30243 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
30244 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30245 esac; \
30246 srcdiroption="--srcdir=$${topdir}/gperf"; \
30247 libsrcdir="$$s/gperf"; \
30248 rm -f no-such-file || : ; \
30249 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30250 $(TARGET_CONFIGARGS) $${srcdiroption} \
30251 || exit 1
30252 @endif target-gperf
30258 .PHONY: all-target-gperf maybe-all-target-gperf
30259 maybe-all-target-gperf:
30260 @if target-gperf
30261 TARGET-target-gperf=all
30262 maybe-all-target-gperf: all-target-gperf
30263 all-target-gperf: configure-target-gperf
30264 @r=`${PWD_COMMAND}`; export r; \
30265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30266 $(NORMAL_TARGET_EXPORTS) \
30267 (cd $(TARGET_SUBDIR)/gperf && \
30268 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
30269 @endif target-gperf
30275 .PHONY: check-target-gperf maybe-check-target-gperf
30276 maybe-check-target-gperf:
30277 @if target-gperf
30278 maybe-check-target-gperf: check-target-gperf
30280 check-target-gperf:
30281 @r=`${PWD_COMMAND}`; export r; \
30282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30283 $(NORMAL_TARGET_EXPORTS) \
30284 (cd $(TARGET_SUBDIR)/gperf && \
30285 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30287 @endif target-gperf
30289 .PHONY: install-target-gperf maybe-install-target-gperf
30290 maybe-install-target-gperf:
30291 @if target-gperf
30292 maybe-install-target-gperf: install-target-gperf
30294 install-target-gperf: installdirs
30295 @r=`${PWD_COMMAND}`; export r; \
30296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30297 $(NORMAL_TARGET_EXPORTS) \
30298 (cd $(TARGET_SUBDIR)/gperf && \
30299 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30301 @endif target-gperf
30303 # Other targets (info, dvi, etc.)
30305 .PHONY: maybe-info-target-gperf info-target-gperf
30306 maybe-info-target-gperf:
30307 @if target-gperf
30308 maybe-info-target-gperf: info-target-gperf
30310 info-target-gperf: \
30311 configure-target-gperf
30312 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30313 r=`${PWD_COMMAND}`; export r; \
30314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30315 $(NORMAL_TARGET_EXPORTS) \
30316 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
30317 for flag in $(EXTRA_TARGET_FLAGS); do \
30318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30319 done; \
30320 (cd $(TARGET_SUBDIR)/gperf && \
30321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30323 "RANLIB=$${RANLIB}" \
30324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30325 info) \
30326 || exit 1
30328 @endif target-gperf
30330 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
30331 maybe-dvi-target-gperf:
30332 @if target-gperf
30333 maybe-dvi-target-gperf: dvi-target-gperf
30335 dvi-target-gperf: \
30336 configure-target-gperf
30337 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30338 r=`${PWD_COMMAND}`; export r; \
30339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30340 $(NORMAL_TARGET_EXPORTS) \
30341 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
30342 for flag in $(EXTRA_TARGET_FLAGS); do \
30343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30344 done; \
30345 (cd $(TARGET_SUBDIR)/gperf && \
30346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30348 "RANLIB=$${RANLIB}" \
30349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30350 dvi) \
30351 || exit 1
30353 @endif target-gperf
30355 .PHONY: maybe-html-target-gperf html-target-gperf
30356 maybe-html-target-gperf:
30357 @if target-gperf
30358 maybe-html-target-gperf: html-target-gperf
30360 html-target-gperf: \
30361 configure-target-gperf
30362 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30363 r=`${PWD_COMMAND}`; export r; \
30364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30365 $(NORMAL_TARGET_EXPORTS) \
30366 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
30367 for flag in $(EXTRA_TARGET_FLAGS); do \
30368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30369 done; \
30370 (cd $(TARGET_SUBDIR)/gperf && \
30371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30373 "RANLIB=$${RANLIB}" \
30374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30375 html) \
30376 || exit 1
30378 @endif target-gperf
30380 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
30381 maybe-TAGS-target-gperf:
30382 @if target-gperf
30383 maybe-TAGS-target-gperf: TAGS-target-gperf
30385 TAGS-target-gperf: \
30386 configure-target-gperf
30387 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30388 r=`${PWD_COMMAND}`; export r; \
30389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30390 $(NORMAL_TARGET_EXPORTS) \
30391 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
30392 for flag in $(EXTRA_TARGET_FLAGS); do \
30393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30394 done; \
30395 (cd $(TARGET_SUBDIR)/gperf && \
30396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30398 "RANLIB=$${RANLIB}" \
30399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30400 TAGS) \
30401 || exit 1
30403 @endif target-gperf
30405 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
30406 maybe-install-info-target-gperf:
30407 @if target-gperf
30408 maybe-install-info-target-gperf: install-info-target-gperf
30410 install-info-target-gperf: \
30411 configure-target-gperf \
30412 info-target-gperf
30413 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30414 r=`${PWD_COMMAND}`; export r; \
30415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30416 $(NORMAL_TARGET_EXPORTS) \
30417 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
30418 for flag in $(EXTRA_TARGET_FLAGS); do \
30419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30420 done; \
30421 (cd $(TARGET_SUBDIR)/gperf && \
30422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30424 "RANLIB=$${RANLIB}" \
30425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30426 install-info) \
30427 || exit 1
30429 @endif target-gperf
30431 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
30432 maybe-installcheck-target-gperf:
30433 @if target-gperf
30434 maybe-installcheck-target-gperf: installcheck-target-gperf
30436 installcheck-target-gperf: \
30437 configure-target-gperf
30438 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30439 r=`${PWD_COMMAND}`; export r; \
30440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30441 $(NORMAL_TARGET_EXPORTS) \
30442 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
30443 for flag in $(EXTRA_TARGET_FLAGS); do \
30444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30445 done; \
30446 (cd $(TARGET_SUBDIR)/gperf && \
30447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30449 "RANLIB=$${RANLIB}" \
30450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30451 installcheck) \
30452 || exit 1
30454 @endif target-gperf
30456 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
30457 maybe-mostlyclean-target-gperf:
30458 @if target-gperf
30459 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
30461 mostlyclean-target-gperf:
30462 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30463 r=`${PWD_COMMAND}`; export r; \
30464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30465 $(NORMAL_TARGET_EXPORTS) \
30466 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
30467 for flag in $(EXTRA_TARGET_FLAGS); do \
30468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30469 done; \
30470 (cd $(TARGET_SUBDIR)/gperf && \
30471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30473 "RANLIB=$${RANLIB}" \
30474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30475 mostlyclean) \
30476 || exit 1
30478 @endif target-gperf
30480 .PHONY: maybe-clean-target-gperf clean-target-gperf
30481 maybe-clean-target-gperf:
30482 @if target-gperf
30483 maybe-clean-target-gperf: clean-target-gperf
30485 clean-target-gperf:
30486 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30487 r=`${PWD_COMMAND}`; export r; \
30488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30489 $(NORMAL_TARGET_EXPORTS) \
30490 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
30491 for flag in $(EXTRA_TARGET_FLAGS); do \
30492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30493 done; \
30494 (cd $(TARGET_SUBDIR)/gperf && \
30495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30497 "RANLIB=$${RANLIB}" \
30498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30499 clean) \
30500 || exit 1
30502 @endif target-gperf
30504 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
30505 maybe-distclean-target-gperf:
30506 @if target-gperf
30507 maybe-distclean-target-gperf: distclean-target-gperf
30509 distclean-target-gperf:
30510 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30511 r=`${PWD_COMMAND}`; export r; \
30512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30513 $(NORMAL_TARGET_EXPORTS) \
30514 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
30515 for flag in $(EXTRA_TARGET_FLAGS); do \
30516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30517 done; \
30518 (cd $(TARGET_SUBDIR)/gperf && \
30519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30521 "RANLIB=$${RANLIB}" \
30522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30523 distclean) \
30524 || exit 1
30526 @endif target-gperf
30528 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
30529 maybe-maintainer-clean-target-gperf:
30530 @if target-gperf
30531 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
30533 maintainer-clean-target-gperf:
30534 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30535 r=`${PWD_COMMAND}`; export r; \
30536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30537 $(NORMAL_TARGET_EXPORTS) \
30538 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
30539 for flag in $(EXTRA_TARGET_FLAGS); do \
30540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30541 done; \
30542 (cd $(TARGET_SUBDIR)/gperf && \
30543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30545 "RANLIB=$${RANLIB}" \
30546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30547 maintainer-clean) \
30548 || exit 1
30550 @endif target-gperf
30554 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30555 @if target-examples
30556 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
30557 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
30558 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
30559 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
30560 @endif target-examples
30564 .PHONY: configure-target-examples maybe-configure-target-examples
30565 maybe-configure-target-examples:
30566 @if target-examples
30567 maybe-configure-target-examples: configure-target-examples
30568 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
30569 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
30570 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
30571 r=`${PWD_COMMAND}`; export r; \
30572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30573 $(NORMAL_TARGET_EXPORTS) \
30574 echo Configuring in $(TARGET_SUBDIR)/examples; \
30575 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
30576 case $(srcdir) in \
30577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30578 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
30579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30580 esac; \
30581 srcdiroption="--srcdir=$${topdir}/examples"; \
30582 libsrcdir="$$s/examples"; \
30583 rm -f no-such-file || : ; \
30584 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30585 $(TARGET_CONFIGARGS) $${srcdiroption} \
30586 || exit 1
30587 @endif target-examples
30593 .PHONY: all-target-examples maybe-all-target-examples
30594 maybe-all-target-examples:
30595 @if target-examples
30596 TARGET-target-examples=all
30597 maybe-all-target-examples: all-target-examples
30598 all-target-examples: configure-target-examples
30599 @r=`${PWD_COMMAND}`; export r; \
30600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30601 $(NORMAL_TARGET_EXPORTS) \
30602 (cd $(TARGET_SUBDIR)/examples && \
30603 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
30604 @endif target-examples
30610 .PHONY: check-target-examples maybe-check-target-examples
30611 maybe-check-target-examples:
30612 @if target-examples
30613 maybe-check-target-examples: check-target-examples
30615 # Dummy target for uncheckable module.
30616 check-target-examples:
30618 @endif target-examples
30620 .PHONY: install-target-examples maybe-install-target-examples
30621 maybe-install-target-examples:
30622 @if target-examples
30623 maybe-install-target-examples: install-target-examples
30625 # Dummy target for uninstallable.
30626 install-target-examples:
30628 @endif target-examples
30630 # Other targets (info, dvi, etc.)
30632 .PHONY: maybe-info-target-examples info-target-examples
30633 maybe-info-target-examples:
30634 @if target-examples
30635 maybe-info-target-examples: info-target-examples
30637 info-target-examples: \
30638 configure-target-examples
30639 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
30640 r=`${PWD_COMMAND}`; export r; \
30641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30642 $(NORMAL_TARGET_EXPORTS) \
30643 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
30644 for flag in $(EXTRA_TARGET_FLAGS); do \
30645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30646 done; \
30647 (cd $(TARGET_SUBDIR)/examples && \
30648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30650 "RANLIB=$${RANLIB}" \
30651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30652 info) \
30653 || exit 1
30655 @endif target-examples
30657 .PHONY: maybe-dvi-target-examples dvi-target-examples
30658 maybe-dvi-target-examples:
30659 @if target-examples
30660 maybe-dvi-target-examples: dvi-target-examples
30662 dvi-target-examples: \
30663 configure-target-examples
30664 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
30665 r=`${PWD_COMMAND}`; export r; \
30666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30667 $(NORMAL_TARGET_EXPORTS) \
30668 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
30669 for flag in $(EXTRA_TARGET_FLAGS); do \
30670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30671 done; \
30672 (cd $(TARGET_SUBDIR)/examples && \
30673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30675 "RANLIB=$${RANLIB}" \
30676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30677 dvi) \
30678 || exit 1
30680 @endif target-examples
30682 .PHONY: maybe-html-target-examples html-target-examples
30683 maybe-html-target-examples:
30684 @if target-examples
30685 maybe-html-target-examples: html-target-examples
30687 html-target-examples: \
30688 configure-target-examples
30689 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
30690 r=`${PWD_COMMAND}`; export r; \
30691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30692 $(NORMAL_TARGET_EXPORTS) \
30693 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
30694 for flag in $(EXTRA_TARGET_FLAGS); do \
30695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30696 done; \
30697 (cd $(TARGET_SUBDIR)/examples && \
30698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30700 "RANLIB=$${RANLIB}" \
30701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30702 html) \
30703 || exit 1
30705 @endif target-examples
30707 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
30708 maybe-TAGS-target-examples:
30709 @if target-examples
30710 maybe-TAGS-target-examples: TAGS-target-examples
30712 TAGS-target-examples: \
30713 configure-target-examples
30714 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
30715 r=`${PWD_COMMAND}`; export r; \
30716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30717 $(NORMAL_TARGET_EXPORTS) \
30718 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
30719 for flag in $(EXTRA_TARGET_FLAGS); do \
30720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30721 done; \
30722 (cd $(TARGET_SUBDIR)/examples && \
30723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30725 "RANLIB=$${RANLIB}" \
30726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30727 TAGS) \
30728 || exit 1
30730 @endif target-examples
30732 .PHONY: maybe-install-info-target-examples install-info-target-examples
30733 maybe-install-info-target-examples:
30734 @if target-examples
30735 maybe-install-info-target-examples: install-info-target-examples
30737 install-info-target-examples: \
30738 configure-target-examples \
30739 info-target-examples
30740 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
30741 r=`${PWD_COMMAND}`; export r; \
30742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30743 $(NORMAL_TARGET_EXPORTS) \
30744 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
30745 for flag in $(EXTRA_TARGET_FLAGS); do \
30746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30747 done; \
30748 (cd $(TARGET_SUBDIR)/examples && \
30749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30751 "RANLIB=$${RANLIB}" \
30752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30753 install-info) \
30754 || exit 1
30756 @endif target-examples
30758 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
30759 maybe-installcheck-target-examples:
30760 @if target-examples
30761 maybe-installcheck-target-examples: installcheck-target-examples
30763 installcheck-target-examples: \
30764 configure-target-examples
30765 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
30766 r=`${PWD_COMMAND}`; export r; \
30767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30768 $(NORMAL_TARGET_EXPORTS) \
30769 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
30770 for flag in $(EXTRA_TARGET_FLAGS); do \
30771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30772 done; \
30773 (cd $(TARGET_SUBDIR)/examples && \
30774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30776 "RANLIB=$${RANLIB}" \
30777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30778 installcheck) \
30779 || exit 1
30781 @endif target-examples
30783 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
30784 maybe-mostlyclean-target-examples:
30785 @if target-examples
30786 maybe-mostlyclean-target-examples: mostlyclean-target-examples
30788 mostlyclean-target-examples:
30789 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
30790 r=`${PWD_COMMAND}`; export r; \
30791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30792 $(NORMAL_TARGET_EXPORTS) \
30793 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
30794 for flag in $(EXTRA_TARGET_FLAGS); do \
30795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30796 done; \
30797 (cd $(TARGET_SUBDIR)/examples && \
30798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30800 "RANLIB=$${RANLIB}" \
30801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30802 mostlyclean) \
30803 || exit 1
30805 @endif target-examples
30807 .PHONY: maybe-clean-target-examples clean-target-examples
30808 maybe-clean-target-examples:
30809 @if target-examples
30810 maybe-clean-target-examples: clean-target-examples
30812 clean-target-examples:
30813 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
30814 r=`${PWD_COMMAND}`; export r; \
30815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30816 $(NORMAL_TARGET_EXPORTS) \
30817 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
30818 for flag in $(EXTRA_TARGET_FLAGS); do \
30819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30820 done; \
30821 (cd $(TARGET_SUBDIR)/examples && \
30822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30824 "RANLIB=$${RANLIB}" \
30825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30826 clean) \
30827 || exit 1
30829 @endif target-examples
30831 .PHONY: maybe-distclean-target-examples distclean-target-examples
30832 maybe-distclean-target-examples:
30833 @if target-examples
30834 maybe-distclean-target-examples: distclean-target-examples
30836 distclean-target-examples:
30837 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
30838 r=`${PWD_COMMAND}`; export r; \
30839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30840 $(NORMAL_TARGET_EXPORTS) \
30841 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
30842 for flag in $(EXTRA_TARGET_FLAGS); do \
30843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30844 done; \
30845 (cd $(TARGET_SUBDIR)/examples && \
30846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30848 "RANLIB=$${RANLIB}" \
30849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30850 distclean) \
30851 || exit 1
30853 @endif target-examples
30855 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
30856 maybe-maintainer-clean-target-examples:
30857 @if target-examples
30858 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
30860 maintainer-clean-target-examples:
30861 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
30862 r=`${PWD_COMMAND}`; export r; \
30863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30864 $(NORMAL_TARGET_EXPORTS) \
30865 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
30866 for flag in $(EXTRA_TARGET_FLAGS); do \
30867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30868 done; \
30869 (cd $(TARGET_SUBDIR)/examples && \
30870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30872 "RANLIB=$${RANLIB}" \
30873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30874 maintainer-clean) \
30875 || exit 1
30877 @endif target-examples
30881 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30882 @if target-libffi
30883 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
30884 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
30885 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
30886 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
30887 @endif target-libffi
30891 .PHONY: configure-target-libffi maybe-configure-target-libffi
30892 maybe-configure-target-libffi:
30893 @if target-libffi
30894 maybe-configure-target-libffi: configure-target-libffi
30895 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
30896 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
30897 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
30898 r=`${PWD_COMMAND}`; export r; \
30899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30900 $(NORMAL_TARGET_EXPORTS) \
30901 echo Configuring in $(TARGET_SUBDIR)/libffi; \
30902 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
30903 case $(srcdir) in \
30904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30905 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
30906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30907 esac; \
30908 srcdiroption="--srcdir=$${topdir}/libffi"; \
30909 libsrcdir="$$s/libffi"; \
30910 rm -f no-such-file || : ; \
30911 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30912 $(TARGET_CONFIGARGS) $${srcdiroption} \
30913 || exit 1
30914 @endif target-libffi
30920 .PHONY: all-target-libffi maybe-all-target-libffi
30921 maybe-all-target-libffi:
30922 @if target-libffi
30923 TARGET-target-libffi=all
30924 maybe-all-target-libffi: all-target-libffi
30925 all-target-libffi: configure-target-libffi
30926 @r=`${PWD_COMMAND}`; export r; \
30927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30928 $(NORMAL_TARGET_EXPORTS) \
30929 (cd $(TARGET_SUBDIR)/libffi && \
30930 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
30931 @endif target-libffi
30937 .PHONY: check-target-libffi maybe-check-target-libffi
30938 maybe-check-target-libffi:
30939 @if target-libffi
30940 maybe-check-target-libffi: check-target-libffi
30942 check-target-libffi:
30943 @r=`${PWD_COMMAND}`; export r; \
30944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30945 $(NORMAL_TARGET_EXPORTS) \
30946 (cd $(TARGET_SUBDIR)/libffi && \
30947 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30949 @endif target-libffi
30951 .PHONY: install-target-libffi maybe-install-target-libffi
30952 maybe-install-target-libffi:
30953 @if target-libffi
30954 maybe-install-target-libffi: install-target-libffi
30956 install-target-libffi: installdirs
30957 @r=`${PWD_COMMAND}`; export r; \
30958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30959 $(NORMAL_TARGET_EXPORTS) \
30960 (cd $(TARGET_SUBDIR)/libffi && \
30961 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30963 @endif target-libffi
30965 # Other targets (info, dvi, etc.)
30967 .PHONY: maybe-info-target-libffi info-target-libffi
30968 maybe-info-target-libffi:
30969 @if target-libffi
30970 maybe-info-target-libffi: info-target-libffi
30972 info-target-libffi: \
30973 configure-target-libffi
30974 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
30975 r=`${PWD_COMMAND}`; export r; \
30976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30977 $(NORMAL_TARGET_EXPORTS) \
30978 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
30979 for flag in $(EXTRA_TARGET_FLAGS); do \
30980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30981 done; \
30982 (cd $(TARGET_SUBDIR)/libffi && \
30983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30985 "RANLIB=$${RANLIB}" \
30986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30987 info) \
30988 || exit 1
30990 @endif target-libffi
30992 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
30993 maybe-dvi-target-libffi:
30994 @if target-libffi
30995 maybe-dvi-target-libffi: dvi-target-libffi
30997 dvi-target-libffi: \
30998 configure-target-libffi
30999 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31000 r=`${PWD_COMMAND}`; export r; \
31001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31002 $(NORMAL_TARGET_EXPORTS) \
31003 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
31004 for flag in $(EXTRA_TARGET_FLAGS); do \
31005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31006 done; \
31007 (cd $(TARGET_SUBDIR)/libffi && \
31008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31010 "RANLIB=$${RANLIB}" \
31011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31012 dvi) \
31013 || exit 1
31015 @endif target-libffi
31017 .PHONY: maybe-html-target-libffi html-target-libffi
31018 maybe-html-target-libffi:
31019 @if target-libffi
31020 maybe-html-target-libffi: html-target-libffi
31022 html-target-libffi: \
31023 configure-target-libffi
31024 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31025 r=`${PWD_COMMAND}`; export r; \
31026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31027 $(NORMAL_TARGET_EXPORTS) \
31028 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
31029 for flag in $(EXTRA_TARGET_FLAGS); do \
31030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31031 done; \
31032 (cd $(TARGET_SUBDIR)/libffi && \
31033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31035 "RANLIB=$${RANLIB}" \
31036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31037 html) \
31038 || exit 1
31040 @endif target-libffi
31042 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
31043 maybe-TAGS-target-libffi:
31044 @if target-libffi
31045 maybe-TAGS-target-libffi: TAGS-target-libffi
31047 TAGS-target-libffi: \
31048 configure-target-libffi
31049 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31050 r=`${PWD_COMMAND}`; export r; \
31051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31052 $(NORMAL_TARGET_EXPORTS) \
31053 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
31054 for flag in $(EXTRA_TARGET_FLAGS); do \
31055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31056 done; \
31057 (cd $(TARGET_SUBDIR)/libffi && \
31058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31060 "RANLIB=$${RANLIB}" \
31061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31062 TAGS) \
31063 || exit 1
31065 @endif target-libffi
31067 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
31068 maybe-install-info-target-libffi:
31069 @if target-libffi
31070 maybe-install-info-target-libffi: install-info-target-libffi
31072 install-info-target-libffi: \
31073 configure-target-libffi \
31074 info-target-libffi
31075 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31076 r=`${PWD_COMMAND}`; export r; \
31077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31078 $(NORMAL_TARGET_EXPORTS) \
31079 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
31080 for flag in $(EXTRA_TARGET_FLAGS); do \
31081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31082 done; \
31083 (cd $(TARGET_SUBDIR)/libffi && \
31084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31086 "RANLIB=$${RANLIB}" \
31087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31088 install-info) \
31089 || exit 1
31091 @endif target-libffi
31093 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
31094 maybe-installcheck-target-libffi:
31095 @if target-libffi
31096 maybe-installcheck-target-libffi: installcheck-target-libffi
31098 installcheck-target-libffi: \
31099 configure-target-libffi
31100 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31101 r=`${PWD_COMMAND}`; export r; \
31102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31103 $(NORMAL_TARGET_EXPORTS) \
31104 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
31105 for flag in $(EXTRA_TARGET_FLAGS); do \
31106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31107 done; \
31108 (cd $(TARGET_SUBDIR)/libffi && \
31109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31111 "RANLIB=$${RANLIB}" \
31112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31113 installcheck) \
31114 || exit 1
31116 @endif target-libffi
31118 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
31119 maybe-mostlyclean-target-libffi:
31120 @if target-libffi
31121 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
31123 mostlyclean-target-libffi:
31124 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31125 r=`${PWD_COMMAND}`; export r; \
31126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31127 $(NORMAL_TARGET_EXPORTS) \
31128 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
31129 for flag in $(EXTRA_TARGET_FLAGS); do \
31130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31131 done; \
31132 (cd $(TARGET_SUBDIR)/libffi && \
31133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31135 "RANLIB=$${RANLIB}" \
31136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31137 mostlyclean) \
31138 || exit 1
31140 @endif target-libffi
31142 .PHONY: maybe-clean-target-libffi clean-target-libffi
31143 maybe-clean-target-libffi:
31144 @if target-libffi
31145 maybe-clean-target-libffi: clean-target-libffi
31147 clean-target-libffi:
31148 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31149 r=`${PWD_COMMAND}`; export r; \
31150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31151 $(NORMAL_TARGET_EXPORTS) \
31152 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
31153 for flag in $(EXTRA_TARGET_FLAGS); do \
31154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31155 done; \
31156 (cd $(TARGET_SUBDIR)/libffi && \
31157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31159 "RANLIB=$${RANLIB}" \
31160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31161 clean) \
31162 || exit 1
31164 @endif target-libffi
31166 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
31167 maybe-distclean-target-libffi:
31168 @if target-libffi
31169 maybe-distclean-target-libffi: distclean-target-libffi
31171 distclean-target-libffi:
31172 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31173 r=`${PWD_COMMAND}`; export r; \
31174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31175 $(NORMAL_TARGET_EXPORTS) \
31176 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
31177 for flag in $(EXTRA_TARGET_FLAGS); do \
31178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31179 done; \
31180 (cd $(TARGET_SUBDIR)/libffi && \
31181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31183 "RANLIB=$${RANLIB}" \
31184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31185 distclean) \
31186 || exit 1
31188 @endif target-libffi
31190 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
31191 maybe-maintainer-clean-target-libffi:
31192 @if target-libffi
31193 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
31195 maintainer-clean-target-libffi:
31196 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31197 r=`${PWD_COMMAND}`; export r; \
31198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31199 $(NORMAL_TARGET_EXPORTS) \
31200 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
31201 for flag in $(EXTRA_TARGET_FLAGS); do \
31202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31203 done; \
31204 (cd $(TARGET_SUBDIR)/libffi && \
31205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31207 "RANLIB=$${RANLIB}" \
31208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31209 maintainer-clean) \
31210 || exit 1
31212 @endif target-libffi
31216 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31217 @if target-libjava
31218 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
31219 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
31220 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
31221 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
31222 @endif target-libjava
31226 .PHONY: configure-target-libjava maybe-configure-target-libjava
31227 maybe-configure-target-libjava:
31228 @if target-libjava
31229 maybe-configure-target-libjava: configure-target-libjava
31230 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
31231 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
31232 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
31233 r=`${PWD_COMMAND}`; export r; \
31234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31235 $(RAW_CXX_TARGET_EXPORTS) \
31236 echo Configuring in $(TARGET_SUBDIR)/libjava; \
31237 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
31238 case $(srcdir) in \
31239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31240 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
31241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31242 esac; \
31243 srcdiroption="--srcdir=$${topdir}/libjava"; \
31244 libsrcdir="$$s/libjava"; \
31245 rm -f no-such-file || : ; \
31246 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31247 $(TARGET_CONFIGARGS) $${srcdiroption} \
31248 || exit 1
31249 @endif target-libjava
31255 .PHONY: all-target-libjava maybe-all-target-libjava
31256 maybe-all-target-libjava:
31257 @if target-libjava
31258 TARGET-target-libjava=all
31259 maybe-all-target-libjava: all-target-libjava
31260 all-target-libjava: configure-target-libjava
31261 @r=`${PWD_COMMAND}`; export r; \
31262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31263 $(RAW_CXX_TARGET_EXPORTS) \
31264 (cd $(TARGET_SUBDIR)/libjava && \
31265 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
31266 @endif target-libjava
31272 .PHONY: check-target-libjava maybe-check-target-libjava
31273 maybe-check-target-libjava:
31274 @if target-libjava
31275 maybe-check-target-libjava: check-target-libjava
31277 check-target-libjava:
31278 @r=`${PWD_COMMAND}`; export r; \
31279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31280 $(RAW_CXX_TARGET_EXPORTS) \
31281 (cd $(TARGET_SUBDIR)/libjava && \
31282 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31284 @endif target-libjava
31286 .PHONY: install-target-libjava maybe-install-target-libjava
31287 maybe-install-target-libjava:
31288 @if target-libjava
31289 maybe-install-target-libjava: install-target-libjava
31291 install-target-libjava: installdirs
31292 @r=`${PWD_COMMAND}`; export r; \
31293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31294 $(RAW_CXX_TARGET_EXPORTS) \
31295 (cd $(TARGET_SUBDIR)/libjava && \
31296 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31298 @endif target-libjava
31300 # Other targets (info, dvi, etc.)
31302 .PHONY: maybe-info-target-libjava info-target-libjava
31303 maybe-info-target-libjava:
31304 @if target-libjava
31305 maybe-info-target-libjava: info-target-libjava
31307 info-target-libjava: \
31308 configure-target-libjava
31309 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31310 r=`${PWD_COMMAND}`; export r; \
31311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31312 $(RAW_CXX_TARGET_EXPORTS) \
31313 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
31314 for flag in $(EXTRA_TARGET_FLAGS); do \
31315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31316 done; \
31317 (cd $(TARGET_SUBDIR)/libjava && \
31318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31320 "RANLIB=$${RANLIB}" \
31321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31322 info) \
31323 || exit 1
31325 @endif target-libjava
31327 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
31328 maybe-dvi-target-libjava:
31329 @if target-libjava
31330 maybe-dvi-target-libjava: dvi-target-libjava
31332 dvi-target-libjava: \
31333 configure-target-libjava
31334 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31335 r=`${PWD_COMMAND}`; export r; \
31336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31337 $(RAW_CXX_TARGET_EXPORTS) \
31338 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
31339 for flag in $(EXTRA_TARGET_FLAGS); do \
31340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31341 done; \
31342 (cd $(TARGET_SUBDIR)/libjava && \
31343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31345 "RANLIB=$${RANLIB}" \
31346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31347 dvi) \
31348 || exit 1
31350 @endif target-libjava
31352 .PHONY: maybe-html-target-libjava html-target-libjava
31353 maybe-html-target-libjava:
31354 @if target-libjava
31355 maybe-html-target-libjava: html-target-libjava
31357 html-target-libjava: \
31358 configure-target-libjava
31359 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31360 r=`${PWD_COMMAND}`; export r; \
31361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31362 $(RAW_CXX_TARGET_EXPORTS) \
31363 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
31364 for flag in $(EXTRA_TARGET_FLAGS); do \
31365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31366 done; \
31367 (cd $(TARGET_SUBDIR)/libjava && \
31368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31370 "RANLIB=$${RANLIB}" \
31371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31372 html) \
31373 || exit 1
31375 @endif target-libjava
31377 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
31378 maybe-TAGS-target-libjava:
31379 @if target-libjava
31380 maybe-TAGS-target-libjava: TAGS-target-libjava
31382 TAGS-target-libjava: \
31383 configure-target-libjava
31384 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31385 r=`${PWD_COMMAND}`; export r; \
31386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31387 $(RAW_CXX_TARGET_EXPORTS) \
31388 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
31389 for flag in $(EXTRA_TARGET_FLAGS); do \
31390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31391 done; \
31392 (cd $(TARGET_SUBDIR)/libjava && \
31393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31395 "RANLIB=$${RANLIB}" \
31396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31397 TAGS) \
31398 || exit 1
31400 @endif target-libjava
31402 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
31403 maybe-install-info-target-libjava:
31404 @if target-libjava
31405 maybe-install-info-target-libjava: install-info-target-libjava
31407 install-info-target-libjava: \
31408 configure-target-libjava \
31409 info-target-libjava
31410 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31411 r=`${PWD_COMMAND}`; export r; \
31412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31413 $(RAW_CXX_TARGET_EXPORTS) \
31414 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
31415 for flag in $(EXTRA_TARGET_FLAGS); do \
31416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31417 done; \
31418 (cd $(TARGET_SUBDIR)/libjava && \
31419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31421 "RANLIB=$${RANLIB}" \
31422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31423 install-info) \
31424 || exit 1
31426 @endif target-libjava
31428 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
31429 maybe-installcheck-target-libjava:
31430 @if target-libjava
31431 maybe-installcheck-target-libjava: installcheck-target-libjava
31433 installcheck-target-libjava: \
31434 configure-target-libjava
31435 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31436 r=`${PWD_COMMAND}`; export r; \
31437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31438 $(RAW_CXX_TARGET_EXPORTS) \
31439 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
31440 for flag in $(EXTRA_TARGET_FLAGS); do \
31441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31442 done; \
31443 (cd $(TARGET_SUBDIR)/libjava && \
31444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31446 "RANLIB=$${RANLIB}" \
31447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31448 installcheck) \
31449 || exit 1
31451 @endif target-libjava
31453 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
31454 maybe-mostlyclean-target-libjava:
31455 @if target-libjava
31456 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
31458 mostlyclean-target-libjava:
31459 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31460 r=`${PWD_COMMAND}`; export r; \
31461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31462 $(RAW_CXX_TARGET_EXPORTS) \
31463 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
31464 for flag in $(EXTRA_TARGET_FLAGS); do \
31465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31466 done; \
31467 (cd $(TARGET_SUBDIR)/libjava && \
31468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31470 "RANLIB=$${RANLIB}" \
31471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31472 mostlyclean) \
31473 || exit 1
31475 @endif target-libjava
31477 .PHONY: maybe-clean-target-libjava clean-target-libjava
31478 maybe-clean-target-libjava:
31479 @if target-libjava
31480 maybe-clean-target-libjava: clean-target-libjava
31482 clean-target-libjava:
31483 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31484 r=`${PWD_COMMAND}`; export r; \
31485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31486 $(RAW_CXX_TARGET_EXPORTS) \
31487 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
31488 for flag in $(EXTRA_TARGET_FLAGS); do \
31489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31490 done; \
31491 (cd $(TARGET_SUBDIR)/libjava && \
31492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31494 "RANLIB=$${RANLIB}" \
31495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31496 clean) \
31497 || exit 1
31499 @endif target-libjava
31501 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
31502 maybe-distclean-target-libjava:
31503 @if target-libjava
31504 maybe-distclean-target-libjava: distclean-target-libjava
31506 distclean-target-libjava:
31507 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31508 r=`${PWD_COMMAND}`; export r; \
31509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31510 $(RAW_CXX_TARGET_EXPORTS) \
31511 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
31512 for flag in $(EXTRA_TARGET_FLAGS); do \
31513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31514 done; \
31515 (cd $(TARGET_SUBDIR)/libjava && \
31516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31518 "RANLIB=$${RANLIB}" \
31519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31520 distclean) \
31521 || exit 1
31523 @endif target-libjava
31525 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
31526 maybe-maintainer-clean-target-libjava:
31527 @if target-libjava
31528 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
31530 maintainer-clean-target-libjava:
31531 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31532 r=`${PWD_COMMAND}`; export r; \
31533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31534 $(RAW_CXX_TARGET_EXPORTS) \
31535 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
31536 for flag in $(EXTRA_TARGET_FLAGS); do \
31537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31538 done; \
31539 (cd $(TARGET_SUBDIR)/libjava && \
31540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31542 "RANLIB=$${RANLIB}" \
31543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31544 maintainer-clean) \
31545 || exit 1
31547 @endif target-libjava
31551 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31552 @if target-zlib
31553 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
31554 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
31555 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
31556 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
31557 @endif target-zlib
31561 .PHONY: configure-target-zlib maybe-configure-target-zlib
31562 maybe-configure-target-zlib:
31563 @if target-zlib
31564 maybe-configure-target-zlib: configure-target-zlib
31565 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
31566 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
31567 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
31568 r=`${PWD_COMMAND}`; export r; \
31569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31570 $(NORMAL_TARGET_EXPORTS) \
31571 echo Configuring in $(TARGET_SUBDIR)/zlib; \
31572 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
31573 case $(srcdir) in \
31574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31575 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
31576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31577 esac; \
31578 srcdiroption="--srcdir=$${topdir}/zlib"; \
31579 libsrcdir="$$s/zlib"; \
31580 rm -f no-such-file || : ; \
31581 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31582 $(TARGET_CONFIGARGS) $${srcdiroption} \
31583 || exit 1
31584 @endif target-zlib
31590 .PHONY: all-target-zlib maybe-all-target-zlib
31591 maybe-all-target-zlib:
31592 @if target-zlib
31593 TARGET-target-zlib=all
31594 maybe-all-target-zlib: all-target-zlib
31595 all-target-zlib: configure-target-zlib
31596 @r=`${PWD_COMMAND}`; export r; \
31597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31598 $(NORMAL_TARGET_EXPORTS) \
31599 (cd $(TARGET_SUBDIR)/zlib && \
31600 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
31601 @endif target-zlib
31607 .PHONY: check-target-zlib maybe-check-target-zlib
31608 maybe-check-target-zlib:
31609 @if target-zlib
31610 maybe-check-target-zlib: check-target-zlib
31612 check-target-zlib:
31613 @r=`${PWD_COMMAND}`; export r; \
31614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31615 $(NORMAL_TARGET_EXPORTS) \
31616 (cd $(TARGET_SUBDIR)/zlib && \
31617 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31619 @endif target-zlib
31621 .PHONY: install-target-zlib maybe-install-target-zlib
31622 maybe-install-target-zlib:
31623 @if target-zlib
31624 maybe-install-target-zlib: install-target-zlib
31626 install-target-zlib: installdirs
31627 @r=`${PWD_COMMAND}`; export r; \
31628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31629 $(NORMAL_TARGET_EXPORTS) \
31630 (cd $(TARGET_SUBDIR)/zlib && \
31631 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31633 @endif target-zlib
31635 # Other targets (info, dvi, etc.)
31637 .PHONY: maybe-info-target-zlib info-target-zlib
31638 maybe-info-target-zlib:
31639 @if target-zlib
31640 maybe-info-target-zlib: info-target-zlib
31642 info-target-zlib: \
31643 configure-target-zlib
31644 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
31645 r=`${PWD_COMMAND}`; export r; \
31646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31647 $(NORMAL_TARGET_EXPORTS) \
31648 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
31649 for flag in $(EXTRA_TARGET_FLAGS); do \
31650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31651 done; \
31652 (cd $(TARGET_SUBDIR)/zlib && \
31653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31655 "RANLIB=$${RANLIB}" \
31656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31657 info) \
31658 || exit 1
31660 @endif target-zlib
31662 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
31663 maybe-dvi-target-zlib:
31664 @if target-zlib
31665 maybe-dvi-target-zlib: dvi-target-zlib
31667 dvi-target-zlib: \
31668 configure-target-zlib
31669 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
31670 r=`${PWD_COMMAND}`; export r; \
31671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31672 $(NORMAL_TARGET_EXPORTS) \
31673 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
31674 for flag in $(EXTRA_TARGET_FLAGS); do \
31675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31676 done; \
31677 (cd $(TARGET_SUBDIR)/zlib && \
31678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31680 "RANLIB=$${RANLIB}" \
31681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31682 dvi) \
31683 || exit 1
31685 @endif target-zlib
31687 .PHONY: maybe-html-target-zlib html-target-zlib
31688 maybe-html-target-zlib:
31689 @if target-zlib
31690 maybe-html-target-zlib: html-target-zlib
31692 html-target-zlib: \
31693 configure-target-zlib
31694 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
31695 r=`${PWD_COMMAND}`; export r; \
31696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31697 $(NORMAL_TARGET_EXPORTS) \
31698 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
31699 for flag in $(EXTRA_TARGET_FLAGS); do \
31700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31701 done; \
31702 (cd $(TARGET_SUBDIR)/zlib && \
31703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31705 "RANLIB=$${RANLIB}" \
31706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31707 html) \
31708 || exit 1
31710 @endif target-zlib
31712 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
31713 maybe-TAGS-target-zlib:
31714 @if target-zlib
31715 maybe-TAGS-target-zlib: TAGS-target-zlib
31717 TAGS-target-zlib: \
31718 configure-target-zlib
31719 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
31720 r=`${PWD_COMMAND}`; export r; \
31721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31722 $(NORMAL_TARGET_EXPORTS) \
31723 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
31724 for flag in $(EXTRA_TARGET_FLAGS); do \
31725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31726 done; \
31727 (cd $(TARGET_SUBDIR)/zlib && \
31728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31730 "RANLIB=$${RANLIB}" \
31731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31732 TAGS) \
31733 || exit 1
31735 @endif target-zlib
31737 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
31738 maybe-install-info-target-zlib:
31739 @if target-zlib
31740 maybe-install-info-target-zlib: install-info-target-zlib
31742 install-info-target-zlib: \
31743 configure-target-zlib \
31744 info-target-zlib
31745 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
31746 r=`${PWD_COMMAND}`; export r; \
31747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31748 $(NORMAL_TARGET_EXPORTS) \
31749 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
31750 for flag in $(EXTRA_TARGET_FLAGS); do \
31751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31752 done; \
31753 (cd $(TARGET_SUBDIR)/zlib && \
31754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31756 "RANLIB=$${RANLIB}" \
31757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31758 install-info) \
31759 || exit 1
31761 @endif target-zlib
31763 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
31764 maybe-installcheck-target-zlib:
31765 @if target-zlib
31766 maybe-installcheck-target-zlib: installcheck-target-zlib
31768 installcheck-target-zlib: \
31769 configure-target-zlib
31770 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
31771 r=`${PWD_COMMAND}`; export r; \
31772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31773 $(NORMAL_TARGET_EXPORTS) \
31774 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
31775 for flag in $(EXTRA_TARGET_FLAGS); do \
31776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31777 done; \
31778 (cd $(TARGET_SUBDIR)/zlib && \
31779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31781 "RANLIB=$${RANLIB}" \
31782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31783 installcheck) \
31784 || exit 1
31786 @endif target-zlib
31788 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
31789 maybe-mostlyclean-target-zlib:
31790 @if target-zlib
31791 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
31793 mostlyclean-target-zlib:
31794 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
31795 r=`${PWD_COMMAND}`; export r; \
31796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31797 $(NORMAL_TARGET_EXPORTS) \
31798 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
31799 for flag in $(EXTRA_TARGET_FLAGS); do \
31800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31801 done; \
31802 (cd $(TARGET_SUBDIR)/zlib && \
31803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31805 "RANLIB=$${RANLIB}" \
31806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31807 mostlyclean) \
31808 || exit 1
31810 @endif target-zlib
31812 .PHONY: maybe-clean-target-zlib clean-target-zlib
31813 maybe-clean-target-zlib:
31814 @if target-zlib
31815 maybe-clean-target-zlib: clean-target-zlib
31817 clean-target-zlib:
31818 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
31819 r=`${PWD_COMMAND}`; export r; \
31820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31821 $(NORMAL_TARGET_EXPORTS) \
31822 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
31823 for flag in $(EXTRA_TARGET_FLAGS); do \
31824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31825 done; \
31826 (cd $(TARGET_SUBDIR)/zlib && \
31827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31829 "RANLIB=$${RANLIB}" \
31830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31831 clean) \
31832 || exit 1
31834 @endif target-zlib
31836 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
31837 maybe-distclean-target-zlib:
31838 @if target-zlib
31839 maybe-distclean-target-zlib: distclean-target-zlib
31841 distclean-target-zlib:
31842 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
31843 r=`${PWD_COMMAND}`; export r; \
31844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31845 $(NORMAL_TARGET_EXPORTS) \
31846 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
31847 for flag in $(EXTRA_TARGET_FLAGS); do \
31848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31849 done; \
31850 (cd $(TARGET_SUBDIR)/zlib && \
31851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31853 "RANLIB=$${RANLIB}" \
31854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31855 distclean) \
31856 || exit 1
31858 @endif target-zlib
31860 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
31861 maybe-maintainer-clean-target-zlib:
31862 @if target-zlib
31863 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
31865 maintainer-clean-target-zlib:
31866 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
31867 r=`${PWD_COMMAND}`; export r; \
31868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31869 $(NORMAL_TARGET_EXPORTS) \
31870 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
31871 for flag in $(EXTRA_TARGET_FLAGS); do \
31872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31873 done; \
31874 (cd $(TARGET_SUBDIR)/zlib && \
31875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31877 "RANLIB=$${RANLIB}" \
31878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31879 maintainer-clean) \
31880 || exit 1
31882 @endif target-zlib
31886 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31887 @if target-boehm-gc
31888 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
31889 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
31890 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
31891 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
31892 @endif target-boehm-gc
31896 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
31897 maybe-configure-target-boehm-gc:
31898 @if target-boehm-gc
31899 maybe-configure-target-boehm-gc: configure-target-boehm-gc
31900 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
31901 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
31902 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
31903 r=`${PWD_COMMAND}`; export r; \
31904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31905 $(NORMAL_TARGET_EXPORTS) \
31906 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
31907 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
31908 case $(srcdir) in \
31909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31910 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
31911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31912 esac; \
31913 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
31914 libsrcdir="$$s/boehm-gc"; \
31915 rm -f no-such-file || : ; \
31916 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31917 $(TARGET_CONFIGARGS) $${srcdiroption} \
31918 || exit 1
31919 @endif target-boehm-gc
31925 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
31926 maybe-all-target-boehm-gc:
31927 @if target-boehm-gc
31928 TARGET-target-boehm-gc=all
31929 maybe-all-target-boehm-gc: all-target-boehm-gc
31930 all-target-boehm-gc: configure-target-boehm-gc
31931 @r=`${PWD_COMMAND}`; export r; \
31932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31933 $(NORMAL_TARGET_EXPORTS) \
31934 (cd $(TARGET_SUBDIR)/boehm-gc && \
31935 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
31936 @endif target-boehm-gc
31942 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
31943 maybe-check-target-boehm-gc:
31944 @if target-boehm-gc
31945 maybe-check-target-boehm-gc: check-target-boehm-gc
31947 check-target-boehm-gc:
31948 @r=`${PWD_COMMAND}`; export r; \
31949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31950 $(NORMAL_TARGET_EXPORTS) \
31951 (cd $(TARGET_SUBDIR)/boehm-gc && \
31952 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31954 @endif target-boehm-gc
31956 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
31957 maybe-install-target-boehm-gc:
31958 @if target-boehm-gc
31959 maybe-install-target-boehm-gc: install-target-boehm-gc
31961 install-target-boehm-gc: installdirs
31962 @r=`${PWD_COMMAND}`; export r; \
31963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31964 $(NORMAL_TARGET_EXPORTS) \
31965 (cd $(TARGET_SUBDIR)/boehm-gc && \
31966 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31968 @endif target-boehm-gc
31970 # Other targets (info, dvi, etc.)
31972 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
31973 maybe-info-target-boehm-gc:
31974 @if target-boehm-gc
31975 maybe-info-target-boehm-gc: info-target-boehm-gc
31977 info-target-boehm-gc: \
31978 configure-target-boehm-gc
31979 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
31980 r=`${PWD_COMMAND}`; export r; \
31981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31982 $(NORMAL_TARGET_EXPORTS) \
31983 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
31984 for flag in $(EXTRA_TARGET_FLAGS); do \
31985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31986 done; \
31987 (cd $(TARGET_SUBDIR)/boehm-gc && \
31988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31990 "RANLIB=$${RANLIB}" \
31991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31992 info) \
31993 || exit 1
31995 @endif target-boehm-gc
31997 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
31998 maybe-dvi-target-boehm-gc:
31999 @if target-boehm-gc
32000 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
32002 dvi-target-boehm-gc: \
32003 configure-target-boehm-gc
32004 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32005 r=`${PWD_COMMAND}`; export r; \
32006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32007 $(NORMAL_TARGET_EXPORTS) \
32008 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
32009 for flag in $(EXTRA_TARGET_FLAGS); do \
32010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32011 done; \
32012 (cd $(TARGET_SUBDIR)/boehm-gc && \
32013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32015 "RANLIB=$${RANLIB}" \
32016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32017 dvi) \
32018 || exit 1
32020 @endif target-boehm-gc
32022 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
32023 maybe-html-target-boehm-gc:
32024 @if target-boehm-gc
32025 maybe-html-target-boehm-gc: html-target-boehm-gc
32027 html-target-boehm-gc: \
32028 configure-target-boehm-gc
32029 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32030 r=`${PWD_COMMAND}`; export r; \
32031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32032 $(NORMAL_TARGET_EXPORTS) \
32033 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
32034 for flag in $(EXTRA_TARGET_FLAGS); do \
32035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32036 done; \
32037 (cd $(TARGET_SUBDIR)/boehm-gc && \
32038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32040 "RANLIB=$${RANLIB}" \
32041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32042 html) \
32043 || exit 1
32045 @endif target-boehm-gc
32047 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
32048 maybe-TAGS-target-boehm-gc:
32049 @if target-boehm-gc
32050 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
32052 TAGS-target-boehm-gc: \
32053 configure-target-boehm-gc
32054 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32055 r=`${PWD_COMMAND}`; export r; \
32056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32057 $(NORMAL_TARGET_EXPORTS) \
32058 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
32059 for flag in $(EXTRA_TARGET_FLAGS); do \
32060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32061 done; \
32062 (cd $(TARGET_SUBDIR)/boehm-gc && \
32063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32065 "RANLIB=$${RANLIB}" \
32066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32067 TAGS) \
32068 || exit 1
32070 @endif target-boehm-gc
32072 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
32073 maybe-install-info-target-boehm-gc:
32074 @if target-boehm-gc
32075 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
32077 install-info-target-boehm-gc: \
32078 configure-target-boehm-gc \
32079 info-target-boehm-gc
32080 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32081 r=`${PWD_COMMAND}`; export r; \
32082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32083 $(NORMAL_TARGET_EXPORTS) \
32084 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
32085 for flag in $(EXTRA_TARGET_FLAGS); do \
32086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32087 done; \
32088 (cd $(TARGET_SUBDIR)/boehm-gc && \
32089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32091 "RANLIB=$${RANLIB}" \
32092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32093 install-info) \
32094 || exit 1
32096 @endif target-boehm-gc
32098 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
32099 maybe-installcheck-target-boehm-gc:
32100 @if target-boehm-gc
32101 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
32103 installcheck-target-boehm-gc: \
32104 configure-target-boehm-gc
32105 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32106 r=`${PWD_COMMAND}`; export r; \
32107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32108 $(NORMAL_TARGET_EXPORTS) \
32109 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
32110 for flag in $(EXTRA_TARGET_FLAGS); do \
32111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32112 done; \
32113 (cd $(TARGET_SUBDIR)/boehm-gc && \
32114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32116 "RANLIB=$${RANLIB}" \
32117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32118 installcheck) \
32119 || exit 1
32121 @endif target-boehm-gc
32123 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
32124 maybe-mostlyclean-target-boehm-gc:
32125 @if target-boehm-gc
32126 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
32128 mostlyclean-target-boehm-gc:
32129 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32130 r=`${PWD_COMMAND}`; export r; \
32131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32132 $(NORMAL_TARGET_EXPORTS) \
32133 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
32134 for flag in $(EXTRA_TARGET_FLAGS); do \
32135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32136 done; \
32137 (cd $(TARGET_SUBDIR)/boehm-gc && \
32138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32140 "RANLIB=$${RANLIB}" \
32141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32142 mostlyclean) \
32143 || exit 1
32145 @endif target-boehm-gc
32147 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
32148 maybe-clean-target-boehm-gc:
32149 @if target-boehm-gc
32150 maybe-clean-target-boehm-gc: clean-target-boehm-gc
32152 clean-target-boehm-gc:
32153 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32154 r=`${PWD_COMMAND}`; export r; \
32155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32156 $(NORMAL_TARGET_EXPORTS) \
32157 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
32158 for flag in $(EXTRA_TARGET_FLAGS); do \
32159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32160 done; \
32161 (cd $(TARGET_SUBDIR)/boehm-gc && \
32162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32164 "RANLIB=$${RANLIB}" \
32165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32166 clean) \
32167 || exit 1
32169 @endif target-boehm-gc
32171 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
32172 maybe-distclean-target-boehm-gc:
32173 @if target-boehm-gc
32174 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
32176 distclean-target-boehm-gc:
32177 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32178 r=`${PWD_COMMAND}`; export r; \
32179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32180 $(NORMAL_TARGET_EXPORTS) \
32181 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
32182 for flag in $(EXTRA_TARGET_FLAGS); do \
32183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32184 done; \
32185 (cd $(TARGET_SUBDIR)/boehm-gc && \
32186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32188 "RANLIB=$${RANLIB}" \
32189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32190 distclean) \
32191 || exit 1
32193 @endif target-boehm-gc
32195 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
32196 maybe-maintainer-clean-target-boehm-gc:
32197 @if target-boehm-gc
32198 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
32200 maintainer-clean-target-boehm-gc:
32201 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32202 r=`${PWD_COMMAND}`; export r; \
32203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32204 $(NORMAL_TARGET_EXPORTS) \
32205 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
32206 for flag in $(EXTRA_TARGET_FLAGS); do \
32207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32208 done; \
32209 (cd $(TARGET_SUBDIR)/boehm-gc && \
32210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32212 "RANLIB=$${RANLIB}" \
32213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32214 maintainer-clean) \
32215 || exit 1
32217 @endif target-boehm-gc
32221 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32222 @if target-qthreads
32223 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
32224 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
32225 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
32226 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
32227 @endif target-qthreads
32231 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
32232 maybe-configure-target-qthreads:
32233 @if target-qthreads
32234 maybe-configure-target-qthreads: configure-target-qthreads
32235 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
32236 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
32237 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
32238 r=`${PWD_COMMAND}`; export r; \
32239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32240 $(NORMAL_TARGET_EXPORTS) \
32241 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
32242 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
32243 case $(srcdir) in \
32244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32245 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
32246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32247 esac; \
32248 srcdiroption="--srcdir=$${topdir}/qthreads"; \
32249 libsrcdir="$$s/qthreads"; \
32250 rm -f no-such-file || : ; \
32251 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32252 $(TARGET_CONFIGARGS) $${srcdiroption} \
32253 || exit 1
32254 @endif target-qthreads
32260 .PHONY: all-target-qthreads maybe-all-target-qthreads
32261 maybe-all-target-qthreads:
32262 @if target-qthreads
32263 TARGET-target-qthreads=all
32264 maybe-all-target-qthreads: all-target-qthreads
32265 all-target-qthreads: configure-target-qthreads
32266 @r=`${PWD_COMMAND}`; export r; \
32267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32268 $(NORMAL_TARGET_EXPORTS) \
32269 (cd $(TARGET_SUBDIR)/qthreads && \
32270 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
32271 @endif target-qthreads
32277 .PHONY: check-target-qthreads maybe-check-target-qthreads
32278 maybe-check-target-qthreads:
32279 @if target-qthreads
32280 maybe-check-target-qthreads: check-target-qthreads
32282 check-target-qthreads:
32283 @r=`${PWD_COMMAND}`; export r; \
32284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32285 $(NORMAL_TARGET_EXPORTS) \
32286 (cd $(TARGET_SUBDIR)/qthreads && \
32287 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32289 @endif target-qthreads
32291 .PHONY: install-target-qthreads maybe-install-target-qthreads
32292 maybe-install-target-qthreads:
32293 @if target-qthreads
32294 maybe-install-target-qthreads: install-target-qthreads
32296 install-target-qthreads: installdirs
32297 @r=`${PWD_COMMAND}`; export r; \
32298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32299 $(NORMAL_TARGET_EXPORTS) \
32300 (cd $(TARGET_SUBDIR)/qthreads && \
32301 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32303 @endif target-qthreads
32305 # Other targets (info, dvi, etc.)
32307 .PHONY: maybe-info-target-qthreads info-target-qthreads
32308 maybe-info-target-qthreads:
32309 @if target-qthreads
32310 maybe-info-target-qthreads: info-target-qthreads
32312 info-target-qthreads: \
32313 configure-target-qthreads
32314 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32315 r=`${PWD_COMMAND}`; export r; \
32316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32317 $(NORMAL_TARGET_EXPORTS) \
32318 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
32319 for flag in $(EXTRA_TARGET_FLAGS); do \
32320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32321 done; \
32322 (cd $(TARGET_SUBDIR)/qthreads && \
32323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32325 "RANLIB=$${RANLIB}" \
32326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32327 info) \
32328 || exit 1
32330 @endif target-qthreads
32332 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
32333 maybe-dvi-target-qthreads:
32334 @if target-qthreads
32335 maybe-dvi-target-qthreads: dvi-target-qthreads
32337 dvi-target-qthreads: \
32338 configure-target-qthreads
32339 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32340 r=`${PWD_COMMAND}`; export r; \
32341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32342 $(NORMAL_TARGET_EXPORTS) \
32343 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
32344 for flag in $(EXTRA_TARGET_FLAGS); do \
32345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32346 done; \
32347 (cd $(TARGET_SUBDIR)/qthreads && \
32348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32350 "RANLIB=$${RANLIB}" \
32351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32352 dvi) \
32353 || exit 1
32355 @endif target-qthreads
32357 .PHONY: maybe-html-target-qthreads html-target-qthreads
32358 maybe-html-target-qthreads:
32359 @if target-qthreads
32360 maybe-html-target-qthreads: html-target-qthreads
32362 html-target-qthreads: \
32363 configure-target-qthreads
32364 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32365 r=`${PWD_COMMAND}`; export r; \
32366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32367 $(NORMAL_TARGET_EXPORTS) \
32368 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
32369 for flag in $(EXTRA_TARGET_FLAGS); do \
32370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32371 done; \
32372 (cd $(TARGET_SUBDIR)/qthreads && \
32373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32375 "RANLIB=$${RANLIB}" \
32376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32377 html) \
32378 || exit 1
32380 @endif target-qthreads
32382 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
32383 maybe-TAGS-target-qthreads:
32384 @if target-qthreads
32385 maybe-TAGS-target-qthreads: TAGS-target-qthreads
32387 TAGS-target-qthreads: \
32388 configure-target-qthreads
32389 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32390 r=`${PWD_COMMAND}`; export r; \
32391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32392 $(NORMAL_TARGET_EXPORTS) \
32393 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
32394 for flag in $(EXTRA_TARGET_FLAGS); do \
32395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32396 done; \
32397 (cd $(TARGET_SUBDIR)/qthreads && \
32398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32400 "RANLIB=$${RANLIB}" \
32401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32402 TAGS) \
32403 || exit 1
32405 @endif target-qthreads
32407 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
32408 maybe-install-info-target-qthreads:
32409 @if target-qthreads
32410 maybe-install-info-target-qthreads: install-info-target-qthreads
32412 install-info-target-qthreads: \
32413 configure-target-qthreads \
32414 info-target-qthreads
32415 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32416 r=`${PWD_COMMAND}`; export r; \
32417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32418 $(NORMAL_TARGET_EXPORTS) \
32419 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
32420 for flag in $(EXTRA_TARGET_FLAGS); do \
32421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32422 done; \
32423 (cd $(TARGET_SUBDIR)/qthreads && \
32424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32426 "RANLIB=$${RANLIB}" \
32427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32428 install-info) \
32429 || exit 1
32431 @endif target-qthreads
32433 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
32434 maybe-installcheck-target-qthreads:
32435 @if target-qthreads
32436 maybe-installcheck-target-qthreads: installcheck-target-qthreads
32438 installcheck-target-qthreads: \
32439 configure-target-qthreads
32440 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32441 r=`${PWD_COMMAND}`; export r; \
32442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32443 $(NORMAL_TARGET_EXPORTS) \
32444 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
32445 for flag in $(EXTRA_TARGET_FLAGS); do \
32446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32447 done; \
32448 (cd $(TARGET_SUBDIR)/qthreads && \
32449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32451 "RANLIB=$${RANLIB}" \
32452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32453 installcheck) \
32454 || exit 1
32456 @endif target-qthreads
32458 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
32459 maybe-mostlyclean-target-qthreads:
32460 @if target-qthreads
32461 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
32463 mostlyclean-target-qthreads:
32464 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32465 r=`${PWD_COMMAND}`; export r; \
32466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32467 $(NORMAL_TARGET_EXPORTS) \
32468 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
32469 for flag in $(EXTRA_TARGET_FLAGS); do \
32470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32471 done; \
32472 (cd $(TARGET_SUBDIR)/qthreads && \
32473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32475 "RANLIB=$${RANLIB}" \
32476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32477 mostlyclean) \
32478 || exit 1
32480 @endif target-qthreads
32482 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
32483 maybe-clean-target-qthreads:
32484 @if target-qthreads
32485 maybe-clean-target-qthreads: clean-target-qthreads
32487 clean-target-qthreads:
32488 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32489 r=`${PWD_COMMAND}`; export r; \
32490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32491 $(NORMAL_TARGET_EXPORTS) \
32492 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
32493 for flag in $(EXTRA_TARGET_FLAGS); do \
32494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32495 done; \
32496 (cd $(TARGET_SUBDIR)/qthreads && \
32497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32499 "RANLIB=$${RANLIB}" \
32500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32501 clean) \
32502 || exit 1
32504 @endif target-qthreads
32506 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
32507 maybe-distclean-target-qthreads:
32508 @if target-qthreads
32509 maybe-distclean-target-qthreads: distclean-target-qthreads
32511 distclean-target-qthreads:
32512 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32513 r=`${PWD_COMMAND}`; export r; \
32514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32515 $(NORMAL_TARGET_EXPORTS) \
32516 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
32517 for flag in $(EXTRA_TARGET_FLAGS); do \
32518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32519 done; \
32520 (cd $(TARGET_SUBDIR)/qthreads && \
32521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32523 "RANLIB=$${RANLIB}" \
32524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32525 distclean) \
32526 || exit 1
32528 @endif target-qthreads
32530 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
32531 maybe-maintainer-clean-target-qthreads:
32532 @if target-qthreads
32533 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
32535 maintainer-clean-target-qthreads:
32536 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32537 r=`${PWD_COMMAND}`; export r; \
32538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32539 $(NORMAL_TARGET_EXPORTS) \
32540 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
32541 for flag in $(EXTRA_TARGET_FLAGS); do \
32542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32543 done; \
32544 (cd $(TARGET_SUBDIR)/qthreads && \
32545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32547 "RANLIB=$${RANLIB}" \
32548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32549 maintainer-clean) \
32550 || exit 1
32552 @endif target-qthreads
32556 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32557 @if target-rda
32558 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
32559 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
32560 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
32561 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
32562 @endif target-rda
32566 .PHONY: configure-target-rda maybe-configure-target-rda
32567 maybe-configure-target-rda:
32568 @if target-rda
32569 maybe-configure-target-rda: configure-target-rda
32570 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
32571 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
32572 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
32573 r=`${PWD_COMMAND}`; export r; \
32574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32575 $(NORMAL_TARGET_EXPORTS) \
32576 echo Configuring in $(TARGET_SUBDIR)/rda; \
32577 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
32578 case $(srcdir) in \
32579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32580 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
32581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32582 esac; \
32583 srcdiroption="--srcdir=$${topdir}/rda"; \
32584 libsrcdir="$$s/rda"; \
32585 rm -f no-such-file || : ; \
32586 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32587 $(TARGET_CONFIGARGS) $${srcdiroption} \
32588 || exit 1
32589 @endif target-rda
32595 .PHONY: all-target-rda maybe-all-target-rda
32596 maybe-all-target-rda:
32597 @if target-rda
32598 TARGET-target-rda=all
32599 maybe-all-target-rda: all-target-rda
32600 all-target-rda: configure-target-rda
32601 @r=`${PWD_COMMAND}`; export r; \
32602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32603 $(NORMAL_TARGET_EXPORTS) \
32604 (cd $(TARGET_SUBDIR)/rda && \
32605 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
32606 @endif target-rda
32612 .PHONY: check-target-rda maybe-check-target-rda
32613 maybe-check-target-rda:
32614 @if target-rda
32615 maybe-check-target-rda: check-target-rda
32617 check-target-rda:
32618 @r=`${PWD_COMMAND}`; export r; \
32619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32620 $(NORMAL_TARGET_EXPORTS) \
32621 (cd $(TARGET_SUBDIR)/rda && \
32622 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32624 @endif target-rda
32626 .PHONY: install-target-rda maybe-install-target-rda
32627 maybe-install-target-rda:
32628 @if target-rda
32629 maybe-install-target-rda: install-target-rda
32631 install-target-rda: installdirs
32632 @r=`${PWD_COMMAND}`; export r; \
32633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32634 $(NORMAL_TARGET_EXPORTS) \
32635 (cd $(TARGET_SUBDIR)/rda && \
32636 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32638 @endif target-rda
32640 # Other targets (info, dvi, etc.)
32642 .PHONY: maybe-info-target-rda info-target-rda
32643 maybe-info-target-rda:
32644 @if target-rda
32645 maybe-info-target-rda: info-target-rda
32647 info-target-rda: \
32648 configure-target-rda
32649 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
32650 r=`${PWD_COMMAND}`; export r; \
32651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32652 $(NORMAL_TARGET_EXPORTS) \
32653 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
32654 for flag in $(EXTRA_TARGET_FLAGS); do \
32655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32656 done; \
32657 (cd $(TARGET_SUBDIR)/rda && \
32658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32660 "RANLIB=$${RANLIB}" \
32661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32662 info) \
32663 || exit 1
32665 @endif target-rda
32667 .PHONY: maybe-dvi-target-rda dvi-target-rda
32668 maybe-dvi-target-rda:
32669 @if target-rda
32670 maybe-dvi-target-rda: dvi-target-rda
32672 dvi-target-rda: \
32673 configure-target-rda
32674 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
32675 r=`${PWD_COMMAND}`; export r; \
32676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32677 $(NORMAL_TARGET_EXPORTS) \
32678 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
32679 for flag in $(EXTRA_TARGET_FLAGS); do \
32680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32681 done; \
32682 (cd $(TARGET_SUBDIR)/rda && \
32683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32685 "RANLIB=$${RANLIB}" \
32686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32687 dvi) \
32688 || exit 1
32690 @endif target-rda
32692 .PHONY: maybe-html-target-rda html-target-rda
32693 maybe-html-target-rda:
32694 @if target-rda
32695 maybe-html-target-rda: html-target-rda
32697 html-target-rda: \
32698 configure-target-rda
32699 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
32700 r=`${PWD_COMMAND}`; export r; \
32701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32702 $(NORMAL_TARGET_EXPORTS) \
32703 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
32704 for flag in $(EXTRA_TARGET_FLAGS); do \
32705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32706 done; \
32707 (cd $(TARGET_SUBDIR)/rda && \
32708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32710 "RANLIB=$${RANLIB}" \
32711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32712 html) \
32713 || exit 1
32715 @endif target-rda
32717 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
32718 maybe-TAGS-target-rda:
32719 @if target-rda
32720 maybe-TAGS-target-rda: TAGS-target-rda
32722 TAGS-target-rda: \
32723 configure-target-rda
32724 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
32725 r=`${PWD_COMMAND}`; export r; \
32726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32727 $(NORMAL_TARGET_EXPORTS) \
32728 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
32729 for flag in $(EXTRA_TARGET_FLAGS); do \
32730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32731 done; \
32732 (cd $(TARGET_SUBDIR)/rda && \
32733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32735 "RANLIB=$${RANLIB}" \
32736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32737 TAGS) \
32738 || exit 1
32740 @endif target-rda
32742 .PHONY: maybe-install-info-target-rda install-info-target-rda
32743 maybe-install-info-target-rda:
32744 @if target-rda
32745 maybe-install-info-target-rda: install-info-target-rda
32747 install-info-target-rda: \
32748 configure-target-rda \
32749 info-target-rda
32750 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
32751 r=`${PWD_COMMAND}`; export r; \
32752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32753 $(NORMAL_TARGET_EXPORTS) \
32754 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
32755 for flag in $(EXTRA_TARGET_FLAGS); do \
32756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32757 done; \
32758 (cd $(TARGET_SUBDIR)/rda && \
32759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32761 "RANLIB=$${RANLIB}" \
32762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32763 install-info) \
32764 || exit 1
32766 @endif target-rda
32768 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
32769 maybe-installcheck-target-rda:
32770 @if target-rda
32771 maybe-installcheck-target-rda: installcheck-target-rda
32773 installcheck-target-rda: \
32774 configure-target-rda
32775 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
32776 r=`${PWD_COMMAND}`; export r; \
32777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32778 $(NORMAL_TARGET_EXPORTS) \
32779 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
32780 for flag in $(EXTRA_TARGET_FLAGS); do \
32781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32782 done; \
32783 (cd $(TARGET_SUBDIR)/rda && \
32784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32786 "RANLIB=$${RANLIB}" \
32787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32788 installcheck) \
32789 || exit 1
32791 @endif target-rda
32793 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
32794 maybe-mostlyclean-target-rda:
32795 @if target-rda
32796 maybe-mostlyclean-target-rda: mostlyclean-target-rda
32798 mostlyclean-target-rda:
32799 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
32800 r=`${PWD_COMMAND}`; export r; \
32801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32802 $(NORMAL_TARGET_EXPORTS) \
32803 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
32804 for flag in $(EXTRA_TARGET_FLAGS); do \
32805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32806 done; \
32807 (cd $(TARGET_SUBDIR)/rda && \
32808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32810 "RANLIB=$${RANLIB}" \
32811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32812 mostlyclean) \
32813 || exit 1
32815 @endif target-rda
32817 .PHONY: maybe-clean-target-rda clean-target-rda
32818 maybe-clean-target-rda:
32819 @if target-rda
32820 maybe-clean-target-rda: clean-target-rda
32822 clean-target-rda:
32823 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
32824 r=`${PWD_COMMAND}`; export r; \
32825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32826 $(NORMAL_TARGET_EXPORTS) \
32827 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
32828 for flag in $(EXTRA_TARGET_FLAGS); do \
32829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32830 done; \
32831 (cd $(TARGET_SUBDIR)/rda && \
32832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32834 "RANLIB=$${RANLIB}" \
32835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32836 clean) \
32837 || exit 1
32839 @endif target-rda
32841 .PHONY: maybe-distclean-target-rda distclean-target-rda
32842 maybe-distclean-target-rda:
32843 @if target-rda
32844 maybe-distclean-target-rda: distclean-target-rda
32846 distclean-target-rda:
32847 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
32848 r=`${PWD_COMMAND}`; export r; \
32849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32850 $(NORMAL_TARGET_EXPORTS) \
32851 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
32852 for flag in $(EXTRA_TARGET_FLAGS); do \
32853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32854 done; \
32855 (cd $(TARGET_SUBDIR)/rda && \
32856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32858 "RANLIB=$${RANLIB}" \
32859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32860 distclean) \
32861 || exit 1
32863 @endif target-rda
32865 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
32866 maybe-maintainer-clean-target-rda:
32867 @if target-rda
32868 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
32870 maintainer-clean-target-rda:
32871 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
32872 r=`${PWD_COMMAND}`; export r; \
32873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32874 $(NORMAL_TARGET_EXPORTS) \
32875 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
32876 for flag in $(EXTRA_TARGET_FLAGS); do \
32877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32878 done; \
32879 (cd $(TARGET_SUBDIR)/rda && \
32880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32882 "RANLIB=$${RANLIB}" \
32883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32884 maintainer-clean) \
32885 || exit 1
32887 @endif target-rda
32891 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32892 @if target-libada
32893 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
32894 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
32895 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
32896 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
32897 @endif target-libada
32901 .PHONY: configure-target-libada maybe-configure-target-libada
32902 maybe-configure-target-libada:
32903 @if target-libada
32904 maybe-configure-target-libada: configure-target-libada
32905 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
32906 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
32907 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
32908 r=`${PWD_COMMAND}`; export r; \
32909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32910 $(NORMAL_TARGET_EXPORTS) \
32911 echo Configuring in $(TARGET_SUBDIR)/libada; \
32912 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
32913 case $(srcdir) in \
32914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32915 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
32916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32917 esac; \
32918 srcdiroption="--srcdir=$${topdir}/libada"; \
32919 libsrcdir="$$s/libada"; \
32920 rm -f no-such-file || : ; \
32921 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32922 $(TARGET_CONFIGARGS) $${srcdiroption} \
32923 || exit 1
32924 @endif target-libada
32930 .PHONY: all-target-libada maybe-all-target-libada
32931 maybe-all-target-libada:
32932 @if target-libada
32933 TARGET-target-libada=all
32934 maybe-all-target-libada: all-target-libada
32935 all-target-libada: configure-target-libada
32936 @r=`${PWD_COMMAND}`; export r; \
32937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32938 $(NORMAL_TARGET_EXPORTS) \
32939 (cd $(TARGET_SUBDIR)/libada && \
32940 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
32941 @endif target-libada
32947 .PHONY: check-target-libada maybe-check-target-libada
32948 maybe-check-target-libada:
32949 @if target-libada
32950 maybe-check-target-libada: check-target-libada
32952 check-target-libada:
32953 @r=`${PWD_COMMAND}`; export r; \
32954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32955 $(NORMAL_TARGET_EXPORTS) \
32956 (cd $(TARGET_SUBDIR)/libada && \
32957 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32959 @endif target-libada
32961 .PHONY: install-target-libada maybe-install-target-libada
32962 maybe-install-target-libada:
32963 @if target-libada
32964 maybe-install-target-libada: install-target-libada
32966 install-target-libada: installdirs
32967 @r=`${PWD_COMMAND}`; export r; \
32968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32969 $(NORMAL_TARGET_EXPORTS) \
32970 (cd $(TARGET_SUBDIR)/libada && \
32971 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32973 @endif target-libada
32975 # Other targets (info, dvi, etc.)
32977 .PHONY: maybe-info-target-libada info-target-libada
32978 maybe-info-target-libada:
32979 @if target-libada
32980 maybe-info-target-libada: info-target-libada
32982 info-target-libada: \
32983 configure-target-libada
32984 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
32985 r=`${PWD_COMMAND}`; export r; \
32986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32987 $(NORMAL_TARGET_EXPORTS) \
32988 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
32989 for flag in $(EXTRA_TARGET_FLAGS); do \
32990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32991 done; \
32992 (cd $(TARGET_SUBDIR)/libada && \
32993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32995 "RANLIB=$${RANLIB}" \
32996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32997 info) \
32998 || exit 1
33000 @endif target-libada
33002 .PHONY: maybe-dvi-target-libada dvi-target-libada
33003 maybe-dvi-target-libada:
33004 @if target-libada
33005 maybe-dvi-target-libada: dvi-target-libada
33007 dvi-target-libada: \
33008 configure-target-libada
33009 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33010 r=`${PWD_COMMAND}`; export r; \
33011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33012 $(NORMAL_TARGET_EXPORTS) \
33013 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
33014 for flag in $(EXTRA_TARGET_FLAGS); do \
33015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33016 done; \
33017 (cd $(TARGET_SUBDIR)/libada && \
33018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33020 "RANLIB=$${RANLIB}" \
33021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33022 dvi) \
33023 || exit 1
33025 @endif target-libada
33027 .PHONY: maybe-html-target-libada html-target-libada
33028 maybe-html-target-libada:
33029 @if target-libada
33030 maybe-html-target-libada: html-target-libada
33032 html-target-libada: \
33033 configure-target-libada
33034 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33035 r=`${PWD_COMMAND}`; export r; \
33036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33037 $(NORMAL_TARGET_EXPORTS) \
33038 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
33039 for flag in $(EXTRA_TARGET_FLAGS); do \
33040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33041 done; \
33042 (cd $(TARGET_SUBDIR)/libada && \
33043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33045 "RANLIB=$${RANLIB}" \
33046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33047 html) \
33048 || exit 1
33050 @endif target-libada
33052 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
33053 maybe-TAGS-target-libada:
33054 @if target-libada
33055 maybe-TAGS-target-libada: TAGS-target-libada
33057 TAGS-target-libada: \
33058 configure-target-libada
33059 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33060 r=`${PWD_COMMAND}`; export r; \
33061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33062 $(NORMAL_TARGET_EXPORTS) \
33063 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
33064 for flag in $(EXTRA_TARGET_FLAGS); do \
33065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33066 done; \
33067 (cd $(TARGET_SUBDIR)/libada && \
33068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33070 "RANLIB=$${RANLIB}" \
33071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33072 TAGS) \
33073 || exit 1
33075 @endif target-libada
33077 .PHONY: maybe-install-info-target-libada install-info-target-libada
33078 maybe-install-info-target-libada:
33079 @if target-libada
33080 maybe-install-info-target-libada: install-info-target-libada
33082 install-info-target-libada: \
33083 configure-target-libada \
33084 info-target-libada
33085 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33086 r=`${PWD_COMMAND}`; export r; \
33087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33088 $(NORMAL_TARGET_EXPORTS) \
33089 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
33090 for flag in $(EXTRA_TARGET_FLAGS); do \
33091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33092 done; \
33093 (cd $(TARGET_SUBDIR)/libada && \
33094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33096 "RANLIB=$${RANLIB}" \
33097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33098 install-info) \
33099 || exit 1
33101 @endif target-libada
33103 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
33104 maybe-installcheck-target-libada:
33105 @if target-libada
33106 maybe-installcheck-target-libada: installcheck-target-libada
33108 installcheck-target-libada: \
33109 configure-target-libada
33110 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33111 r=`${PWD_COMMAND}`; export r; \
33112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33113 $(NORMAL_TARGET_EXPORTS) \
33114 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
33115 for flag in $(EXTRA_TARGET_FLAGS); do \
33116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33117 done; \
33118 (cd $(TARGET_SUBDIR)/libada && \
33119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33121 "RANLIB=$${RANLIB}" \
33122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33123 installcheck) \
33124 || exit 1
33126 @endif target-libada
33128 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
33129 maybe-mostlyclean-target-libada:
33130 @if target-libada
33131 maybe-mostlyclean-target-libada: mostlyclean-target-libada
33133 mostlyclean-target-libada:
33134 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33135 r=`${PWD_COMMAND}`; export r; \
33136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33137 $(NORMAL_TARGET_EXPORTS) \
33138 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
33139 for flag in $(EXTRA_TARGET_FLAGS); do \
33140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33141 done; \
33142 (cd $(TARGET_SUBDIR)/libada && \
33143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33145 "RANLIB=$${RANLIB}" \
33146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33147 mostlyclean) \
33148 || exit 1
33150 @endif target-libada
33152 .PHONY: maybe-clean-target-libada clean-target-libada
33153 maybe-clean-target-libada:
33154 @if target-libada
33155 maybe-clean-target-libada: clean-target-libada
33157 clean-target-libada:
33158 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33159 r=`${PWD_COMMAND}`; export r; \
33160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33161 $(NORMAL_TARGET_EXPORTS) \
33162 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
33163 for flag in $(EXTRA_TARGET_FLAGS); do \
33164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33165 done; \
33166 (cd $(TARGET_SUBDIR)/libada && \
33167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33169 "RANLIB=$${RANLIB}" \
33170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33171 clean) \
33172 || exit 1
33174 @endif target-libada
33176 .PHONY: maybe-distclean-target-libada distclean-target-libada
33177 maybe-distclean-target-libada:
33178 @if target-libada
33179 maybe-distclean-target-libada: distclean-target-libada
33181 distclean-target-libada:
33182 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33183 r=`${PWD_COMMAND}`; export r; \
33184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33185 $(NORMAL_TARGET_EXPORTS) \
33186 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
33187 for flag in $(EXTRA_TARGET_FLAGS); do \
33188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33189 done; \
33190 (cd $(TARGET_SUBDIR)/libada && \
33191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33193 "RANLIB=$${RANLIB}" \
33194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33195 distclean) \
33196 || exit 1
33198 @endif target-libada
33200 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
33201 maybe-maintainer-clean-target-libada:
33202 @if target-libada
33203 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
33205 maintainer-clean-target-libada:
33206 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33207 r=`${PWD_COMMAND}`; export r; \
33208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33209 $(NORMAL_TARGET_EXPORTS) \
33210 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
33211 for flag in $(EXTRA_TARGET_FLAGS); do \
33212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33213 done; \
33214 (cd $(TARGET_SUBDIR)/libada && \
33215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33217 "RANLIB=$${RANLIB}" \
33218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33219 maintainer-clean) \
33220 || exit 1
33222 @endif target-libada
33226 # ----------
33227 # GCC module
33228 # ----------
33230 @if gcc-no-bootstrap
33231 # GCC has some more recursive targets, which trigger the old
33232 # (but still current, until the toplevel bootstrap project
33233 # is finished) compiler bootstrapping rules.
33235 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
33236 .PHONY: $(GCC_STRAP_TARGETS)
33237 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
33238 @r=`${PWD_COMMAND}`; export r; \
33239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33240 $(HOST_EXPORTS) \
33241 echo "Bootstrapping the compiler"; \
33242 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
33243 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
33244 @r=`${PWD_COMMAND}`; export r; \
33245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33246 case "$@" in \
33247 *bootstrap4-lean ) \
33248 msg="Comparing stage3 and stage4 of the compiler"; \
33249 compare=compare3-lean ;; \
33250 *bootstrap4 ) \
33251 msg="Comparing stage3 and stage4 of the compiler"; \
33252 compare=compare3 ;; \
33253 *-lean ) \
33254 msg="Comparing stage2 and stage3 of the compiler"; \
33255 compare=compare-lean ;; \
33256 * ) \
33257 msg="Comparing stage2 and stage3 of the compiler"; \
33258 compare=compare ;; \
33259 esac; \
33260 $(HOST_EXPORTS) \
33261 echo "$$msg"; \
33262 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
33263 @r=`${PWD_COMMAND}`; export r; \
33264 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33265 echo "Building runtime libraries"; \
33266 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
33268 profiledbootstrap: all-prebootstrap configure-gcc
33269 @r=`${PWD_COMMAND}`; export r; \
33270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33271 $(HOST_EXPORTS) \
33272 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
33273 echo "Bootstrapping training compiler"; \
33274 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
33275 @r=`${PWD_COMMAND}`; export r; \
33276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33277 $(HOST_EXPORTS) \
33278 echo "Building feedback based compiler"; \
33279 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
33280 @r=`${PWD_COMMAND}`; export r; \
33281 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33282 echo "Building runtime libraries"; \
33283 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
33285 .PHONY: cross
33286 cross: all-build all-gas all-ld
33287 @r=`${PWD_COMMAND}`; export r; \
33288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33289 $(HOST_EXPORTS) \
33290 echo "Building the C and C++ compiler"; \
33291 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
33292 @r=`${PWD_COMMAND}`; export r; \
33293 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33294 echo "Building runtime libraries"; \
33295 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
33296 @endif gcc-no-bootstrap
33298 @if gcc
33299 .PHONY: check-gcc-c++
33300 check-gcc-c++:
33301 @if [ -f ./gcc/Makefile ] ; then \
33302 r=`${PWD_COMMAND}`; export r; \
33303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33304 $(HOST_EXPORTS) \
33305 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
33306 else \
33307 true; \
33310 .PHONY: check-c++
33311 check-c++: check-target-libstdc++-v3 check-gcc-c++
33313 # Install the gcc headers files, but not the fixed include files,
33314 # which Cygnus is not allowed to distribute. This rule is very
33315 # dependent on the workings of the gcc Makefile.in.
33316 .PHONY: gcc-no-fixedincludes
33317 gcc-no-fixedincludes:
33318 @if [ -f ./gcc/Makefile ]; then \
33319 rm -rf gcc/tmp-include; \
33320 mv gcc/include gcc/tmp-include 2>/dev/null; \
33321 mkdir gcc/include; \
33322 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
33323 touch gcc/stmp-fixinc gcc/include/fixed; \
33324 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
33325 r=`${PWD_COMMAND}`; export r; \
33326 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33327 $(HOST_EXPORTS) \
33328 (cd ./gcc && \
33329 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
33330 rm -rf gcc/include; \
33331 mv gcc/tmp-include gcc/include 2>/dev/null; \
33332 else true; fi
33333 @endif gcc
33335 # ---------------------
33336 # GCC bootstrap support
33337 # ---------------------
33339 # We track the current stage (the one in 'gcc') in the stage_current file.
33340 # stage_last instead tracks the stage that was built last. These targets
33341 # are dummy when toplevel bootstrap is not active.
33343 .PHONY: unstage
33344 unstage:
33345 @if gcc-bootstrap
33346 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
33347 @endif gcc-bootstrap
33349 .PHONY: stage
33350 stage:
33351 @if gcc-bootstrap
33352 @$(MAKE) `cat stage_current`-end
33353 @endif gcc-bootstrap
33355 # We name the build directories for the various stages "stage1-gcc",
33356 # "stage2-gcc","stage3-gcc", etc.
33358 # Since the 'compare' process will fail (on debugging information) if any
33359 # directory names are different, we need to link the gcc directory for
33360 # the previous stage to a constant name ('gcc-prev'), and to make the name of
33361 # the build directories constant as well. For the latter, we use naked names
33362 # like 'gcc', because the scripts in that directory assume it. We use
33363 # mv on platforms where symlinks to directories do not work or are not
33364 # reliable.
33366 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
33367 # be kept, so that libraries can find it. Ick!
33369 # It would be best to preinstall gcc into a staging area (and in the
33370 # future, gather there all prebootstrap packages). This would allow
33371 # assemblers and linkers can be bootstrapped as well as the compiler
33372 # (both in a combined tree, or separately). This however requires some
33373 # change to the gcc driver, again in order to avoid comparison failures.
33375 # Bugs: This is crippled when doing parallel make, the `make all-host'
33376 # and `make all-target' phases can be parallelized.
33379 # 'touch' doesn't work right on some platforms.
33380 STAMP = echo timestamp >
33382 # Only build the C compiler for stage1, because that is the only one that
33383 # we can guarantee will build with the native compiler, and also it is the
33384 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
33385 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
33386 # overrideable (for a bootstrap build stage1 also builds gcc.info).
33388 STAGE1_CFLAGS=@stage1_cflags@
33389 STAGE1_LANGUAGES=@stage1_languages@
33391 # We only want to compare .o files, so set this!
33392 objext = .o
33394 # Flags to pass to stage2 and later makes.
33395 POSTSTAGE1_FLAGS_TO_PASS = \
33396 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
33397 STAGE_PREFIX=$$r/stage-gcc/ \
33398 CFLAGS="$(BOOT_CFLAGS)" \
33399 ADAC="\$$(CC)"
33401 # For stage 1:
33402 # * We force-disable intermodule optimizations, even if
33403 # --enable-intermodule was passed, since the installed compiler probably
33404 # can't handle them. Luckily, autoconf always respects
33405 # the last argument when conflicting --enable arguments are passed.
33406 # * Likewise, we force-disable coverage flags, since the installed compiler
33407 # probably has never heard of them.
33408 # * We build only C (and possibly Ada).
33411 .PHONY: stage1-start stage1-end
33413 stage1-start::
33414 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33415 echo stage1 > stage_current ; \
33416 echo stage1 > stage_last; \
33417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
33418 @if bfd
33419 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
33420 mkdir stage1-bfd; \
33421 set stage1-bfd bfd ; \
33422 @CREATE_LINK_TO_DIR@
33423 @endif bfd
33424 @if opcodes
33425 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
33426 mkdir stage1-opcodes; \
33427 set stage1-opcodes opcodes ; \
33428 @CREATE_LINK_TO_DIR@
33429 @endif opcodes
33430 @if binutils
33431 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
33432 mkdir stage1-binutils; \
33433 set stage1-binutils binutils ; \
33434 @CREATE_LINK_TO_DIR@
33435 @endif binutils
33436 @if gas
33437 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
33438 mkdir stage1-gas; \
33439 set stage1-gas gas ; \
33440 @CREATE_LINK_TO_DIR@
33441 @endif gas
33442 @if gcc
33443 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
33444 mkdir stage1-gcc; \
33445 set stage1-gcc gcc ; \
33446 @CREATE_LINK_TO_DIR@
33447 @endif gcc
33448 @if intl
33449 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
33450 mkdir stage1-intl; \
33451 set stage1-intl intl ; \
33452 @CREATE_LINK_TO_DIR@
33453 @endif intl
33454 @if ld
33455 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
33456 mkdir stage1-ld; \
33457 set stage1-ld ld ; \
33458 @CREATE_LINK_TO_DIR@
33459 @endif ld
33460 @if libcpp
33461 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
33462 mkdir stage1-libcpp; \
33463 set stage1-libcpp libcpp ; \
33464 @CREATE_LINK_TO_DIR@
33465 @endif libcpp
33466 @if libiberty
33467 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
33468 mkdir stage1-libiberty; \
33469 set stage1-libiberty libiberty ; \
33470 @CREATE_LINK_TO_DIR@
33471 @endif libiberty
33472 @if zlib
33473 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
33474 mkdir stage1-zlib; \
33475 set stage1-zlib zlib ; \
33476 @CREATE_LINK_TO_DIR@
33477 @endif zlib
33479 stage1-end::
33480 @rm -f stage_current
33481 @if bfd
33482 @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
33483 @UNDO_LINK_TO_DIR@
33484 @endif bfd
33485 @if opcodes
33486 @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
33487 @UNDO_LINK_TO_DIR@
33488 @endif opcodes
33489 @if binutils
33490 @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
33491 @UNDO_LINK_TO_DIR@
33492 @endif binutils
33493 @if gas
33494 @cd $(HOST_SUBDIR); set gas stage1-gas ; \
33495 @UNDO_LINK_TO_DIR@
33496 @endif gas
33497 @if gcc
33498 @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
33499 @UNDO_LINK_TO_DIR@
33500 @endif gcc
33501 @if intl
33502 @cd $(HOST_SUBDIR); set intl stage1-intl ; \
33503 @UNDO_LINK_TO_DIR@
33504 @endif intl
33505 @if ld
33506 @cd $(HOST_SUBDIR); set ld stage1-ld ; \
33507 @UNDO_LINK_TO_DIR@
33508 @endif ld
33509 @if libcpp
33510 @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
33511 @UNDO_LINK_TO_DIR@
33512 @endif libcpp
33513 @if libiberty
33514 @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
33515 @UNDO_LINK_TO_DIR@
33516 @endif libiberty
33517 @if zlib
33518 @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
33519 @UNDO_LINK_TO_DIR@
33520 @endif zlib
33522 # Bubble a bugfix through all the stages up to stage 1. They
33523 # are remade, but not reconfigured. The next stage (if any) will not
33524 # be reconfigured as well.
33525 .PHONY: stage1-bubble
33526 stage1-bubble::
33527 @if test -f stage1-lean ; then \
33528 echo Skipping rebuild of stage1 ; \
33529 else \
33530 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
33533 .PHONY: all-stage1 clean-stage1
33534 do-clean: clean-stage1
33536 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33537 # only possibility, but now it conflicts with no-bootstrap rules
33538 @if gcc-bootstrap
33543 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33545 .PHONY: distclean-stage1
33546 distclean-stage1::
33547 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33548 rm -rf stage1-*
33551 @endif gcc-bootstrap
33554 .PHONY: stage2-start stage2-end
33556 stage2-start::
33557 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33558 echo stage2 > stage_current ; \
33559 echo stage2 > stage_last; \
33560 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
33561 @if bfd
33562 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
33563 mkdir stage2-bfd; \
33564 set stage2-bfd bfd ; \
33565 @CREATE_LINK_TO_DIR@ ; \
33566 set stage1-bfd prev-bfd ; \
33567 @CREATE_LINK_TO_DIR@
33568 @endif bfd
33569 @if opcodes
33570 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
33571 mkdir stage2-opcodes; \
33572 set stage2-opcodes opcodes ; \
33573 @CREATE_LINK_TO_DIR@ ; \
33574 set stage1-opcodes prev-opcodes ; \
33575 @CREATE_LINK_TO_DIR@
33576 @endif opcodes
33577 @if binutils
33578 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
33579 mkdir stage2-binutils; \
33580 set stage2-binutils binutils ; \
33581 @CREATE_LINK_TO_DIR@ ; \
33582 set stage1-binutils prev-binutils ; \
33583 @CREATE_LINK_TO_DIR@
33584 @endif binutils
33585 @if gas
33586 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
33587 mkdir stage2-gas; \
33588 set stage2-gas gas ; \
33589 @CREATE_LINK_TO_DIR@ ; \
33590 set stage1-gas prev-gas ; \
33591 @CREATE_LINK_TO_DIR@
33592 @endif gas
33593 @if gcc
33594 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
33595 mkdir stage2-gcc; \
33596 set stage2-gcc gcc ; \
33597 @CREATE_LINK_TO_DIR@ ; \
33598 set stage1-gcc prev-gcc ; \
33599 @CREATE_LINK_TO_DIR@
33600 @endif gcc
33601 @if intl
33602 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
33603 mkdir stage2-intl; \
33604 set stage2-intl intl ; \
33605 @CREATE_LINK_TO_DIR@ ; \
33606 set stage1-intl prev-intl ; \
33607 @CREATE_LINK_TO_DIR@
33608 @endif intl
33609 @if ld
33610 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
33611 mkdir stage2-ld; \
33612 set stage2-ld ld ; \
33613 @CREATE_LINK_TO_DIR@ ; \
33614 set stage1-ld prev-ld ; \
33615 @CREATE_LINK_TO_DIR@
33616 @endif ld
33617 @if libcpp
33618 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
33619 mkdir stage2-libcpp; \
33620 set stage2-libcpp libcpp ; \
33621 @CREATE_LINK_TO_DIR@ ; \
33622 set stage1-libcpp prev-libcpp ; \
33623 @CREATE_LINK_TO_DIR@
33624 @endif libcpp
33625 @if libiberty
33626 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
33627 mkdir stage2-libiberty; \
33628 set stage2-libiberty libiberty ; \
33629 @CREATE_LINK_TO_DIR@ ; \
33630 set stage1-libiberty prev-libiberty ; \
33631 @CREATE_LINK_TO_DIR@
33632 @endif libiberty
33633 @if zlib
33634 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
33635 mkdir stage2-zlib; \
33636 set stage2-zlib zlib ; \
33637 @CREATE_LINK_TO_DIR@ ; \
33638 set stage1-zlib prev-zlib ; \
33639 @CREATE_LINK_TO_DIR@
33640 @endif zlib
33642 stage2-end::
33643 @rm -f stage_current
33644 @if bfd
33645 @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
33646 @UNDO_LINK_TO_DIR@ ; \
33647 set prev-bfd stage1-bfd ; \
33648 @UNDO_LINK_TO_DIR@
33649 @endif bfd
33650 @if opcodes
33651 @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
33652 @UNDO_LINK_TO_DIR@ ; \
33653 set prev-opcodes stage1-opcodes ; \
33654 @UNDO_LINK_TO_DIR@
33655 @endif opcodes
33656 @if binutils
33657 @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
33658 @UNDO_LINK_TO_DIR@ ; \
33659 set prev-binutils stage1-binutils ; \
33660 @UNDO_LINK_TO_DIR@
33661 @endif binutils
33662 @if gas
33663 @cd $(HOST_SUBDIR); set gas stage2-gas ; \
33664 @UNDO_LINK_TO_DIR@ ; \
33665 set prev-gas stage1-gas ; \
33666 @UNDO_LINK_TO_DIR@
33667 @endif gas
33668 @if gcc
33669 @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
33670 @UNDO_LINK_TO_DIR@ ; \
33671 set prev-gcc stage1-gcc ; \
33672 @UNDO_LINK_TO_DIR@
33673 @endif gcc
33674 @if intl
33675 @cd $(HOST_SUBDIR); set intl stage2-intl ; \
33676 @UNDO_LINK_TO_DIR@ ; \
33677 set prev-intl stage1-intl ; \
33678 @UNDO_LINK_TO_DIR@
33679 @endif intl
33680 @if ld
33681 @cd $(HOST_SUBDIR); set ld stage2-ld ; \
33682 @UNDO_LINK_TO_DIR@ ; \
33683 set prev-ld stage1-ld ; \
33684 @UNDO_LINK_TO_DIR@
33685 @endif ld
33686 @if libcpp
33687 @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
33688 @UNDO_LINK_TO_DIR@ ; \
33689 set prev-libcpp stage1-libcpp ; \
33690 @UNDO_LINK_TO_DIR@
33691 @endif libcpp
33692 @if libiberty
33693 @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
33694 @UNDO_LINK_TO_DIR@ ; \
33695 set prev-libiberty stage1-libiberty ; \
33696 @UNDO_LINK_TO_DIR@
33697 @endif libiberty
33698 @if zlib
33699 @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
33700 @UNDO_LINK_TO_DIR@ ; \
33701 set prev-zlib stage1-zlib ; \
33702 @UNDO_LINK_TO_DIR@
33703 @endif zlib
33705 # Bubble a bugfix through all the stages up to stage 2. They
33706 # are remade, but not reconfigured. The next stage (if any) will not
33707 # be reconfigured as well.
33708 .PHONY: stage2-bubble
33709 stage2-bubble:: stage1-bubble
33710 @if test -f stage2-lean || test -f stage1-lean ; then \
33711 echo Skipping rebuild of stage2 ; \
33712 else \
33713 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
33716 .PHONY: all-stage2 clean-stage2
33717 do-clean: clean-stage2
33719 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33720 # only possibility, but now it conflicts with no-bootstrap rules
33721 @if gcc-bootstrap
33725 .PHONY: bootstrap2
33726 bootstrap2: stage2-bubble all
33729 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33730 distclean-stage1:: distclean-stage2
33731 .PHONY: distclean-stage2
33732 distclean-stage2::
33733 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33734 rm -rf stage2-*
33737 @endif gcc-bootstrap
33740 .PHONY: stage3-start stage3-end
33742 stage3-start::
33743 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33744 echo stage3 > stage_current ; \
33745 echo stage3 > stage_last; \
33746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
33747 @if bfd
33748 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
33749 mkdir stage3-bfd; \
33750 set stage3-bfd bfd ; \
33751 @CREATE_LINK_TO_DIR@ ; \
33752 set stage2-bfd prev-bfd ; \
33753 @CREATE_LINK_TO_DIR@
33754 @endif bfd
33755 @if opcodes
33756 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
33757 mkdir stage3-opcodes; \
33758 set stage3-opcodes opcodes ; \
33759 @CREATE_LINK_TO_DIR@ ; \
33760 set stage2-opcodes prev-opcodes ; \
33761 @CREATE_LINK_TO_DIR@
33762 @endif opcodes
33763 @if binutils
33764 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
33765 mkdir stage3-binutils; \
33766 set stage3-binutils binutils ; \
33767 @CREATE_LINK_TO_DIR@ ; \
33768 set stage2-binutils prev-binutils ; \
33769 @CREATE_LINK_TO_DIR@
33770 @endif binutils
33771 @if gas
33772 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
33773 mkdir stage3-gas; \
33774 set stage3-gas gas ; \
33775 @CREATE_LINK_TO_DIR@ ; \
33776 set stage2-gas prev-gas ; \
33777 @CREATE_LINK_TO_DIR@
33778 @endif gas
33779 @if gcc
33780 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
33781 mkdir stage3-gcc; \
33782 set stage3-gcc gcc ; \
33783 @CREATE_LINK_TO_DIR@ ; \
33784 set stage2-gcc prev-gcc ; \
33785 @CREATE_LINK_TO_DIR@
33786 @endif gcc
33787 @if intl
33788 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
33789 mkdir stage3-intl; \
33790 set stage3-intl intl ; \
33791 @CREATE_LINK_TO_DIR@ ; \
33792 set stage2-intl prev-intl ; \
33793 @CREATE_LINK_TO_DIR@
33794 @endif intl
33795 @if ld
33796 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
33797 mkdir stage3-ld; \
33798 set stage3-ld ld ; \
33799 @CREATE_LINK_TO_DIR@ ; \
33800 set stage2-ld prev-ld ; \
33801 @CREATE_LINK_TO_DIR@
33802 @endif ld
33803 @if libcpp
33804 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
33805 mkdir stage3-libcpp; \
33806 set stage3-libcpp libcpp ; \
33807 @CREATE_LINK_TO_DIR@ ; \
33808 set stage2-libcpp prev-libcpp ; \
33809 @CREATE_LINK_TO_DIR@
33810 @endif libcpp
33811 @if libiberty
33812 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
33813 mkdir stage3-libiberty; \
33814 set stage3-libiberty libiberty ; \
33815 @CREATE_LINK_TO_DIR@ ; \
33816 set stage2-libiberty prev-libiberty ; \
33817 @CREATE_LINK_TO_DIR@
33818 @endif libiberty
33819 @if zlib
33820 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
33821 mkdir stage3-zlib; \
33822 set stage3-zlib zlib ; \
33823 @CREATE_LINK_TO_DIR@ ; \
33824 set stage2-zlib prev-zlib ; \
33825 @CREATE_LINK_TO_DIR@
33826 @endif zlib
33828 stage3-end::
33829 @rm -f stage_current
33830 @if bfd
33831 @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
33832 @UNDO_LINK_TO_DIR@ ; \
33833 set prev-bfd stage2-bfd ; \
33834 @UNDO_LINK_TO_DIR@
33835 @endif bfd
33836 @if opcodes
33837 @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
33838 @UNDO_LINK_TO_DIR@ ; \
33839 set prev-opcodes stage2-opcodes ; \
33840 @UNDO_LINK_TO_DIR@
33841 @endif opcodes
33842 @if binutils
33843 @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
33844 @UNDO_LINK_TO_DIR@ ; \
33845 set prev-binutils stage2-binutils ; \
33846 @UNDO_LINK_TO_DIR@
33847 @endif binutils
33848 @if gas
33849 @cd $(HOST_SUBDIR); set gas stage3-gas ; \
33850 @UNDO_LINK_TO_DIR@ ; \
33851 set prev-gas stage2-gas ; \
33852 @UNDO_LINK_TO_DIR@
33853 @endif gas
33854 @if gcc
33855 @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
33856 @UNDO_LINK_TO_DIR@ ; \
33857 set prev-gcc stage2-gcc ; \
33858 @UNDO_LINK_TO_DIR@
33859 @endif gcc
33860 @if intl
33861 @cd $(HOST_SUBDIR); set intl stage3-intl ; \
33862 @UNDO_LINK_TO_DIR@ ; \
33863 set prev-intl stage2-intl ; \
33864 @UNDO_LINK_TO_DIR@
33865 @endif intl
33866 @if ld
33867 @cd $(HOST_SUBDIR); set ld stage3-ld ; \
33868 @UNDO_LINK_TO_DIR@ ; \
33869 set prev-ld stage2-ld ; \
33870 @UNDO_LINK_TO_DIR@
33871 @endif ld
33872 @if libcpp
33873 @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
33874 @UNDO_LINK_TO_DIR@ ; \
33875 set prev-libcpp stage2-libcpp ; \
33876 @UNDO_LINK_TO_DIR@
33877 @endif libcpp
33878 @if libiberty
33879 @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
33880 @UNDO_LINK_TO_DIR@ ; \
33881 set prev-libiberty stage2-libiberty ; \
33882 @UNDO_LINK_TO_DIR@
33883 @endif libiberty
33884 @if zlib
33885 @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
33886 @UNDO_LINK_TO_DIR@ ; \
33887 set prev-zlib stage2-zlib ; \
33888 @UNDO_LINK_TO_DIR@
33889 @endif zlib
33891 # Bubble a bugfix through all the stages up to stage 3. They
33892 # are remade, but not reconfigured. The next stage (if any) will not
33893 # be reconfigured as well.
33894 .PHONY: stage3-bubble
33895 stage3-bubble:: stage2-bubble
33896 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
33897 @if test -f stage3-lean || test -f stage2-lean ; then \
33898 echo Skipping rebuild of stage3 ; \
33899 else \
33900 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
33903 .PHONY: all-stage3 clean-stage3
33904 do-clean: clean-stage3
33906 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33907 # only possibility, but now it conflicts with no-bootstrap rules
33908 @if gcc-bootstrap
33910 compare:
33911 @if test -f stage2-lean; then \
33912 echo Cannot compare object files as stage 2 was deleted. ; \
33913 exit 0 ; \
33914 fi; \
33915 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33916 @r=`${PWD_COMMAND}`; export r; \
33917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33918 rm -f .bad_compare ; \
33919 cd stage3-gcc; \
33920 files=`find . -name "*$(objext)" -print` ; \
33921 cd .. ; \
33922 for file in $${files} ; do \
33923 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
33924 @do_compare@ > /dev/null 2>&1; \
33925 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
33926 done ; \
33927 if [ -f .bad_compare ]; then \
33928 echo "Bootstrap comparison failure!"; \
33929 cat .bad_compare; \
33930 exit 1; \
33931 else \
33932 true; \
33933 fi ; \
33934 $(STAMP) compare
33935 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
33939 .PHONY: bootstrap
33940 bootstrap: stage3-bubble compare all
33943 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33944 distclean-stage2:: distclean-stage3
33945 .PHONY: distclean-stage3
33946 distclean-stage3::
33947 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33948 rm -rf stage3-* compare
33951 .PHONY: cleanstrap
33952 cleanstrap: distclean bootstrap
33954 @endif gcc-bootstrap
33957 .PHONY: stage4-start stage4-end
33959 stage4-start::
33960 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33961 echo stage4 > stage_current ; \
33962 echo stage4 > stage_last; \
33963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
33964 @if bfd
33965 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
33966 mkdir stage4-bfd; \
33967 set stage4-bfd bfd ; \
33968 @CREATE_LINK_TO_DIR@ ; \
33969 set stage3-bfd prev-bfd ; \
33970 @CREATE_LINK_TO_DIR@
33971 @endif bfd
33972 @if opcodes
33973 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
33974 mkdir stage4-opcodes; \
33975 set stage4-opcodes opcodes ; \
33976 @CREATE_LINK_TO_DIR@ ; \
33977 set stage3-opcodes prev-opcodes ; \
33978 @CREATE_LINK_TO_DIR@
33979 @endif opcodes
33980 @if binutils
33981 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
33982 mkdir stage4-binutils; \
33983 set stage4-binutils binutils ; \
33984 @CREATE_LINK_TO_DIR@ ; \
33985 set stage3-binutils prev-binutils ; \
33986 @CREATE_LINK_TO_DIR@
33987 @endif binutils
33988 @if gas
33989 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
33990 mkdir stage4-gas; \
33991 set stage4-gas gas ; \
33992 @CREATE_LINK_TO_DIR@ ; \
33993 set stage3-gas prev-gas ; \
33994 @CREATE_LINK_TO_DIR@
33995 @endif gas
33996 @if gcc
33997 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
33998 mkdir stage4-gcc; \
33999 set stage4-gcc gcc ; \
34000 @CREATE_LINK_TO_DIR@ ; \
34001 set stage3-gcc prev-gcc ; \
34002 @CREATE_LINK_TO_DIR@
34003 @endif gcc
34004 @if intl
34005 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
34006 mkdir stage4-intl; \
34007 set stage4-intl intl ; \
34008 @CREATE_LINK_TO_DIR@ ; \
34009 set stage3-intl prev-intl ; \
34010 @CREATE_LINK_TO_DIR@
34011 @endif intl
34012 @if ld
34013 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
34014 mkdir stage4-ld; \
34015 set stage4-ld ld ; \
34016 @CREATE_LINK_TO_DIR@ ; \
34017 set stage3-ld prev-ld ; \
34018 @CREATE_LINK_TO_DIR@
34019 @endif ld
34020 @if libcpp
34021 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
34022 mkdir stage4-libcpp; \
34023 set stage4-libcpp libcpp ; \
34024 @CREATE_LINK_TO_DIR@ ; \
34025 set stage3-libcpp prev-libcpp ; \
34026 @CREATE_LINK_TO_DIR@
34027 @endif libcpp
34028 @if libiberty
34029 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
34030 mkdir stage4-libiberty; \
34031 set stage4-libiberty libiberty ; \
34032 @CREATE_LINK_TO_DIR@ ; \
34033 set stage3-libiberty prev-libiberty ; \
34034 @CREATE_LINK_TO_DIR@
34035 @endif libiberty
34036 @if zlib
34037 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
34038 mkdir stage4-zlib; \
34039 set stage4-zlib zlib ; \
34040 @CREATE_LINK_TO_DIR@ ; \
34041 set stage3-zlib prev-zlib ; \
34042 @CREATE_LINK_TO_DIR@
34043 @endif zlib
34045 stage4-end::
34046 @rm -f stage_current
34047 @if bfd
34048 @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
34049 @UNDO_LINK_TO_DIR@ ; \
34050 set prev-bfd stage3-bfd ; \
34051 @UNDO_LINK_TO_DIR@
34052 @endif bfd
34053 @if opcodes
34054 @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
34055 @UNDO_LINK_TO_DIR@ ; \
34056 set prev-opcodes stage3-opcodes ; \
34057 @UNDO_LINK_TO_DIR@
34058 @endif opcodes
34059 @if binutils
34060 @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
34061 @UNDO_LINK_TO_DIR@ ; \
34062 set prev-binutils stage3-binutils ; \
34063 @UNDO_LINK_TO_DIR@
34064 @endif binutils
34065 @if gas
34066 @cd $(HOST_SUBDIR); set gas stage4-gas ; \
34067 @UNDO_LINK_TO_DIR@ ; \
34068 set prev-gas stage3-gas ; \
34069 @UNDO_LINK_TO_DIR@
34070 @endif gas
34071 @if gcc
34072 @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
34073 @UNDO_LINK_TO_DIR@ ; \
34074 set prev-gcc stage3-gcc ; \
34075 @UNDO_LINK_TO_DIR@
34076 @endif gcc
34077 @if intl
34078 @cd $(HOST_SUBDIR); set intl stage4-intl ; \
34079 @UNDO_LINK_TO_DIR@ ; \
34080 set prev-intl stage3-intl ; \
34081 @UNDO_LINK_TO_DIR@
34082 @endif intl
34083 @if ld
34084 @cd $(HOST_SUBDIR); set ld stage4-ld ; \
34085 @UNDO_LINK_TO_DIR@ ; \
34086 set prev-ld stage3-ld ; \
34087 @UNDO_LINK_TO_DIR@
34088 @endif ld
34089 @if libcpp
34090 @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
34091 @UNDO_LINK_TO_DIR@ ; \
34092 set prev-libcpp stage3-libcpp ; \
34093 @UNDO_LINK_TO_DIR@
34094 @endif libcpp
34095 @if libiberty
34096 @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
34097 @UNDO_LINK_TO_DIR@ ; \
34098 set prev-libiberty stage3-libiberty ; \
34099 @UNDO_LINK_TO_DIR@
34100 @endif libiberty
34101 @if zlib
34102 @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
34103 @UNDO_LINK_TO_DIR@ ; \
34104 set prev-zlib stage3-zlib ; \
34105 @UNDO_LINK_TO_DIR@
34106 @endif zlib
34108 # Bubble a bugfix through all the stages up to stage 4. They
34109 # are remade, but not reconfigured. The next stage (if any) will not
34110 # be reconfigured as well.
34111 .PHONY: stage4-bubble
34112 stage4-bubble:: stage3-bubble
34113 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
34114 @if test -f stage4-lean || test -f stage3-lean ; then \
34115 echo Skipping rebuild of stage4 ; \
34116 else \
34117 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
34120 .PHONY: all-stage4 clean-stage4
34121 do-clean: clean-stage4
34123 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34124 # only possibility, but now it conflicts with no-bootstrap rules
34125 @if gcc-bootstrap
34127 compare3:
34128 @if test -f stage3-lean; then \
34129 echo Cannot compare object files as stage 3 was deleted. ; \
34130 exit 0 ; \
34131 fi; \
34132 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34133 @r=`${PWD_COMMAND}`; export r; \
34134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34135 rm -f .bad_compare ; \
34136 cd stage4-gcc; \
34137 files=`find . -name "*$(objext)" -print` ; \
34138 cd .. ; \
34139 for file in $${files} ; do \
34140 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
34141 @do_compare@ > /dev/null 2>&1; \
34142 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
34143 done ; \
34144 if [ -f .bad_compare ]; then \
34145 echo "Bootstrap comparison failure!"; \
34146 cat .bad_compare; \
34147 exit 1; \
34148 else \
34149 true; \
34150 fi ; \
34151 $(STAMP) compare3
34152 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
34156 .PHONY: bootstrap4
34157 bootstrap4: stage4-bubble compare3 all
34160 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34161 distclean-stage3:: distclean-stage4
34162 .PHONY: distclean-stage4
34163 distclean-stage4::
34164 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34165 rm -rf stage4-* compare3
34168 @endif gcc-bootstrap
34171 .PHONY: stageprofile-start stageprofile-end
34173 stageprofile-start::
34174 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34175 echo stageprofile > stage_current ; \
34176 echo stageprofile > stage_last; \
34177 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34178 @if bfd
34179 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
34180 mkdir stageprofile-bfd; \
34181 set stageprofile-bfd bfd ; \
34182 @CREATE_LINK_TO_DIR@ ; \
34183 set stage1-bfd prev-bfd ; \
34184 @CREATE_LINK_TO_DIR@
34185 @endif bfd
34186 @if opcodes
34187 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
34188 mkdir stageprofile-opcodes; \
34189 set stageprofile-opcodes opcodes ; \
34190 @CREATE_LINK_TO_DIR@ ; \
34191 set stage1-opcodes prev-opcodes ; \
34192 @CREATE_LINK_TO_DIR@
34193 @endif opcodes
34194 @if binutils
34195 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
34196 mkdir stageprofile-binutils; \
34197 set stageprofile-binutils binutils ; \
34198 @CREATE_LINK_TO_DIR@ ; \
34199 set stage1-binutils prev-binutils ; \
34200 @CREATE_LINK_TO_DIR@
34201 @endif binutils
34202 @if gas
34203 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
34204 mkdir stageprofile-gas; \
34205 set stageprofile-gas gas ; \
34206 @CREATE_LINK_TO_DIR@ ; \
34207 set stage1-gas prev-gas ; \
34208 @CREATE_LINK_TO_DIR@
34209 @endif gas
34210 @if gcc
34211 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
34212 mkdir stageprofile-gcc; \
34213 set stageprofile-gcc gcc ; \
34214 @CREATE_LINK_TO_DIR@ ; \
34215 set stage1-gcc prev-gcc ; \
34216 @CREATE_LINK_TO_DIR@
34217 @endif gcc
34218 @if intl
34219 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
34220 mkdir stageprofile-intl; \
34221 set stageprofile-intl intl ; \
34222 @CREATE_LINK_TO_DIR@ ; \
34223 set stage1-intl prev-intl ; \
34224 @CREATE_LINK_TO_DIR@
34225 @endif intl
34226 @if ld
34227 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
34228 mkdir stageprofile-ld; \
34229 set stageprofile-ld ld ; \
34230 @CREATE_LINK_TO_DIR@ ; \
34231 set stage1-ld prev-ld ; \
34232 @CREATE_LINK_TO_DIR@
34233 @endif ld
34234 @if libcpp
34235 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
34236 mkdir stageprofile-libcpp; \
34237 set stageprofile-libcpp libcpp ; \
34238 @CREATE_LINK_TO_DIR@ ; \
34239 set stage1-libcpp prev-libcpp ; \
34240 @CREATE_LINK_TO_DIR@
34241 @endif libcpp
34242 @if libiberty
34243 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
34244 mkdir stageprofile-libiberty; \
34245 set stageprofile-libiberty libiberty ; \
34246 @CREATE_LINK_TO_DIR@ ; \
34247 set stage1-libiberty prev-libiberty ; \
34248 @CREATE_LINK_TO_DIR@
34249 @endif libiberty
34250 @if zlib
34251 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
34252 mkdir stageprofile-zlib; \
34253 set stageprofile-zlib zlib ; \
34254 @CREATE_LINK_TO_DIR@ ; \
34255 set stage1-zlib prev-zlib ; \
34256 @CREATE_LINK_TO_DIR@
34257 @endif zlib
34259 stageprofile-end::
34260 @rm -f stage_current
34261 @if bfd
34262 @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
34263 @UNDO_LINK_TO_DIR@ ; \
34264 set prev-bfd stage1-bfd ; \
34265 @UNDO_LINK_TO_DIR@
34266 @endif bfd
34267 @if opcodes
34268 @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
34269 @UNDO_LINK_TO_DIR@ ; \
34270 set prev-opcodes stage1-opcodes ; \
34271 @UNDO_LINK_TO_DIR@
34272 @endif opcodes
34273 @if binutils
34274 @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
34275 @UNDO_LINK_TO_DIR@ ; \
34276 set prev-binutils stage1-binutils ; \
34277 @UNDO_LINK_TO_DIR@
34278 @endif binutils
34279 @if gas
34280 @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
34281 @UNDO_LINK_TO_DIR@ ; \
34282 set prev-gas stage1-gas ; \
34283 @UNDO_LINK_TO_DIR@
34284 @endif gas
34285 @if gcc
34286 @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
34287 @UNDO_LINK_TO_DIR@ ; \
34288 set prev-gcc stage1-gcc ; \
34289 @UNDO_LINK_TO_DIR@
34290 @endif gcc
34291 @if intl
34292 @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
34293 @UNDO_LINK_TO_DIR@ ; \
34294 set prev-intl stage1-intl ; \
34295 @UNDO_LINK_TO_DIR@
34296 @endif intl
34297 @if ld
34298 @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
34299 @UNDO_LINK_TO_DIR@ ; \
34300 set prev-ld stage1-ld ; \
34301 @UNDO_LINK_TO_DIR@
34302 @endif ld
34303 @if libcpp
34304 @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
34305 @UNDO_LINK_TO_DIR@ ; \
34306 set prev-libcpp stage1-libcpp ; \
34307 @UNDO_LINK_TO_DIR@
34308 @endif libcpp
34309 @if libiberty
34310 @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
34311 @UNDO_LINK_TO_DIR@ ; \
34312 set prev-libiberty stage1-libiberty ; \
34313 @UNDO_LINK_TO_DIR@
34314 @endif libiberty
34315 @if zlib
34316 @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
34317 @UNDO_LINK_TO_DIR@ ; \
34318 set prev-zlib stage1-zlib ; \
34319 @UNDO_LINK_TO_DIR@
34320 @endif zlib
34322 # Bubble a bugfix through all the stages up to stage profile. They
34323 # are remade, but not reconfigured. The next stage (if any) will not
34324 # be reconfigured as well.
34325 .PHONY: stageprofile-bubble
34326 stageprofile-bubble:: stage1-bubble
34327 @if test -f stageprofile-lean || test -f stage1-lean ; then \
34328 echo Skipping rebuild of stageprofile ; \
34329 else \
34330 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
34333 .PHONY: all-stageprofile clean-stageprofile
34334 do-clean: clean-stageprofile
34336 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34337 # only possibility, but now it conflicts with no-bootstrap rules
34338 @if gcc-bootstrap
34343 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34344 distclean-stage1:: distclean-stageprofile
34345 .PHONY: distclean-stageprofile
34346 distclean-stageprofile::
34347 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34348 rm -rf stageprofile-*
34351 @endif gcc-bootstrap
34354 .PHONY: stagefeedback-start stagefeedback-end
34356 stagefeedback-start::
34357 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34358 echo stagefeedback > stage_current ; \
34359 echo stagefeedback > stage_last; \
34360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34361 @if bfd
34362 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
34363 mkdir stagefeedback-bfd; \
34364 set stagefeedback-bfd bfd ; \
34365 @CREATE_LINK_TO_DIR@ ; \
34366 set stage1-bfd prev-bfd ; \
34367 @CREATE_LINK_TO_DIR@
34368 @endif bfd
34369 @if opcodes
34370 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
34371 mkdir stagefeedback-opcodes; \
34372 set stagefeedback-opcodes opcodes ; \
34373 @CREATE_LINK_TO_DIR@ ; \
34374 set stage1-opcodes prev-opcodes ; \
34375 @CREATE_LINK_TO_DIR@
34376 @endif opcodes
34377 @if binutils
34378 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
34379 mkdir stagefeedback-binutils; \
34380 set stagefeedback-binutils binutils ; \
34381 @CREATE_LINK_TO_DIR@ ; \
34382 set stage1-binutils prev-binutils ; \
34383 @CREATE_LINK_TO_DIR@
34384 @endif binutils
34385 @if gas
34386 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
34387 mkdir stagefeedback-gas; \
34388 set stagefeedback-gas gas ; \
34389 @CREATE_LINK_TO_DIR@ ; \
34390 set stage1-gas prev-gas ; \
34391 @CREATE_LINK_TO_DIR@
34392 @endif gas
34393 @if gcc
34394 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
34395 mkdir stagefeedback-gcc; \
34396 set stagefeedback-gcc gcc ; \
34397 @CREATE_LINK_TO_DIR@ ; \
34398 set stage1-gcc prev-gcc ; \
34399 @CREATE_LINK_TO_DIR@
34400 @endif gcc
34401 @if intl
34402 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
34403 mkdir stagefeedback-intl; \
34404 set stagefeedback-intl intl ; \
34405 @CREATE_LINK_TO_DIR@ ; \
34406 set stage1-intl prev-intl ; \
34407 @CREATE_LINK_TO_DIR@
34408 @endif intl
34409 @if ld
34410 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
34411 mkdir stagefeedback-ld; \
34412 set stagefeedback-ld ld ; \
34413 @CREATE_LINK_TO_DIR@ ; \
34414 set stage1-ld prev-ld ; \
34415 @CREATE_LINK_TO_DIR@
34416 @endif ld
34417 @if libcpp
34418 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
34419 mkdir stagefeedback-libcpp; \
34420 set stagefeedback-libcpp libcpp ; \
34421 @CREATE_LINK_TO_DIR@ ; \
34422 set stage1-libcpp prev-libcpp ; \
34423 @CREATE_LINK_TO_DIR@
34424 @endif libcpp
34425 @if libiberty
34426 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
34427 mkdir stagefeedback-libiberty; \
34428 set stagefeedback-libiberty libiberty ; \
34429 @CREATE_LINK_TO_DIR@ ; \
34430 set stage1-libiberty prev-libiberty ; \
34431 @CREATE_LINK_TO_DIR@
34432 @endif libiberty
34433 @if zlib
34434 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
34435 mkdir stagefeedback-zlib; \
34436 set stagefeedback-zlib zlib ; \
34437 @CREATE_LINK_TO_DIR@ ; \
34438 set stage1-zlib prev-zlib ; \
34439 @CREATE_LINK_TO_DIR@
34440 @endif zlib
34442 stagefeedback-end::
34443 @rm -f stage_current
34444 @if bfd
34445 @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
34446 @UNDO_LINK_TO_DIR@ ; \
34447 set prev-bfd stage1-bfd ; \
34448 @UNDO_LINK_TO_DIR@
34449 @endif bfd
34450 @if opcodes
34451 @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
34452 @UNDO_LINK_TO_DIR@ ; \
34453 set prev-opcodes stage1-opcodes ; \
34454 @UNDO_LINK_TO_DIR@
34455 @endif opcodes
34456 @if binutils
34457 @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
34458 @UNDO_LINK_TO_DIR@ ; \
34459 set prev-binutils stage1-binutils ; \
34460 @UNDO_LINK_TO_DIR@
34461 @endif binutils
34462 @if gas
34463 @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
34464 @UNDO_LINK_TO_DIR@ ; \
34465 set prev-gas stage1-gas ; \
34466 @UNDO_LINK_TO_DIR@
34467 @endif gas
34468 @if gcc
34469 @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
34470 @UNDO_LINK_TO_DIR@ ; \
34471 set prev-gcc stage1-gcc ; \
34472 @UNDO_LINK_TO_DIR@
34473 @endif gcc
34474 @if intl
34475 @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
34476 @UNDO_LINK_TO_DIR@ ; \
34477 set prev-intl stage1-intl ; \
34478 @UNDO_LINK_TO_DIR@
34479 @endif intl
34480 @if ld
34481 @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
34482 @UNDO_LINK_TO_DIR@ ; \
34483 set prev-ld stage1-ld ; \
34484 @UNDO_LINK_TO_DIR@
34485 @endif ld
34486 @if libcpp
34487 @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
34488 @UNDO_LINK_TO_DIR@ ; \
34489 set prev-libcpp stage1-libcpp ; \
34490 @UNDO_LINK_TO_DIR@
34491 @endif libcpp
34492 @if libiberty
34493 @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
34494 @UNDO_LINK_TO_DIR@ ; \
34495 set prev-libiberty stage1-libiberty ; \
34496 @UNDO_LINK_TO_DIR@
34497 @endif libiberty
34498 @if zlib
34499 @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
34500 @UNDO_LINK_TO_DIR@ ; \
34501 set prev-zlib stage1-zlib ; \
34502 @UNDO_LINK_TO_DIR@
34503 @endif zlib
34505 # Bubble a bugfix through all the stages up to stage feedback. They
34506 # are remade, but not reconfigured. The next stage (if any) will not
34507 # be reconfigured as well.
34508 .PHONY: stagefeedback-bubble
34509 stagefeedback-bubble:: stage1-bubble
34510 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
34511 echo Skipping rebuild of stagefeedback ; \
34512 else \
34513 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
34516 .PHONY: all-stagefeedback clean-stagefeedback
34517 do-clean: clean-stagefeedback
34519 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34520 # only possibility, but now it conflicts with no-bootstrap rules
34521 @if gcc-bootstrap
34526 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34527 distclean-stage1:: distclean-stagefeedback
34528 .PHONY: distclean-stagefeedback
34529 distclean-stagefeedback::
34530 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34531 rm -rf stagefeedback-*
34534 @endif gcc-bootstrap
34538 stagefeedback-start::
34539 @r=`${PWD_COMMAND}`; export r; \
34540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34541 cd stageprofile-gcc && \
34542 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
34543 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
34545 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34546 # only possibility, but now it conflicts with no-bootstrap rules
34547 @if gcc-bootstrap
34548 profiledbootstrap:
34549 @r=`${PWD_COMMAND}`; export r; \
34550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34551 $(HOST_EXPORTS) \
34552 echo "Bootstrapping the compiler"; \
34553 $(MAKE) stageprofile-bubble distclean-stagefeedback
34554 @r=`${PWD_COMMAND}`; export r; \
34555 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
34556 echo "Building runtime libraries and training compiler"; \
34557 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
34558 @r=`${PWD_COMMAND}`; export r; \
34559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34560 $(HOST_EXPORTS) \
34561 echo "Building feedback based compiler"; \
34562 $(MAKE) stagefeedback-bubble stagefeedback-end
34563 @endif gcc-bootstrap
34565 @if gcc-bootstrap
34566 NOTPARALLEL = .NOTPARALLEL
34567 $(NOTPARALLEL):
34568 do-distclean: distclean-stage1
34569 @endif gcc-bootstrap
34571 # --------------------------------------
34572 # Dependencies between different modules
34573 # --------------------------------------
34575 # Generic dependencies for target modules on host stuff, especially gcc
34577 configure-target-libstdc++-v3: maybe-all-gcc
34579 configure-target-libmudflap: maybe-all-gcc
34581 configure-target-newlib: maybe-all-gcc
34583 configure-target-libgfortran: maybe-all-gcc
34585 configure-target-libobjc: maybe-all-gcc
34587 configure-target-libtermcap: maybe-all-gcc
34589 configure-target-winsup: maybe-all-gcc
34591 configure-target-libgloss: maybe-all-gcc
34593 configure-target-libiberty: maybe-all-gcc
34595 configure-target-gperf: maybe-all-gcc
34597 configure-target-examples: maybe-all-gcc
34599 configure-target-libffi: maybe-all-gcc
34601 configure-target-libjava: maybe-all-gcc
34603 configure-target-zlib: maybe-all-gcc
34605 configure-target-boehm-gc: maybe-all-gcc
34607 configure-target-qthreads: maybe-all-gcc
34609 configure-target-rda: maybe-all-gcc
34611 configure-target-libada: maybe-all-gcc
34615 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
34617 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
34618 configure-target-gperf: maybe-all-target-libstdc++-v3
34620 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
34622 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
34624 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
34626 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
34627 configure-target-libjava: maybe-all-target-libstdc++-v3
34629 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
34631 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
34633 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
34635 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
34637 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
34639 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
34641 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
34643 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
34646 # There are two types of dependencies here: 'hard' dependencies, where one
34647 # module simply won't build without the other; and 'soft' dependencies, where
34648 # if the depended-on module is missing, the depending module will do without
34649 # or find a substitute somewhere (perhaps installed). Soft dependencies
34650 # are made here to depend on a 'maybe-' target. If you're not sure,
34651 # it's safer to use a soft dependency.
34658 # With all the machinery above in place, it is pretty easy to generate
34659 # dependencies. Host dependencies are a bit more complex because we have
34660 # to check for bootstrap/prebootstrap dependencies. To resolve
34661 # prebootstrap dependencies, prebootstrap modules are gathered in
34662 # a hash table.
34663 all-build-bison: maybe-all-build-texinfo
34664 all-build-byacc: maybe-all-build-texinfo
34665 all-build-flex: maybe-all-build-texinfo
34666 all-build-flex: maybe-all-build-bison
34667 all-build-flex: maybe-all-build-byacc
34668 all-build-flex: maybe-all-build-m4
34669 all-build-libiberty: maybe-all-build-texinfo
34670 all-build-m4: maybe-all-build-texinfo
34671 all-build-fixincludes: maybe-all-build-libiberty
34672 configure-gcc: maybe-configure-intl
34674 configure-stage1-gcc: maybe-configure-stage1-intl
34675 configure-stage2-gcc: maybe-configure-stage2-intl
34676 configure-stage3-gcc: maybe-configure-stage3-intl
34677 configure-stage4-gcc: maybe-configure-stage4-intl
34678 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
34679 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
34680 configure-gcc: maybe-all-binutils
34682 configure-stage1-gcc: maybe-all-stage1-binutils
34683 configure-stage2-gcc: maybe-all-stage2-binutils
34684 configure-stage3-gcc: maybe-all-stage3-binutils
34685 configure-stage4-gcc: maybe-all-stage4-binutils
34686 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
34687 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
34688 configure-gcc: maybe-all-gas
34690 configure-stage1-gcc: maybe-all-stage1-gas
34691 configure-stage2-gcc: maybe-all-stage2-gas
34692 configure-stage3-gcc: maybe-all-stage3-gas
34693 configure-stage4-gcc: maybe-all-stage4-gas
34694 configure-stageprofile-gcc: maybe-all-stageprofile-gas
34695 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
34696 configure-gcc: maybe-all-ld
34698 configure-stage1-gcc: maybe-all-stage1-ld
34699 configure-stage2-gcc: maybe-all-stage2-ld
34700 configure-stage3-gcc: maybe-all-stage3-ld
34701 configure-stage4-gcc: maybe-all-stage4-ld
34702 configure-stageprofile-gcc: maybe-all-stageprofile-ld
34703 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
34704 all-gcc: all-libiberty
34706 all-stage1-gcc: all-stage1-libiberty
34707 all-stage2-gcc: all-stage2-libiberty
34708 all-stage3-gcc: all-stage3-libiberty
34709 all-stage4-gcc: all-stage4-libiberty
34710 all-stageprofile-gcc: all-stageprofile-libiberty
34711 all-stagefeedback-gcc: all-stagefeedback-libiberty
34712 all-gcc: maybe-all-intl
34714 all-stage1-gcc: maybe-all-stage1-intl
34715 all-stage2-gcc: maybe-all-stage2-intl
34716 all-stage3-gcc: maybe-all-stage3-intl
34717 all-stage4-gcc: maybe-all-stage4-intl
34718 all-stageprofile-gcc: maybe-all-stageprofile-intl
34719 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
34720 all-gcc: maybe-all-build-texinfo
34722 all-stage1-gcc: maybe-all-build-texinfo
34723 all-stage2-gcc: maybe-all-build-texinfo
34724 all-stage3-gcc: maybe-all-build-texinfo
34725 all-stage4-gcc: maybe-all-build-texinfo
34726 all-stageprofile-gcc: maybe-all-build-texinfo
34727 all-stagefeedback-gcc: maybe-all-build-texinfo
34728 all-prebootstrap: maybe-all-build-texinfo
34729 all-gcc: maybe-all-build-bison
34731 all-stage1-gcc: maybe-all-build-bison
34732 all-stage2-gcc: maybe-all-build-bison
34733 all-stage3-gcc: maybe-all-build-bison
34734 all-stage4-gcc: maybe-all-build-bison
34735 all-stageprofile-gcc: maybe-all-build-bison
34736 all-stagefeedback-gcc: maybe-all-build-bison
34737 all-prebootstrap: maybe-all-build-bison
34738 all-gcc: maybe-all-build-byacc
34740 all-stage1-gcc: maybe-all-build-byacc
34741 all-stage2-gcc: maybe-all-build-byacc
34742 all-stage3-gcc: maybe-all-build-byacc
34743 all-stage4-gcc: maybe-all-build-byacc
34744 all-stageprofile-gcc: maybe-all-build-byacc
34745 all-stagefeedback-gcc: maybe-all-build-byacc
34746 all-prebootstrap: maybe-all-build-byacc
34747 all-gcc: maybe-all-build-flex
34749 all-stage1-gcc: maybe-all-build-flex
34750 all-stage2-gcc: maybe-all-build-flex
34751 all-stage3-gcc: maybe-all-build-flex
34752 all-stage4-gcc: maybe-all-build-flex
34753 all-stageprofile-gcc: maybe-all-build-flex
34754 all-stagefeedback-gcc: maybe-all-build-flex
34755 all-prebootstrap: maybe-all-build-flex
34756 all-gcc: maybe-all-build-libiberty
34758 all-stage1-gcc: maybe-all-build-libiberty
34759 all-stage2-gcc: maybe-all-build-libiberty
34760 all-stage3-gcc: maybe-all-build-libiberty
34761 all-stage4-gcc: maybe-all-build-libiberty
34762 all-stageprofile-gcc: maybe-all-build-libiberty
34763 all-stagefeedback-gcc: maybe-all-build-libiberty
34764 all-prebootstrap: maybe-all-build-libiberty
34765 all-gcc: maybe-all-build-fixincludes
34767 all-stage1-gcc: maybe-all-build-fixincludes
34768 all-stage2-gcc: maybe-all-build-fixincludes
34769 all-stage3-gcc: maybe-all-build-fixincludes
34770 all-stage4-gcc: maybe-all-build-fixincludes
34771 all-stageprofile-gcc: maybe-all-build-fixincludes
34772 all-stagefeedback-gcc: maybe-all-build-fixincludes
34773 all-prebootstrap: maybe-all-build-fixincludes
34774 all-gcc: maybe-all-zlib
34776 all-stage1-gcc: maybe-all-stage1-zlib
34777 all-stage2-gcc: maybe-all-stage2-zlib
34778 all-stage3-gcc: maybe-all-stage3-zlib
34779 all-stage4-gcc: maybe-all-stage4-zlib
34780 all-stageprofile-gcc: maybe-all-stageprofile-zlib
34781 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
34782 all-gcc: all-libcpp
34784 all-stage1-gcc: all-stage1-libcpp
34785 all-stage2-gcc: all-stage2-libcpp
34786 all-stage3-gcc: all-stage3-libcpp
34787 all-stage4-gcc: all-stage4-libcpp
34788 all-stageprofile-gcc: all-stageprofile-libcpp
34789 all-stagefeedback-gcc: all-stagefeedback-libcpp
34790 all-gcc: maybe-all-libiberty
34792 all-stage1-gcc: maybe-all-stage1-libiberty
34793 all-stage2-gcc: maybe-all-stage2-libiberty
34794 all-stage3-gcc: maybe-all-stage3-libiberty
34795 all-stage4-gcc: maybe-all-stage4-libiberty
34796 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
34797 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
34798 all-gcc: maybe-all-fixincludes
34799 install-gcc: maybe-install-fixincludes
34800 configure-libcpp: configure-libiberty
34802 configure-stage1-libcpp: configure-stage1-libiberty
34803 configure-stage2-libcpp: configure-stage2-libiberty
34804 configure-stage3-libcpp: configure-stage3-libiberty
34805 configure-stage4-libcpp: configure-stage4-libiberty
34806 configure-stageprofile-libcpp: configure-stageprofile-libiberty
34807 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
34808 configure-libcpp: maybe-configure-intl
34810 configure-stage1-libcpp: maybe-configure-stage1-intl
34811 configure-stage2-libcpp: maybe-configure-stage2-intl
34812 configure-stage3-libcpp: maybe-configure-stage3-intl
34813 configure-stage4-libcpp: maybe-configure-stage4-intl
34814 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
34815 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
34816 all-libcpp: all-libiberty
34818 all-stage1-libcpp: all-stage1-libiberty
34819 all-stage2-libcpp: all-stage2-libiberty
34820 all-stage3-libcpp: all-stage3-libiberty
34821 all-stage4-libcpp: all-stage4-libiberty
34822 all-stageprofile-libcpp: all-stageprofile-libiberty
34823 all-stagefeedback-libcpp: all-stagefeedback-libiberty
34824 all-libcpp: maybe-all-intl
34826 all-stage1-libcpp: maybe-all-stage1-intl
34827 all-stage2-libcpp: maybe-all-stage2-intl
34828 all-stage3-libcpp: maybe-all-stage3-intl
34829 all-stage4-libcpp: maybe-all-stage4-intl
34830 all-stageprofile-libcpp: maybe-all-stageprofile-intl
34831 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
34832 all-fixincludes: maybe-all-libiberty
34833 all-gnattools: maybe-all-target-libada
34834 configure-gdb: maybe-configure-itcl
34835 configure-gdb: maybe-configure-tcl
34836 configure-gdb: maybe-configure-tk
34837 configure-gdb: maybe-configure-sim
34838 all-gdb: maybe-all-libiberty
34839 all-gdb: maybe-all-opcodes
34840 all-gdb: maybe-all-bfd
34841 all-gdb: maybe-all-readline
34842 all-gdb: maybe-all-build-bison
34843 all-gdb: maybe-all-build-byacc
34844 all-gdb: maybe-all-sim
34845 install-gdb: maybe-install-tcl
34846 install-gdb: maybe-install-tk
34847 install-gdb: maybe-install-itcl
34848 install-gdb: maybe-install-libgui
34849 configure-libgui: maybe-configure-tcl
34850 configure-libgui: maybe-configure-tk
34851 all-libgui: maybe-all-tcl
34852 all-libgui: maybe-all-tk
34853 all-libgui: maybe-all-itcl
34854 configure-bfd: configure-libiberty
34856 configure-stage1-bfd: configure-stage1-libiberty
34857 configure-stage2-bfd: configure-stage2-libiberty
34858 configure-stage3-bfd: configure-stage3-libiberty
34859 configure-stage4-bfd: configure-stage4-libiberty
34860 configure-stageprofile-bfd: configure-stageprofile-libiberty
34861 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
34862 all-bfd: maybe-all-libiberty
34864 all-stage1-bfd: maybe-all-stage1-libiberty
34865 all-stage2-bfd: maybe-all-stage2-libiberty
34866 all-stage3-bfd: maybe-all-stage3-libiberty
34867 all-stage4-bfd: maybe-all-stage4-libiberty
34868 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
34869 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
34870 all-bfd: maybe-all-intl
34872 all-stage1-bfd: maybe-all-stage1-intl
34873 all-stage2-bfd: maybe-all-stage2-intl
34874 all-stage3-bfd: maybe-all-stage3-intl
34875 all-stage4-bfd: maybe-all-stage4-intl
34876 all-stageprofile-bfd: maybe-all-stageprofile-intl
34877 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
34878 all-binutils: maybe-all-libiberty
34880 all-stage1-binutils: maybe-all-stage1-libiberty
34881 all-stage2-binutils: maybe-all-stage2-libiberty
34882 all-stage3-binutils: maybe-all-stage3-libiberty
34883 all-stage4-binutils: maybe-all-stage4-libiberty
34884 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
34885 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
34886 all-binutils: maybe-all-opcodes
34888 all-stage1-binutils: maybe-all-stage1-opcodes
34889 all-stage2-binutils: maybe-all-stage2-opcodes
34890 all-stage3-binutils: maybe-all-stage3-opcodes
34891 all-stage4-binutils: maybe-all-stage4-opcodes
34892 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
34893 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
34894 all-binutils: maybe-all-bfd
34896 all-stage1-binutils: maybe-all-stage1-bfd
34897 all-stage2-binutils: maybe-all-stage2-bfd
34898 all-stage3-binutils: maybe-all-stage3-bfd
34899 all-stage4-binutils: maybe-all-stage4-bfd
34900 all-stageprofile-binutils: maybe-all-stageprofile-bfd
34901 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
34902 all-binutils: maybe-all-build-flex
34904 all-stage1-binutils: maybe-all-build-flex
34905 all-stage2-binutils: maybe-all-build-flex
34906 all-stage3-binutils: maybe-all-build-flex
34907 all-stage4-binutils: maybe-all-build-flex
34908 all-stageprofile-binutils: maybe-all-build-flex
34909 all-stagefeedback-binutils: maybe-all-build-flex
34910 all-prebootstrap: maybe-all-build-flex
34911 all-binutils: maybe-all-build-bison
34913 all-stage1-binutils: maybe-all-build-bison
34914 all-stage2-binutils: maybe-all-build-bison
34915 all-stage3-binutils: maybe-all-build-bison
34916 all-stage4-binutils: maybe-all-build-bison
34917 all-stageprofile-binutils: maybe-all-build-bison
34918 all-stagefeedback-binutils: maybe-all-build-bison
34919 all-prebootstrap: maybe-all-build-bison
34920 all-binutils: maybe-all-build-byacc
34922 all-stage1-binutils: maybe-all-build-byacc
34923 all-stage2-binutils: maybe-all-build-byacc
34924 all-stage3-binutils: maybe-all-build-byacc
34925 all-stage4-binutils: maybe-all-build-byacc
34926 all-stageprofile-binutils: maybe-all-build-byacc
34927 all-stagefeedback-binutils: maybe-all-build-byacc
34928 all-prebootstrap: maybe-all-build-byacc
34929 all-binutils: maybe-all-intl
34931 all-stage1-binutils: maybe-all-stage1-intl
34932 all-stage2-binutils: maybe-all-stage2-intl
34933 all-stage3-binutils: maybe-all-stage3-intl
34934 all-stage4-binutils: maybe-all-stage4-intl
34935 all-stageprofile-binutils: maybe-all-stageprofile-intl
34936 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
34937 install-binutils: maybe-install-opcodes
34938 install-opcodes: maybe-install-bfd
34939 all-gas: maybe-all-libiberty
34941 all-stage1-gas: maybe-all-stage1-libiberty
34942 all-stage2-gas: maybe-all-stage2-libiberty
34943 all-stage3-gas: maybe-all-stage3-libiberty
34944 all-stage4-gas: maybe-all-stage4-libiberty
34945 all-stageprofile-gas: maybe-all-stageprofile-libiberty
34946 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
34947 all-gas: maybe-all-opcodes
34949 all-stage1-gas: maybe-all-stage1-opcodes
34950 all-stage2-gas: maybe-all-stage2-opcodes
34951 all-stage3-gas: maybe-all-stage3-opcodes
34952 all-stage4-gas: maybe-all-stage4-opcodes
34953 all-stageprofile-gas: maybe-all-stageprofile-opcodes
34954 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
34955 all-gas: maybe-all-bfd
34957 all-stage1-gas: maybe-all-stage1-bfd
34958 all-stage2-gas: maybe-all-stage2-bfd
34959 all-stage3-gas: maybe-all-stage3-bfd
34960 all-stage4-gas: maybe-all-stage4-bfd
34961 all-stageprofile-gas: maybe-all-stageprofile-bfd
34962 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
34963 all-gas: maybe-all-intl
34965 all-stage1-gas: maybe-all-stage1-intl
34966 all-stage2-gas: maybe-all-stage2-intl
34967 all-stage3-gas: maybe-all-stage3-intl
34968 all-stage4-gas: maybe-all-stage4-intl
34969 all-stageprofile-gas: maybe-all-stageprofile-intl
34970 all-stagefeedback-gas: maybe-all-stagefeedback-intl
34971 all-gprof: maybe-all-libiberty
34972 all-gprof: maybe-all-bfd
34973 all-gprof: maybe-all-opcodes
34974 all-gprof: maybe-all-intl
34975 all-ld: maybe-all-libiberty
34977 all-stage1-ld: maybe-all-stage1-libiberty
34978 all-stage2-ld: maybe-all-stage2-libiberty
34979 all-stage3-ld: maybe-all-stage3-libiberty
34980 all-stage4-ld: maybe-all-stage4-libiberty
34981 all-stageprofile-ld: maybe-all-stageprofile-libiberty
34982 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
34983 all-ld: maybe-all-bfd
34985 all-stage1-ld: maybe-all-stage1-bfd
34986 all-stage2-ld: maybe-all-stage2-bfd
34987 all-stage3-ld: maybe-all-stage3-bfd
34988 all-stage4-ld: maybe-all-stage4-bfd
34989 all-stageprofile-ld: maybe-all-stageprofile-bfd
34990 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
34991 all-ld: maybe-all-opcodes
34993 all-stage1-ld: maybe-all-stage1-opcodes
34994 all-stage2-ld: maybe-all-stage2-opcodes
34995 all-stage3-ld: maybe-all-stage3-opcodes
34996 all-stage4-ld: maybe-all-stage4-opcodes
34997 all-stageprofile-ld: maybe-all-stageprofile-opcodes
34998 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
34999 all-ld: maybe-all-build-bison
35001 all-stage1-ld: maybe-all-build-bison
35002 all-stage2-ld: maybe-all-build-bison
35003 all-stage3-ld: maybe-all-build-bison
35004 all-stage4-ld: maybe-all-build-bison
35005 all-stageprofile-ld: maybe-all-build-bison
35006 all-stagefeedback-ld: maybe-all-build-bison
35007 all-prebootstrap: maybe-all-build-bison
35008 all-ld: maybe-all-build-byacc
35010 all-stage1-ld: maybe-all-build-byacc
35011 all-stage2-ld: maybe-all-build-byacc
35012 all-stage3-ld: maybe-all-build-byacc
35013 all-stage4-ld: maybe-all-build-byacc
35014 all-stageprofile-ld: maybe-all-build-byacc
35015 all-stagefeedback-ld: maybe-all-build-byacc
35016 all-prebootstrap: maybe-all-build-byacc
35017 all-ld: maybe-all-build-flex
35019 all-stage1-ld: maybe-all-build-flex
35020 all-stage2-ld: maybe-all-build-flex
35021 all-stage3-ld: maybe-all-build-flex
35022 all-stage4-ld: maybe-all-build-flex
35023 all-stageprofile-ld: maybe-all-build-flex
35024 all-stagefeedback-ld: maybe-all-build-flex
35025 all-prebootstrap: maybe-all-build-flex
35026 all-ld: maybe-all-intl
35028 all-stage1-ld: maybe-all-stage1-intl
35029 all-stage2-ld: maybe-all-stage2-intl
35030 all-stage3-ld: maybe-all-stage3-intl
35031 all-stage4-ld: maybe-all-stage4-intl
35032 all-stageprofile-ld: maybe-all-stageprofile-intl
35033 all-stagefeedback-ld: maybe-all-stagefeedback-intl
35034 all-opcodes: maybe-all-bfd
35036 all-stage1-opcodes: maybe-all-stage1-bfd
35037 all-stage2-opcodes: maybe-all-stage2-bfd
35038 all-stage3-opcodes: maybe-all-stage3-bfd
35039 all-stage4-opcodes: maybe-all-stage4-bfd
35040 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
35041 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
35042 all-opcodes: maybe-all-libiberty
35044 all-stage1-opcodes: maybe-all-stage1-libiberty
35045 all-stage2-opcodes: maybe-all-stage2-libiberty
35046 all-stage3-opcodes: maybe-all-stage3-libiberty
35047 all-stage4-opcodes: maybe-all-stage4-libiberty
35048 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
35049 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
35050 all-dejagnu: maybe-all-tcl
35051 all-dejagnu: maybe-all-expect
35052 all-dejagnu: maybe-all-tk
35053 configure-expect: maybe-configure-tcl
35054 configure-expect: maybe-configure-tk
35055 all-expect: maybe-all-tcl
35056 all-expect: maybe-all-tk
35057 configure-itcl: maybe-configure-tcl
35058 configure-itcl: maybe-configure-tk
35059 all-itcl: maybe-all-tcl
35060 all-itcl: maybe-all-tk
35061 install-itcl: maybe-install-tcl
35062 configure-tk: maybe-configure-tcl
35063 all-tk: maybe-all-tcl
35064 all-sid: maybe-all-libiberty
35065 all-sid: maybe-all-bfd
35066 all-sid: maybe-all-opcodes
35067 all-sid: maybe-all-tcl
35068 all-sid: maybe-all-tk
35069 install-sid: maybe-install-tcl
35070 install-sid: maybe-install-tk
35071 all-sim: maybe-all-libiberty
35072 all-sim: maybe-all-bfd
35073 all-sim: maybe-all-opcodes
35074 all-sim: maybe-all-readline
35075 all-sim: maybe-configure-gdb
35076 all-fastjar: maybe-all-zlib
35077 all-fastjar: maybe-all-build-texinfo
35078 all-fastjar: maybe-all-libiberty
35079 all-autoconf: maybe-all-m4
35080 all-autoconf: maybe-all-build-texinfo
35081 all-automake: maybe-all-m4
35082 all-automake: maybe-all-build-texinfo
35083 all-automake: maybe-all-autoconf
35084 all-bison: maybe-all-intl
35085 all-bison: maybe-all-build-texinfo
35086 all-diff: maybe-all-intl
35087 all-diff: maybe-all-build-texinfo
35088 all-fileutils: maybe-all-intl
35089 all-fileutils: maybe-all-build-texinfo
35090 all-flex: maybe-all-build-bison
35091 all-flex: maybe-all-build-byacc
35092 all-flex: maybe-all-intl
35093 all-flex: maybe-all-m4
35094 all-flex: maybe-all-build-texinfo
35095 all-gzip: maybe-all-intl
35096 all-gzip: maybe-all-zlib
35097 all-gzip: maybe-all-build-texinfo
35098 all-hello: maybe-all-intl
35099 all-hello: maybe-all-build-texinfo
35100 all-m4: maybe-all-intl
35101 all-m4: maybe-all-build-texinfo
35102 all-make: maybe-all-intl
35103 all-make: maybe-all-build-texinfo
35104 all-patch: maybe-all-build-texinfo
35105 all-make: maybe-all-build-texinfo
35106 all-prms: maybe-all-libiberty
35107 all-recode: maybe-all-build-texinfo
35108 all-sed: maybe-all-build-texinfo
35109 all-send-pr: maybe-all-prms
35110 all-tar: maybe-all-build-texinfo
35111 all-uudecode: maybe-all-build-texinfo
35112 configure-target-boehm-gc: maybe-configure-target-qthreads
35113 configure-target-fastjar: maybe-configure-target-zlib
35114 all-target-fastjar: maybe-all-target-zlib
35115 all-target-fastjar: maybe-all-target-libiberty
35116 configure-target-libjava: maybe-configure-target-zlib
35117 configure-target-libjava: maybe-configure-target-boehm-gc
35118 configure-target-libjava: maybe-configure-target-qthreads
35119 configure-target-libjava: maybe-configure-target-libffi
35120 all-target-libjava: maybe-all-fastjar
35121 all-target-libjava: maybe-all-target-zlib
35122 all-target-libjava: maybe-all-target-boehm-gc
35123 all-target-libjava: maybe-all-target-qthreads
35124 all-target-libjava: maybe-all-target-libffi
35125 all-target-libobjc: maybe-all-target-libiberty
35126 all-target-libstdc++-v3: maybe-all-target-libiberty
35127 all-target-libgloss: maybe-configure-target-newlib
35128 all-target-winsup: maybe-all-target-libiberty
35129 all-target-winsup: maybe-all-target-libtermcap
35132 # Non-toplevel bootstrap rules must depend on several packages, to be built
35133 # before gcc. Another wart that will go away, hopefully soon.
35134 @if gcc-no-bootstrap
35136 all-prebootstrap: maybe-all-bfd
35137 all-prebootstrap: maybe-all-opcodes
35138 all-prebootstrap: maybe-all-binutils
35139 all-prebootstrap: maybe-all-gas
35140 all-prebootstrap: maybe-all-intl
35141 all-prebootstrap: maybe-all-ld
35142 all-prebootstrap: maybe-all-libcpp
35143 all-prebootstrap: maybe-all-libiberty
35144 all-prebootstrap: maybe-all-zlib
35145 @endif gcc-no-bootstrap
35147 GDB_TK = @GDB_TK@
35148 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
35150 # Serialization dependencies. Host configures don't work well in parallel to
35151 # each other, due to contention over config.cache. Target configures and
35152 # build configures are similar.
35153 @serialization_dependencies@
35155 # --------------------------------
35156 # Regenerating top level configury
35157 # --------------------------------
35159 # Multilib.out tells target dirs what multilibs they should build.
35160 # There is really only one copy. We use the 'timestamp' method to
35161 # work around various timestamp bugs on some systems.
35162 # We use move-if-change so that it's only considered updated when it
35163 # actually changes, because it has to depend on a phony target.
35164 multilib.out: maybe-all-gcc
35165 @r=`${PWD_COMMAND}`; export r; \
35166 echo "Checking multilib configuration..."; \
35167 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
35168 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
35170 # Rebuilding Makefile.in, using autogen.
35171 AUTOGEN = autogen
35172 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
35173 cd $(srcdir) && $(AUTOGEN) Makefile.def
35175 # Rebuilding Makefile.
35176 Makefile: $(srcdir)/Makefile.in config.status
35177 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
35179 config.status: configure
35180 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
35182 # Rebuilding configure.
35183 AUTOCONF = autoconf
35184 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
35185 cd $(srcdir) && $(AUTOCONF)
35187 # ------------------------------
35188 # Special directives to GNU Make
35189 # ------------------------------
35191 # Don't pass command-line variables to submakes.
35192 .NOEXPORT:
35193 MAKEOVERRIDES=
35195 # end of Makefile.in