* testsuite/Makefile.am (all-local): Do not build testsuite_files.
[official-gcc.git] / Makefile.in
blobaeef11eb7d2d2c072b30e6c43821c64aedfb40f9
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 set by configure to REALLY_SET_LIB_PATH if --enable-shared
88 # was used.
89 SET_LIB_PATH = @SET_LIB_PATH@
91 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
92 # Some platforms don't like blank entries, so we remove duplicate,
93 # leading and trailing colons.
94 REALLY_SET_LIB_PATH = \
95 @SET_GCC_LIB_PATH@ \
96 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
98 # This is the list of directories to be built for the build system.
99 BUILD_CONFIGDIRS = libiberty
100 # Build programs are put under this directory.
101 BUILD_SUBDIR = @build_subdir@
102 # This is set by the configure script to the arguments to use when configuring
103 # directories built for the build system.
104 BUILD_CONFIGARGS = @build_configargs@
106 # This is the list of variables to export in the environment when
107 # configuring any subdirectory. It must also be exported whenever
108 # recursing into a build directory in case that directory's Makefile
109 # re-runs configure.
110 BASE_EXPORTS = \
111 FLEX="$(FLEX)"; export FLEX; \
112 LEX="$(LEX)"; export LEX; \
113 BISON="$(BISON)"; export BISON; \
114 YACC="$(YACC)"; export YACC; \
115 M4="$(M4)"; export M4; \
116 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
118 # This is the list of variables to export in the environment when
119 # configuring subdirectories for the build system.
120 BUILD_EXPORTS = \
121 $(BASE_EXPORTS) \
122 AR="$(AR_FOR_BUILD)"; export AR; \
123 AS="$(AS_FOR_BUILD)"; export AS; \
124 CC="$(CC_FOR_BUILD)"; export CC; \
125 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
126 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
127 CXX="$(CXX_FOR_BUILD)"; export CXX; \
128 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
129 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
130 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
131 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
132 LD="$(LD_FOR_BUILD)"; export LD; \
133 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
134 NM="$(NM_FOR_BUILD)"; export NM; \
135 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
136 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
138 # This is the list of directories to built for the host system.
139 SUBDIRS = @configdirs@
140 # This is set by the configure script to the arguments to use when configuring
141 # directories built for the host system.
142 HOST_CONFIGARGS = @host_configargs@
143 # Host programs are put under this directory, which is . except if building
144 # with srcdir=..
145 HOST_SUBDIR = @host_subdir@
146 # This is the list of variables to export in the environment when
147 # configuring subdirectories for the host system.
148 HOST_EXPORTS = \
149 $(BASE_EXPORTS) \
150 CC="$(CC)"; export CC; \
151 CFLAGS="$(CFLAGS)"; export CFLAGS; \
152 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
153 CXX="$(CXX)"; export CXX; \
154 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
155 AR="$(AR)"; export AR; \
156 AS="$(AS)"; export AS; \
157 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
158 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
159 LD="$(LD)"; export LD; \
160 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
161 NM="$(NM)"; export NM; \
162 RANLIB="$(RANLIB)"; export RANLIB; \
163 WINDRES="$(WINDRES)"; export WINDRES; \
164 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
165 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
166 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
167 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
168 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
169 SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
170 @SET_GCC_LIB_PATH@
172 # Similar, for later GCC stages.
173 STAGE_HOST_EXPORTS = \
174 $(HOST_EXPORTS) \
175 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
176 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
177 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
178 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
179 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
180 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
182 # This is set by the configure script to the list of directories which
183 # should be built using the target tools.
184 TARGET_CONFIGDIRS = @target_configdirs@
185 # Target libraries are put under this directory:
186 TARGET_SUBDIR = @target_subdir@
187 # This is set by the configure script to the arguments to use when configuring
188 # directories built for the target.
189 TARGET_CONFIGARGS = @target_configargs@
190 # This is the list of variables to export in the environment when
191 # configuring subdirectories for the host system.
192 BASE_TARGET_EXPORTS = \
193 $(BASE_EXPORTS) \
194 AR="$(AR_FOR_TARGET)"; export AR; \
195 AS="$(AS_FOR_TARGET)"; export AS; \
196 CC="$(CC_FOR_TARGET)"; export CC; \
197 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
198 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
199 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
200 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
201 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
202 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
203 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
204 LD="$(LD_FOR_TARGET)"; export LD; \
205 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
206 NM="$(NM_FOR_TARGET)"; export NM; \
207 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
208 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
209 SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
210 @SET_GCC_LIB_PATH@
212 RAW_CXX_TARGET_EXPORTS = \
213 $(BASE_TARGET_EXPORTS) \
214 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
215 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
217 NORMAL_TARGET_EXPORTS = \
218 $(BASE_TARGET_EXPORTS) \
219 CXX="$(CXX_FOR_TARGET)"; export CXX;
221 # Where to find GMP
222 HOST_GMPLIBS = @gmplibs@
223 HOST_GMPINC = @gmpinc@
225 # ----------------------------------------------
226 # Programs producing files for the BUILD machine
227 # ----------------------------------------------
229 SHELL = @config_shell@
231 # pwd command to use. Allow user to override default by setting PWDCMD in
232 # the environment to account for automounters. The make variable must not
233 # be called PWDCMD, otherwise the value set here is passed to make
234 # subprocesses and overrides the setting from the user's environment.
235 # Don't use PWD since it is a common shell environment variable and we
236 # don't want to corrupt it.
237 PWD_COMMAND = $${PWDCMD-pwd}
239 # compilers to use to create programs which must be run in the build
240 # environment.
241 CC_FOR_BUILD = @CC_FOR_BUILD@
242 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
244 CXX_FOR_BUILD = $(CXX)
246 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
247 # here so that they can be overridden by Makefile fragments.
248 BUILD_PREFIX = @BUILD_PREFIX@
249 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
251 # Flags to pass to stage2 and later makes. They are defined
252 # here so that they can be overridden by Makefile fragments.
253 BOOT_CFLAGS= -g -O2
255 CONFIGURED_BISON = @CONFIGURED_BISON@
256 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
257 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
258 else \
259 echo ${CONFIGURED_BISON} ; \
262 CONFIGURED_YACC = @CONFIGURED_YACC@
263 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
264 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
265 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
266 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
267 else \
268 echo ${CONFIGURED_YACC} ; \
271 CONFIGURED_FLEX = @CONFIGURED_FLEX@
272 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
273 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
274 else echo ${CONFIGURED_FLEX} ; fi`
276 CONFIGURED_LEX = @CONFIGURED_LEX@
277 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
278 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
279 else echo ${CONFIGURED_LEX} ; fi`
281 CONFIGURED_M4 = @CONFIGURED_M4@
282 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
283 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
284 else echo ${CONFIGURED_M4} ; fi`
286 # For an installed makeinfo, we require it to be from texinfo 4.2 or
287 # higher, else we use the "missing" dummy. We also pass the subdirectory
288 # makeinfo even if only the Makefile is there, because Texinfo builds its
289 # manual when made, and it requires its own version.
290 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
291 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
292 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
293 else if (${CONFIGURED_MAKEINFO} --version \
294 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
295 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
297 # This just becomes part of the MAKEINFO definition passed down to
298 # sub-makes. It lets flags be given on the command line while still
299 # using the makeinfo from the object tree.
300 # (Default to avoid splitting info files by setting the threshold high.)
301 MAKEINFOFLAGS = --split-size=5000000
303 # FIXME: expect may become a build tool?
304 EXPECT = `if [ -f $$r/$(HOST_SUBDIR)/expect/expect ] ; \
305 then echo $$r/$(HOST_SUBDIR)/expect/expect ; \
306 else echo expect ; fi`
308 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
309 then echo $$s/dejagnu/runtest ; \
310 else echo runtest ; fi`
312 # ---------------------------------------------
313 # Programs producing files for the HOST machine
314 # ---------------------------------------------
316 # This is the list of directories that may be needed in RPATH_ENVVAR
317 # so that programs built for the host machine work.
318 HOST_LIB_PATH = $$r/$(HOST_SUBDIR)/bfd:$$r/$(HOST_SUBDIR)/opcodes
320 AS = @AS@
322 AR = @AR@
323 AR_FLAGS = rc
325 CC = @CC@
326 CFLAGS = @CFLAGS@
327 LIBCFLAGS = $(CFLAGS)
329 CXX = @CXX@
330 CXXFLAGS = @CXXFLAGS@
331 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
333 DLLTOOL = @DLLTOOL@
335 NM = @NM@
337 LD = @LD@
338 LDFLAGS =
340 RANLIB = @RANLIB@
342 WINDRES = @WINDRES@
344 PICFLAG =
346 # -----------------------------------------------
347 # Programs producing files for the TARGET machine
348 # -----------------------------------------------
350 # This is the list of directories that may be needed in RPATH_ENVVAR
351 # so that prorgams built for the target machine work.
352 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
354 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
356 AR_FOR_TARGET=@AR_FOR_TARGET@
357 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
358 USUAL_AR_FOR_TARGET = ` \
359 if [ -f $$r/$(HOST_SUBDIR)/binutils/ar ] ; then \
360 echo $$r/$(HOST_SUBDIR)/binutils/ar ; \
361 else \
362 if [ '$(host)' = '$(target)' ] ; then \
363 echo $(AR); \
364 else \
365 echo $(CONFIGURED_AR_FOR_TARGET) ; \
366 fi; \
369 AS_FOR_TARGET=@AS_FOR_TARGET@
370 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
371 USUAL_AS_FOR_TARGET = ` \
372 if [ -f $$r/$(HOST_SUBDIR)/gas/as-new ] ; then \
373 echo $$r/$(HOST_SUBDIR)/gas/as-new ; \
374 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
375 $(CC_FOR_TARGET) -print-prog-name=as ; \
376 else \
377 if [ '$(host)' = '$(target)' ] ; then \
378 echo $(AS); \
379 else \
380 echo $(CONFIGURED_AS_FOR_TARGET) ; \
381 fi; \
384 CC_FOR_TARGET = @CC_FOR_TARGET@
385 # During gcc bootstrap, if we use some random cc for stage1 then
386 # CFLAGS will be just -g. We want to ensure that TARGET libraries
387 # (which we know are built with gcc) are built with optimizations so
388 # prepend -O2 when setting CFLAGS_FOR_TARGET.
389 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
390 # If GCC_FOR_TARGET is not overriden on the command line, then this
391 # variable is passed down to the gcc Makefile, where it is used to
392 # build libgcc2.a. We define it here so that it can itself be
393 # overridden on the command line.
394 GCC_FOR_TARGET=@GCC_FOR_TARGET@
395 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) \
396 $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ $(FLAGS_FOR_TARGET)
397 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
399 CXX_FOR_TARGET = @CXX_FOR_TARGET@
400 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
401 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
402 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
403 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
404 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
406 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
407 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
408 USUAL_DLLTOOL_FOR_TARGET = ` \
409 if [ -f $$r/$(HOST_SUBDIR)/binutils/dlltool ] ; then \
410 echo $$r/$(HOST_SUBDIR)/binutils/dlltool ; \
411 else \
412 if [ '$(host)' = '$(target)' ] ; then \
413 echo $(DLLTOOL); \
414 else \
415 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
416 fi; \
419 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
420 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
422 LD_FOR_TARGET=@LD_FOR_TARGET@
423 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
424 USUAL_LD_FOR_TARGET = ` \
425 if [ -f $$r/$(HOST_SUBDIR)/ld/ld-new ] ; then \
426 echo $$r/$(HOST_SUBDIR)/ld/ld-new ; \
427 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
428 $(CC_FOR_TARGET) -print-prog-name=ld ; \
429 else \
430 if [ '$(host)' = '$(target)' ] ; then \
431 echo $(LD); \
432 else \
433 echo $(CONFIGURED_LD_FOR_TARGET) ; \
434 fi; \
437 LDFLAGS_FOR_TARGET =
439 NM_FOR_TARGET=@NM_FOR_TARGET@
440 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
441 USUAL_NM_FOR_TARGET = ` \
442 if [ -f $$r/$(HOST_SUBDIR)/binutils/nm-new ] ; then \
443 echo $$r/$(HOST_SUBDIR)/binutils/nm-new ; \
444 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
445 $(CC_FOR_TARGET) -print-prog-name=nm ; \
446 else \
447 if [ '$(host)' = '$(target)' ] ; then \
448 echo $(NM); \
449 else \
450 echo $(CONFIGURED_NM_FOR_TARGET) ; \
451 fi; \
454 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
455 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
456 USUAL_RANLIB_FOR_TARGET = ` \
457 if [ -f $$r/$(HOST_SUBDIR)/binutils/ranlib ] ; then \
458 echo $$r/$(HOST_SUBDIR)/binutils/ranlib ; \
459 else \
460 if [ '$(host)' = '$(target)' ] ; then \
461 if [ x'$(RANLIB)' != x ]; then \
462 echo $(RANLIB); \
463 else \
464 echo ranlib; \
465 fi; \
466 else \
467 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
468 fi; \
471 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
472 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
473 USUAL_WINDRES_FOR_TARGET = ` \
474 if [ -f $$r/$(HOST_SUBDIR)/binutils/windres ] ; then \
475 echo $$r/$(HOST_SUBDIR)/binutils/windres ; \
476 else \
477 if [ '$(host)' = '$(target)' ] ; then \
478 echo $(WINDRES); \
479 else \
480 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
481 fi; \
484 PICFLAG_FOR_TARGET =
486 # ------------------------------------
487 # Miscellaneous targets and flag lists
488 # ------------------------------------
490 # The first rule in the file had better be this one. Don't put any above it.
491 # This lives here to allow makefile fragments to contain dependencies.
492 @default_target@:
494 #### host and target specific makefile fragments come in here.
495 @target_makefile_frag@
496 @alphaieee_frag@
497 @ospace_frag@
498 @host_makefile_frag@
501 # Flags to pass down to all sub-makes.
502 BASE_FLAGS_TO_PASS = \
503 "DESTDIR=$(DESTDIR)" \
504 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
505 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
506 "bindir=$(bindir)" \
507 "datadir=$(datadir)" \
508 "exec_prefix=$(exec_prefix)" \
509 "includedir=$(includedir)" \
510 "infodir=$(infodir)" \
511 "libdir=$(libdir)" \
512 "libexecdir=$(libexecdir)" \
513 "lispdir=$(lispdir)" \
514 "localstatedir=$(localstatedir)" \
515 "mandir=$(mandir)" \
516 "oldincludedir=$(oldincludedir)" \
517 "prefix=$(prefix)" \
518 "sbindir=$(sbindir)" \
519 "sharedstatedir=$(sharedstatedir)" \
520 "sysconfdir=$(sysconfdir)" \
521 "tooldir=$(tooldir)" \
522 "build_tooldir=$(build_tooldir)" \
523 "target_alias=$(target_alias)" \
524 "BISON=$(BISON)" \
525 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
526 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
527 "EXPECT=$(EXPECT)" \
528 "FLEX=$(FLEX)" \
529 "INSTALL=$(INSTALL)" \
530 "INSTALL_DATA=$(INSTALL_DATA)" \
531 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
532 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
533 "LEX=$(LEX)" \
534 "M4=$(M4)" \
535 "MAKE=$(MAKE)" \
536 "RUNTEST=$(RUNTEST)" \
537 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
538 "SHELL=$(SHELL)" \
539 "YACC=$(YACC)" \
540 "AR_FLAGS=$(AR_FLAGS)" \
541 "CFLAGS=$(CFLAGS)" \
542 "CXXFLAGS=$(CXXFLAGS)" \
543 "LDFLAGS=$(LDFLAGS)" \
544 "LIBCFLAGS=$(LIBCFLAGS)" \
545 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
546 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
547 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
548 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
549 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
550 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
551 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
552 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
553 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
554 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
555 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
556 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
557 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
558 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
559 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
560 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
561 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
562 "CONFIG_SHELL=$(SHELL)" \
563 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
565 # For any flags above that may contain shell code that varies from one
566 # target library to another. When doing recursive invocations of the
567 # top-level Makefile, we don't want the outer make to evaluate them,
568 # so we pass these variables down unchanged. They must not contain
569 # single nor double quotes.
570 RECURSE_FLAGS = \
571 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
572 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
574 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
576 # Flags to pass down to most sub-makes, in which we're building with
577 # the host environment.
578 EXTRA_HOST_FLAGS = \
579 'AR=$(AR)' \
580 'AS=$(AS)' \
581 'CC=$(CC)' \
582 'CXX=$(CXX)' \
583 'DLLTOOL=$(DLLTOOL)' \
584 'LD=$(LD)' \
585 'NM=$(NM)' \
586 'RANLIB=$(RANLIB)' \
587 'WINDRES=$(WINDRES)'
589 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
591 # Flags that are concerned with the location of the X11 include files
592 # and library files
594 # NOTE: until the top-level is getting the values via autoconf, it only
595 # causes problems to have this top-level Makefile overriding the autoconf-set
596 # values in child directories. Only variables that don't conflict with
597 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
599 X11_FLAGS_TO_PASS = \
600 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
601 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
603 # Flags to pass down to makes which are built with the target environment.
604 # The double $ decreases the length of the command line; the variables
605 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
606 EXTRA_TARGET_FLAGS = \
607 'AR=$$(AR_FOR_TARGET)' \
608 'AS=$$(AS_FOR_TARGET)' \
609 'CC=$$(CC_FOR_TARGET)' \
610 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
611 'CXX=$$(CXX_FOR_TARGET)' \
612 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
613 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
614 'LD=$$(LD_FOR_TARGET)' \
615 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
616 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
617 'NM=$$(NM_FOR_TARGET)' \
618 'RANLIB=$$(RANLIB_FOR_TARGET)' \
619 'WINDRES=$$(WINDRES_FOR_TARGET)'
621 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
623 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
624 # unfortunately needs the native compiler and the target ar and
625 # ranlib.
626 # If any variables are added here, they must be added to do-*, below.
627 # The BUILD_* variables are a special case, which are used for the gcc
628 # cross-building scheme.
629 EXTRA_GCC_FLAGS = \
630 'BUILD_PREFIX=$(BUILD_PREFIX)' \
631 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
632 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
633 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
634 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
635 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
636 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
637 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
638 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
639 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
642 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
644 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
646 .PHONY: configure-host
647 configure-host: \
648 maybe-configure-ash \
649 maybe-configure-autoconf \
650 maybe-configure-automake \
651 maybe-configure-bash \
652 maybe-configure-bfd \
653 maybe-configure-opcodes \
654 maybe-configure-binutils \
655 maybe-configure-bison \
656 maybe-configure-byacc \
657 maybe-configure-bzip2 \
658 maybe-configure-dejagnu \
659 maybe-configure-diff \
660 maybe-configure-dosutils \
661 maybe-configure-etc \
662 maybe-configure-fastjar \
663 maybe-configure-fileutils \
664 maybe-configure-findutils \
665 maybe-configure-find \
666 maybe-configure-fixincludes \
667 maybe-configure-flex \
668 maybe-configure-gas \
669 maybe-configure-gcc \
670 maybe-configure-gawk \
671 maybe-configure-gettext \
672 maybe-configure-gnuserv \
673 maybe-configure-gprof \
674 maybe-configure-gzip \
675 maybe-configure-hello \
676 maybe-configure-indent \
677 maybe-configure-intl \
678 maybe-configure-tcl \
679 maybe-configure-itcl \
680 maybe-configure-ld \
681 maybe-configure-libcpp \
682 maybe-configure-libgui \
683 maybe-configure-libiberty \
684 maybe-configure-libtool \
685 maybe-configure-m4 \
686 maybe-configure-make \
687 maybe-configure-mmalloc \
688 maybe-configure-patch \
689 maybe-configure-perl \
690 maybe-configure-prms \
691 maybe-configure-rcs \
692 maybe-configure-readline \
693 maybe-configure-release \
694 maybe-configure-recode \
695 maybe-configure-sed \
696 maybe-configure-send-pr \
697 maybe-configure-shellutils \
698 maybe-configure-sid \
699 maybe-configure-sim \
700 maybe-configure-tar \
701 maybe-configure-texinfo \
702 maybe-configure-textutils \
703 maybe-configure-time \
704 maybe-configure-uudecode \
705 maybe-configure-wdiff \
706 maybe-configure-zip \
707 maybe-configure-zlib \
708 maybe-configure-gdb \
709 maybe-configure-expect \
710 maybe-configure-guile \
711 maybe-configure-tk \
712 maybe-configure-libtermcap \
713 maybe-configure-utils \
714 maybe-configure-gnattools
715 .PHONY: configure-target
716 configure-target: \
717 maybe-configure-target-libstdc++-v3 \
718 maybe-configure-target-libmudflap \
719 maybe-configure-target-newlib \
720 maybe-configure-target-libgfortran \
721 maybe-configure-target-libobjc \
722 maybe-configure-target-libtermcap \
723 maybe-configure-target-winsup \
724 maybe-configure-target-libgloss \
725 maybe-configure-target-libiberty \
726 maybe-configure-target-gperf \
727 maybe-configure-target-examples \
728 maybe-configure-target-libffi \
729 maybe-configure-target-libjava \
730 maybe-configure-target-zlib \
731 maybe-configure-target-boehm-gc \
732 maybe-configure-target-qthreads \
733 maybe-configure-target-rda \
734 maybe-configure-target-libada
736 # The target built for a native non-bootstrap build.
737 .PHONY: all
738 all: unstage all-host all-target stage
740 .PHONY: all-build
741 all-build: \
742 maybe-all-build-libiberty \
743 maybe-all-build-bison \
744 maybe-all-build-byacc \
745 maybe-all-build-flex \
746 maybe-all-build-m4 \
747 maybe-all-build-texinfo \
748 maybe-all-build-fixincludes
749 .PHONY: all-host
750 all-host: \
751 maybe-all-ash \
752 maybe-all-autoconf \
753 maybe-all-automake \
754 maybe-all-bash \
755 maybe-all-bfd \
756 maybe-all-opcodes \
757 maybe-all-binutils \
758 maybe-all-bison \
759 maybe-all-byacc \
760 maybe-all-bzip2 \
761 maybe-all-dejagnu \
762 maybe-all-diff \
763 maybe-all-dosutils \
764 maybe-all-etc \
765 maybe-all-fastjar \
766 maybe-all-fileutils \
767 maybe-all-findutils \
768 maybe-all-find \
769 maybe-all-fixincludes \
770 maybe-all-flex \
771 maybe-all-gas \
772 maybe-all-gcc \
773 maybe-all-gawk \
774 maybe-all-gettext \
775 maybe-all-gnuserv \
776 maybe-all-gprof \
777 maybe-all-gzip \
778 maybe-all-hello \
779 maybe-all-indent \
780 maybe-all-intl \
781 maybe-all-tcl \
782 maybe-all-itcl \
783 maybe-all-ld \
784 maybe-all-libcpp \
785 maybe-all-libgui \
786 maybe-all-libiberty \
787 maybe-all-libtool \
788 maybe-all-m4 \
789 maybe-all-make \
790 maybe-all-mmalloc \
791 maybe-all-patch \
792 maybe-all-perl \
793 maybe-all-prms \
794 maybe-all-rcs \
795 maybe-all-readline \
796 maybe-all-release \
797 maybe-all-recode \
798 maybe-all-sed \
799 maybe-all-send-pr \
800 maybe-all-shellutils \
801 maybe-all-sid \
802 maybe-all-sim \
803 maybe-all-tar \
804 maybe-all-texinfo \
805 maybe-all-textutils \
806 maybe-all-time \
807 maybe-all-uudecode \
808 maybe-all-wdiff \
809 maybe-all-zip \
810 maybe-all-zlib \
811 maybe-all-gdb \
812 maybe-all-expect \
813 maybe-all-guile \
814 maybe-all-tk \
815 maybe-all-libtermcap \
816 maybe-all-utils \
817 maybe-all-gnattools
818 .PHONY: all-target
819 all-target: \
820 maybe-all-target-libstdc++-v3 \
821 maybe-all-target-libmudflap \
822 maybe-all-target-newlib \
823 maybe-all-target-libgfortran \
824 maybe-all-target-libobjc \
825 maybe-all-target-libtermcap \
826 maybe-all-target-winsup \
827 maybe-all-target-libgloss \
828 maybe-all-target-libiberty \
829 maybe-all-target-gperf \
830 maybe-all-target-examples \
831 maybe-all-target-libffi \
832 maybe-all-target-libjava \
833 maybe-all-target-zlib \
834 maybe-all-target-boehm-gc \
835 maybe-all-target-qthreads \
836 maybe-all-target-rda \
837 maybe-all-target-libada
839 # Do a target for all the subdirectories. A ``make do-X'' will do a
840 # ``make X'' in all subdirectories (because, in general, there is a
841 # dependency (below) of X upon do-X, a ``make X'' will also do this,
842 # but it may do additional work as well).
844 .PHONY: do-info
845 do-info: unstage info-host info-target stage
847 .PHONY: info-host
848 info-host: \
849 maybe-info-ash \
850 maybe-info-autoconf \
851 maybe-info-automake \
852 maybe-info-bash \
853 maybe-info-bfd \
854 maybe-info-opcodes \
855 maybe-info-binutils \
856 maybe-info-bison \
857 maybe-info-byacc \
858 maybe-info-bzip2 \
859 maybe-info-dejagnu \
860 maybe-info-diff \
861 maybe-info-dosutils \
862 maybe-info-etc \
863 maybe-info-fastjar \
864 maybe-info-fileutils \
865 maybe-info-findutils \
866 maybe-info-find \
867 maybe-info-fixincludes \
868 maybe-info-flex \
869 maybe-info-gas \
870 maybe-info-gcc \
871 maybe-info-gawk \
872 maybe-info-gettext \
873 maybe-info-gnuserv \
874 maybe-info-gprof \
875 maybe-info-gzip \
876 maybe-info-hello \
877 maybe-info-indent \
878 maybe-info-intl \
879 maybe-info-tcl \
880 maybe-info-itcl \
881 maybe-info-ld \
882 maybe-info-libcpp \
883 maybe-info-libgui \
884 maybe-info-libiberty \
885 maybe-info-libtool \
886 maybe-info-m4 \
887 maybe-info-make \
888 maybe-info-mmalloc \
889 maybe-info-patch \
890 maybe-info-perl \
891 maybe-info-prms \
892 maybe-info-rcs \
893 maybe-info-readline \
894 maybe-info-release \
895 maybe-info-recode \
896 maybe-info-sed \
897 maybe-info-send-pr \
898 maybe-info-shellutils \
899 maybe-info-sid \
900 maybe-info-sim \
901 maybe-info-tar \
902 maybe-info-texinfo \
903 maybe-info-textutils \
904 maybe-info-time \
905 maybe-info-uudecode \
906 maybe-info-wdiff \
907 maybe-info-zip \
908 maybe-info-zlib \
909 maybe-info-gdb \
910 maybe-info-expect \
911 maybe-info-guile \
912 maybe-info-tk \
913 maybe-info-libtermcap \
914 maybe-info-utils \
915 maybe-info-gnattools
917 .PHONY: info-target
918 info-target: \
919 maybe-info-target-libstdc++-v3 \
920 maybe-info-target-libmudflap \
921 maybe-info-target-newlib \
922 maybe-info-target-libgfortran \
923 maybe-info-target-libobjc \
924 maybe-info-target-libtermcap \
925 maybe-info-target-winsup \
926 maybe-info-target-libgloss \
927 maybe-info-target-libiberty \
928 maybe-info-target-gperf \
929 maybe-info-target-examples \
930 maybe-info-target-libffi \
931 maybe-info-target-libjava \
932 maybe-info-target-zlib \
933 maybe-info-target-boehm-gc \
934 maybe-info-target-qthreads \
935 maybe-info-target-rda \
936 maybe-info-target-libada
938 .PHONY: do-dvi
939 do-dvi: unstage dvi-host dvi-target stage
941 .PHONY: dvi-host
942 dvi-host: \
943 maybe-dvi-ash \
944 maybe-dvi-autoconf \
945 maybe-dvi-automake \
946 maybe-dvi-bash \
947 maybe-dvi-bfd \
948 maybe-dvi-opcodes \
949 maybe-dvi-binutils \
950 maybe-dvi-bison \
951 maybe-dvi-byacc \
952 maybe-dvi-bzip2 \
953 maybe-dvi-dejagnu \
954 maybe-dvi-diff \
955 maybe-dvi-dosutils \
956 maybe-dvi-etc \
957 maybe-dvi-fastjar \
958 maybe-dvi-fileutils \
959 maybe-dvi-findutils \
960 maybe-dvi-find \
961 maybe-dvi-fixincludes \
962 maybe-dvi-flex \
963 maybe-dvi-gas \
964 maybe-dvi-gcc \
965 maybe-dvi-gawk \
966 maybe-dvi-gettext \
967 maybe-dvi-gnuserv \
968 maybe-dvi-gprof \
969 maybe-dvi-gzip \
970 maybe-dvi-hello \
971 maybe-dvi-indent \
972 maybe-dvi-intl \
973 maybe-dvi-tcl \
974 maybe-dvi-itcl \
975 maybe-dvi-ld \
976 maybe-dvi-libcpp \
977 maybe-dvi-libgui \
978 maybe-dvi-libiberty \
979 maybe-dvi-libtool \
980 maybe-dvi-m4 \
981 maybe-dvi-make \
982 maybe-dvi-mmalloc \
983 maybe-dvi-patch \
984 maybe-dvi-perl \
985 maybe-dvi-prms \
986 maybe-dvi-rcs \
987 maybe-dvi-readline \
988 maybe-dvi-release \
989 maybe-dvi-recode \
990 maybe-dvi-sed \
991 maybe-dvi-send-pr \
992 maybe-dvi-shellutils \
993 maybe-dvi-sid \
994 maybe-dvi-sim \
995 maybe-dvi-tar \
996 maybe-dvi-texinfo \
997 maybe-dvi-textutils \
998 maybe-dvi-time \
999 maybe-dvi-uudecode \
1000 maybe-dvi-wdiff \
1001 maybe-dvi-zip \
1002 maybe-dvi-zlib \
1003 maybe-dvi-gdb \
1004 maybe-dvi-expect \
1005 maybe-dvi-guile \
1006 maybe-dvi-tk \
1007 maybe-dvi-libtermcap \
1008 maybe-dvi-utils \
1009 maybe-dvi-gnattools
1011 .PHONY: dvi-target
1012 dvi-target: \
1013 maybe-dvi-target-libstdc++-v3 \
1014 maybe-dvi-target-libmudflap \
1015 maybe-dvi-target-newlib \
1016 maybe-dvi-target-libgfortran \
1017 maybe-dvi-target-libobjc \
1018 maybe-dvi-target-libtermcap \
1019 maybe-dvi-target-winsup \
1020 maybe-dvi-target-libgloss \
1021 maybe-dvi-target-libiberty \
1022 maybe-dvi-target-gperf \
1023 maybe-dvi-target-examples \
1024 maybe-dvi-target-libffi \
1025 maybe-dvi-target-libjava \
1026 maybe-dvi-target-zlib \
1027 maybe-dvi-target-boehm-gc \
1028 maybe-dvi-target-qthreads \
1029 maybe-dvi-target-rda \
1030 maybe-dvi-target-libada
1032 .PHONY: do-html
1033 do-html: unstage html-host html-target stage
1035 .PHONY: html-host
1036 html-host: \
1037 maybe-html-ash \
1038 maybe-html-autoconf \
1039 maybe-html-automake \
1040 maybe-html-bash \
1041 maybe-html-bfd \
1042 maybe-html-opcodes \
1043 maybe-html-binutils \
1044 maybe-html-bison \
1045 maybe-html-byacc \
1046 maybe-html-bzip2 \
1047 maybe-html-dejagnu \
1048 maybe-html-diff \
1049 maybe-html-dosutils \
1050 maybe-html-etc \
1051 maybe-html-fastjar \
1052 maybe-html-fileutils \
1053 maybe-html-findutils \
1054 maybe-html-find \
1055 maybe-html-fixincludes \
1056 maybe-html-flex \
1057 maybe-html-gas \
1058 maybe-html-gcc \
1059 maybe-html-gawk \
1060 maybe-html-gettext \
1061 maybe-html-gnuserv \
1062 maybe-html-gprof \
1063 maybe-html-gzip \
1064 maybe-html-hello \
1065 maybe-html-indent \
1066 maybe-html-intl \
1067 maybe-html-tcl \
1068 maybe-html-itcl \
1069 maybe-html-ld \
1070 maybe-html-libcpp \
1071 maybe-html-libgui \
1072 maybe-html-libiberty \
1073 maybe-html-libtool \
1074 maybe-html-m4 \
1075 maybe-html-make \
1076 maybe-html-mmalloc \
1077 maybe-html-patch \
1078 maybe-html-perl \
1079 maybe-html-prms \
1080 maybe-html-rcs \
1081 maybe-html-readline \
1082 maybe-html-release \
1083 maybe-html-recode \
1084 maybe-html-sed \
1085 maybe-html-send-pr \
1086 maybe-html-shellutils \
1087 maybe-html-sid \
1088 maybe-html-sim \
1089 maybe-html-tar \
1090 maybe-html-texinfo \
1091 maybe-html-textutils \
1092 maybe-html-time \
1093 maybe-html-uudecode \
1094 maybe-html-wdiff \
1095 maybe-html-zip \
1096 maybe-html-zlib \
1097 maybe-html-gdb \
1098 maybe-html-expect \
1099 maybe-html-guile \
1100 maybe-html-tk \
1101 maybe-html-libtermcap \
1102 maybe-html-utils \
1103 maybe-html-gnattools
1105 .PHONY: html-target
1106 html-target: \
1107 maybe-html-target-libstdc++-v3 \
1108 maybe-html-target-libmudflap \
1109 maybe-html-target-newlib \
1110 maybe-html-target-libgfortran \
1111 maybe-html-target-libobjc \
1112 maybe-html-target-libtermcap \
1113 maybe-html-target-winsup \
1114 maybe-html-target-libgloss \
1115 maybe-html-target-libiberty \
1116 maybe-html-target-gperf \
1117 maybe-html-target-examples \
1118 maybe-html-target-libffi \
1119 maybe-html-target-libjava \
1120 maybe-html-target-zlib \
1121 maybe-html-target-boehm-gc \
1122 maybe-html-target-qthreads \
1123 maybe-html-target-rda \
1124 maybe-html-target-libada
1126 .PHONY: do-TAGS
1127 do-TAGS: unstage TAGS-host TAGS-target stage
1129 .PHONY: TAGS-host
1130 TAGS-host: \
1131 maybe-TAGS-ash \
1132 maybe-TAGS-autoconf \
1133 maybe-TAGS-automake \
1134 maybe-TAGS-bash \
1135 maybe-TAGS-bfd \
1136 maybe-TAGS-opcodes \
1137 maybe-TAGS-binutils \
1138 maybe-TAGS-bison \
1139 maybe-TAGS-byacc \
1140 maybe-TAGS-bzip2 \
1141 maybe-TAGS-dejagnu \
1142 maybe-TAGS-diff \
1143 maybe-TAGS-dosutils \
1144 maybe-TAGS-etc \
1145 maybe-TAGS-fastjar \
1146 maybe-TAGS-fileutils \
1147 maybe-TAGS-findutils \
1148 maybe-TAGS-find \
1149 maybe-TAGS-fixincludes \
1150 maybe-TAGS-flex \
1151 maybe-TAGS-gas \
1152 maybe-TAGS-gcc \
1153 maybe-TAGS-gawk \
1154 maybe-TAGS-gettext \
1155 maybe-TAGS-gnuserv \
1156 maybe-TAGS-gprof \
1157 maybe-TAGS-gzip \
1158 maybe-TAGS-hello \
1159 maybe-TAGS-indent \
1160 maybe-TAGS-intl \
1161 maybe-TAGS-tcl \
1162 maybe-TAGS-itcl \
1163 maybe-TAGS-ld \
1164 maybe-TAGS-libcpp \
1165 maybe-TAGS-libgui \
1166 maybe-TAGS-libiberty \
1167 maybe-TAGS-libtool \
1168 maybe-TAGS-m4 \
1169 maybe-TAGS-make \
1170 maybe-TAGS-mmalloc \
1171 maybe-TAGS-patch \
1172 maybe-TAGS-perl \
1173 maybe-TAGS-prms \
1174 maybe-TAGS-rcs \
1175 maybe-TAGS-readline \
1176 maybe-TAGS-release \
1177 maybe-TAGS-recode \
1178 maybe-TAGS-sed \
1179 maybe-TAGS-send-pr \
1180 maybe-TAGS-shellutils \
1181 maybe-TAGS-sid \
1182 maybe-TAGS-sim \
1183 maybe-TAGS-tar \
1184 maybe-TAGS-texinfo \
1185 maybe-TAGS-textutils \
1186 maybe-TAGS-time \
1187 maybe-TAGS-uudecode \
1188 maybe-TAGS-wdiff \
1189 maybe-TAGS-zip \
1190 maybe-TAGS-zlib \
1191 maybe-TAGS-gdb \
1192 maybe-TAGS-expect \
1193 maybe-TAGS-guile \
1194 maybe-TAGS-tk \
1195 maybe-TAGS-libtermcap \
1196 maybe-TAGS-utils \
1197 maybe-TAGS-gnattools
1199 .PHONY: TAGS-target
1200 TAGS-target: \
1201 maybe-TAGS-target-libstdc++-v3 \
1202 maybe-TAGS-target-libmudflap \
1203 maybe-TAGS-target-newlib \
1204 maybe-TAGS-target-libgfortran \
1205 maybe-TAGS-target-libobjc \
1206 maybe-TAGS-target-libtermcap \
1207 maybe-TAGS-target-winsup \
1208 maybe-TAGS-target-libgloss \
1209 maybe-TAGS-target-libiberty \
1210 maybe-TAGS-target-gperf \
1211 maybe-TAGS-target-examples \
1212 maybe-TAGS-target-libffi \
1213 maybe-TAGS-target-libjava \
1214 maybe-TAGS-target-zlib \
1215 maybe-TAGS-target-boehm-gc \
1216 maybe-TAGS-target-qthreads \
1217 maybe-TAGS-target-rda \
1218 maybe-TAGS-target-libada
1220 .PHONY: do-install-info
1221 do-install-info: unstage install-info-host install-info-target stage
1223 .PHONY: install-info-host
1224 install-info-host: \
1225 maybe-install-info-ash \
1226 maybe-install-info-autoconf \
1227 maybe-install-info-automake \
1228 maybe-install-info-bash \
1229 maybe-install-info-bfd \
1230 maybe-install-info-opcodes \
1231 maybe-install-info-binutils \
1232 maybe-install-info-bison \
1233 maybe-install-info-byacc \
1234 maybe-install-info-bzip2 \
1235 maybe-install-info-dejagnu \
1236 maybe-install-info-diff \
1237 maybe-install-info-dosutils \
1238 maybe-install-info-etc \
1239 maybe-install-info-fastjar \
1240 maybe-install-info-fileutils \
1241 maybe-install-info-findutils \
1242 maybe-install-info-find \
1243 maybe-install-info-fixincludes \
1244 maybe-install-info-flex \
1245 maybe-install-info-gas \
1246 maybe-install-info-gcc \
1247 maybe-install-info-gawk \
1248 maybe-install-info-gettext \
1249 maybe-install-info-gnuserv \
1250 maybe-install-info-gprof \
1251 maybe-install-info-gzip \
1252 maybe-install-info-hello \
1253 maybe-install-info-indent \
1254 maybe-install-info-intl \
1255 maybe-install-info-tcl \
1256 maybe-install-info-itcl \
1257 maybe-install-info-ld \
1258 maybe-install-info-libcpp \
1259 maybe-install-info-libgui \
1260 maybe-install-info-libiberty \
1261 maybe-install-info-libtool \
1262 maybe-install-info-m4 \
1263 maybe-install-info-make \
1264 maybe-install-info-mmalloc \
1265 maybe-install-info-patch \
1266 maybe-install-info-perl \
1267 maybe-install-info-prms \
1268 maybe-install-info-rcs \
1269 maybe-install-info-readline \
1270 maybe-install-info-release \
1271 maybe-install-info-recode \
1272 maybe-install-info-sed \
1273 maybe-install-info-send-pr \
1274 maybe-install-info-shellutils \
1275 maybe-install-info-sid \
1276 maybe-install-info-sim \
1277 maybe-install-info-tar \
1278 maybe-install-info-texinfo \
1279 maybe-install-info-textutils \
1280 maybe-install-info-time \
1281 maybe-install-info-uudecode \
1282 maybe-install-info-wdiff \
1283 maybe-install-info-zip \
1284 maybe-install-info-zlib \
1285 maybe-install-info-gdb \
1286 maybe-install-info-expect \
1287 maybe-install-info-guile \
1288 maybe-install-info-tk \
1289 maybe-install-info-libtermcap \
1290 maybe-install-info-utils \
1291 maybe-install-info-gnattools
1293 .PHONY: install-info-target
1294 install-info-target: \
1295 maybe-install-info-target-libstdc++-v3 \
1296 maybe-install-info-target-libmudflap \
1297 maybe-install-info-target-newlib \
1298 maybe-install-info-target-libgfortran \
1299 maybe-install-info-target-libobjc \
1300 maybe-install-info-target-libtermcap \
1301 maybe-install-info-target-winsup \
1302 maybe-install-info-target-libgloss \
1303 maybe-install-info-target-libiberty \
1304 maybe-install-info-target-gperf \
1305 maybe-install-info-target-examples \
1306 maybe-install-info-target-libffi \
1307 maybe-install-info-target-libjava \
1308 maybe-install-info-target-zlib \
1309 maybe-install-info-target-boehm-gc \
1310 maybe-install-info-target-qthreads \
1311 maybe-install-info-target-rda \
1312 maybe-install-info-target-libada
1314 .PHONY: do-installcheck
1315 do-installcheck: unstage installcheck-host installcheck-target stage
1317 .PHONY: installcheck-host
1318 installcheck-host: \
1319 maybe-installcheck-ash \
1320 maybe-installcheck-autoconf \
1321 maybe-installcheck-automake \
1322 maybe-installcheck-bash \
1323 maybe-installcheck-bfd \
1324 maybe-installcheck-opcodes \
1325 maybe-installcheck-binutils \
1326 maybe-installcheck-bison \
1327 maybe-installcheck-byacc \
1328 maybe-installcheck-bzip2 \
1329 maybe-installcheck-dejagnu \
1330 maybe-installcheck-diff \
1331 maybe-installcheck-dosutils \
1332 maybe-installcheck-etc \
1333 maybe-installcheck-fastjar \
1334 maybe-installcheck-fileutils \
1335 maybe-installcheck-findutils \
1336 maybe-installcheck-find \
1337 maybe-installcheck-fixincludes \
1338 maybe-installcheck-flex \
1339 maybe-installcheck-gas \
1340 maybe-installcheck-gcc \
1341 maybe-installcheck-gawk \
1342 maybe-installcheck-gettext \
1343 maybe-installcheck-gnuserv \
1344 maybe-installcheck-gprof \
1345 maybe-installcheck-gzip \
1346 maybe-installcheck-hello \
1347 maybe-installcheck-indent \
1348 maybe-installcheck-intl \
1349 maybe-installcheck-tcl \
1350 maybe-installcheck-itcl \
1351 maybe-installcheck-ld \
1352 maybe-installcheck-libcpp \
1353 maybe-installcheck-libgui \
1354 maybe-installcheck-libiberty \
1355 maybe-installcheck-libtool \
1356 maybe-installcheck-m4 \
1357 maybe-installcheck-make \
1358 maybe-installcheck-mmalloc \
1359 maybe-installcheck-patch \
1360 maybe-installcheck-perl \
1361 maybe-installcheck-prms \
1362 maybe-installcheck-rcs \
1363 maybe-installcheck-readline \
1364 maybe-installcheck-release \
1365 maybe-installcheck-recode \
1366 maybe-installcheck-sed \
1367 maybe-installcheck-send-pr \
1368 maybe-installcheck-shellutils \
1369 maybe-installcheck-sid \
1370 maybe-installcheck-sim \
1371 maybe-installcheck-tar \
1372 maybe-installcheck-texinfo \
1373 maybe-installcheck-textutils \
1374 maybe-installcheck-time \
1375 maybe-installcheck-uudecode \
1376 maybe-installcheck-wdiff \
1377 maybe-installcheck-zip \
1378 maybe-installcheck-zlib \
1379 maybe-installcheck-gdb \
1380 maybe-installcheck-expect \
1381 maybe-installcheck-guile \
1382 maybe-installcheck-tk \
1383 maybe-installcheck-libtermcap \
1384 maybe-installcheck-utils \
1385 maybe-installcheck-gnattools
1387 .PHONY: installcheck-target
1388 installcheck-target: \
1389 maybe-installcheck-target-libstdc++-v3 \
1390 maybe-installcheck-target-libmudflap \
1391 maybe-installcheck-target-newlib \
1392 maybe-installcheck-target-libgfortran \
1393 maybe-installcheck-target-libobjc \
1394 maybe-installcheck-target-libtermcap \
1395 maybe-installcheck-target-winsup \
1396 maybe-installcheck-target-libgloss \
1397 maybe-installcheck-target-libiberty \
1398 maybe-installcheck-target-gperf \
1399 maybe-installcheck-target-examples \
1400 maybe-installcheck-target-libffi \
1401 maybe-installcheck-target-libjava \
1402 maybe-installcheck-target-zlib \
1403 maybe-installcheck-target-boehm-gc \
1404 maybe-installcheck-target-qthreads \
1405 maybe-installcheck-target-rda \
1406 maybe-installcheck-target-libada
1408 .PHONY: do-mostlyclean
1409 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1411 .PHONY: mostlyclean-host
1412 mostlyclean-host: \
1413 maybe-mostlyclean-ash \
1414 maybe-mostlyclean-autoconf \
1415 maybe-mostlyclean-automake \
1416 maybe-mostlyclean-bash \
1417 maybe-mostlyclean-bfd \
1418 maybe-mostlyclean-opcodes \
1419 maybe-mostlyclean-binutils \
1420 maybe-mostlyclean-bison \
1421 maybe-mostlyclean-byacc \
1422 maybe-mostlyclean-bzip2 \
1423 maybe-mostlyclean-dejagnu \
1424 maybe-mostlyclean-diff \
1425 maybe-mostlyclean-dosutils \
1426 maybe-mostlyclean-etc \
1427 maybe-mostlyclean-fastjar \
1428 maybe-mostlyclean-fileutils \
1429 maybe-mostlyclean-findutils \
1430 maybe-mostlyclean-find \
1431 maybe-mostlyclean-fixincludes \
1432 maybe-mostlyclean-flex \
1433 maybe-mostlyclean-gas \
1434 maybe-mostlyclean-gcc \
1435 maybe-mostlyclean-gawk \
1436 maybe-mostlyclean-gettext \
1437 maybe-mostlyclean-gnuserv \
1438 maybe-mostlyclean-gprof \
1439 maybe-mostlyclean-gzip \
1440 maybe-mostlyclean-hello \
1441 maybe-mostlyclean-indent \
1442 maybe-mostlyclean-intl \
1443 maybe-mostlyclean-tcl \
1444 maybe-mostlyclean-itcl \
1445 maybe-mostlyclean-ld \
1446 maybe-mostlyclean-libcpp \
1447 maybe-mostlyclean-libgui \
1448 maybe-mostlyclean-libiberty \
1449 maybe-mostlyclean-libtool \
1450 maybe-mostlyclean-m4 \
1451 maybe-mostlyclean-make \
1452 maybe-mostlyclean-mmalloc \
1453 maybe-mostlyclean-patch \
1454 maybe-mostlyclean-perl \
1455 maybe-mostlyclean-prms \
1456 maybe-mostlyclean-rcs \
1457 maybe-mostlyclean-readline \
1458 maybe-mostlyclean-release \
1459 maybe-mostlyclean-recode \
1460 maybe-mostlyclean-sed \
1461 maybe-mostlyclean-send-pr \
1462 maybe-mostlyclean-shellutils \
1463 maybe-mostlyclean-sid \
1464 maybe-mostlyclean-sim \
1465 maybe-mostlyclean-tar \
1466 maybe-mostlyclean-texinfo \
1467 maybe-mostlyclean-textutils \
1468 maybe-mostlyclean-time \
1469 maybe-mostlyclean-uudecode \
1470 maybe-mostlyclean-wdiff \
1471 maybe-mostlyclean-zip \
1472 maybe-mostlyclean-zlib \
1473 maybe-mostlyclean-gdb \
1474 maybe-mostlyclean-expect \
1475 maybe-mostlyclean-guile \
1476 maybe-mostlyclean-tk \
1477 maybe-mostlyclean-libtermcap \
1478 maybe-mostlyclean-utils \
1479 maybe-mostlyclean-gnattools
1481 .PHONY: mostlyclean-target
1482 mostlyclean-target: \
1483 maybe-mostlyclean-target-libstdc++-v3 \
1484 maybe-mostlyclean-target-libmudflap \
1485 maybe-mostlyclean-target-newlib \
1486 maybe-mostlyclean-target-libgfortran \
1487 maybe-mostlyclean-target-libobjc \
1488 maybe-mostlyclean-target-libtermcap \
1489 maybe-mostlyclean-target-winsup \
1490 maybe-mostlyclean-target-libgloss \
1491 maybe-mostlyclean-target-libiberty \
1492 maybe-mostlyclean-target-gperf \
1493 maybe-mostlyclean-target-examples \
1494 maybe-mostlyclean-target-libffi \
1495 maybe-mostlyclean-target-libjava \
1496 maybe-mostlyclean-target-zlib \
1497 maybe-mostlyclean-target-boehm-gc \
1498 maybe-mostlyclean-target-qthreads \
1499 maybe-mostlyclean-target-rda \
1500 maybe-mostlyclean-target-libada
1502 .PHONY: do-clean
1503 do-clean: unstage clean-host clean-target stage
1505 .PHONY: clean-host
1506 clean-host: \
1507 maybe-clean-ash \
1508 maybe-clean-autoconf \
1509 maybe-clean-automake \
1510 maybe-clean-bash \
1511 maybe-clean-bfd \
1512 maybe-clean-opcodes \
1513 maybe-clean-binutils \
1514 maybe-clean-bison \
1515 maybe-clean-byacc \
1516 maybe-clean-bzip2 \
1517 maybe-clean-dejagnu \
1518 maybe-clean-diff \
1519 maybe-clean-dosutils \
1520 maybe-clean-etc \
1521 maybe-clean-fastjar \
1522 maybe-clean-fileutils \
1523 maybe-clean-findutils \
1524 maybe-clean-find \
1525 maybe-clean-fixincludes \
1526 maybe-clean-flex \
1527 maybe-clean-gas \
1528 maybe-clean-gcc \
1529 maybe-clean-gawk \
1530 maybe-clean-gettext \
1531 maybe-clean-gnuserv \
1532 maybe-clean-gprof \
1533 maybe-clean-gzip \
1534 maybe-clean-hello \
1535 maybe-clean-indent \
1536 maybe-clean-intl \
1537 maybe-clean-tcl \
1538 maybe-clean-itcl \
1539 maybe-clean-ld \
1540 maybe-clean-libcpp \
1541 maybe-clean-libgui \
1542 maybe-clean-libiberty \
1543 maybe-clean-libtool \
1544 maybe-clean-m4 \
1545 maybe-clean-make \
1546 maybe-clean-mmalloc \
1547 maybe-clean-patch \
1548 maybe-clean-perl \
1549 maybe-clean-prms \
1550 maybe-clean-rcs \
1551 maybe-clean-readline \
1552 maybe-clean-release \
1553 maybe-clean-recode \
1554 maybe-clean-sed \
1555 maybe-clean-send-pr \
1556 maybe-clean-shellutils \
1557 maybe-clean-sid \
1558 maybe-clean-sim \
1559 maybe-clean-tar \
1560 maybe-clean-texinfo \
1561 maybe-clean-textutils \
1562 maybe-clean-time \
1563 maybe-clean-uudecode \
1564 maybe-clean-wdiff \
1565 maybe-clean-zip \
1566 maybe-clean-zlib \
1567 maybe-clean-gdb \
1568 maybe-clean-expect \
1569 maybe-clean-guile \
1570 maybe-clean-tk \
1571 maybe-clean-libtermcap \
1572 maybe-clean-utils \
1573 maybe-clean-gnattools
1575 .PHONY: clean-target
1576 clean-target: \
1577 maybe-clean-target-libstdc++-v3 \
1578 maybe-clean-target-libmudflap \
1579 maybe-clean-target-newlib \
1580 maybe-clean-target-libgfortran \
1581 maybe-clean-target-libobjc \
1582 maybe-clean-target-libtermcap \
1583 maybe-clean-target-winsup \
1584 maybe-clean-target-libgloss \
1585 maybe-clean-target-libiberty \
1586 maybe-clean-target-gperf \
1587 maybe-clean-target-examples \
1588 maybe-clean-target-libffi \
1589 maybe-clean-target-libjava \
1590 maybe-clean-target-zlib \
1591 maybe-clean-target-boehm-gc \
1592 maybe-clean-target-qthreads \
1593 maybe-clean-target-rda \
1594 maybe-clean-target-libada
1596 .PHONY: do-distclean
1597 do-distclean: unstage distclean-host distclean-target stage
1599 .PHONY: distclean-host
1600 distclean-host: \
1601 maybe-distclean-ash \
1602 maybe-distclean-autoconf \
1603 maybe-distclean-automake \
1604 maybe-distclean-bash \
1605 maybe-distclean-bfd \
1606 maybe-distclean-opcodes \
1607 maybe-distclean-binutils \
1608 maybe-distclean-bison \
1609 maybe-distclean-byacc \
1610 maybe-distclean-bzip2 \
1611 maybe-distclean-dejagnu \
1612 maybe-distclean-diff \
1613 maybe-distclean-dosutils \
1614 maybe-distclean-etc \
1615 maybe-distclean-fastjar \
1616 maybe-distclean-fileutils \
1617 maybe-distclean-findutils \
1618 maybe-distclean-find \
1619 maybe-distclean-fixincludes \
1620 maybe-distclean-flex \
1621 maybe-distclean-gas \
1622 maybe-distclean-gcc \
1623 maybe-distclean-gawk \
1624 maybe-distclean-gettext \
1625 maybe-distclean-gnuserv \
1626 maybe-distclean-gprof \
1627 maybe-distclean-gzip \
1628 maybe-distclean-hello \
1629 maybe-distclean-indent \
1630 maybe-distclean-intl \
1631 maybe-distclean-tcl \
1632 maybe-distclean-itcl \
1633 maybe-distclean-ld \
1634 maybe-distclean-libcpp \
1635 maybe-distclean-libgui \
1636 maybe-distclean-libiberty \
1637 maybe-distclean-libtool \
1638 maybe-distclean-m4 \
1639 maybe-distclean-make \
1640 maybe-distclean-mmalloc \
1641 maybe-distclean-patch \
1642 maybe-distclean-perl \
1643 maybe-distclean-prms \
1644 maybe-distclean-rcs \
1645 maybe-distclean-readline \
1646 maybe-distclean-release \
1647 maybe-distclean-recode \
1648 maybe-distclean-sed \
1649 maybe-distclean-send-pr \
1650 maybe-distclean-shellutils \
1651 maybe-distclean-sid \
1652 maybe-distclean-sim \
1653 maybe-distclean-tar \
1654 maybe-distclean-texinfo \
1655 maybe-distclean-textutils \
1656 maybe-distclean-time \
1657 maybe-distclean-uudecode \
1658 maybe-distclean-wdiff \
1659 maybe-distclean-zip \
1660 maybe-distclean-zlib \
1661 maybe-distclean-gdb \
1662 maybe-distclean-expect \
1663 maybe-distclean-guile \
1664 maybe-distclean-tk \
1665 maybe-distclean-libtermcap \
1666 maybe-distclean-utils \
1667 maybe-distclean-gnattools
1669 .PHONY: distclean-target
1670 distclean-target: \
1671 maybe-distclean-target-libstdc++-v3 \
1672 maybe-distclean-target-libmudflap \
1673 maybe-distclean-target-newlib \
1674 maybe-distclean-target-libgfortran \
1675 maybe-distclean-target-libobjc \
1676 maybe-distclean-target-libtermcap \
1677 maybe-distclean-target-winsup \
1678 maybe-distclean-target-libgloss \
1679 maybe-distclean-target-libiberty \
1680 maybe-distclean-target-gperf \
1681 maybe-distclean-target-examples \
1682 maybe-distclean-target-libffi \
1683 maybe-distclean-target-libjava \
1684 maybe-distclean-target-zlib \
1685 maybe-distclean-target-boehm-gc \
1686 maybe-distclean-target-qthreads \
1687 maybe-distclean-target-rda \
1688 maybe-distclean-target-libada
1690 .PHONY: do-maintainer-clean
1691 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1693 .PHONY: maintainer-clean-host
1694 maintainer-clean-host: \
1695 maybe-maintainer-clean-ash \
1696 maybe-maintainer-clean-autoconf \
1697 maybe-maintainer-clean-automake \
1698 maybe-maintainer-clean-bash \
1699 maybe-maintainer-clean-bfd \
1700 maybe-maintainer-clean-opcodes \
1701 maybe-maintainer-clean-binutils \
1702 maybe-maintainer-clean-bison \
1703 maybe-maintainer-clean-byacc \
1704 maybe-maintainer-clean-bzip2 \
1705 maybe-maintainer-clean-dejagnu \
1706 maybe-maintainer-clean-diff \
1707 maybe-maintainer-clean-dosutils \
1708 maybe-maintainer-clean-etc \
1709 maybe-maintainer-clean-fastjar \
1710 maybe-maintainer-clean-fileutils \
1711 maybe-maintainer-clean-findutils \
1712 maybe-maintainer-clean-find \
1713 maybe-maintainer-clean-fixincludes \
1714 maybe-maintainer-clean-flex \
1715 maybe-maintainer-clean-gas \
1716 maybe-maintainer-clean-gcc \
1717 maybe-maintainer-clean-gawk \
1718 maybe-maintainer-clean-gettext \
1719 maybe-maintainer-clean-gnuserv \
1720 maybe-maintainer-clean-gprof \
1721 maybe-maintainer-clean-gzip \
1722 maybe-maintainer-clean-hello \
1723 maybe-maintainer-clean-indent \
1724 maybe-maintainer-clean-intl \
1725 maybe-maintainer-clean-tcl \
1726 maybe-maintainer-clean-itcl \
1727 maybe-maintainer-clean-ld \
1728 maybe-maintainer-clean-libcpp \
1729 maybe-maintainer-clean-libgui \
1730 maybe-maintainer-clean-libiberty \
1731 maybe-maintainer-clean-libtool \
1732 maybe-maintainer-clean-m4 \
1733 maybe-maintainer-clean-make \
1734 maybe-maintainer-clean-mmalloc \
1735 maybe-maintainer-clean-patch \
1736 maybe-maintainer-clean-perl \
1737 maybe-maintainer-clean-prms \
1738 maybe-maintainer-clean-rcs \
1739 maybe-maintainer-clean-readline \
1740 maybe-maintainer-clean-release \
1741 maybe-maintainer-clean-recode \
1742 maybe-maintainer-clean-sed \
1743 maybe-maintainer-clean-send-pr \
1744 maybe-maintainer-clean-shellutils \
1745 maybe-maintainer-clean-sid \
1746 maybe-maintainer-clean-sim \
1747 maybe-maintainer-clean-tar \
1748 maybe-maintainer-clean-texinfo \
1749 maybe-maintainer-clean-textutils \
1750 maybe-maintainer-clean-time \
1751 maybe-maintainer-clean-uudecode \
1752 maybe-maintainer-clean-wdiff \
1753 maybe-maintainer-clean-zip \
1754 maybe-maintainer-clean-zlib \
1755 maybe-maintainer-clean-gdb \
1756 maybe-maintainer-clean-expect \
1757 maybe-maintainer-clean-guile \
1758 maybe-maintainer-clean-tk \
1759 maybe-maintainer-clean-libtermcap \
1760 maybe-maintainer-clean-utils \
1761 maybe-maintainer-clean-gnattools
1763 .PHONY: maintainer-clean-target
1764 maintainer-clean-target: \
1765 maybe-maintainer-clean-target-libstdc++-v3 \
1766 maybe-maintainer-clean-target-libmudflap \
1767 maybe-maintainer-clean-target-newlib \
1768 maybe-maintainer-clean-target-libgfortran \
1769 maybe-maintainer-clean-target-libobjc \
1770 maybe-maintainer-clean-target-libtermcap \
1771 maybe-maintainer-clean-target-winsup \
1772 maybe-maintainer-clean-target-libgloss \
1773 maybe-maintainer-clean-target-libiberty \
1774 maybe-maintainer-clean-target-gperf \
1775 maybe-maintainer-clean-target-examples \
1776 maybe-maintainer-clean-target-libffi \
1777 maybe-maintainer-clean-target-libjava \
1778 maybe-maintainer-clean-target-zlib \
1779 maybe-maintainer-clean-target-boehm-gc \
1780 maybe-maintainer-clean-target-qthreads \
1781 maybe-maintainer-clean-target-rda \
1782 maybe-maintainer-clean-target-libada
1785 # Here are the targets which correspond to the do-X targets.
1787 .PHONY: info installcheck dvi html install-info
1788 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1789 .PHONY: local-clean local-distclean local-maintainer-clean
1790 info: do-info
1791 installcheck: do-installcheck
1792 dvi: do-dvi
1793 html: do-html
1795 # Make sure makeinfo is built before we do a `make info', if we're
1796 # in fact building texinfo.
1797 do-info: maybe-all-texinfo
1799 install-info: do-install-info dir.info
1800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1801 if [ -f dir.info ] ; then \
1802 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1803 else true ; fi
1805 local-clean:
1806 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1808 local-distclean:
1809 -rm -f Makefile config.status config.cache mh-frag mt-frag
1810 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1811 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1812 rm -rf $(TARGET_SUBDIR); \
1813 else true; fi
1814 -rm -rf $(BUILD_SUBDIR)
1815 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1816 rm -rf $(HOST_SUBDIR); \
1817 else true; fi
1818 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1819 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1820 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1821 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1822 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1824 local-maintainer-clean:
1825 @echo "This command is intended for maintainers to use;"
1826 @echo "it deletes files that may require special tools to rebuild."
1828 clean: do-clean local-clean
1829 mostlyclean: do-mostlyclean local-clean
1830 distclean: do-distclean local-clean local-distclean
1831 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1832 maintainer-clean: local-distclean
1833 realclean: maintainer-clean
1835 # Extra dependency for clean-target, owing to the mixed nature of gcc
1836 clean-target: clean-target-libgcc
1837 clean-target-libgcc:
1838 test ! -d gcc/libgcc || \
1839 (cd gcc/libgcc && find . -type d -print) | \
1840 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1841 -rm -rf gcc/libgcc
1842 -rm -f gcc/stmp-dirs
1844 # Check target.
1846 .PHONY: check do-check
1847 check: do-check
1849 # Only include modules actually being configured and built.
1850 do-check: unstage \
1851 maybe-check-ash \
1852 maybe-check-autoconf \
1853 maybe-check-automake \
1854 maybe-check-bash \
1855 maybe-check-bfd \
1856 maybe-check-opcodes \
1857 maybe-check-binutils \
1858 maybe-check-bison \
1859 maybe-check-byacc \
1860 maybe-check-bzip2 \
1861 maybe-check-dejagnu \
1862 maybe-check-diff \
1863 maybe-check-dosutils \
1864 maybe-check-etc \
1865 maybe-check-fastjar \
1866 maybe-check-fileutils \
1867 maybe-check-findutils \
1868 maybe-check-find \
1869 maybe-check-fixincludes \
1870 maybe-check-flex \
1871 maybe-check-gas \
1872 maybe-check-gcc \
1873 maybe-check-gawk \
1874 maybe-check-gettext \
1875 maybe-check-gnuserv \
1876 maybe-check-gprof \
1877 maybe-check-gzip \
1878 maybe-check-hello \
1879 maybe-check-indent \
1880 maybe-check-intl \
1881 maybe-check-tcl \
1882 maybe-check-itcl \
1883 maybe-check-ld \
1884 maybe-check-libcpp \
1885 maybe-check-libgui \
1886 maybe-check-libiberty \
1887 maybe-check-libtool \
1888 maybe-check-m4 \
1889 maybe-check-make \
1890 maybe-check-mmalloc \
1891 maybe-check-patch \
1892 maybe-check-perl \
1893 maybe-check-prms \
1894 maybe-check-rcs \
1895 maybe-check-readline \
1896 maybe-check-release \
1897 maybe-check-recode \
1898 maybe-check-sed \
1899 maybe-check-send-pr \
1900 maybe-check-shellutils \
1901 maybe-check-sid \
1902 maybe-check-sim \
1903 maybe-check-tar \
1904 maybe-check-texinfo \
1905 maybe-check-textutils \
1906 maybe-check-time \
1907 maybe-check-uudecode \
1908 maybe-check-wdiff \
1909 maybe-check-zip \
1910 maybe-check-zlib \
1911 maybe-check-gdb \
1912 maybe-check-expect \
1913 maybe-check-guile \
1914 maybe-check-tk \
1915 maybe-check-libtermcap \
1916 maybe-check-utils \
1917 maybe-check-gnattools \
1918 maybe-check-target-libstdc++-v3 \
1919 maybe-check-target-libmudflap \
1920 maybe-check-target-newlib \
1921 maybe-check-target-libgfortran \
1922 maybe-check-target-libobjc \
1923 maybe-check-target-libtermcap \
1924 maybe-check-target-winsup \
1925 maybe-check-target-libgloss \
1926 maybe-check-target-libiberty \
1927 maybe-check-target-gperf \
1928 maybe-check-target-examples \
1929 maybe-check-target-libffi \
1930 maybe-check-target-libjava \
1931 maybe-check-target-zlib \
1932 maybe-check-target-boehm-gc \
1933 maybe-check-target-qthreads \
1934 maybe-check-target-rda \
1935 maybe-check-target-libada stage
1937 # Automated reporting of test results.
1939 warning.log: build.log
1940 $(srcdir)/contrib/warn_summary build.log > $@
1942 mail-report.log:
1943 if test x'$(BOOT_CFLAGS)' != x''; then \
1944 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1945 fi; \
1946 $(srcdir)/contrib/test_summary -t >$@
1947 chmod +x $@
1948 echo If you really want to send e-mail, run ./$@ now
1950 mail-report-with-warnings.log: warning.log
1951 if test x'$(BOOT_CFLAGS)' != x''; then \
1952 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1953 fi; \
1954 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1955 chmod +x $@
1956 echo If you really want to send e-mail, run ./$@ now
1958 # Installation targets.
1960 .PHONY: install uninstall
1961 install: installdirs install-host install-target
1963 .PHONY: install-host-nogcc
1964 install-host-nogcc: \
1965 maybe-install-ash \
1966 maybe-install-autoconf \
1967 maybe-install-automake \
1968 maybe-install-bash \
1969 maybe-install-bfd \
1970 maybe-install-opcodes \
1971 maybe-install-binutils \
1972 maybe-install-bison \
1973 maybe-install-byacc \
1974 maybe-install-bzip2 \
1975 maybe-install-dejagnu \
1976 maybe-install-diff \
1977 maybe-install-dosutils \
1978 maybe-install-etc \
1979 maybe-install-fastjar \
1980 maybe-install-fileutils \
1981 maybe-install-findutils \
1982 maybe-install-find \
1983 maybe-install-fixincludes \
1984 maybe-install-flex \
1985 maybe-install-gas \
1986 maybe-install-gawk \
1987 maybe-install-gettext \
1988 maybe-install-gnuserv \
1989 maybe-install-gprof \
1990 maybe-install-gzip \
1991 maybe-install-hello \
1992 maybe-install-indent \
1993 maybe-install-intl \
1994 maybe-install-tcl \
1995 maybe-install-itcl \
1996 maybe-install-ld \
1997 maybe-install-libcpp \
1998 maybe-install-libgui \
1999 maybe-install-libiberty \
2000 maybe-install-libtool \
2001 maybe-install-m4 \
2002 maybe-install-make \
2003 maybe-install-mmalloc \
2004 maybe-install-patch \
2005 maybe-install-perl \
2006 maybe-install-prms \
2007 maybe-install-rcs \
2008 maybe-install-readline \
2009 maybe-install-release \
2010 maybe-install-recode \
2011 maybe-install-sed \
2012 maybe-install-send-pr \
2013 maybe-install-shellutils \
2014 maybe-install-sid \
2015 maybe-install-sim \
2016 maybe-install-tar \
2017 maybe-install-texinfo \
2018 maybe-install-textutils \
2019 maybe-install-time \
2020 maybe-install-uudecode \
2021 maybe-install-wdiff \
2022 maybe-install-zip \
2023 maybe-install-zlib \
2024 maybe-install-gdb \
2025 maybe-install-expect \
2026 maybe-install-guile \
2027 maybe-install-tk \
2028 maybe-install-libtermcap \
2029 maybe-install-utils \
2030 maybe-install-gnattools
2032 .PHONY: install-host
2033 install-host: \
2034 maybe-install-ash \
2035 maybe-install-autoconf \
2036 maybe-install-automake \
2037 maybe-install-bash \
2038 maybe-install-bfd \
2039 maybe-install-opcodes \
2040 maybe-install-binutils \
2041 maybe-install-bison \
2042 maybe-install-byacc \
2043 maybe-install-bzip2 \
2044 maybe-install-dejagnu \
2045 maybe-install-diff \
2046 maybe-install-dosutils \
2047 maybe-install-etc \
2048 maybe-install-fastjar \
2049 maybe-install-fileutils \
2050 maybe-install-findutils \
2051 maybe-install-find \
2052 maybe-install-fixincludes \
2053 maybe-install-flex \
2054 maybe-install-gas \
2055 maybe-install-gcc \
2056 maybe-install-gawk \
2057 maybe-install-gettext \
2058 maybe-install-gnuserv \
2059 maybe-install-gprof \
2060 maybe-install-gzip \
2061 maybe-install-hello \
2062 maybe-install-indent \
2063 maybe-install-intl \
2064 maybe-install-tcl \
2065 maybe-install-itcl \
2066 maybe-install-ld \
2067 maybe-install-libcpp \
2068 maybe-install-libgui \
2069 maybe-install-libiberty \
2070 maybe-install-libtool \
2071 maybe-install-m4 \
2072 maybe-install-make \
2073 maybe-install-mmalloc \
2074 maybe-install-patch \
2075 maybe-install-perl \
2076 maybe-install-prms \
2077 maybe-install-rcs \
2078 maybe-install-readline \
2079 maybe-install-release \
2080 maybe-install-recode \
2081 maybe-install-sed \
2082 maybe-install-send-pr \
2083 maybe-install-shellutils \
2084 maybe-install-sid \
2085 maybe-install-sim \
2086 maybe-install-tar \
2087 maybe-install-texinfo \
2088 maybe-install-textutils \
2089 maybe-install-time \
2090 maybe-install-uudecode \
2091 maybe-install-wdiff \
2092 maybe-install-zip \
2093 maybe-install-zlib \
2094 maybe-install-gdb \
2095 maybe-install-expect \
2096 maybe-install-guile \
2097 maybe-install-tk \
2098 maybe-install-libtermcap \
2099 maybe-install-utils \
2100 maybe-install-gnattools
2102 .PHONY: install-target
2103 install-target: \
2104 maybe-install-target-libstdc++-v3 \
2105 maybe-install-target-libmudflap \
2106 maybe-install-target-newlib \
2107 maybe-install-target-libgfortran \
2108 maybe-install-target-libobjc \
2109 maybe-install-target-libtermcap \
2110 maybe-install-target-winsup \
2111 maybe-install-target-libgloss \
2112 maybe-install-target-libiberty \
2113 maybe-install-target-gperf \
2114 maybe-install-target-examples \
2115 maybe-install-target-libffi \
2116 maybe-install-target-libjava \
2117 maybe-install-target-zlib \
2118 maybe-install-target-boehm-gc \
2119 maybe-install-target-qthreads \
2120 maybe-install-target-rda \
2121 maybe-install-target-libada
2123 uninstall:
2124 @echo "the uninstall target is not supported in this tree"
2126 .PHONY: install.all
2127 install.all: install-no-fixedincludes
2128 @if [ -f ./gcc/Makefile ] ; then \
2129 r=`${PWD_COMMAND}` ; export r ; \
2130 $(SET_LIB_PATH) \
2131 $(HOST_EXPORTS) \
2132 (cd ./gcc && \
2133 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2134 else \
2135 true ; \
2138 # install-no-fixedincludes is used because Cygnus can not distribute
2139 # the fixed header files.
2140 .PHONY: install-no-fixedincludes
2141 install-no-fixedincludes: installdirs install-host-nogcc \
2142 install-target gcc-no-fixedincludes
2144 ### other supporting targets
2146 MAKEDIRS= \
2147 $(DESTDIR)$(prefix) \
2148 $(DESTDIR)$(exec_prefix)
2149 .PHONY: installdirs
2150 installdirs: mkinstalldirs
2151 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2153 dir.info: do-install-info
2154 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2155 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2156 mv -f dir.info.new dir.info ; \
2157 else true ; \
2160 dist:
2161 @echo "Building a full distribution of this tree isn't done"
2162 @echo "via 'make dist'. Check out the etc/ subdirectory"
2164 etags tags: TAGS
2166 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2167 # ability to use several tags files at once, so there is probably no need
2168 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2169 # (if we felt like it) have this Makefile write a piece of elisp which
2170 # the user could load to tell emacs19 where all the TAGS files we just
2171 # built are.
2172 TAGS: do-TAGS
2174 # --------------------------------------
2175 # Modules which run on the build machine
2176 # --------------------------------------
2178 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2179 maybe-configure-build-libiberty:
2180 @if build-libiberty
2181 maybe-configure-build-libiberty: configure-build-libiberty
2182 configure-build-libiberty:
2183 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2184 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2185 r=`${PWD_COMMAND}`; export r; \
2186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2187 $(BUILD_EXPORTS) \
2188 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2189 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2190 case $(srcdir) in \
2191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2192 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2194 esac; \
2195 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2196 libsrcdir="$$s/libiberty"; \
2197 rm -f no-such-file || : ; \
2198 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2199 $(BUILD_CONFIGARGS) $${srcdiroption} \
2200 --with-build-subdir="$(BUILD_SUBDIR)" \
2201 || exit 1
2202 @endif build-libiberty
2204 .PHONY: all-build-libiberty maybe-all-build-libiberty
2205 maybe-all-build-libiberty:
2206 @if build-libiberty
2207 TARGET-build-libiberty=all
2208 maybe-all-build-libiberty: all-build-libiberty
2209 all-build-libiberty: configure-build-libiberty
2210 @r=`${PWD_COMMAND}`; export r; \
2211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2212 $(BUILD_EXPORTS) \
2213 (cd $(BUILD_SUBDIR)/libiberty && \
2214 $(MAKE) $(TARGET-build-libiberty))
2215 @endif build-libiberty
2217 .PHONY: configure-build-bison maybe-configure-build-bison
2218 maybe-configure-build-bison:
2219 @if build-bison
2220 maybe-configure-build-bison: configure-build-bison
2221 configure-build-bison:
2222 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2223 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2224 r=`${PWD_COMMAND}`; export r; \
2225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2226 $(BUILD_EXPORTS) \
2227 echo Configuring in $(BUILD_SUBDIR)/bison; \
2228 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2229 case $(srcdir) in \
2230 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2231 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2232 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2233 esac; \
2234 srcdiroption="--srcdir=$${topdir}/bison"; \
2235 libsrcdir="$$s/bison"; \
2236 rm -f no-such-file || : ; \
2237 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2238 $(BUILD_CONFIGARGS) $${srcdiroption} \
2239 --with-build-subdir="$(BUILD_SUBDIR)" \
2240 || exit 1
2241 @endif build-bison
2243 .PHONY: all-build-bison maybe-all-build-bison
2244 maybe-all-build-bison:
2245 @if build-bison
2246 TARGET-build-bison=all
2247 maybe-all-build-bison: all-build-bison
2248 all-build-bison: configure-build-bison
2249 @r=`${PWD_COMMAND}`; export r; \
2250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2251 $(BUILD_EXPORTS) \
2252 (cd $(BUILD_SUBDIR)/bison && \
2253 $(MAKE) $(TARGET-build-bison))
2254 @endif build-bison
2256 .PHONY: configure-build-byacc maybe-configure-build-byacc
2257 maybe-configure-build-byacc:
2258 @if build-byacc
2259 maybe-configure-build-byacc: configure-build-byacc
2260 configure-build-byacc:
2261 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2262 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2263 r=`${PWD_COMMAND}`; export r; \
2264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2265 $(BUILD_EXPORTS) \
2266 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2267 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2268 case $(srcdir) in \
2269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2270 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2272 esac; \
2273 srcdiroption="--srcdir=$${topdir}/byacc"; \
2274 libsrcdir="$$s/byacc"; \
2275 rm -f no-such-file || : ; \
2276 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2277 $(BUILD_CONFIGARGS) $${srcdiroption} \
2278 --with-build-subdir="$(BUILD_SUBDIR)" \
2279 || exit 1
2280 @endif build-byacc
2282 .PHONY: all-build-byacc maybe-all-build-byacc
2283 maybe-all-build-byacc:
2284 @if build-byacc
2285 TARGET-build-byacc=all
2286 maybe-all-build-byacc: all-build-byacc
2287 all-build-byacc: configure-build-byacc
2288 @r=`${PWD_COMMAND}`; export r; \
2289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2290 $(BUILD_EXPORTS) \
2291 (cd $(BUILD_SUBDIR)/byacc && \
2292 $(MAKE) $(TARGET-build-byacc))
2293 @endif build-byacc
2295 .PHONY: configure-build-flex maybe-configure-build-flex
2296 maybe-configure-build-flex:
2297 @if build-flex
2298 maybe-configure-build-flex: configure-build-flex
2299 configure-build-flex:
2300 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2301 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2302 r=`${PWD_COMMAND}`; export r; \
2303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2304 $(BUILD_EXPORTS) \
2305 echo Configuring in $(BUILD_SUBDIR)/flex; \
2306 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2307 case $(srcdir) in \
2308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2309 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2311 esac; \
2312 srcdiroption="--srcdir=$${topdir}/flex"; \
2313 libsrcdir="$$s/flex"; \
2314 rm -f no-such-file || : ; \
2315 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2316 $(BUILD_CONFIGARGS) $${srcdiroption} \
2317 --with-build-subdir="$(BUILD_SUBDIR)" \
2318 || exit 1
2319 @endif build-flex
2321 .PHONY: all-build-flex maybe-all-build-flex
2322 maybe-all-build-flex:
2323 @if build-flex
2324 TARGET-build-flex=all
2325 maybe-all-build-flex: all-build-flex
2326 all-build-flex: configure-build-flex
2327 @r=`${PWD_COMMAND}`; export r; \
2328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2329 $(BUILD_EXPORTS) \
2330 (cd $(BUILD_SUBDIR)/flex && \
2331 $(MAKE) $(TARGET-build-flex))
2332 @endif build-flex
2334 .PHONY: configure-build-m4 maybe-configure-build-m4
2335 maybe-configure-build-m4:
2336 @if build-m4
2337 maybe-configure-build-m4: configure-build-m4
2338 configure-build-m4:
2339 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2340 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2341 r=`${PWD_COMMAND}`; export r; \
2342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2343 $(BUILD_EXPORTS) \
2344 echo Configuring in $(BUILD_SUBDIR)/m4; \
2345 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2346 case $(srcdir) in \
2347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2348 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2350 esac; \
2351 srcdiroption="--srcdir=$${topdir}/m4"; \
2352 libsrcdir="$$s/m4"; \
2353 rm -f no-such-file || : ; \
2354 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2355 $(BUILD_CONFIGARGS) $${srcdiroption} \
2356 --with-build-subdir="$(BUILD_SUBDIR)" \
2357 || exit 1
2358 @endif build-m4
2360 .PHONY: all-build-m4 maybe-all-build-m4
2361 maybe-all-build-m4:
2362 @if build-m4
2363 TARGET-build-m4=all
2364 maybe-all-build-m4: all-build-m4
2365 all-build-m4: configure-build-m4
2366 @r=`${PWD_COMMAND}`; export r; \
2367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2368 $(BUILD_EXPORTS) \
2369 (cd $(BUILD_SUBDIR)/m4 && \
2370 $(MAKE) $(TARGET-build-m4))
2371 @endif build-m4
2373 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2374 maybe-configure-build-texinfo:
2375 @if build-texinfo
2376 maybe-configure-build-texinfo: configure-build-texinfo
2377 configure-build-texinfo:
2378 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2379 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2380 r=`${PWD_COMMAND}`; export r; \
2381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2382 $(BUILD_EXPORTS) \
2383 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2384 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2385 case $(srcdir) in \
2386 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2387 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2388 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2389 esac; \
2390 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2391 libsrcdir="$$s/texinfo"; \
2392 rm -f no-such-file || : ; \
2393 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2394 $(BUILD_CONFIGARGS) $${srcdiroption} \
2395 --with-build-subdir="$(BUILD_SUBDIR)" \
2396 || exit 1
2397 @endif build-texinfo
2399 .PHONY: all-build-texinfo maybe-all-build-texinfo
2400 maybe-all-build-texinfo:
2401 @if build-texinfo
2402 TARGET-build-texinfo=all
2403 maybe-all-build-texinfo: all-build-texinfo
2404 all-build-texinfo: configure-build-texinfo
2405 @r=`${PWD_COMMAND}`; export r; \
2406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2407 $(BUILD_EXPORTS) \
2408 (cd $(BUILD_SUBDIR)/texinfo && \
2409 $(MAKE) $(TARGET-build-texinfo))
2410 @endif build-texinfo
2412 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2413 maybe-configure-build-fixincludes:
2414 @if build-fixincludes
2415 maybe-configure-build-fixincludes: configure-build-fixincludes
2416 configure-build-fixincludes:
2417 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2418 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2419 r=`${PWD_COMMAND}`; export r; \
2420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2421 $(BUILD_EXPORTS) \
2422 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2423 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2424 case $(srcdir) in \
2425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2426 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2428 esac; \
2429 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2430 libsrcdir="$$s/fixincludes"; \
2431 rm -f no-such-file || : ; \
2432 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2433 $(BUILD_CONFIGARGS) $${srcdiroption} \
2434 --with-build-subdir="$(BUILD_SUBDIR)" \
2435 || exit 1
2436 @endif build-fixincludes
2438 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2439 maybe-all-build-fixincludes:
2440 @if build-fixincludes
2441 TARGET-build-fixincludes=all
2442 maybe-all-build-fixincludes: all-build-fixincludes
2443 all-build-fixincludes: configure-build-fixincludes
2444 @r=`${PWD_COMMAND}`; export r; \
2445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2446 $(BUILD_EXPORTS) \
2447 (cd $(BUILD_SUBDIR)/fixincludes && \
2448 $(MAKE) $(TARGET-build-fixincludes))
2449 @endif build-fixincludes
2452 # --------------------------------------
2453 # Modules which run on the host machine
2454 # --------------------------------------
2456 .PHONY: configure-ash maybe-configure-ash
2457 maybe-configure-ash:
2458 @if ash
2459 maybe-configure-ash: configure-ash
2460 configure-ash:
2461 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2462 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2463 r=`${PWD_COMMAND}`; export r; \
2464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2465 $(HOST_EXPORTS) \
2466 echo Configuring in ash; \
2467 cd $(HOST_SUBDIR)/ash || exit 1; \
2468 case $(srcdir) in \
2469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2470 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2472 esac; \
2473 srcdiroption="--srcdir=$${topdir}/ash"; \
2474 libsrcdir="$$s/ash"; \
2475 $(SHELL) $${libsrcdir}/configure \
2476 $(HOST_CONFIGARGS) $${srcdiroption} \
2477 || exit 1
2478 @endif ash
2480 .PHONY: all-ash maybe-all-ash
2481 maybe-all-ash:
2482 @if ash
2483 TARGET-ash=all
2484 maybe-all-ash: all-ash
2485 all-ash: configure-ash
2486 @r=`${PWD_COMMAND}`; export r; \
2487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2488 $(SET_LIB_PATH) \
2489 $(HOST_EXPORTS) \
2490 (cd $(HOST_SUBDIR)/ash && \
2491 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2492 @endif ash
2494 .PHONY: check-ash maybe-check-ash
2495 maybe-check-ash:
2496 @if ash
2497 maybe-check-ash: check-ash
2499 check-ash:
2500 @r=`${PWD_COMMAND}`; export r; \
2501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2502 $(SET_LIB_PATH) \
2503 $(HOST_EXPORTS) \
2504 (cd $(HOST_SUBDIR)/ash && \
2505 $(MAKE) $(FLAGS_TO_PASS) check)
2507 @endif ash
2509 .PHONY: install-ash maybe-install-ash
2510 maybe-install-ash:
2511 @if ash
2512 maybe-install-ash: install-ash
2514 install-ash: installdirs
2515 @r=`${PWD_COMMAND}`; export r; \
2516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2517 $(SET_LIB_PATH) \
2518 $(HOST_EXPORTS) \
2519 (cd $(HOST_SUBDIR)/ash && \
2520 $(MAKE) $(FLAGS_TO_PASS) install)
2522 @endif ash
2524 # Other targets (info, dvi, etc.)
2526 .PHONY: maybe-info-ash info-ash
2527 maybe-info-ash:
2528 @if ash
2529 maybe-info-ash: info-ash
2531 info-ash: \
2532 configure-ash
2533 @[ -f ./ash/Makefile ] || exit 0; \
2534 r=`${PWD_COMMAND}`; export r; \
2535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2536 $(SET_LIB_PATH) \
2537 $(HOST_EXPORTS) \
2538 for flag in $(EXTRA_HOST_FLAGS) ; do \
2539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2540 done; \
2541 echo "Doing info in ash" ; \
2542 (cd $(HOST_SUBDIR)/ash && \
2543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2545 "RANLIB=$${RANLIB}" \
2546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2547 info) \
2548 || exit 1
2550 @endif ash
2552 .PHONY: maybe-dvi-ash dvi-ash
2553 maybe-dvi-ash:
2554 @if ash
2555 maybe-dvi-ash: dvi-ash
2557 dvi-ash: \
2558 configure-ash
2559 @[ -f ./ash/Makefile ] || exit 0; \
2560 r=`${PWD_COMMAND}`; export r; \
2561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2562 $(SET_LIB_PATH) \
2563 $(HOST_EXPORTS) \
2564 for flag in $(EXTRA_HOST_FLAGS) ; do \
2565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2566 done; \
2567 echo "Doing dvi in ash" ; \
2568 (cd $(HOST_SUBDIR)/ash && \
2569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2571 "RANLIB=$${RANLIB}" \
2572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2573 dvi) \
2574 || exit 1
2576 @endif ash
2578 .PHONY: maybe-html-ash html-ash
2579 maybe-html-ash:
2580 @if ash
2581 maybe-html-ash: html-ash
2583 html-ash: \
2584 configure-ash
2585 @[ -f ./ash/Makefile ] || exit 0; \
2586 r=`${PWD_COMMAND}`; export r; \
2587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2588 $(SET_LIB_PATH) \
2589 $(HOST_EXPORTS) \
2590 for flag in $(EXTRA_HOST_FLAGS) ; do \
2591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2592 done; \
2593 echo "Doing html in ash" ; \
2594 (cd $(HOST_SUBDIR)/ash && \
2595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2597 "RANLIB=$${RANLIB}" \
2598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2599 html) \
2600 || exit 1
2602 @endif ash
2604 .PHONY: maybe-TAGS-ash TAGS-ash
2605 maybe-TAGS-ash:
2606 @if ash
2607 maybe-TAGS-ash: TAGS-ash
2609 TAGS-ash: \
2610 configure-ash
2611 @[ -f ./ash/Makefile ] || exit 0; \
2612 r=`${PWD_COMMAND}`; export r; \
2613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2614 $(SET_LIB_PATH) \
2615 $(HOST_EXPORTS) \
2616 for flag in $(EXTRA_HOST_FLAGS) ; do \
2617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2618 done; \
2619 echo "Doing TAGS in ash" ; \
2620 (cd $(HOST_SUBDIR)/ash && \
2621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2623 "RANLIB=$${RANLIB}" \
2624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2625 TAGS) \
2626 || exit 1
2628 @endif ash
2630 .PHONY: maybe-install-info-ash install-info-ash
2631 maybe-install-info-ash:
2632 @if ash
2633 maybe-install-info-ash: install-info-ash
2635 install-info-ash: \
2636 configure-ash \
2637 info-ash
2638 @[ -f ./ash/Makefile ] || exit 0; \
2639 r=`${PWD_COMMAND}`; export r; \
2640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2641 $(SET_LIB_PATH) \
2642 $(HOST_EXPORTS) \
2643 for flag in $(EXTRA_HOST_FLAGS) ; do \
2644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2645 done; \
2646 echo "Doing install-info in ash" ; \
2647 (cd $(HOST_SUBDIR)/ash && \
2648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2650 "RANLIB=$${RANLIB}" \
2651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2652 install-info) \
2653 || exit 1
2655 @endif ash
2657 .PHONY: maybe-installcheck-ash installcheck-ash
2658 maybe-installcheck-ash:
2659 @if ash
2660 maybe-installcheck-ash: installcheck-ash
2662 installcheck-ash: \
2663 configure-ash
2664 @[ -f ./ash/Makefile ] || exit 0; \
2665 r=`${PWD_COMMAND}`; export r; \
2666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2667 $(SET_LIB_PATH) \
2668 $(HOST_EXPORTS) \
2669 for flag in $(EXTRA_HOST_FLAGS) ; do \
2670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2671 done; \
2672 echo "Doing installcheck in ash" ; \
2673 (cd $(HOST_SUBDIR)/ash && \
2674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2676 "RANLIB=$${RANLIB}" \
2677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2678 installcheck) \
2679 || exit 1
2681 @endif ash
2683 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2684 maybe-mostlyclean-ash:
2685 @if ash
2686 maybe-mostlyclean-ash: mostlyclean-ash
2688 mostlyclean-ash:
2689 @[ -f ./ash/Makefile ] || exit 0; \
2690 r=`${PWD_COMMAND}`; export r; \
2691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2692 $(SET_LIB_PATH) \
2693 $(HOST_EXPORTS) \
2694 for flag in $(EXTRA_HOST_FLAGS) ; do \
2695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2696 done; \
2697 echo "Doing mostlyclean in ash" ; \
2698 (cd $(HOST_SUBDIR)/ash && \
2699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2701 "RANLIB=$${RANLIB}" \
2702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2703 mostlyclean) \
2704 || exit 1
2706 @endif ash
2708 .PHONY: maybe-clean-ash clean-ash
2709 maybe-clean-ash:
2710 @if ash
2711 maybe-clean-ash: clean-ash
2713 clean-ash:
2714 @[ -f ./ash/Makefile ] || exit 0; \
2715 r=`${PWD_COMMAND}`; export r; \
2716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2717 $(SET_LIB_PATH) \
2718 $(HOST_EXPORTS) \
2719 for flag in $(EXTRA_HOST_FLAGS) ; do \
2720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2721 done; \
2722 echo "Doing clean in ash" ; \
2723 (cd $(HOST_SUBDIR)/ash && \
2724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2726 "RANLIB=$${RANLIB}" \
2727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2728 clean) \
2729 || exit 1
2731 @endif ash
2733 .PHONY: maybe-distclean-ash distclean-ash
2734 maybe-distclean-ash:
2735 @if ash
2736 maybe-distclean-ash: distclean-ash
2738 distclean-ash:
2739 @[ -f ./ash/Makefile ] || exit 0; \
2740 r=`${PWD_COMMAND}`; export r; \
2741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2742 $(SET_LIB_PATH) \
2743 $(HOST_EXPORTS) \
2744 for flag in $(EXTRA_HOST_FLAGS) ; do \
2745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2746 done; \
2747 echo "Doing distclean in ash" ; \
2748 (cd $(HOST_SUBDIR)/ash && \
2749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2751 "RANLIB=$${RANLIB}" \
2752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2753 distclean) \
2754 || exit 1
2756 @endif ash
2758 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2759 maybe-maintainer-clean-ash:
2760 @if ash
2761 maybe-maintainer-clean-ash: maintainer-clean-ash
2763 maintainer-clean-ash:
2764 @[ -f ./ash/Makefile ] || exit 0; \
2765 r=`${PWD_COMMAND}`; export r; \
2766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2767 $(SET_LIB_PATH) \
2768 $(HOST_EXPORTS) \
2769 for flag in $(EXTRA_HOST_FLAGS) ; do \
2770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2771 done; \
2772 echo "Doing maintainer-clean in ash" ; \
2773 (cd $(HOST_SUBDIR)/ash && \
2774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2776 "RANLIB=$${RANLIB}" \
2777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2778 maintainer-clean) \
2779 || exit 1
2781 @endif ash
2784 .PHONY: configure-autoconf maybe-configure-autoconf
2785 maybe-configure-autoconf:
2786 @if autoconf
2787 maybe-configure-autoconf: configure-autoconf
2788 configure-autoconf:
2789 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2790 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2791 r=`${PWD_COMMAND}`; export r; \
2792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2793 $(HOST_EXPORTS) \
2794 echo Configuring in autoconf; \
2795 cd $(HOST_SUBDIR)/autoconf || exit 1; \
2796 case $(srcdir) in \
2797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2798 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2800 esac; \
2801 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2802 libsrcdir="$$s/autoconf"; \
2803 $(SHELL) $${libsrcdir}/configure \
2804 $(HOST_CONFIGARGS) $${srcdiroption} \
2805 || exit 1
2806 @endif autoconf
2808 .PHONY: all-autoconf maybe-all-autoconf
2809 maybe-all-autoconf:
2810 @if autoconf
2811 TARGET-autoconf=all
2812 maybe-all-autoconf: all-autoconf
2813 all-autoconf: configure-autoconf
2814 @r=`${PWD_COMMAND}`; export r; \
2815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2816 $(SET_LIB_PATH) \
2817 $(HOST_EXPORTS) \
2818 (cd $(HOST_SUBDIR)/autoconf && \
2819 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2820 @endif autoconf
2822 .PHONY: check-autoconf maybe-check-autoconf
2823 maybe-check-autoconf:
2824 @if autoconf
2825 maybe-check-autoconf: check-autoconf
2827 check-autoconf:
2828 @r=`${PWD_COMMAND}`; export r; \
2829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2830 $(SET_LIB_PATH) \
2831 $(HOST_EXPORTS) \
2832 (cd $(HOST_SUBDIR)/autoconf && \
2833 $(MAKE) $(FLAGS_TO_PASS) check)
2835 @endif autoconf
2837 .PHONY: install-autoconf maybe-install-autoconf
2838 maybe-install-autoconf:
2839 @if autoconf
2840 maybe-install-autoconf: install-autoconf
2842 install-autoconf: installdirs
2843 @r=`${PWD_COMMAND}`; export r; \
2844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2845 $(SET_LIB_PATH) \
2846 $(HOST_EXPORTS) \
2847 (cd $(HOST_SUBDIR)/autoconf && \
2848 $(MAKE) $(FLAGS_TO_PASS) install)
2850 @endif autoconf
2852 # Other targets (info, dvi, etc.)
2854 .PHONY: maybe-info-autoconf info-autoconf
2855 maybe-info-autoconf:
2856 @if autoconf
2857 maybe-info-autoconf: info-autoconf
2859 info-autoconf: \
2860 configure-autoconf
2861 @[ -f ./autoconf/Makefile ] || exit 0; \
2862 r=`${PWD_COMMAND}`; export r; \
2863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2864 $(SET_LIB_PATH) \
2865 $(HOST_EXPORTS) \
2866 for flag in $(EXTRA_HOST_FLAGS) ; do \
2867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2868 done; \
2869 echo "Doing info in autoconf" ; \
2870 (cd $(HOST_SUBDIR)/autoconf && \
2871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2873 "RANLIB=$${RANLIB}" \
2874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2875 info) \
2876 || exit 1
2878 @endif autoconf
2880 .PHONY: maybe-dvi-autoconf dvi-autoconf
2881 maybe-dvi-autoconf:
2882 @if autoconf
2883 maybe-dvi-autoconf: dvi-autoconf
2885 dvi-autoconf: \
2886 configure-autoconf
2887 @[ -f ./autoconf/Makefile ] || exit 0; \
2888 r=`${PWD_COMMAND}`; export r; \
2889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2890 $(SET_LIB_PATH) \
2891 $(HOST_EXPORTS) \
2892 for flag in $(EXTRA_HOST_FLAGS) ; do \
2893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2894 done; \
2895 echo "Doing dvi in autoconf" ; \
2896 (cd $(HOST_SUBDIR)/autoconf && \
2897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2899 "RANLIB=$${RANLIB}" \
2900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2901 dvi) \
2902 || exit 1
2904 @endif autoconf
2906 .PHONY: maybe-html-autoconf html-autoconf
2907 maybe-html-autoconf:
2908 @if autoconf
2909 maybe-html-autoconf: html-autoconf
2911 html-autoconf: \
2912 configure-autoconf
2913 @[ -f ./autoconf/Makefile ] || exit 0; \
2914 r=`${PWD_COMMAND}`; export r; \
2915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2916 $(SET_LIB_PATH) \
2917 $(HOST_EXPORTS) \
2918 for flag in $(EXTRA_HOST_FLAGS) ; do \
2919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2920 done; \
2921 echo "Doing html in autoconf" ; \
2922 (cd $(HOST_SUBDIR)/autoconf && \
2923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2925 "RANLIB=$${RANLIB}" \
2926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2927 html) \
2928 || exit 1
2930 @endif autoconf
2932 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2933 maybe-TAGS-autoconf:
2934 @if autoconf
2935 maybe-TAGS-autoconf: TAGS-autoconf
2937 TAGS-autoconf: \
2938 configure-autoconf
2939 @[ -f ./autoconf/Makefile ] || exit 0; \
2940 r=`${PWD_COMMAND}`; export r; \
2941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2942 $(SET_LIB_PATH) \
2943 $(HOST_EXPORTS) \
2944 for flag in $(EXTRA_HOST_FLAGS) ; do \
2945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2946 done; \
2947 echo "Doing TAGS in autoconf" ; \
2948 (cd $(HOST_SUBDIR)/autoconf && \
2949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2951 "RANLIB=$${RANLIB}" \
2952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2953 TAGS) \
2954 || exit 1
2956 @endif autoconf
2958 .PHONY: maybe-install-info-autoconf install-info-autoconf
2959 maybe-install-info-autoconf:
2960 @if autoconf
2961 maybe-install-info-autoconf: install-info-autoconf
2963 install-info-autoconf: \
2964 configure-autoconf \
2965 info-autoconf
2966 @[ -f ./autoconf/Makefile ] || exit 0; \
2967 r=`${PWD_COMMAND}`; export r; \
2968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2969 $(SET_LIB_PATH) \
2970 $(HOST_EXPORTS) \
2971 for flag in $(EXTRA_HOST_FLAGS) ; do \
2972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2973 done; \
2974 echo "Doing install-info in autoconf" ; \
2975 (cd $(HOST_SUBDIR)/autoconf && \
2976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2978 "RANLIB=$${RANLIB}" \
2979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2980 install-info) \
2981 || exit 1
2983 @endif autoconf
2985 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2986 maybe-installcheck-autoconf:
2987 @if autoconf
2988 maybe-installcheck-autoconf: installcheck-autoconf
2990 installcheck-autoconf: \
2991 configure-autoconf
2992 @[ -f ./autoconf/Makefile ] || exit 0; \
2993 r=`${PWD_COMMAND}`; export r; \
2994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2995 $(SET_LIB_PATH) \
2996 $(HOST_EXPORTS) \
2997 for flag in $(EXTRA_HOST_FLAGS) ; do \
2998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2999 done; \
3000 echo "Doing installcheck in autoconf" ; \
3001 (cd $(HOST_SUBDIR)/autoconf && \
3002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3004 "RANLIB=$${RANLIB}" \
3005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3006 installcheck) \
3007 || exit 1
3009 @endif autoconf
3011 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3012 maybe-mostlyclean-autoconf:
3013 @if autoconf
3014 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3016 mostlyclean-autoconf:
3017 @[ -f ./autoconf/Makefile ] || exit 0; \
3018 r=`${PWD_COMMAND}`; export r; \
3019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3020 $(SET_LIB_PATH) \
3021 $(HOST_EXPORTS) \
3022 for flag in $(EXTRA_HOST_FLAGS) ; do \
3023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3024 done; \
3025 echo "Doing mostlyclean in autoconf" ; \
3026 (cd $(HOST_SUBDIR)/autoconf && \
3027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3029 "RANLIB=$${RANLIB}" \
3030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3031 mostlyclean) \
3032 || exit 1
3034 @endif autoconf
3036 .PHONY: maybe-clean-autoconf clean-autoconf
3037 maybe-clean-autoconf:
3038 @if autoconf
3039 maybe-clean-autoconf: clean-autoconf
3041 clean-autoconf:
3042 @[ -f ./autoconf/Makefile ] || exit 0; \
3043 r=`${PWD_COMMAND}`; export r; \
3044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3045 $(SET_LIB_PATH) \
3046 $(HOST_EXPORTS) \
3047 for flag in $(EXTRA_HOST_FLAGS) ; do \
3048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3049 done; \
3050 echo "Doing clean in autoconf" ; \
3051 (cd $(HOST_SUBDIR)/autoconf && \
3052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3054 "RANLIB=$${RANLIB}" \
3055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3056 clean) \
3057 || exit 1
3059 @endif autoconf
3061 .PHONY: maybe-distclean-autoconf distclean-autoconf
3062 maybe-distclean-autoconf:
3063 @if autoconf
3064 maybe-distclean-autoconf: distclean-autoconf
3066 distclean-autoconf:
3067 @[ -f ./autoconf/Makefile ] || exit 0; \
3068 r=`${PWD_COMMAND}`; export r; \
3069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3070 $(SET_LIB_PATH) \
3071 $(HOST_EXPORTS) \
3072 for flag in $(EXTRA_HOST_FLAGS) ; do \
3073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3074 done; \
3075 echo "Doing distclean in autoconf" ; \
3076 (cd $(HOST_SUBDIR)/autoconf && \
3077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3079 "RANLIB=$${RANLIB}" \
3080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3081 distclean) \
3082 || exit 1
3084 @endif autoconf
3086 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3087 maybe-maintainer-clean-autoconf:
3088 @if autoconf
3089 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3091 maintainer-clean-autoconf:
3092 @[ -f ./autoconf/Makefile ] || exit 0; \
3093 r=`${PWD_COMMAND}`; export r; \
3094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3095 $(SET_LIB_PATH) \
3096 $(HOST_EXPORTS) \
3097 for flag in $(EXTRA_HOST_FLAGS) ; do \
3098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3099 done; \
3100 echo "Doing maintainer-clean in autoconf" ; \
3101 (cd $(HOST_SUBDIR)/autoconf && \
3102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3104 "RANLIB=$${RANLIB}" \
3105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3106 maintainer-clean) \
3107 || exit 1
3109 @endif autoconf
3112 .PHONY: configure-automake maybe-configure-automake
3113 maybe-configure-automake:
3114 @if automake
3115 maybe-configure-automake: configure-automake
3116 configure-automake:
3117 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3118 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3119 r=`${PWD_COMMAND}`; export r; \
3120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3121 $(HOST_EXPORTS) \
3122 echo Configuring in automake; \
3123 cd $(HOST_SUBDIR)/automake || exit 1; \
3124 case $(srcdir) in \
3125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3126 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3128 esac; \
3129 srcdiroption="--srcdir=$${topdir}/automake"; \
3130 libsrcdir="$$s/automake"; \
3131 $(SHELL) $${libsrcdir}/configure \
3132 $(HOST_CONFIGARGS) $${srcdiroption} \
3133 || exit 1
3134 @endif automake
3136 .PHONY: all-automake maybe-all-automake
3137 maybe-all-automake:
3138 @if automake
3139 TARGET-automake=all
3140 maybe-all-automake: all-automake
3141 all-automake: configure-automake
3142 @r=`${PWD_COMMAND}`; export r; \
3143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3144 $(SET_LIB_PATH) \
3145 $(HOST_EXPORTS) \
3146 (cd $(HOST_SUBDIR)/automake && \
3147 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3148 @endif automake
3150 .PHONY: check-automake maybe-check-automake
3151 maybe-check-automake:
3152 @if automake
3153 maybe-check-automake: check-automake
3155 check-automake:
3156 @r=`${PWD_COMMAND}`; export r; \
3157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3158 $(SET_LIB_PATH) \
3159 $(HOST_EXPORTS) \
3160 (cd $(HOST_SUBDIR)/automake && \
3161 $(MAKE) $(FLAGS_TO_PASS) check)
3163 @endif automake
3165 .PHONY: install-automake maybe-install-automake
3166 maybe-install-automake:
3167 @if automake
3168 maybe-install-automake: install-automake
3170 install-automake: installdirs
3171 @r=`${PWD_COMMAND}`; export r; \
3172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3173 $(SET_LIB_PATH) \
3174 $(HOST_EXPORTS) \
3175 (cd $(HOST_SUBDIR)/automake && \
3176 $(MAKE) $(FLAGS_TO_PASS) install)
3178 @endif automake
3180 # Other targets (info, dvi, etc.)
3182 .PHONY: maybe-info-automake info-automake
3183 maybe-info-automake:
3184 @if automake
3185 maybe-info-automake: info-automake
3187 info-automake: \
3188 configure-automake
3189 @[ -f ./automake/Makefile ] || exit 0; \
3190 r=`${PWD_COMMAND}`; export r; \
3191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3192 $(SET_LIB_PATH) \
3193 $(HOST_EXPORTS) \
3194 for flag in $(EXTRA_HOST_FLAGS) ; do \
3195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3196 done; \
3197 echo "Doing info in automake" ; \
3198 (cd $(HOST_SUBDIR)/automake && \
3199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3201 "RANLIB=$${RANLIB}" \
3202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3203 info) \
3204 || exit 1
3206 @endif automake
3208 .PHONY: maybe-dvi-automake dvi-automake
3209 maybe-dvi-automake:
3210 @if automake
3211 maybe-dvi-automake: dvi-automake
3213 dvi-automake: \
3214 configure-automake
3215 @[ -f ./automake/Makefile ] || exit 0; \
3216 r=`${PWD_COMMAND}`; export r; \
3217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3218 $(SET_LIB_PATH) \
3219 $(HOST_EXPORTS) \
3220 for flag in $(EXTRA_HOST_FLAGS) ; do \
3221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3222 done; \
3223 echo "Doing dvi in automake" ; \
3224 (cd $(HOST_SUBDIR)/automake && \
3225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3227 "RANLIB=$${RANLIB}" \
3228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3229 dvi) \
3230 || exit 1
3232 @endif automake
3234 .PHONY: maybe-html-automake html-automake
3235 maybe-html-automake:
3236 @if automake
3237 maybe-html-automake: html-automake
3239 html-automake: \
3240 configure-automake
3241 @[ -f ./automake/Makefile ] || exit 0; \
3242 r=`${PWD_COMMAND}`; export r; \
3243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3244 $(SET_LIB_PATH) \
3245 $(HOST_EXPORTS) \
3246 for flag in $(EXTRA_HOST_FLAGS) ; do \
3247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3248 done; \
3249 echo "Doing html in automake" ; \
3250 (cd $(HOST_SUBDIR)/automake && \
3251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3253 "RANLIB=$${RANLIB}" \
3254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3255 html) \
3256 || exit 1
3258 @endif automake
3260 .PHONY: maybe-TAGS-automake TAGS-automake
3261 maybe-TAGS-automake:
3262 @if automake
3263 maybe-TAGS-automake: TAGS-automake
3265 TAGS-automake: \
3266 configure-automake
3267 @[ -f ./automake/Makefile ] || exit 0; \
3268 r=`${PWD_COMMAND}`; export r; \
3269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3270 $(SET_LIB_PATH) \
3271 $(HOST_EXPORTS) \
3272 for flag in $(EXTRA_HOST_FLAGS) ; do \
3273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3274 done; \
3275 echo "Doing TAGS in automake" ; \
3276 (cd $(HOST_SUBDIR)/automake && \
3277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3279 "RANLIB=$${RANLIB}" \
3280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3281 TAGS) \
3282 || exit 1
3284 @endif automake
3286 .PHONY: maybe-install-info-automake install-info-automake
3287 maybe-install-info-automake:
3288 @if automake
3289 maybe-install-info-automake: install-info-automake
3291 install-info-automake: \
3292 configure-automake \
3293 info-automake
3294 @[ -f ./automake/Makefile ] || exit 0; \
3295 r=`${PWD_COMMAND}`; export r; \
3296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3297 $(SET_LIB_PATH) \
3298 $(HOST_EXPORTS) \
3299 for flag in $(EXTRA_HOST_FLAGS) ; do \
3300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3301 done; \
3302 echo "Doing install-info in automake" ; \
3303 (cd $(HOST_SUBDIR)/automake && \
3304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3306 "RANLIB=$${RANLIB}" \
3307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3308 install-info) \
3309 || exit 1
3311 @endif automake
3313 .PHONY: maybe-installcheck-automake installcheck-automake
3314 maybe-installcheck-automake:
3315 @if automake
3316 maybe-installcheck-automake: installcheck-automake
3318 installcheck-automake: \
3319 configure-automake
3320 @[ -f ./automake/Makefile ] || exit 0; \
3321 r=`${PWD_COMMAND}`; export r; \
3322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3323 $(SET_LIB_PATH) \
3324 $(HOST_EXPORTS) \
3325 for flag in $(EXTRA_HOST_FLAGS) ; do \
3326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3327 done; \
3328 echo "Doing installcheck in automake" ; \
3329 (cd $(HOST_SUBDIR)/automake && \
3330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3332 "RANLIB=$${RANLIB}" \
3333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3334 installcheck) \
3335 || exit 1
3337 @endif automake
3339 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3340 maybe-mostlyclean-automake:
3341 @if automake
3342 maybe-mostlyclean-automake: mostlyclean-automake
3344 mostlyclean-automake:
3345 @[ -f ./automake/Makefile ] || exit 0; \
3346 r=`${PWD_COMMAND}`; export r; \
3347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3348 $(SET_LIB_PATH) \
3349 $(HOST_EXPORTS) \
3350 for flag in $(EXTRA_HOST_FLAGS) ; do \
3351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3352 done; \
3353 echo "Doing mostlyclean in automake" ; \
3354 (cd $(HOST_SUBDIR)/automake && \
3355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3357 "RANLIB=$${RANLIB}" \
3358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3359 mostlyclean) \
3360 || exit 1
3362 @endif automake
3364 .PHONY: maybe-clean-automake clean-automake
3365 maybe-clean-automake:
3366 @if automake
3367 maybe-clean-automake: clean-automake
3369 clean-automake:
3370 @[ -f ./automake/Makefile ] || exit 0; \
3371 r=`${PWD_COMMAND}`; export r; \
3372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3373 $(SET_LIB_PATH) \
3374 $(HOST_EXPORTS) \
3375 for flag in $(EXTRA_HOST_FLAGS) ; do \
3376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3377 done; \
3378 echo "Doing clean in automake" ; \
3379 (cd $(HOST_SUBDIR)/automake && \
3380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3382 "RANLIB=$${RANLIB}" \
3383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3384 clean) \
3385 || exit 1
3387 @endif automake
3389 .PHONY: maybe-distclean-automake distclean-automake
3390 maybe-distclean-automake:
3391 @if automake
3392 maybe-distclean-automake: distclean-automake
3394 distclean-automake:
3395 @[ -f ./automake/Makefile ] || exit 0; \
3396 r=`${PWD_COMMAND}`; export r; \
3397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3398 $(SET_LIB_PATH) \
3399 $(HOST_EXPORTS) \
3400 for flag in $(EXTRA_HOST_FLAGS) ; do \
3401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3402 done; \
3403 echo "Doing distclean in automake" ; \
3404 (cd $(HOST_SUBDIR)/automake && \
3405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3407 "RANLIB=$${RANLIB}" \
3408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3409 distclean) \
3410 || exit 1
3412 @endif automake
3414 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3415 maybe-maintainer-clean-automake:
3416 @if automake
3417 maybe-maintainer-clean-automake: maintainer-clean-automake
3419 maintainer-clean-automake:
3420 @[ -f ./automake/Makefile ] || exit 0; \
3421 r=`${PWD_COMMAND}`; export r; \
3422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3423 $(SET_LIB_PATH) \
3424 $(HOST_EXPORTS) \
3425 for flag in $(EXTRA_HOST_FLAGS) ; do \
3426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3427 done; \
3428 echo "Doing maintainer-clean in automake" ; \
3429 (cd $(HOST_SUBDIR)/automake && \
3430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3432 "RANLIB=$${RANLIB}" \
3433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3434 maintainer-clean) \
3435 || exit 1
3437 @endif automake
3440 .PHONY: configure-bash maybe-configure-bash
3441 maybe-configure-bash:
3442 @if bash
3443 maybe-configure-bash: configure-bash
3444 configure-bash:
3445 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3446 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3447 r=`${PWD_COMMAND}`; export r; \
3448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3449 $(HOST_EXPORTS) \
3450 echo Configuring in bash; \
3451 cd $(HOST_SUBDIR)/bash || exit 1; \
3452 case $(srcdir) in \
3453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3454 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3456 esac; \
3457 srcdiroption="--srcdir=$${topdir}/bash"; \
3458 libsrcdir="$$s/bash"; \
3459 $(SHELL) $${libsrcdir}/configure \
3460 $(HOST_CONFIGARGS) $${srcdiroption} \
3461 || exit 1
3462 @endif bash
3464 .PHONY: all-bash maybe-all-bash
3465 maybe-all-bash:
3466 @if bash
3467 TARGET-bash=all
3468 maybe-all-bash: all-bash
3469 all-bash: configure-bash
3470 @r=`${PWD_COMMAND}`; export r; \
3471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3472 $(SET_LIB_PATH) \
3473 $(HOST_EXPORTS) \
3474 (cd $(HOST_SUBDIR)/bash && \
3475 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3476 @endif bash
3478 .PHONY: check-bash maybe-check-bash
3479 maybe-check-bash:
3480 @if bash
3481 maybe-check-bash: check-bash
3483 check-bash:
3484 @r=`${PWD_COMMAND}`; export r; \
3485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3486 $(SET_LIB_PATH) \
3487 $(HOST_EXPORTS) \
3488 (cd $(HOST_SUBDIR)/bash && \
3489 $(MAKE) $(FLAGS_TO_PASS) check)
3491 @endif bash
3493 .PHONY: install-bash maybe-install-bash
3494 maybe-install-bash:
3495 @if bash
3496 maybe-install-bash: install-bash
3498 install-bash: installdirs
3499 @r=`${PWD_COMMAND}`; export r; \
3500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3501 $(SET_LIB_PATH) \
3502 $(HOST_EXPORTS) \
3503 (cd $(HOST_SUBDIR)/bash && \
3504 $(MAKE) $(FLAGS_TO_PASS) install)
3506 @endif bash
3508 # Other targets (info, dvi, etc.)
3510 .PHONY: maybe-info-bash info-bash
3511 maybe-info-bash:
3512 @if bash
3513 maybe-info-bash: info-bash
3515 info-bash: \
3516 configure-bash
3517 @[ -f ./bash/Makefile ] || exit 0; \
3518 r=`${PWD_COMMAND}`; export r; \
3519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3520 $(SET_LIB_PATH) \
3521 $(HOST_EXPORTS) \
3522 for flag in $(EXTRA_HOST_FLAGS) ; do \
3523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3524 done; \
3525 echo "Doing info in bash" ; \
3526 (cd $(HOST_SUBDIR)/bash && \
3527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3529 "RANLIB=$${RANLIB}" \
3530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3531 info) \
3532 || exit 1
3534 @endif bash
3536 .PHONY: maybe-dvi-bash dvi-bash
3537 maybe-dvi-bash:
3538 @if bash
3539 maybe-dvi-bash: dvi-bash
3541 dvi-bash: \
3542 configure-bash
3543 @[ -f ./bash/Makefile ] || exit 0; \
3544 r=`${PWD_COMMAND}`; export r; \
3545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3546 $(SET_LIB_PATH) \
3547 $(HOST_EXPORTS) \
3548 for flag in $(EXTRA_HOST_FLAGS) ; do \
3549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3550 done; \
3551 echo "Doing dvi in bash" ; \
3552 (cd $(HOST_SUBDIR)/bash && \
3553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3555 "RANLIB=$${RANLIB}" \
3556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3557 dvi) \
3558 || exit 1
3560 @endif bash
3562 .PHONY: maybe-html-bash html-bash
3563 maybe-html-bash:
3564 @if bash
3565 maybe-html-bash: html-bash
3567 html-bash: \
3568 configure-bash
3569 @[ -f ./bash/Makefile ] || exit 0; \
3570 r=`${PWD_COMMAND}`; export r; \
3571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3572 $(SET_LIB_PATH) \
3573 $(HOST_EXPORTS) \
3574 for flag in $(EXTRA_HOST_FLAGS) ; do \
3575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3576 done; \
3577 echo "Doing html in bash" ; \
3578 (cd $(HOST_SUBDIR)/bash && \
3579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3581 "RANLIB=$${RANLIB}" \
3582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3583 html) \
3584 || exit 1
3586 @endif bash
3588 .PHONY: maybe-TAGS-bash TAGS-bash
3589 maybe-TAGS-bash:
3590 @if bash
3591 maybe-TAGS-bash: TAGS-bash
3593 TAGS-bash: \
3594 configure-bash
3595 @[ -f ./bash/Makefile ] || exit 0; \
3596 r=`${PWD_COMMAND}`; export r; \
3597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3598 $(SET_LIB_PATH) \
3599 $(HOST_EXPORTS) \
3600 for flag in $(EXTRA_HOST_FLAGS) ; do \
3601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3602 done; \
3603 echo "Doing TAGS in bash" ; \
3604 (cd $(HOST_SUBDIR)/bash && \
3605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3607 "RANLIB=$${RANLIB}" \
3608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3609 TAGS) \
3610 || exit 1
3612 @endif bash
3614 .PHONY: maybe-install-info-bash install-info-bash
3615 maybe-install-info-bash:
3616 @if bash
3617 maybe-install-info-bash: install-info-bash
3619 install-info-bash: \
3620 configure-bash \
3621 info-bash
3622 @[ -f ./bash/Makefile ] || exit 0; \
3623 r=`${PWD_COMMAND}`; export r; \
3624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3625 $(SET_LIB_PATH) \
3626 $(HOST_EXPORTS) \
3627 for flag in $(EXTRA_HOST_FLAGS) ; do \
3628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3629 done; \
3630 echo "Doing install-info in bash" ; \
3631 (cd $(HOST_SUBDIR)/bash && \
3632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3634 "RANLIB=$${RANLIB}" \
3635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3636 install-info) \
3637 || exit 1
3639 @endif bash
3641 .PHONY: maybe-installcheck-bash installcheck-bash
3642 maybe-installcheck-bash:
3643 @if bash
3644 maybe-installcheck-bash: installcheck-bash
3646 installcheck-bash: \
3647 configure-bash
3648 @[ -f ./bash/Makefile ] || exit 0; \
3649 r=`${PWD_COMMAND}`; export r; \
3650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3651 $(SET_LIB_PATH) \
3652 $(HOST_EXPORTS) \
3653 for flag in $(EXTRA_HOST_FLAGS) ; do \
3654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3655 done; \
3656 echo "Doing installcheck in bash" ; \
3657 (cd $(HOST_SUBDIR)/bash && \
3658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3660 "RANLIB=$${RANLIB}" \
3661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3662 installcheck) \
3663 || exit 1
3665 @endif bash
3667 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3668 maybe-mostlyclean-bash:
3669 @if bash
3670 maybe-mostlyclean-bash: mostlyclean-bash
3672 mostlyclean-bash:
3673 @[ -f ./bash/Makefile ] || exit 0; \
3674 r=`${PWD_COMMAND}`; export r; \
3675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3676 $(SET_LIB_PATH) \
3677 $(HOST_EXPORTS) \
3678 for flag in $(EXTRA_HOST_FLAGS) ; do \
3679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3680 done; \
3681 echo "Doing mostlyclean in bash" ; \
3682 (cd $(HOST_SUBDIR)/bash && \
3683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3685 "RANLIB=$${RANLIB}" \
3686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3687 mostlyclean) \
3688 || exit 1
3690 @endif bash
3692 .PHONY: maybe-clean-bash clean-bash
3693 maybe-clean-bash:
3694 @if bash
3695 maybe-clean-bash: clean-bash
3697 clean-bash:
3698 @[ -f ./bash/Makefile ] || exit 0; \
3699 r=`${PWD_COMMAND}`; export r; \
3700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3701 $(SET_LIB_PATH) \
3702 $(HOST_EXPORTS) \
3703 for flag in $(EXTRA_HOST_FLAGS) ; do \
3704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3705 done; \
3706 echo "Doing clean in bash" ; \
3707 (cd $(HOST_SUBDIR)/bash && \
3708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3710 "RANLIB=$${RANLIB}" \
3711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3712 clean) \
3713 || exit 1
3715 @endif bash
3717 .PHONY: maybe-distclean-bash distclean-bash
3718 maybe-distclean-bash:
3719 @if bash
3720 maybe-distclean-bash: distclean-bash
3722 distclean-bash:
3723 @[ -f ./bash/Makefile ] || exit 0; \
3724 r=`${PWD_COMMAND}`; export r; \
3725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3726 $(SET_LIB_PATH) \
3727 $(HOST_EXPORTS) \
3728 for flag in $(EXTRA_HOST_FLAGS) ; do \
3729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3730 done; \
3731 echo "Doing distclean in bash" ; \
3732 (cd $(HOST_SUBDIR)/bash && \
3733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3735 "RANLIB=$${RANLIB}" \
3736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3737 distclean) \
3738 || exit 1
3740 @endif bash
3742 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3743 maybe-maintainer-clean-bash:
3744 @if bash
3745 maybe-maintainer-clean-bash: maintainer-clean-bash
3747 maintainer-clean-bash:
3748 @[ -f ./bash/Makefile ] || exit 0; \
3749 r=`${PWD_COMMAND}`; export r; \
3750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3751 $(SET_LIB_PATH) \
3752 $(HOST_EXPORTS) \
3753 for flag in $(EXTRA_HOST_FLAGS) ; do \
3754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3755 done; \
3756 echo "Doing maintainer-clean in bash" ; \
3757 (cd $(HOST_SUBDIR)/bash && \
3758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3760 "RANLIB=$${RANLIB}" \
3761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3762 maintainer-clean) \
3763 || exit 1
3765 @endif bash
3768 .PHONY: configure-bfd maybe-configure-bfd
3769 maybe-configure-bfd:
3770 @if bfd
3771 maybe-configure-bfd: configure-bfd
3772 configure-bfd:
3773 @test -f stage_last && exit 0; \
3774 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3775 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3776 r=`${PWD_COMMAND}`; export r; \
3777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3778 $(HOST_EXPORTS) \
3779 echo Configuring in bfd; \
3780 cd $(HOST_SUBDIR)/bfd || exit 1; \
3781 case $(srcdir) in \
3782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3783 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3785 esac; \
3786 srcdiroption="--srcdir=$${topdir}/bfd"; \
3787 libsrcdir="$$s/bfd"; \
3788 $(SHELL) $${libsrcdir}/configure \
3789 $(HOST_CONFIGARGS) $${srcdiroption} \
3790 || exit 1
3791 @endif bfd
3793 .PHONY: all-bfd maybe-all-bfd
3794 maybe-all-bfd:
3795 @if bfd
3796 TARGET-bfd=all
3797 maybe-all-bfd: all-bfd
3798 all-bfd: configure-bfd
3799 @test -f stage_last && exit 0; \
3800 r=`${PWD_COMMAND}`; export r; \
3801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3802 $(SET_LIB_PATH) \
3803 $(HOST_EXPORTS) \
3804 (cd $(HOST_SUBDIR)/bfd && \
3805 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
3806 @endif bfd
3808 .PHONY: check-bfd maybe-check-bfd
3809 maybe-check-bfd:
3810 @if bfd
3811 maybe-check-bfd: check-bfd
3813 check-bfd:
3814 @r=`${PWD_COMMAND}`; export r; \
3815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3816 $(SET_LIB_PATH) \
3817 $(HOST_EXPORTS) \
3818 (cd $(HOST_SUBDIR)/bfd && \
3819 $(MAKE) $(FLAGS_TO_PASS) check)
3821 @endif bfd
3823 .PHONY: install-bfd maybe-install-bfd
3824 maybe-install-bfd:
3825 @if bfd
3826 maybe-install-bfd: install-bfd
3828 install-bfd: installdirs
3829 @r=`${PWD_COMMAND}`; export r; \
3830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3831 $(SET_LIB_PATH) \
3832 $(HOST_EXPORTS) \
3833 (cd $(HOST_SUBDIR)/bfd && \
3834 $(MAKE) $(FLAGS_TO_PASS) install)
3836 @endif bfd
3838 # Other targets (info, dvi, etc.)
3840 .PHONY: maybe-info-bfd info-bfd
3841 maybe-info-bfd:
3842 @if bfd
3843 maybe-info-bfd: info-bfd
3845 info-bfd: \
3846 configure-bfd
3847 @[ -f ./bfd/Makefile ] || exit 0; \
3848 r=`${PWD_COMMAND}`; export r; \
3849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3850 $(SET_LIB_PATH) \
3851 $(HOST_EXPORTS) \
3852 for flag in $(EXTRA_HOST_FLAGS) ; do \
3853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3854 done; \
3855 echo "Doing info in bfd" ; \
3856 (cd $(HOST_SUBDIR)/bfd && \
3857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3859 "RANLIB=$${RANLIB}" \
3860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3861 info) \
3862 || exit 1
3864 @endif bfd
3866 .PHONY: maybe-dvi-bfd dvi-bfd
3867 maybe-dvi-bfd:
3868 @if bfd
3869 maybe-dvi-bfd: dvi-bfd
3871 dvi-bfd: \
3872 configure-bfd
3873 @[ -f ./bfd/Makefile ] || exit 0; \
3874 r=`${PWD_COMMAND}`; export r; \
3875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3876 $(SET_LIB_PATH) \
3877 $(HOST_EXPORTS) \
3878 for flag in $(EXTRA_HOST_FLAGS) ; do \
3879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3880 done; \
3881 echo "Doing dvi in bfd" ; \
3882 (cd $(HOST_SUBDIR)/bfd && \
3883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3885 "RANLIB=$${RANLIB}" \
3886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3887 dvi) \
3888 || exit 1
3890 @endif bfd
3892 .PHONY: maybe-html-bfd html-bfd
3893 maybe-html-bfd:
3894 @if bfd
3895 maybe-html-bfd: html-bfd
3897 html-bfd: \
3898 configure-bfd
3899 @[ -f ./bfd/Makefile ] || exit 0; \
3900 r=`${PWD_COMMAND}`; export r; \
3901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3902 $(SET_LIB_PATH) \
3903 $(HOST_EXPORTS) \
3904 for flag in $(EXTRA_HOST_FLAGS) ; do \
3905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3906 done; \
3907 echo "Doing html in bfd" ; \
3908 (cd $(HOST_SUBDIR)/bfd && \
3909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3911 "RANLIB=$${RANLIB}" \
3912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3913 html) \
3914 || exit 1
3916 @endif bfd
3918 .PHONY: maybe-TAGS-bfd TAGS-bfd
3919 maybe-TAGS-bfd:
3920 @if bfd
3921 maybe-TAGS-bfd: TAGS-bfd
3923 TAGS-bfd: \
3924 configure-bfd
3925 @[ -f ./bfd/Makefile ] || exit 0; \
3926 r=`${PWD_COMMAND}`; export r; \
3927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3928 $(SET_LIB_PATH) \
3929 $(HOST_EXPORTS) \
3930 for flag in $(EXTRA_HOST_FLAGS) ; do \
3931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3932 done; \
3933 echo "Doing TAGS in bfd" ; \
3934 (cd $(HOST_SUBDIR)/bfd && \
3935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3937 "RANLIB=$${RANLIB}" \
3938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3939 TAGS) \
3940 || exit 1
3942 @endif bfd
3944 .PHONY: maybe-install-info-bfd install-info-bfd
3945 maybe-install-info-bfd:
3946 @if bfd
3947 maybe-install-info-bfd: install-info-bfd
3949 install-info-bfd: \
3950 configure-bfd \
3951 info-bfd
3952 @[ -f ./bfd/Makefile ] || exit 0; \
3953 r=`${PWD_COMMAND}`; export r; \
3954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3955 $(SET_LIB_PATH) \
3956 $(HOST_EXPORTS) \
3957 for flag in $(EXTRA_HOST_FLAGS) ; do \
3958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3959 done; \
3960 echo "Doing install-info in bfd" ; \
3961 (cd $(HOST_SUBDIR)/bfd && \
3962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3964 "RANLIB=$${RANLIB}" \
3965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3966 install-info) \
3967 || exit 1
3969 @endif bfd
3971 .PHONY: maybe-installcheck-bfd installcheck-bfd
3972 maybe-installcheck-bfd:
3973 @if bfd
3974 maybe-installcheck-bfd: installcheck-bfd
3976 installcheck-bfd: \
3977 configure-bfd
3978 @[ -f ./bfd/Makefile ] || exit 0; \
3979 r=`${PWD_COMMAND}`; export r; \
3980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3981 $(SET_LIB_PATH) \
3982 $(HOST_EXPORTS) \
3983 for flag in $(EXTRA_HOST_FLAGS) ; do \
3984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3985 done; \
3986 echo "Doing installcheck in bfd" ; \
3987 (cd $(HOST_SUBDIR)/bfd && \
3988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3990 "RANLIB=$${RANLIB}" \
3991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3992 installcheck) \
3993 || exit 1
3995 @endif bfd
3997 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3998 maybe-mostlyclean-bfd:
3999 @if bfd
4000 maybe-mostlyclean-bfd: mostlyclean-bfd
4002 mostlyclean-bfd:
4003 @[ -f ./bfd/Makefile ] || exit 0; \
4004 r=`${PWD_COMMAND}`; export r; \
4005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4006 $(SET_LIB_PATH) \
4007 $(HOST_EXPORTS) \
4008 for flag in $(EXTRA_HOST_FLAGS) ; do \
4009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4010 done; \
4011 echo "Doing mostlyclean in bfd" ; \
4012 (cd $(HOST_SUBDIR)/bfd && \
4013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4015 "RANLIB=$${RANLIB}" \
4016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4017 mostlyclean) \
4018 || exit 1
4020 @endif bfd
4022 .PHONY: maybe-clean-bfd clean-bfd
4023 maybe-clean-bfd:
4024 @if bfd
4025 maybe-clean-bfd: clean-bfd
4027 clean-bfd:
4028 @[ -f ./bfd/Makefile ] || exit 0; \
4029 r=`${PWD_COMMAND}`; export r; \
4030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4031 $(SET_LIB_PATH) \
4032 $(HOST_EXPORTS) \
4033 for flag in $(EXTRA_HOST_FLAGS) ; do \
4034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4035 done; \
4036 echo "Doing clean in bfd" ; \
4037 (cd $(HOST_SUBDIR)/bfd && \
4038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4040 "RANLIB=$${RANLIB}" \
4041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4042 clean) \
4043 || exit 1
4045 @endif bfd
4047 .PHONY: maybe-distclean-bfd distclean-bfd
4048 maybe-distclean-bfd:
4049 @if bfd
4050 maybe-distclean-bfd: distclean-bfd
4052 distclean-bfd:
4053 @[ -f ./bfd/Makefile ] || exit 0; \
4054 r=`${PWD_COMMAND}`; export r; \
4055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4056 $(SET_LIB_PATH) \
4057 $(HOST_EXPORTS) \
4058 for flag in $(EXTRA_HOST_FLAGS) ; do \
4059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4060 done; \
4061 echo "Doing distclean in bfd" ; \
4062 (cd $(HOST_SUBDIR)/bfd && \
4063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4065 "RANLIB=$${RANLIB}" \
4066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4067 distclean) \
4068 || exit 1
4070 @endif bfd
4072 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4073 maybe-maintainer-clean-bfd:
4074 @if bfd
4075 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4077 maintainer-clean-bfd:
4078 @[ -f ./bfd/Makefile ] || exit 0; \
4079 r=`${PWD_COMMAND}`; export r; \
4080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4081 $(SET_LIB_PATH) \
4082 $(HOST_EXPORTS) \
4083 for flag in $(EXTRA_HOST_FLAGS) ; do \
4084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4085 done; \
4086 echo "Doing maintainer-clean in bfd" ; \
4087 (cd $(HOST_SUBDIR)/bfd && \
4088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4090 "RANLIB=$${RANLIB}" \
4091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4092 maintainer-clean) \
4093 || exit 1
4095 @endif bfd
4098 .PHONY: configure-opcodes maybe-configure-opcodes
4099 maybe-configure-opcodes:
4100 @if opcodes
4101 maybe-configure-opcodes: configure-opcodes
4102 configure-opcodes:
4103 @test -f stage_last && exit 0; \
4104 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4106 r=`${PWD_COMMAND}`; export r; \
4107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4108 $(HOST_EXPORTS) \
4109 echo Configuring in opcodes; \
4110 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4111 case $(srcdir) in \
4112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4113 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4115 esac; \
4116 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4117 libsrcdir="$$s/opcodes"; \
4118 $(SHELL) $${libsrcdir}/configure \
4119 $(HOST_CONFIGARGS) $${srcdiroption} \
4120 || exit 1
4121 @endif opcodes
4123 .PHONY: all-opcodes maybe-all-opcodes
4124 maybe-all-opcodes:
4125 @if opcodes
4126 TARGET-opcodes=all
4127 maybe-all-opcodes: all-opcodes
4128 all-opcodes: configure-opcodes
4129 @test -f stage_last && exit 0; \
4130 r=`${PWD_COMMAND}`; export r; \
4131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4132 $(SET_LIB_PATH) \
4133 $(HOST_EXPORTS) \
4134 (cd $(HOST_SUBDIR)/opcodes && \
4135 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4136 @endif opcodes
4138 .PHONY: check-opcodes maybe-check-opcodes
4139 maybe-check-opcodes:
4140 @if opcodes
4141 maybe-check-opcodes: check-opcodes
4143 check-opcodes:
4144 @r=`${PWD_COMMAND}`; export r; \
4145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4146 $(SET_LIB_PATH) \
4147 $(HOST_EXPORTS) \
4148 (cd $(HOST_SUBDIR)/opcodes && \
4149 $(MAKE) $(FLAGS_TO_PASS) check)
4151 @endif opcodes
4153 .PHONY: install-opcodes maybe-install-opcodes
4154 maybe-install-opcodes:
4155 @if opcodes
4156 maybe-install-opcodes: install-opcodes
4158 install-opcodes: installdirs
4159 @r=`${PWD_COMMAND}`; export r; \
4160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4161 $(SET_LIB_PATH) \
4162 $(HOST_EXPORTS) \
4163 (cd $(HOST_SUBDIR)/opcodes && \
4164 $(MAKE) $(FLAGS_TO_PASS) install)
4166 @endif opcodes
4168 # Other targets (info, dvi, etc.)
4170 .PHONY: maybe-info-opcodes info-opcodes
4171 maybe-info-opcodes:
4172 @if opcodes
4173 maybe-info-opcodes: info-opcodes
4175 info-opcodes: \
4176 configure-opcodes
4177 @[ -f ./opcodes/Makefile ] || exit 0; \
4178 r=`${PWD_COMMAND}`; export r; \
4179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4180 $(SET_LIB_PATH) \
4181 $(HOST_EXPORTS) \
4182 for flag in $(EXTRA_HOST_FLAGS) ; do \
4183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4184 done; \
4185 echo "Doing info in opcodes" ; \
4186 (cd $(HOST_SUBDIR)/opcodes && \
4187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4189 "RANLIB=$${RANLIB}" \
4190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4191 info) \
4192 || exit 1
4194 @endif opcodes
4196 .PHONY: maybe-dvi-opcodes dvi-opcodes
4197 maybe-dvi-opcodes:
4198 @if opcodes
4199 maybe-dvi-opcodes: dvi-opcodes
4201 dvi-opcodes: \
4202 configure-opcodes
4203 @[ -f ./opcodes/Makefile ] || exit 0; \
4204 r=`${PWD_COMMAND}`; export r; \
4205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4206 $(SET_LIB_PATH) \
4207 $(HOST_EXPORTS) \
4208 for flag in $(EXTRA_HOST_FLAGS) ; do \
4209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4210 done; \
4211 echo "Doing dvi in opcodes" ; \
4212 (cd $(HOST_SUBDIR)/opcodes && \
4213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4215 "RANLIB=$${RANLIB}" \
4216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4217 dvi) \
4218 || exit 1
4220 @endif opcodes
4222 .PHONY: maybe-html-opcodes html-opcodes
4223 maybe-html-opcodes:
4224 @if opcodes
4225 maybe-html-opcodes: html-opcodes
4227 html-opcodes: \
4228 configure-opcodes
4229 @[ -f ./opcodes/Makefile ] || exit 0; \
4230 r=`${PWD_COMMAND}`; export r; \
4231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4232 $(SET_LIB_PATH) \
4233 $(HOST_EXPORTS) \
4234 for flag in $(EXTRA_HOST_FLAGS) ; do \
4235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4236 done; \
4237 echo "Doing html in opcodes" ; \
4238 (cd $(HOST_SUBDIR)/opcodes && \
4239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4241 "RANLIB=$${RANLIB}" \
4242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4243 html) \
4244 || exit 1
4246 @endif opcodes
4248 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4249 maybe-TAGS-opcodes:
4250 @if opcodes
4251 maybe-TAGS-opcodes: TAGS-opcodes
4253 TAGS-opcodes: \
4254 configure-opcodes
4255 @[ -f ./opcodes/Makefile ] || exit 0; \
4256 r=`${PWD_COMMAND}`; export r; \
4257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4258 $(SET_LIB_PATH) \
4259 $(HOST_EXPORTS) \
4260 for flag in $(EXTRA_HOST_FLAGS) ; do \
4261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4262 done; \
4263 echo "Doing TAGS in opcodes" ; \
4264 (cd $(HOST_SUBDIR)/opcodes && \
4265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4267 "RANLIB=$${RANLIB}" \
4268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4269 TAGS) \
4270 || exit 1
4272 @endif opcodes
4274 .PHONY: maybe-install-info-opcodes install-info-opcodes
4275 maybe-install-info-opcodes:
4276 @if opcodes
4277 maybe-install-info-opcodes: install-info-opcodes
4279 install-info-opcodes: \
4280 configure-opcodes \
4281 info-opcodes
4282 @[ -f ./opcodes/Makefile ] || exit 0; \
4283 r=`${PWD_COMMAND}`; export r; \
4284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4285 $(SET_LIB_PATH) \
4286 $(HOST_EXPORTS) \
4287 for flag in $(EXTRA_HOST_FLAGS) ; do \
4288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4289 done; \
4290 echo "Doing install-info in opcodes" ; \
4291 (cd $(HOST_SUBDIR)/opcodes && \
4292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4294 "RANLIB=$${RANLIB}" \
4295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4296 install-info) \
4297 || exit 1
4299 @endif opcodes
4301 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4302 maybe-installcheck-opcodes:
4303 @if opcodes
4304 maybe-installcheck-opcodes: installcheck-opcodes
4306 installcheck-opcodes: \
4307 configure-opcodes
4308 @[ -f ./opcodes/Makefile ] || exit 0; \
4309 r=`${PWD_COMMAND}`; export r; \
4310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4311 $(SET_LIB_PATH) \
4312 $(HOST_EXPORTS) \
4313 for flag in $(EXTRA_HOST_FLAGS) ; do \
4314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4315 done; \
4316 echo "Doing installcheck in opcodes" ; \
4317 (cd $(HOST_SUBDIR)/opcodes && \
4318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4320 "RANLIB=$${RANLIB}" \
4321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4322 installcheck) \
4323 || exit 1
4325 @endif opcodes
4327 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4328 maybe-mostlyclean-opcodes:
4329 @if opcodes
4330 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4332 mostlyclean-opcodes:
4333 @[ -f ./opcodes/Makefile ] || exit 0; \
4334 r=`${PWD_COMMAND}`; export r; \
4335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4336 $(SET_LIB_PATH) \
4337 $(HOST_EXPORTS) \
4338 for flag in $(EXTRA_HOST_FLAGS) ; do \
4339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4340 done; \
4341 echo "Doing mostlyclean in opcodes" ; \
4342 (cd $(HOST_SUBDIR)/opcodes && \
4343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4345 "RANLIB=$${RANLIB}" \
4346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4347 mostlyclean) \
4348 || exit 1
4350 @endif opcodes
4352 .PHONY: maybe-clean-opcodes clean-opcodes
4353 maybe-clean-opcodes:
4354 @if opcodes
4355 maybe-clean-opcodes: clean-opcodes
4357 clean-opcodes:
4358 @[ -f ./opcodes/Makefile ] || exit 0; \
4359 r=`${PWD_COMMAND}`; export r; \
4360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4361 $(SET_LIB_PATH) \
4362 $(HOST_EXPORTS) \
4363 for flag in $(EXTRA_HOST_FLAGS) ; do \
4364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4365 done; \
4366 echo "Doing clean in opcodes" ; \
4367 (cd $(HOST_SUBDIR)/opcodes && \
4368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4370 "RANLIB=$${RANLIB}" \
4371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4372 clean) \
4373 || exit 1
4375 @endif opcodes
4377 .PHONY: maybe-distclean-opcodes distclean-opcodes
4378 maybe-distclean-opcodes:
4379 @if opcodes
4380 maybe-distclean-opcodes: distclean-opcodes
4382 distclean-opcodes:
4383 @[ -f ./opcodes/Makefile ] || exit 0; \
4384 r=`${PWD_COMMAND}`; export r; \
4385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4386 $(SET_LIB_PATH) \
4387 $(HOST_EXPORTS) \
4388 for flag in $(EXTRA_HOST_FLAGS) ; do \
4389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4390 done; \
4391 echo "Doing distclean in opcodes" ; \
4392 (cd $(HOST_SUBDIR)/opcodes && \
4393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4395 "RANLIB=$${RANLIB}" \
4396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4397 distclean) \
4398 || exit 1
4400 @endif opcodes
4402 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4403 maybe-maintainer-clean-opcodes:
4404 @if opcodes
4405 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4407 maintainer-clean-opcodes:
4408 @[ -f ./opcodes/Makefile ] || exit 0; \
4409 r=`${PWD_COMMAND}`; export r; \
4410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4411 $(SET_LIB_PATH) \
4412 $(HOST_EXPORTS) \
4413 for flag in $(EXTRA_HOST_FLAGS) ; do \
4414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4415 done; \
4416 echo "Doing maintainer-clean in opcodes" ; \
4417 (cd $(HOST_SUBDIR)/opcodes && \
4418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4420 "RANLIB=$${RANLIB}" \
4421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4422 maintainer-clean) \
4423 || exit 1
4425 @endif opcodes
4428 .PHONY: configure-binutils maybe-configure-binutils
4429 maybe-configure-binutils:
4430 @if binutils
4431 maybe-configure-binutils: configure-binutils
4432 configure-binutils:
4433 @test -f stage_last && exit 0; \
4434 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4435 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4436 r=`${PWD_COMMAND}`; export r; \
4437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4438 $(HOST_EXPORTS) \
4439 echo Configuring in binutils; \
4440 cd $(HOST_SUBDIR)/binutils || exit 1; \
4441 case $(srcdir) in \
4442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4443 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4445 esac; \
4446 srcdiroption="--srcdir=$${topdir}/binutils"; \
4447 libsrcdir="$$s/binutils"; \
4448 $(SHELL) $${libsrcdir}/configure \
4449 $(HOST_CONFIGARGS) $${srcdiroption} \
4450 || exit 1
4451 @endif binutils
4453 .PHONY: all-binutils maybe-all-binutils
4454 maybe-all-binutils:
4455 @if binutils
4456 TARGET-binutils=all
4457 maybe-all-binutils: all-binutils
4458 all-binutils: configure-binutils
4459 @test -f stage_last && exit 0; \
4460 r=`${PWD_COMMAND}`; export r; \
4461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4462 $(SET_LIB_PATH) \
4463 $(HOST_EXPORTS) \
4464 (cd $(HOST_SUBDIR)/binutils && \
4465 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
4466 @endif binutils
4468 .PHONY: check-binutils maybe-check-binutils
4469 maybe-check-binutils:
4470 @if binutils
4471 maybe-check-binutils: check-binutils
4473 check-binutils:
4474 @r=`${PWD_COMMAND}`; export r; \
4475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4476 $(SET_LIB_PATH) \
4477 $(HOST_EXPORTS) \
4478 (cd $(HOST_SUBDIR)/binutils && \
4479 $(MAKE) $(FLAGS_TO_PASS) check)
4481 @endif binutils
4483 .PHONY: install-binutils maybe-install-binutils
4484 maybe-install-binutils:
4485 @if binutils
4486 maybe-install-binutils: install-binutils
4488 install-binutils: installdirs
4489 @r=`${PWD_COMMAND}`; export r; \
4490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4491 $(SET_LIB_PATH) \
4492 $(HOST_EXPORTS) \
4493 (cd $(HOST_SUBDIR)/binutils && \
4494 $(MAKE) $(FLAGS_TO_PASS) install)
4496 @endif binutils
4498 # Other targets (info, dvi, etc.)
4500 .PHONY: maybe-info-binutils info-binutils
4501 maybe-info-binutils:
4502 @if binutils
4503 maybe-info-binutils: info-binutils
4505 info-binutils: \
4506 configure-binutils
4507 @[ -f ./binutils/Makefile ] || exit 0; \
4508 r=`${PWD_COMMAND}`; export r; \
4509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4510 $(SET_LIB_PATH) \
4511 $(HOST_EXPORTS) \
4512 for flag in $(EXTRA_HOST_FLAGS) ; do \
4513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4514 done; \
4515 echo "Doing info in binutils" ; \
4516 (cd $(HOST_SUBDIR)/binutils && \
4517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4519 "RANLIB=$${RANLIB}" \
4520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4521 info) \
4522 || exit 1
4524 @endif binutils
4526 .PHONY: maybe-dvi-binutils dvi-binutils
4527 maybe-dvi-binutils:
4528 @if binutils
4529 maybe-dvi-binutils: dvi-binutils
4531 dvi-binutils: \
4532 configure-binutils
4533 @[ -f ./binutils/Makefile ] || exit 0; \
4534 r=`${PWD_COMMAND}`; export r; \
4535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4536 $(SET_LIB_PATH) \
4537 $(HOST_EXPORTS) \
4538 for flag in $(EXTRA_HOST_FLAGS) ; do \
4539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4540 done; \
4541 echo "Doing dvi in binutils" ; \
4542 (cd $(HOST_SUBDIR)/binutils && \
4543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4545 "RANLIB=$${RANLIB}" \
4546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4547 dvi) \
4548 || exit 1
4550 @endif binutils
4552 .PHONY: maybe-html-binutils html-binutils
4553 maybe-html-binutils:
4554 @if binutils
4555 maybe-html-binutils: html-binutils
4557 html-binutils: \
4558 configure-binutils
4559 @[ -f ./binutils/Makefile ] || exit 0; \
4560 r=`${PWD_COMMAND}`; export r; \
4561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4562 $(SET_LIB_PATH) \
4563 $(HOST_EXPORTS) \
4564 for flag in $(EXTRA_HOST_FLAGS) ; do \
4565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4566 done; \
4567 echo "Doing html in binutils" ; \
4568 (cd $(HOST_SUBDIR)/binutils && \
4569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4571 "RANLIB=$${RANLIB}" \
4572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4573 html) \
4574 || exit 1
4576 @endif binutils
4578 .PHONY: maybe-TAGS-binutils TAGS-binutils
4579 maybe-TAGS-binutils:
4580 @if binutils
4581 maybe-TAGS-binutils: TAGS-binutils
4583 TAGS-binutils: \
4584 configure-binutils
4585 @[ -f ./binutils/Makefile ] || exit 0; \
4586 r=`${PWD_COMMAND}`; export r; \
4587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4588 $(SET_LIB_PATH) \
4589 $(HOST_EXPORTS) \
4590 for flag in $(EXTRA_HOST_FLAGS) ; do \
4591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4592 done; \
4593 echo "Doing TAGS in binutils" ; \
4594 (cd $(HOST_SUBDIR)/binutils && \
4595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4597 "RANLIB=$${RANLIB}" \
4598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4599 TAGS) \
4600 || exit 1
4602 @endif binutils
4604 .PHONY: maybe-install-info-binutils install-info-binutils
4605 maybe-install-info-binutils:
4606 @if binutils
4607 maybe-install-info-binutils: install-info-binutils
4609 install-info-binutils: \
4610 configure-binutils \
4611 info-binutils
4612 @[ -f ./binutils/Makefile ] || exit 0; \
4613 r=`${PWD_COMMAND}`; export r; \
4614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4615 $(SET_LIB_PATH) \
4616 $(HOST_EXPORTS) \
4617 for flag in $(EXTRA_HOST_FLAGS) ; do \
4618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4619 done; \
4620 echo "Doing install-info in binutils" ; \
4621 (cd $(HOST_SUBDIR)/binutils && \
4622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4624 "RANLIB=$${RANLIB}" \
4625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4626 install-info) \
4627 || exit 1
4629 @endif binutils
4631 .PHONY: maybe-installcheck-binutils installcheck-binutils
4632 maybe-installcheck-binutils:
4633 @if binutils
4634 maybe-installcheck-binutils: installcheck-binutils
4636 installcheck-binutils: \
4637 configure-binutils
4638 @[ -f ./binutils/Makefile ] || exit 0; \
4639 r=`${PWD_COMMAND}`; export r; \
4640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4641 $(SET_LIB_PATH) \
4642 $(HOST_EXPORTS) \
4643 for flag in $(EXTRA_HOST_FLAGS) ; do \
4644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4645 done; \
4646 echo "Doing installcheck in binutils" ; \
4647 (cd $(HOST_SUBDIR)/binutils && \
4648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4650 "RANLIB=$${RANLIB}" \
4651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4652 installcheck) \
4653 || exit 1
4655 @endif binutils
4657 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4658 maybe-mostlyclean-binutils:
4659 @if binutils
4660 maybe-mostlyclean-binutils: mostlyclean-binutils
4662 mostlyclean-binutils:
4663 @[ -f ./binutils/Makefile ] || exit 0; \
4664 r=`${PWD_COMMAND}`; export r; \
4665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4666 $(SET_LIB_PATH) \
4667 $(HOST_EXPORTS) \
4668 for flag in $(EXTRA_HOST_FLAGS) ; do \
4669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4670 done; \
4671 echo "Doing mostlyclean in binutils" ; \
4672 (cd $(HOST_SUBDIR)/binutils && \
4673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4675 "RANLIB=$${RANLIB}" \
4676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4677 mostlyclean) \
4678 || exit 1
4680 @endif binutils
4682 .PHONY: maybe-clean-binutils clean-binutils
4683 maybe-clean-binutils:
4684 @if binutils
4685 maybe-clean-binutils: clean-binutils
4687 clean-binutils:
4688 @[ -f ./binutils/Makefile ] || exit 0; \
4689 r=`${PWD_COMMAND}`; export r; \
4690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4691 $(SET_LIB_PATH) \
4692 $(HOST_EXPORTS) \
4693 for flag in $(EXTRA_HOST_FLAGS) ; do \
4694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4695 done; \
4696 echo "Doing clean in binutils" ; \
4697 (cd $(HOST_SUBDIR)/binutils && \
4698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4700 "RANLIB=$${RANLIB}" \
4701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4702 clean) \
4703 || exit 1
4705 @endif binutils
4707 .PHONY: maybe-distclean-binutils distclean-binutils
4708 maybe-distclean-binutils:
4709 @if binutils
4710 maybe-distclean-binutils: distclean-binutils
4712 distclean-binutils:
4713 @[ -f ./binutils/Makefile ] || exit 0; \
4714 r=`${PWD_COMMAND}`; export r; \
4715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4716 $(SET_LIB_PATH) \
4717 $(HOST_EXPORTS) \
4718 for flag in $(EXTRA_HOST_FLAGS) ; do \
4719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4720 done; \
4721 echo "Doing distclean in binutils" ; \
4722 (cd $(HOST_SUBDIR)/binutils && \
4723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4725 "RANLIB=$${RANLIB}" \
4726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4727 distclean) \
4728 || exit 1
4730 @endif binutils
4732 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4733 maybe-maintainer-clean-binutils:
4734 @if binutils
4735 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4737 maintainer-clean-binutils:
4738 @[ -f ./binutils/Makefile ] || exit 0; \
4739 r=`${PWD_COMMAND}`; export r; \
4740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4741 $(SET_LIB_PATH) \
4742 $(HOST_EXPORTS) \
4743 for flag in $(EXTRA_HOST_FLAGS) ; do \
4744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4745 done; \
4746 echo "Doing maintainer-clean in binutils" ; \
4747 (cd $(HOST_SUBDIR)/binutils && \
4748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4750 "RANLIB=$${RANLIB}" \
4751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4752 maintainer-clean) \
4753 || exit 1
4755 @endif binutils
4758 .PHONY: configure-bison maybe-configure-bison
4759 maybe-configure-bison:
4760 @if bison
4761 maybe-configure-bison: configure-bison
4762 configure-bison:
4763 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
4764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
4765 r=`${PWD_COMMAND}`; export r; \
4766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4767 $(HOST_EXPORTS) \
4768 echo Configuring in bison; \
4769 cd $(HOST_SUBDIR)/bison || exit 1; \
4770 case $(srcdir) in \
4771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4772 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
4773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4774 esac; \
4775 srcdiroption="--srcdir=$${topdir}/bison"; \
4776 libsrcdir="$$s/bison"; \
4777 $(SHELL) $${libsrcdir}/configure \
4778 $(HOST_CONFIGARGS) $${srcdiroption} \
4779 || exit 1
4780 @endif bison
4782 .PHONY: all-bison maybe-all-bison
4783 maybe-all-bison:
4784 @if bison
4785 TARGET-bison=all
4786 maybe-all-bison: all-bison
4787 all-bison: configure-bison
4788 @r=`${PWD_COMMAND}`; export r; \
4789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4790 $(SET_LIB_PATH) \
4791 $(HOST_EXPORTS) \
4792 (cd $(HOST_SUBDIR)/bison && \
4793 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
4794 @endif bison
4796 .PHONY: check-bison maybe-check-bison
4797 maybe-check-bison:
4798 @if bison
4799 maybe-check-bison: check-bison
4801 # This module is only tested in a native toolchain.
4802 check-bison:
4803 @if [ '$(host)' = '$(target)' ] ; then \
4804 r=`${PWD_COMMAND}`; export r; \
4805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4806 $(SET_LIB_PATH) \
4807 $(HOST_EXPORTS) \
4808 (cd $(HOST_SUBDIR)/bison && \
4809 $(MAKE) $(FLAGS_TO_PASS) check); \
4812 @endif bison
4814 .PHONY: install-bison maybe-install-bison
4815 maybe-install-bison:
4816 @if bison
4817 maybe-install-bison: install-bison
4819 install-bison: installdirs
4820 @r=`${PWD_COMMAND}`; export r; \
4821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4822 $(SET_LIB_PATH) \
4823 $(HOST_EXPORTS) \
4824 (cd $(HOST_SUBDIR)/bison && \
4825 $(MAKE) $(FLAGS_TO_PASS) install)
4827 @endif bison
4829 # Other targets (info, dvi, etc.)
4831 .PHONY: maybe-info-bison info-bison
4832 maybe-info-bison:
4833 @if bison
4834 maybe-info-bison: info-bison
4836 info-bison: \
4837 configure-bison
4838 @[ -f ./bison/Makefile ] || exit 0; \
4839 r=`${PWD_COMMAND}`; export r; \
4840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4841 $(SET_LIB_PATH) \
4842 $(HOST_EXPORTS) \
4843 for flag in $(EXTRA_HOST_FLAGS) ; do \
4844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4845 done; \
4846 echo "Doing info in bison" ; \
4847 (cd $(HOST_SUBDIR)/bison && \
4848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4850 "RANLIB=$${RANLIB}" \
4851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4852 info) \
4853 || exit 1
4855 @endif bison
4857 .PHONY: maybe-dvi-bison dvi-bison
4858 maybe-dvi-bison:
4859 @if bison
4860 maybe-dvi-bison: dvi-bison
4862 dvi-bison: \
4863 configure-bison
4864 @[ -f ./bison/Makefile ] || exit 0; \
4865 r=`${PWD_COMMAND}`; export r; \
4866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4867 $(SET_LIB_PATH) \
4868 $(HOST_EXPORTS) \
4869 for flag in $(EXTRA_HOST_FLAGS) ; do \
4870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4871 done; \
4872 echo "Doing dvi in bison" ; \
4873 (cd $(HOST_SUBDIR)/bison && \
4874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4876 "RANLIB=$${RANLIB}" \
4877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4878 dvi) \
4879 || exit 1
4881 @endif bison
4883 .PHONY: maybe-html-bison html-bison
4884 maybe-html-bison:
4885 @if bison
4886 maybe-html-bison: html-bison
4888 html-bison: \
4889 configure-bison
4890 @[ -f ./bison/Makefile ] || exit 0; \
4891 r=`${PWD_COMMAND}`; export r; \
4892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4893 $(SET_LIB_PATH) \
4894 $(HOST_EXPORTS) \
4895 for flag in $(EXTRA_HOST_FLAGS) ; do \
4896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4897 done; \
4898 echo "Doing html in bison" ; \
4899 (cd $(HOST_SUBDIR)/bison && \
4900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4902 "RANLIB=$${RANLIB}" \
4903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4904 html) \
4905 || exit 1
4907 @endif bison
4909 .PHONY: maybe-TAGS-bison TAGS-bison
4910 maybe-TAGS-bison:
4911 @if bison
4912 maybe-TAGS-bison: TAGS-bison
4914 TAGS-bison: \
4915 configure-bison
4916 @[ -f ./bison/Makefile ] || exit 0; \
4917 r=`${PWD_COMMAND}`; export r; \
4918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4919 $(SET_LIB_PATH) \
4920 $(HOST_EXPORTS) \
4921 for flag in $(EXTRA_HOST_FLAGS) ; do \
4922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4923 done; \
4924 echo "Doing TAGS in bison" ; \
4925 (cd $(HOST_SUBDIR)/bison && \
4926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4928 "RANLIB=$${RANLIB}" \
4929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4930 TAGS) \
4931 || exit 1
4933 @endif bison
4935 .PHONY: maybe-install-info-bison install-info-bison
4936 maybe-install-info-bison:
4937 @if bison
4938 maybe-install-info-bison: install-info-bison
4940 install-info-bison: \
4941 configure-bison \
4942 info-bison
4943 @[ -f ./bison/Makefile ] || exit 0; \
4944 r=`${PWD_COMMAND}`; export r; \
4945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4946 $(SET_LIB_PATH) \
4947 $(HOST_EXPORTS) \
4948 for flag in $(EXTRA_HOST_FLAGS) ; do \
4949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4950 done; \
4951 echo "Doing install-info in bison" ; \
4952 (cd $(HOST_SUBDIR)/bison && \
4953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4955 "RANLIB=$${RANLIB}" \
4956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4957 install-info) \
4958 || exit 1
4960 @endif bison
4962 .PHONY: maybe-installcheck-bison installcheck-bison
4963 maybe-installcheck-bison:
4964 @if bison
4965 maybe-installcheck-bison: installcheck-bison
4967 installcheck-bison: \
4968 configure-bison
4969 @[ -f ./bison/Makefile ] || exit 0; \
4970 r=`${PWD_COMMAND}`; export r; \
4971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4972 $(SET_LIB_PATH) \
4973 $(HOST_EXPORTS) \
4974 for flag in $(EXTRA_HOST_FLAGS) ; do \
4975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4976 done; \
4977 echo "Doing installcheck in bison" ; \
4978 (cd $(HOST_SUBDIR)/bison && \
4979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4981 "RANLIB=$${RANLIB}" \
4982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4983 installcheck) \
4984 || exit 1
4986 @endif bison
4988 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4989 maybe-mostlyclean-bison:
4990 @if bison
4991 maybe-mostlyclean-bison: mostlyclean-bison
4993 mostlyclean-bison:
4994 @[ -f ./bison/Makefile ] || exit 0; \
4995 r=`${PWD_COMMAND}`; export r; \
4996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4997 $(SET_LIB_PATH) \
4998 $(HOST_EXPORTS) \
4999 for flag in $(EXTRA_HOST_FLAGS) ; do \
5000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5001 done; \
5002 echo "Doing mostlyclean in bison" ; \
5003 (cd $(HOST_SUBDIR)/bison && \
5004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5006 "RANLIB=$${RANLIB}" \
5007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5008 mostlyclean) \
5009 || exit 1
5011 @endif bison
5013 .PHONY: maybe-clean-bison clean-bison
5014 maybe-clean-bison:
5015 @if bison
5016 maybe-clean-bison: clean-bison
5018 clean-bison:
5019 @[ -f ./bison/Makefile ] || exit 0; \
5020 r=`${PWD_COMMAND}`; export r; \
5021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5022 $(SET_LIB_PATH) \
5023 $(HOST_EXPORTS) \
5024 for flag in $(EXTRA_HOST_FLAGS) ; do \
5025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5026 done; \
5027 echo "Doing clean in bison" ; \
5028 (cd $(HOST_SUBDIR)/bison && \
5029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5031 "RANLIB=$${RANLIB}" \
5032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5033 clean) \
5034 || exit 1
5036 @endif bison
5038 .PHONY: maybe-distclean-bison distclean-bison
5039 maybe-distclean-bison:
5040 @if bison
5041 maybe-distclean-bison: distclean-bison
5043 distclean-bison:
5044 @[ -f ./bison/Makefile ] || exit 0; \
5045 r=`${PWD_COMMAND}`; export r; \
5046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5047 $(SET_LIB_PATH) \
5048 $(HOST_EXPORTS) \
5049 for flag in $(EXTRA_HOST_FLAGS) ; do \
5050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5051 done; \
5052 echo "Doing distclean in bison" ; \
5053 (cd $(HOST_SUBDIR)/bison && \
5054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5056 "RANLIB=$${RANLIB}" \
5057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5058 distclean) \
5059 || exit 1
5061 @endif bison
5063 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5064 maybe-maintainer-clean-bison:
5065 @if bison
5066 maybe-maintainer-clean-bison: maintainer-clean-bison
5068 maintainer-clean-bison:
5069 @[ -f ./bison/Makefile ] || exit 0; \
5070 r=`${PWD_COMMAND}`; export r; \
5071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5072 $(SET_LIB_PATH) \
5073 $(HOST_EXPORTS) \
5074 for flag in $(EXTRA_HOST_FLAGS) ; do \
5075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5076 done; \
5077 echo "Doing maintainer-clean in bison" ; \
5078 (cd $(HOST_SUBDIR)/bison && \
5079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5081 "RANLIB=$${RANLIB}" \
5082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5083 maintainer-clean) \
5084 || exit 1
5086 @endif bison
5089 .PHONY: configure-byacc maybe-configure-byacc
5090 maybe-configure-byacc:
5091 @if byacc
5092 maybe-configure-byacc: configure-byacc
5093 configure-byacc:
5094 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
5095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
5096 r=`${PWD_COMMAND}`; export r; \
5097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5098 $(HOST_EXPORTS) \
5099 echo Configuring in byacc; \
5100 cd $(HOST_SUBDIR)/byacc || exit 1; \
5101 case $(srcdir) in \
5102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5103 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
5104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5105 esac; \
5106 srcdiroption="--srcdir=$${topdir}/byacc"; \
5107 libsrcdir="$$s/byacc"; \
5108 $(SHELL) $${libsrcdir}/configure \
5109 $(HOST_CONFIGARGS) $${srcdiroption} \
5110 || exit 1
5111 @endif byacc
5113 .PHONY: all-byacc maybe-all-byacc
5114 maybe-all-byacc:
5115 @if byacc
5116 TARGET-byacc=all
5117 maybe-all-byacc: all-byacc
5118 all-byacc: configure-byacc
5119 @r=`${PWD_COMMAND}`; export r; \
5120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5121 $(SET_LIB_PATH) \
5122 $(HOST_EXPORTS) \
5123 (cd $(HOST_SUBDIR)/byacc && \
5124 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
5125 @endif byacc
5127 .PHONY: check-byacc maybe-check-byacc
5128 maybe-check-byacc:
5129 @if byacc
5130 maybe-check-byacc: check-byacc
5132 # This module is only tested in a native toolchain.
5133 check-byacc:
5134 @if [ '$(host)' = '$(target)' ] ; then \
5135 r=`${PWD_COMMAND}`; export r; \
5136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5137 $(SET_LIB_PATH) \
5138 $(HOST_EXPORTS) \
5139 (cd $(HOST_SUBDIR)/byacc && \
5140 $(MAKE) $(FLAGS_TO_PASS) check); \
5143 @endif byacc
5145 .PHONY: install-byacc maybe-install-byacc
5146 maybe-install-byacc:
5147 @if byacc
5148 maybe-install-byacc: install-byacc
5150 install-byacc: installdirs
5151 @r=`${PWD_COMMAND}`; export r; \
5152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5153 $(SET_LIB_PATH) \
5154 $(HOST_EXPORTS) \
5155 (cd $(HOST_SUBDIR)/byacc && \
5156 $(MAKE) $(FLAGS_TO_PASS) install)
5158 @endif byacc
5160 # Other targets (info, dvi, etc.)
5162 .PHONY: maybe-info-byacc info-byacc
5163 maybe-info-byacc:
5164 @if byacc
5165 maybe-info-byacc: info-byacc
5167 info-byacc: \
5168 configure-byacc
5169 @[ -f ./byacc/Makefile ] || exit 0; \
5170 r=`${PWD_COMMAND}`; export r; \
5171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5172 $(SET_LIB_PATH) \
5173 $(HOST_EXPORTS) \
5174 for flag in $(EXTRA_HOST_FLAGS) ; do \
5175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5176 done; \
5177 echo "Doing info in byacc" ; \
5178 (cd $(HOST_SUBDIR)/byacc && \
5179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5181 "RANLIB=$${RANLIB}" \
5182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5183 info) \
5184 || exit 1
5186 @endif byacc
5188 .PHONY: maybe-dvi-byacc dvi-byacc
5189 maybe-dvi-byacc:
5190 @if byacc
5191 maybe-dvi-byacc: dvi-byacc
5193 dvi-byacc: \
5194 configure-byacc
5195 @[ -f ./byacc/Makefile ] || exit 0; \
5196 r=`${PWD_COMMAND}`; export r; \
5197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5198 $(SET_LIB_PATH) \
5199 $(HOST_EXPORTS) \
5200 for flag in $(EXTRA_HOST_FLAGS) ; do \
5201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5202 done; \
5203 echo "Doing dvi in byacc" ; \
5204 (cd $(HOST_SUBDIR)/byacc && \
5205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5207 "RANLIB=$${RANLIB}" \
5208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5209 dvi) \
5210 || exit 1
5212 @endif byacc
5214 .PHONY: maybe-html-byacc html-byacc
5215 maybe-html-byacc:
5216 @if byacc
5217 maybe-html-byacc: html-byacc
5219 html-byacc: \
5220 configure-byacc
5221 @[ -f ./byacc/Makefile ] || exit 0; \
5222 r=`${PWD_COMMAND}`; export r; \
5223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5224 $(SET_LIB_PATH) \
5225 $(HOST_EXPORTS) \
5226 for flag in $(EXTRA_HOST_FLAGS) ; do \
5227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5228 done; \
5229 echo "Doing html in byacc" ; \
5230 (cd $(HOST_SUBDIR)/byacc && \
5231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5233 "RANLIB=$${RANLIB}" \
5234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5235 html) \
5236 || exit 1
5238 @endif byacc
5240 .PHONY: maybe-TAGS-byacc TAGS-byacc
5241 maybe-TAGS-byacc:
5242 @if byacc
5243 maybe-TAGS-byacc: TAGS-byacc
5245 TAGS-byacc: \
5246 configure-byacc
5247 @[ -f ./byacc/Makefile ] || exit 0; \
5248 r=`${PWD_COMMAND}`; export r; \
5249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5250 $(SET_LIB_PATH) \
5251 $(HOST_EXPORTS) \
5252 for flag in $(EXTRA_HOST_FLAGS) ; do \
5253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5254 done; \
5255 echo "Doing TAGS in byacc" ; \
5256 (cd $(HOST_SUBDIR)/byacc && \
5257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5259 "RANLIB=$${RANLIB}" \
5260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5261 TAGS) \
5262 || exit 1
5264 @endif byacc
5266 .PHONY: maybe-install-info-byacc install-info-byacc
5267 maybe-install-info-byacc:
5268 @if byacc
5269 maybe-install-info-byacc: install-info-byacc
5271 install-info-byacc: \
5272 configure-byacc \
5273 info-byacc
5274 @[ -f ./byacc/Makefile ] || exit 0; \
5275 r=`${PWD_COMMAND}`; export r; \
5276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5277 $(SET_LIB_PATH) \
5278 $(HOST_EXPORTS) \
5279 for flag in $(EXTRA_HOST_FLAGS) ; do \
5280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5281 done; \
5282 echo "Doing install-info in byacc" ; \
5283 (cd $(HOST_SUBDIR)/byacc && \
5284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5286 "RANLIB=$${RANLIB}" \
5287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5288 install-info) \
5289 || exit 1
5291 @endif byacc
5293 .PHONY: maybe-installcheck-byacc installcheck-byacc
5294 maybe-installcheck-byacc:
5295 @if byacc
5296 maybe-installcheck-byacc: installcheck-byacc
5298 installcheck-byacc: \
5299 configure-byacc
5300 @[ -f ./byacc/Makefile ] || exit 0; \
5301 r=`${PWD_COMMAND}`; export r; \
5302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5303 $(SET_LIB_PATH) \
5304 $(HOST_EXPORTS) \
5305 for flag in $(EXTRA_HOST_FLAGS) ; do \
5306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5307 done; \
5308 echo "Doing installcheck in byacc" ; \
5309 (cd $(HOST_SUBDIR)/byacc && \
5310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5312 "RANLIB=$${RANLIB}" \
5313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5314 installcheck) \
5315 || exit 1
5317 @endif byacc
5319 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5320 maybe-mostlyclean-byacc:
5321 @if byacc
5322 maybe-mostlyclean-byacc: mostlyclean-byacc
5324 mostlyclean-byacc:
5325 @[ -f ./byacc/Makefile ] || exit 0; \
5326 r=`${PWD_COMMAND}`; export r; \
5327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5328 $(SET_LIB_PATH) \
5329 $(HOST_EXPORTS) \
5330 for flag in $(EXTRA_HOST_FLAGS) ; do \
5331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5332 done; \
5333 echo "Doing mostlyclean in byacc" ; \
5334 (cd $(HOST_SUBDIR)/byacc && \
5335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5337 "RANLIB=$${RANLIB}" \
5338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5339 mostlyclean) \
5340 || exit 1
5342 @endif byacc
5344 .PHONY: maybe-clean-byacc clean-byacc
5345 maybe-clean-byacc:
5346 @if byacc
5347 maybe-clean-byacc: clean-byacc
5349 clean-byacc:
5350 @[ -f ./byacc/Makefile ] || exit 0; \
5351 r=`${PWD_COMMAND}`; export r; \
5352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5353 $(SET_LIB_PATH) \
5354 $(HOST_EXPORTS) \
5355 for flag in $(EXTRA_HOST_FLAGS) ; do \
5356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5357 done; \
5358 echo "Doing clean in byacc" ; \
5359 (cd $(HOST_SUBDIR)/byacc && \
5360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5362 "RANLIB=$${RANLIB}" \
5363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5364 clean) \
5365 || exit 1
5367 @endif byacc
5369 .PHONY: maybe-distclean-byacc distclean-byacc
5370 maybe-distclean-byacc:
5371 @if byacc
5372 maybe-distclean-byacc: distclean-byacc
5374 distclean-byacc:
5375 @[ -f ./byacc/Makefile ] || exit 0; \
5376 r=`${PWD_COMMAND}`; export r; \
5377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5378 $(SET_LIB_PATH) \
5379 $(HOST_EXPORTS) \
5380 for flag in $(EXTRA_HOST_FLAGS) ; do \
5381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5382 done; \
5383 echo "Doing distclean in byacc" ; \
5384 (cd $(HOST_SUBDIR)/byacc && \
5385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5387 "RANLIB=$${RANLIB}" \
5388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5389 distclean) \
5390 || exit 1
5392 @endif byacc
5394 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5395 maybe-maintainer-clean-byacc:
5396 @if byacc
5397 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5399 maintainer-clean-byacc:
5400 @[ -f ./byacc/Makefile ] || exit 0; \
5401 r=`${PWD_COMMAND}`; export r; \
5402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5403 $(SET_LIB_PATH) \
5404 $(HOST_EXPORTS) \
5405 for flag in $(EXTRA_HOST_FLAGS) ; do \
5406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5407 done; \
5408 echo "Doing maintainer-clean in byacc" ; \
5409 (cd $(HOST_SUBDIR)/byacc && \
5410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5412 "RANLIB=$${RANLIB}" \
5413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5414 maintainer-clean) \
5415 || exit 1
5417 @endif byacc
5420 .PHONY: configure-bzip2 maybe-configure-bzip2
5421 maybe-configure-bzip2:
5422 @if bzip2
5423 maybe-configure-bzip2: configure-bzip2
5424 configure-bzip2:
5425 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
5426 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
5427 r=`${PWD_COMMAND}`; export r; \
5428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5429 $(HOST_EXPORTS) \
5430 echo Configuring in bzip2; \
5431 cd $(HOST_SUBDIR)/bzip2 || exit 1; \
5432 case $(srcdir) in \
5433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5434 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
5435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5436 esac; \
5437 srcdiroption="--srcdir=$${topdir}/bzip2"; \
5438 libsrcdir="$$s/bzip2"; \
5439 $(SHELL) $${libsrcdir}/configure \
5440 $(HOST_CONFIGARGS) $${srcdiroption} \
5441 || exit 1
5442 @endif bzip2
5444 .PHONY: all-bzip2 maybe-all-bzip2
5445 maybe-all-bzip2:
5446 @if bzip2
5447 TARGET-bzip2=all
5448 maybe-all-bzip2: all-bzip2
5449 all-bzip2: configure-bzip2
5450 @r=`${PWD_COMMAND}`; export r; \
5451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5452 $(SET_LIB_PATH) \
5453 $(HOST_EXPORTS) \
5454 (cd $(HOST_SUBDIR)/bzip2 && \
5455 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
5456 @endif bzip2
5458 .PHONY: check-bzip2 maybe-check-bzip2
5459 maybe-check-bzip2:
5460 @if bzip2
5461 maybe-check-bzip2: check-bzip2
5463 check-bzip2:
5464 @r=`${PWD_COMMAND}`; export r; \
5465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5466 $(SET_LIB_PATH) \
5467 $(HOST_EXPORTS) \
5468 (cd $(HOST_SUBDIR)/bzip2 && \
5469 $(MAKE) $(FLAGS_TO_PASS) check)
5471 @endif bzip2
5473 .PHONY: install-bzip2 maybe-install-bzip2
5474 maybe-install-bzip2:
5475 @if bzip2
5476 maybe-install-bzip2: install-bzip2
5478 install-bzip2: installdirs
5479 @r=`${PWD_COMMAND}`; export r; \
5480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5481 $(SET_LIB_PATH) \
5482 $(HOST_EXPORTS) \
5483 (cd $(HOST_SUBDIR)/bzip2 && \
5484 $(MAKE) $(FLAGS_TO_PASS) install)
5486 @endif bzip2
5488 # Other targets (info, dvi, etc.)
5490 .PHONY: maybe-info-bzip2 info-bzip2
5491 maybe-info-bzip2:
5492 @if bzip2
5493 maybe-info-bzip2: info-bzip2
5495 info-bzip2: \
5496 configure-bzip2
5497 @[ -f ./bzip2/Makefile ] || exit 0; \
5498 r=`${PWD_COMMAND}`; export r; \
5499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5500 $(SET_LIB_PATH) \
5501 $(HOST_EXPORTS) \
5502 for flag in $(EXTRA_HOST_FLAGS) ; do \
5503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5504 done; \
5505 echo "Doing info in bzip2" ; \
5506 (cd $(HOST_SUBDIR)/bzip2 && \
5507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5509 "RANLIB=$${RANLIB}" \
5510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5511 info) \
5512 || exit 1
5514 @endif bzip2
5516 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5517 maybe-dvi-bzip2:
5518 @if bzip2
5519 maybe-dvi-bzip2: dvi-bzip2
5521 dvi-bzip2: \
5522 configure-bzip2
5523 @[ -f ./bzip2/Makefile ] || exit 0; \
5524 r=`${PWD_COMMAND}`; export r; \
5525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5526 $(SET_LIB_PATH) \
5527 $(HOST_EXPORTS) \
5528 for flag in $(EXTRA_HOST_FLAGS) ; do \
5529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5530 done; \
5531 echo "Doing dvi in bzip2" ; \
5532 (cd $(HOST_SUBDIR)/bzip2 && \
5533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5535 "RANLIB=$${RANLIB}" \
5536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5537 dvi) \
5538 || exit 1
5540 @endif bzip2
5542 .PHONY: maybe-html-bzip2 html-bzip2
5543 maybe-html-bzip2:
5544 @if bzip2
5545 maybe-html-bzip2: html-bzip2
5547 html-bzip2: \
5548 configure-bzip2
5549 @[ -f ./bzip2/Makefile ] || exit 0; \
5550 r=`${PWD_COMMAND}`; export r; \
5551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5552 $(SET_LIB_PATH) \
5553 $(HOST_EXPORTS) \
5554 for flag in $(EXTRA_HOST_FLAGS) ; do \
5555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5556 done; \
5557 echo "Doing html in bzip2" ; \
5558 (cd $(HOST_SUBDIR)/bzip2 && \
5559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5561 "RANLIB=$${RANLIB}" \
5562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5563 html) \
5564 || exit 1
5566 @endif bzip2
5568 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5569 maybe-TAGS-bzip2:
5570 @if bzip2
5571 maybe-TAGS-bzip2: TAGS-bzip2
5573 TAGS-bzip2: \
5574 configure-bzip2
5575 @[ -f ./bzip2/Makefile ] || exit 0; \
5576 r=`${PWD_COMMAND}`; export r; \
5577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5578 $(SET_LIB_PATH) \
5579 $(HOST_EXPORTS) \
5580 for flag in $(EXTRA_HOST_FLAGS) ; do \
5581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5582 done; \
5583 echo "Doing TAGS in bzip2" ; \
5584 (cd $(HOST_SUBDIR)/bzip2 && \
5585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5587 "RANLIB=$${RANLIB}" \
5588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5589 TAGS) \
5590 || exit 1
5592 @endif bzip2
5594 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5595 maybe-install-info-bzip2:
5596 @if bzip2
5597 maybe-install-info-bzip2: install-info-bzip2
5599 install-info-bzip2: \
5600 configure-bzip2 \
5601 info-bzip2
5602 @[ -f ./bzip2/Makefile ] || exit 0; \
5603 r=`${PWD_COMMAND}`; export r; \
5604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5605 $(SET_LIB_PATH) \
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 install-info in bzip2" ; \
5611 (cd $(HOST_SUBDIR)/bzip2 && \
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 install-info) \
5617 || exit 1
5619 @endif bzip2
5621 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5622 maybe-installcheck-bzip2:
5623 @if bzip2
5624 maybe-installcheck-bzip2: installcheck-bzip2
5626 installcheck-bzip2: \
5627 configure-bzip2
5628 @[ -f ./bzip2/Makefile ] || exit 0; \
5629 r=`${PWD_COMMAND}`; export r; \
5630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5631 $(SET_LIB_PATH) \
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 installcheck in bzip2" ; \
5637 (cd $(HOST_SUBDIR)/bzip2 && \
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 installcheck) \
5643 || exit 1
5645 @endif bzip2
5647 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5648 maybe-mostlyclean-bzip2:
5649 @if bzip2
5650 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5652 mostlyclean-bzip2:
5653 @[ -f ./bzip2/Makefile ] || exit 0; \
5654 r=`${PWD_COMMAND}`; export r; \
5655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5656 $(SET_LIB_PATH) \
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 mostlyclean in bzip2" ; \
5662 (cd $(HOST_SUBDIR)/bzip2 && \
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 mostlyclean) \
5668 || exit 1
5670 @endif bzip2
5672 .PHONY: maybe-clean-bzip2 clean-bzip2
5673 maybe-clean-bzip2:
5674 @if bzip2
5675 maybe-clean-bzip2: clean-bzip2
5677 clean-bzip2:
5678 @[ -f ./bzip2/Makefile ] || exit 0; \
5679 r=`${PWD_COMMAND}`; export r; \
5680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5681 $(SET_LIB_PATH) \
5682 $(HOST_EXPORTS) \
5683 for flag in $(EXTRA_HOST_FLAGS) ; do \
5684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5685 done; \
5686 echo "Doing clean in bzip2" ; \
5687 (cd $(HOST_SUBDIR)/bzip2 && \
5688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5690 "RANLIB=$${RANLIB}" \
5691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5692 clean) \
5693 || exit 1
5695 @endif bzip2
5697 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5698 maybe-distclean-bzip2:
5699 @if bzip2
5700 maybe-distclean-bzip2: distclean-bzip2
5702 distclean-bzip2:
5703 @[ -f ./bzip2/Makefile ] || exit 0; \
5704 r=`${PWD_COMMAND}`; export r; \
5705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5706 $(SET_LIB_PATH) \
5707 $(HOST_EXPORTS) \
5708 for flag in $(EXTRA_HOST_FLAGS) ; do \
5709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5710 done; \
5711 echo "Doing distclean in bzip2" ; \
5712 (cd $(HOST_SUBDIR)/bzip2 && \
5713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5715 "RANLIB=$${RANLIB}" \
5716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5717 distclean) \
5718 || exit 1
5720 @endif bzip2
5722 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5723 maybe-maintainer-clean-bzip2:
5724 @if bzip2
5725 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5727 maintainer-clean-bzip2:
5728 @[ -f ./bzip2/Makefile ] || exit 0; \
5729 r=`${PWD_COMMAND}`; export r; \
5730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5731 $(SET_LIB_PATH) \
5732 $(HOST_EXPORTS) \
5733 for flag in $(EXTRA_HOST_FLAGS) ; do \
5734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5735 done; \
5736 echo "Doing maintainer-clean in bzip2" ; \
5737 (cd $(HOST_SUBDIR)/bzip2 && \
5738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5740 "RANLIB=$${RANLIB}" \
5741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5742 maintainer-clean) \
5743 || exit 1
5745 @endif bzip2
5748 .PHONY: configure-dejagnu maybe-configure-dejagnu
5749 maybe-configure-dejagnu:
5750 @if dejagnu
5751 maybe-configure-dejagnu: configure-dejagnu
5752 configure-dejagnu:
5753 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
5754 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
5755 r=`${PWD_COMMAND}`; export r; \
5756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5757 $(HOST_EXPORTS) \
5758 echo Configuring in dejagnu; \
5759 cd $(HOST_SUBDIR)/dejagnu || exit 1; \
5760 case $(srcdir) in \
5761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5762 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
5763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5764 esac; \
5765 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
5766 libsrcdir="$$s/dejagnu"; \
5767 $(SHELL) $${libsrcdir}/configure \
5768 $(HOST_CONFIGARGS) $${srcdiroption} \
5769 || exit 1
5770 @endif dejagnu
5772 .PHONY: all-dejagnu maybe-all-dejagnu
5773 maybe-all-dejagnu:
5774 @if dejagnu
5775 TARGET-dejagnu=all
5776 maybe-all-dejagnu: all-dejagnu
5777 all-dejagnu: configure-dejagnu
5778 @r=`${PWD_COMMAND}`; export r; \
5779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5780 $(SET_LIB_PATH) \
5781 $(HOST_EXPORTS) \
5782 (cd $(HOST_SUBDIR)/dejagnu && \
5783 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
5784 @endif dejagnu
5786 .PHONY: check-dejagnu maybe-check-dejagnu
5787 maybe-check-dejagnu:
5788 @if dejagnu
5789 maybe-check-dejagnu: check-dejagnu
5791 check-dejagnu:
5792 @r=`${PWD_COMMAND}`; export r; \
5793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5794 $(SET_LIB_PATH) \
5795 $(HOST_EXPORTS) \
5796 (cd $(HOST_SUBDIR)/dejagnu && \
5797 $(MAKE) $(FLAGS_TO_PASS) check)
5799 @endif dejagnu
5801 .PHONY: install-dejagnu maybe-install-dejagnu
5802 maybe-install-dejagnu:
5803 @if dejagnu
5804 maybe-install-dejagnu: install-dejagnu
5806 install-dejagnu: installdirs
5807 @r=`${PWD_COMMAND}`; export r; \
5808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5809 $(SET_LIB_PATH) \
5810 $(HOST_EXPORTS) \
5811 (cd $(HOST_SUBDIR)/dejagnu && \
5812 $(MAKE) $(FLAGS_TO_PASS) install)
5814 @endif dejagnu
5816 # Other targets (info, dvi, etc.)
5818 .PHONY: maybe-info-dejagnu info-dejagnu
5819 maybe-info-dejagnu:
5820 @if dejagnu
5821 maybe-info-dejagnu: info-dejagnu
5823 info-dejagnu: \
5824 configure-dejagnu
5825 @[ -f ./dejagnu/Makefile ] || exit 0; \
5826 r=`${PWD_COMMAND}`; export r; \
5827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5828 $(SET_LIB_PATH) \
5829 $(HOST_EXPORTS) \
5830 for flag in $(EXTRA_HOST_FLAGS) ; do \
5831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5832 done; \
5833 echo "Doing info in dejagnu" ; \
5834 (cd $(HOST_SUBDIR)/dejagnu && \
5835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5837 "RANLIB=$${RANLIB}" \
5838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5839 info) \
5840 || exit 1
5842 @endif dejagnu
5844 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5845 maybe-dvi-dejagnu:
5846 @if dejagnu
5847 maybe-dvi-dejagnu: dvi-dejagnu
5849 dvi-dejagnu: \
5850 configure-dejagnu
5851 @[ -f ./dejagnu/Makefile ] || exit 0; \
5852 r=`${PWD_COMMAND}`; export r; \
5853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5854 $(SET_LIB_PATH) \
5855 $(HOST_EXPORTS) \
5856 for flag in $(EXTRA_HOST_FLAGS) ; do \
5857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5858 done; \
5859 echo "Doing dvi in dejagnu" ; \
5860 (cd $(HOST_SUBDIR)/dejagnu && \
5861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5863 "RANLIB=$${RANLIB}" \
5864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5865 dvi) \
5866 || exit 1
5868 @endif dejagnu
5870 .PHONY: maybe-html-dejagnu html-dejagnu
5871 maybe-html-dejagnu:
5872 @if dejagnu
5873 maybe-html-dejagnu: html-dejagnu
5875 html-dejagnu: \
5876 configure-dejagnu
5877 @[ -f ./dejagnu/Makefile ] || exit 0; \
5878 r=`${PWD_COMMAND}`; export r; \
5879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5880 $(SET_LIB_PATH) \
5881 $(HOST_EXPORTS) \
5882 for flag in $(EXTRA_HOST_FLAGS) ; do \
5883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5884 done; \
5885 echo "Doing html in dejagnu" ; \
5886 (cd $(HOST_SUBDIR)/dejagnu && \
5887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5889 "RANLIB=$${RANLIB}" \
5890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5891 html) \
5892 || exit 1
5894 @endif dejagnu
5896 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5897 maybe-TAGS-dejagnu:
5898 @if dejagnu
5899 maybe-TAGS-dejagnu: TAGS-dejagnu
5901 TAGS-dejagnu: \
5902 configure-dejagnu
5903 @[ -f ./dejagnu/Makefile ] || exit 0; \
5904 r=`${PWD_COMMAND}`; export r; \
5905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5906 $(SET_LIB_PATH) \
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 TAGS in dejagnu" ; \
5912 (cd $(HOST_SUBDIR)/dejagnu && \
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 TAGS) \
5918 || exit 1
5920 @endif dejagnu
5922 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5923 maybe-install-info-dejagnu:
5924 @if dejagnu
5925 maybe-install-info-dejagnu: install-info-dejagnu
5927 install-info-dejagnu: \
5928 configure-dejagnu \
5929 info-dejagnu
5930 @[ -f ./dejagnu/Makefile ] || exit 0; \
5931 r=`${PWD_COMMAND}`; export r; \
5932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5933 $(SET_LIB_PATH) \
5934 $(HOST_EXPORTS) \
5935 for flag in $(EXTRA_HOST_FLAGS) ; do \
5936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5937 done; \
5938 echo "Doing install-info in dejagnu" ; \
5939 (cd $(HOST_SUBDIR)/dejagnu && \
5940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5942 "RANLIB=$${RANLIB}" \
5943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5944 install-info) \
5945 || exit 1
5947 @endif dejagnu
5949 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5950 maybe-installcheck-dejagnu:
5951 @if dejagnu
5952 maybe-installcheck-dejagnu: installcheck-dejagnu
5954 installcheck-dejagnu: \
5955 configure-dejagnu
5956 @[ -f ./dejagnu/Makefile ] || exit 0; \
5957 r=`${PWD_COMMAND}`; export r; \
5958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5959 $(SET_LIB_PATH) \
5960 $(HOST_EXPORTS) \
5961 for flag in $(EXTRA_HOST_FLAGS) ; do \
5962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5963 done; \
5964 echo "Doing installcheck in dejagnu" ; \
5965 (cd $(HOST_SUBDIR)/dejagnu && \
5966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5968 "RANLIB=$${RANLIB}" \
5969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5970 installcheck) \
5971 || exit 1
5973 @endif dejagnu
5975 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5976 maybe-mostlyclean-dejagnu:
5977 @if dejagnu
5978 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5980 mostlyclean-dejagnu:
5981 @[ -f ./dejagnu/Makefile ] || exit 0; \
5982 r=`${PWD_COMMAND}`; export r; \
5983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5984 $(SET_LIB_PATH) \
5985 $(HOST_EXPORTS) \
5986 for flag in $(EXTRA_HOST_FLAGS) ; do \
5987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5988 done; \
5989 echo "Doing mostlyclean in dejagnu" ; \
5990 (cd $(HOST_SUBDIR)/dejagnu && \
5991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5993 "RANLIB=$${RANLIB}" \
5994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5995 mostlyclean) \
5996 || exit 1
5998 @endif dejagnu
6000 .PHONY: maybe-clean-dejagnu clean-dejagnu
6001 maybe-clean-dejagnu:
6002 @if dejagnu
6003 maybe-clean-dejagnu: clean-dejagnu
6005 clean-dejagnu:
6006 @[ -f ./dejagnu/Makefile ] || exit 0; \
6007 r=`${PWD_COMMAND}`; export r; \
6008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6009 $(SET_LIB_PATH) \
6010 $(HOST_EXPORTS) \
6011 for flag in $(EXTRA_HOST_FLAGS) ; do \
6012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6013 done; \
6014 echo "Doing clean in dejagnu" ; \
6015 (cd $(HOST_SUBDIR)/dejagnu && \
6016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6018 "RANLIB=$${RANLIB}" \
6019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6020 clean) \
6021 || exit 1
6023 @endif dejagnu
6025 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6026 maybe-distclean-dejagnu:
6027 @if dejagnu
6028 maybe-distclean-dejagnu: distclean-dejagnu
6030 distclean-dejagnu:
6031 @[ -f ./dejagnu/Makefile ] || exit 0; \
6032 r=`${PWD_COMMAND}`; export r; \
6033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6034 $(SET_LIB_PATH) \
6035 $(HOST_EXPORTS) \
6036 for flag in $(EXTRA_HOST_FLAGS) ; do \
6037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6038 done; \
6039 echo "Doing distclean in dejagnu" ; \
6040 (cd $(HOST_SUBDIR)/dejagnu && \
6041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6043 "RANLIB=$${RANLIB}" \
6044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6045 distclean) \
6046 || exit 1
6048 @endif dejagnu
6050 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6051 maybe-maintainer-clean-dejagnu:
6052 @if dejagnu
6053 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6055 maintainer-clean-dejagnu:
6056 @[ -f ./dejagnu/Makefile ] || exit 0; \
6057 r=`${PWD_COMMAND}`; export r; \
6058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6059 $(SET_LIB_PATH) \
6060 $(HOST_EXPORTS) \
6061 for flag in $(EXTRA_HOST_FLAGS) ; do \
6062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6063 done; \
6064 echo "Doing maintainer-clean in dejagnu" ; \
6065 (cd $(HOST_SUBDIR)/dejagnu && \
6066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6068 "RANLIB=$${RANLIB}" \
6069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6070 maintainer-clean) \
6071 || exit 1
6073 @endif dejagnu
6076 .PHONY: configure-diff maybe-configure-diff
6077 maybe-configure-diff:
6078 @if diff
6079 maybe-configure-diff: configure-diff
6080 configure-diff:
6081 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
6082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
6083 r=`${PWD_COMMAND}`; export r; \
6084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6085 $(HOST_EXPORTS) \
6086 echo Configuring in diff; \
6087 cd $(HOST_SUBDIR)/diff || exit 1; \
6088 case $(srcdir) in \
6089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6090 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
6091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6092 esac; \
6093 srcdiroption="--srcdir=$${topdir}/diff"; \
6094 libsrcdir="$$s/diff"; \
6095 $(SHELL) $${libsrcdir}/configure \
6096 $(HOST_CONFIGARGS) $${srcdiroption} \
6097 || exit 1
6098 @endif diff
6100 .PHONY: all-diff maybe-all-diff
6101 maybe-all-diff:
6102 @if diff
6103 TARGET-diff=all
6104 maybe-all-diff: all-diff
6105 all-diff: configure-diff
6106 @r=`${PWD_COMMAND}`; export r; \
6107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6108 $(SET_LIB_PATH) \
6109 $(HOST_EXPORTS) \
6110 (cd $(HOST_SUBDIR)/diff && \
6111 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
6112 @endif diff
6114 .PHONY: check-diff maybe-check-diff
6115 maybe-check-diff:
6116 @if diff
6117 maybe-check-diff: check-diff
6119 check-diff:
6120 @r=`${PWD_COMMAND}`; export r; \
6121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6122 $(SET_LIB_PATH) \
6123 $(HOST_EXPORTS) \
6124 (cd $(HOST_SUBDIR)/diff && \
6125 $(MAKE) $(FLAGS_TO_PASS) check)
6127 @endif diff
6129 .PHONY: install-diff maybe-install-diff
6130 maybe-install-diff:
6131 @if diff
6132 maybe-install-diff: install-diff
6134 install-diff: installdirs
6135 @r=`${PWD_COMMAND}`; export r; \
6136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6137 $(SET_LIB_PATH) \
6138 $(HOST_EXPORTS) \
6139 (cd $(HOST_SUBDIR)/diff && \
6140 $(MAKE) $(FLAGS_TO_PASS) install)
6142 @endif diff
6144 # Other targets (info, dvi, etc.)
6146 .PHONY: maybe-info-diff info-diff
6147 maybe-info-diff:
6148 @if diff
6149 maybe-info-diff: info-diff
6151 info-diff: \
6152 configure-diff
6153 @[ -f ./diff/Makefile ] || exit 0; \
6154 r=`${PWD_COMMAND}`; export r; \
6155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6156 $(SET_LIB_PATH) \
6157 $(HOST_EXPORTS) \
6158 for flag in $(EXTRA_HOST_FLAGS) ; do \
6159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6160 done; \
6161 echo "Doing info in diff" ; \
6162 (cd $(HOST_SUBDIR)/diff && \
6163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6165 "RANLIB=$${RANLIB}" \
6166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6167 info) \
6168 || exit 1
6170 @endif diff
6172 .PHONY: maybe-dvi-diff dvi-diff
6173 maybe-dvi-diff:
6174 @if diff
6175 maybe-dvi-diff: dvi-diff
6177 dvi-diff: \
6178 configure-diff
6179 @[ -f ./diff/Makefile ] || exit 0; \
6180 r=`${PWD_COMMAND}`; export r; \
6181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6182 $(SET_LIB_PATH) \
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 dvi in diff" ; \
6188 (cd $(HOST_SUBDIR)/diff && \
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 dvi) \
6194 || exit 1
6196 @endif diff
6198 .PHONY: maybe-html-diff html-diff
6199 maybe-html-diff:
6200 @if diff
6201 maybe-html-diff: html-diff
6203 html-diff: \
6204 configure-diff
6205 @[ -f ./diff/Makefile ] || exit 0; \
6206 r=`${PWD_COMMAND}`; export r; \
6207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6208 $(SET_LIB_PATH) \
6209 $(HOST_EXPORTS) \
6210 for flag in $(EXTRA_HOST_FLAGS) ; do \
6211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6212 done; \
6213 echo "Doing html in diff" ; \
6214 (cd $(HOST_SUBDIR)/diff && \
6215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6217 "RANLIB=$${RANLIB}" \
6218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6219 html) \
6220 || exit 1
6222 @endif diff
6224 .PHONY: maybe-TAGS-diff TAGS-diff
6225 maybe-TAGS-diff:
6226 @if diff
6227 maybe-TAGS-diff: TAGS-diff
6229 TAGS-diff: \
6230 configure-diff
6231 @[ -f ./diff/Makefile ] || exit 0; \
6232 r=`${PWD_COMMAND}`; export r; \
6233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6234 $(SET_LIB_PATH) \
6235 $(HOST_EXPORTS) \
6236 for flag in $(EXTRA_HOST_FLAGS) ; do \
6237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6238 done; \
6239 echo "Doing TAGS in diff" ; \
6240 (cd $(HOST_SUBDIR)/diff && \
6241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6243 "RANLIB=$${RANLIB}" \
6244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6245 TAGS) \
6246 || exit 1
6248 @endif diff
6250 .PHONY: maybe-install-info-diff install-info-diff
6251 maybe-install-info-diff:
6252 @if diff
6253 maybe-install-info-diff: install-info-diff
6255 install-info-diff: \
6256 configure-diff \
6257 info-diff
6258 @[ -f ./diff/Makefile ] || exit 0; \
6259 r=`${PWD_COMMAND}`; export r; \
6260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6261 $(SET_LIB_PATH) \
6262 $(HOST_EXPORTS) \
6263 for flag in $(EXTRA_HOST_FLAGS) ; do \
6264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6265 done; \
6266 echo "Doing install-info in diff" ; \
6267 (cd $(HOST_SUBDIR)/diff && \
6268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6270 "RANLIB=$${RANLIB}" \
6271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6272 install-info) \
6273 || exit 1
6275 @endif diff
6277 .PHONY: maybe-installcheck-diff installcheck-diff
6278 maybe-installcheck-diff:
6279 @if diff
6280 maybe-installcheck-diff: installcheck-diff
6282 installcheck-diff: \
6283 configure-diff
6284 @[ -f ./diff/Makefile ] || exit 0; \
6285 r=`${PWD_COMMAND}`; export r; \
6286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6287 $(SET_LIB_PATH) \
6288 $(HOST_EXPORTS) \
6289 for flag in $(EXTRA_HOST_FLAGS) ; do \
6290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6291 done; \
6292 echo "Doing installcheck in diff" ; \
6293 (cd $(HOST_SUBDIR)/diff && \
6294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6296 "RANLIB=$${RANLIB}" \
6297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6298 installcheck) \
6299 || exit 1
6301 @endif diff
6303 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6304 maybe-mostlyclean-diff:
6305 @if diff
6306 maybe-mostlyclean-diff: mostlyclean-diff
6308 mostlyclean-diff:
6309 @[ -f ./diff/Makefile ] || exit 0; \
6310 r=`${PWD_COMMAND}`; export r; \
6311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6312 $(SET_LIB_PATH) \
6313 $(HOST_EXPORTS) \
6314 for flag in $(EXTRA_HOST_FLAGS) ; do \
6315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6316 done; \
6317 echo "Doing mostlyclean in diff" ; \
6318 (cd $(HOST_SUBDIR)/diff && \
6319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6321 "RANLIB=$${RANLIB}" \
6322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6323 mostlyclean) \
6324 || exit 1
6326 @endif diff
6328 .PHONY: maybe-clean-diff clean-diff
6329 maybe-clean-diff:
6330 @if diff
6331 maybe-clean-diff: clean-diff
6333 clean-diff:
6334 @[ -f ./diff/Makefile ] || exit 0; \
6335 r=`${PWD_COMMAND}`; export r; \
6336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6337 $(SET_LIB_PATH) \
6338 $(HOST_EXPORTS) \
6339 for flag in $(EXTRA_HOST_FLAGS) ; do \
6340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6341 done; \
6342 echo "Doing clean in diff" ; \
6343 (cd $(HOST_SUBDIR)/diff && \
6344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6346 "RANLIB=$${RANLIB}" \
6347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6348 clean) \
6349 || exit 1
6351 @endif diff
6353 .PHONY: maybe-distclean-diff distclean-diff
6354 maybe-distclean-diff:
6355 @if diff
6356 maybe-distclean-diff: distclean-diff
6358 distclean-diff:
6359 @[ -f ./diff/Makefile ] || exit 0; \
6360 r=`${PWD_COMMAND}`; export r; \
6361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6362 $(SET_LIB_PATH) \
6363 $(HOST_EXPORTS) \
6364 for flag in $(EXTRA_HOST_FLAGS) ; do \
6365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6366 done; \
6367 echo "Doing distclean in diff" ; \
6368 (cd $(HOST_SUBDIR)/diff && \
6369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6371 "RANLIB=$${RANLIB}" \
6372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6373 distclean) \
6374 || exit 1
6376 @endif diff
6378 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6379 maybe-maintainer-clean-diff:
6380 @if diff
6381 maybe-maintainer-clean-diff: maintainer-clean-diff
6383 maintainer-clean-diff:
6384 @[ -f ./diff/Makefile ] || exit 0; \
6385 r=`${PWD_COMMAND}`; export r; \
6386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6387 $(SET_LIB_PATH) \
6388 $(HOST_EXPORTS) \
6389 for flag in $(EXTRA_HOST_FLAGS) ; do \
6390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6391 done; \
6392 echo "Doing maintainer-clean in diff" ; \
6393 (cd $(HOST_SUBDIR)/diff && \
6394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6396 "RANLIB=$${RANLIB}" \
6397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6398 maintainer-clean) \
6399 || exit 1
6401 @endif diff
6404 .PHONY: configure-dosutils maybe-configure-dosutils
6405 maybe-configure-dosutils:
6406 @if dosutils
6407 maybe-configure-dosutils: configure-dosutils
6408 configure-dosutils:
6409 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
6410 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
6411 r=`${PWD_COMMAND}`; export r; \
6412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6413 $(HOST_EXPORTS) \
6414 echo Configuring in dosutils; \
6415 cd $(HOST_SUBDIR)/dosutils || exit 1; \
6416 case $(srcdir) in \
6417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6418 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
6419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6420 esac; \
6421 srcdiroption="--srcdir=$${topdir}/dosutils"; \
6422 libsrcdir="$$s/dosutils"; \
6423 $(SHELL) $${libsrcdir}/configure \
6424 $(HOST_CONFIGARGS) $${srcdiroption} \
6425 || exit 1
6426 @endif dosutils
6428 .PHONY: all-dosutils maybe-all-dosutils
6429 maybe-all-dosutils:
6430 @if dosutils
6431 TARGET-dosutils=all
6432 maybe-all-dosutils: all-dosutils
6433 all-dosutils: configure-dosutils
6434 @r=`${PWD_COMMAND}`; export r; \
6435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6436 $(SET_LIB_PATH) \
6437 $(HOST_EXPORTS) \
6438 (cd $(HOST_SUBDIR)/dosutils && \
6439 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
6440 @endif dosutils
6442 .PHONY: check-dosutils maybe-check-dosutils
6443 maybe-check-dosutils:
6444 @if dosutils
6445 maybe-check-dosutils: check-dosutils
6447 check-dosutils:
6449 @endif dosutils
6451 .PHONY: install-dosutils maybe-install-dosutils
6452 maybe-install-dosutils:
6453 @if dosutils
6454 maybe-install-dosutils: install-dosutils
6456 install-dosutils: installdirs
6457 @r=`${PWD_COMMAND}`; export r; \
6458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6459 $(SET_LIB_PATH) \
6460 $(HOST_EXPORTS) \
6461 (cd $(HOST_SUBDIR)/dosutils && \
6462 $(MAKE) $(FLAGS_TO_PASS) install)
6464 @endif dosutils
6466 # Other targets (info, dvi, etc.)
6468 .PHONY: maybe-info-dosutils info-dosutils
6469 maybe-info-dosutils:
6470 @if dosutils
6471 maybe-info-dosutils: info-dosutils
6473 info-dosutils: \
6474 configure-dosutils
6475 @[ -f ./dosutils/Makefile ] || exit 0; \
6476 r=`${PWD_COMMAND}`; export r; \
6477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6478 $(SET_LIB_PATH) \
6479 $(HOST_EXPORTS) \
6480 for flag in $(EXTRA_HOST_FLAGS) ; do \
6481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6482 done; \
6483 echo "Doing info in dosutils" ; \
6484 (cd $(HOST_SUBDIR)/dosutils && \
6485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6487 "RANLIB=$${RANLIB}" \
6488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6489 info) \
6490 || exit 1
6492 @endif dosutils
6494 .PHONY: maybe-dvi-dosutils dvi-dosutils
6495 maybe-dvi-dosutils:
6496 @if dosutils
6497 maybe-dvi-dosutils: dvi-dosutils
6499 dvi-dosutils: \
6500 configure-dosutils
6501 @[ -f ./dosutils/Makefile ] || exit 0; \
6502 r=`${PWD_COMMAND}`; export r; \
6503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6504 $(SET_LIB_PATH) \
6505 $(HOST_EXPORTS) \
6506 for flag in $(EXTRA_HOST_FLAGS) ; do \
6507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6508 done; \
6509 echo "Doing dvi in dosutils" ; \
6510 (cd $(HOST_SUBDIR)/dosutils && \
6511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6513 "RANLIB=$${RANLIB}" \
6514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6515 dvi) \
6516 || exit 1
6518 @endif dosutils
6520 .PHONY: maybe-html-dosutils html-dosutils
6521 maybe-html-dosutils:
6522 @if dosutils
6523 maybe-html-dosutils: html-dosutils
6525 html-dosutils: \
6526 configure-dosutils
6527 @[ -f ./dosutils/Makefile ] || exit 0; \
6528 r=`${PWD_COMMAND}`; export r; \
6529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6530 $(SET_LIB_PATH) \
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 html in dosutils" ; \
6536 (cd $(HOST_SUBDIR)/dosutils && \
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 html) \
6542 || exit 1
6544 @endif dosutils
6546 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6547 maybe-TAGS-dosutils:
6548 @if dosutils
6549 maybe-TAGS-dosutils: TAGS-dosutils
6551 TAGS-dosutils: \
6552 configure-dosutils
6553 @[ -f ./dosutils/Makefile ] || exit 0; \
6554 r=`${PWD_COMMAND}`; export r; \
6555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6556 $(SET_LIB_PATH) \
6557 $(HOST_EXPORTS) \
6558 for flag in $(EXTRA_HOST_FLAGS) ; do \
6559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6560 done; \
6561 echo "Doing TAGS in dosutils" ; \
6562 (cd $(HOST_SUBDIR)/dosutils && \
6563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6565 "RANLIB=$${RANLIB}" \
6566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6567 TAGS) \
6568 || exit 1
6570 @endif dosutils
6572 .PHONY: maybe-install-info-dosutils install-info-dosutils
6573 maybe-install-info-dosutils:
6574 @if dosutils
6575 maybe-install-info-dosutils: install-info-dosutils
6577 install-info-dosutils: \
6578 configure-dosutils \
6579 info-dosutils
6580 @[ -f ./dosutils/Makefile ] || exit 0; \
6581 r=`${PWD_COMMAND}`; export r; \
6582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6583 $(SET_LIB_PATH) \
6584 $(HOST_EXPORTS) \
6585 for flag in $(EXTRA_HOST_FLAGS) ; do \
6586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6587 done; \
6588 echo "Doing install-info in dosutils" ; \
6589 (cd $(HOST_SUBDIR)/dosutils && \
6590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6592 "RANLIB=$${RANLIB}" \
6593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6594 install-info) \
6595 || exit 1
6597 @endif dosutils
6599 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6600 maybe-installcheck-dosutils:
6601 @if dosutils
6602 maybe-installcheck-dosutils: installcheck-dosutils
6604 installcheck-dosutils: \
6605 configure-dosutils
6606 @[ -f ./dosutils/Makefile ] || exit 0; \
6607 r=`${PWD_COMMAND}`; export r; \
6608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6609 $(SET_LIB_PATH) \
6610 $(HOST_EXPORTS) \
6611 for flag in $(EXTRA_HOST_FLAGS) ; do \
6612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6613 done; \
6614 echo "Doing installcheck in dosutils" ; \
6615 (cd $(HOST_SUBDIR)/dosutils && \
6616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6618 "RANLIB=$${RANLIB}" \
6619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6620 installcheck) \
6621 || exit 1
6623 @endif dosutils
6625 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6626 maybe-mostlyclean-dosutils:
6627 @if dosutils
6628 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6630 mostlyclean-dosutils:
6631 @[ -f ./dosutils/Makefile ] || exit 0; \
6632 r=`${PWD_COMMAND}`; export r; \
6633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6634 $(SET_LIB_PATH) \
6635 $(HOST_EXPORTS) \
6636 for flag in $(EXTRA_HOST_FLAGS) ; do \
6637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6638 done; \
6639 echo "Doing mostlyclean in dosutils" ; \
6640 (cd $(HOST_SUBDIR)/dosutils && \
6641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6643 "RANLIB=$${RANLIB}" \
6644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6645 mostlyclean) \
6646 || exit 1
6648 @endif dosutils
6650 .PHONY: maybe-clean-dosutils clean-dosutils
6651 maybe-clean-dosutils:
6652 @if dosutils
6653 maybe-clean-dosutils: clean-dosutils
6655 clean-dosutils:
6656 @[ -f ./dosutils/Makefile ] || exit 0; \
6657 r=`${PWD_COMMAND}`; export r; \
6658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6659 $(SET_LIB_PATH) \
6660 $(HOST_EXPORTS) \
6661 for flag in $(EXTRA_HOST_FLAGS) ; do \
6662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6663 done; \
6664 echo "Doing clean in dosutils" ; \
6665 (cd $(HOST_SUBDIR)/dosutils && \
6666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6668 "RANLIB=$${RANLIB}" \
6669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6670 clean) \
6671 || exit 1
6673 @endif dosutils
6675 .PHONY: maybe-distclean-dosutils distclean-dosutils
6676 maybe-distclean-dosutils:
6677 @if dosutils
6678 maybe-distclean-dosutils: distclean-dosutils
6680 distclean-dosutils:
6681 @[ -f ./dosutils/Makefile ] || exit 0; \
6682 r=`${PWD_COMMAND}`; export r; \
6683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6684 $(SET_LIB_PATH) \
6685 $(HOST_EXPORTS) \
6686 for flag in $(EXTRA_HOST_FLAGS) ; do \
6687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6688 done; \
6689 echo "Doing distclean in dosutils" ; \
6690 (cd $(HOST_SUBDIR)/dosutils && \
6691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6693 "RANLIB=$${RANLIB}" \
6694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6695 distclean) \
6696 || exit 1
6698 @endif dosutils
6700 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6701 maybe-maintainer-clean-dosutils:
6702 @if dosutils
6703 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6705 maintainer-clean-dosutils:
6706 @[ -f ./dosutils/Makefile ] || exit 0; \
6707 r=`${PWD_COMMAND}`; export r; \
6708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6709 $(SET_LIB_PATH) \
6710 $(HOST_EXPORTS) \
6711 for flag in $(EXTRA_HOST_FLAGS) ; do \
6712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6713 done; \
6714 echo "Doing maintainer-clean in dosutils" ; \
6715 (cd $(HOST_SUBDIR)/dosutils && \
6716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6718 "RANLIB=$${RANLIB}" \
6719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6720 maintainer-clean) \
6721 || exit 1
6723 @endif dosutils
6726 .PHONY: configure-etc maybe-configure-etc
6727 maybe-configure-etc:
6728 @if etc
6729 maybe-configure-etc: configure-etc
6730 configure-etc:
6731 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6732 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6733 r=`${PWD_COMMAND}`; export r; \
6734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6735 $(HOST_EXPORTS) \
6736 echo Configuring in etc; \
6737 cd $(HOST_SUBDIR)/etc || exit 1; \
6738 case $(srcdir) in \
6739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6740 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6742 esac; \
6743 srcdiroption="--srcdir=$${topdir}/etc"; \
6744 libsrcdir="$$s/etc"; \
6745 $(SHELL) $${libsrcdir}/configure \
6746 $(HOST_CONFIGARGS) $${srcdiroption} \
6747 || exit 1
6748 @endif etc
6750 .PHONY: all-etc maybe-all-etc
6751 maybe-all-etc:
6752 @if etc
6753 TARGET-etc=all
6754 maybe-all-etc: all-etc
6755 all-etc: configure-etc
6756 @r=`${PWD_COMMAND}`; export r; \
6757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6758 $(SET_LIB_PATH) \
6759 $(HOST_EXPORTS) \
6760 (cd $(HOST_SUBDIR)/etc && \
6761 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
6762 @endif etc
6764 .PHONY: check-etc maybe-check-etc
6765 maybe-check-etc:
6766 @if etc
6767 maybe-check-etc: check-etc
6769 check-etc:
6770 @r=`${PWD_COMMAND}`; export r; \
6771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6772 $(SET_LIB_PATH) \
6773 $(HOST_EXPORTS) \
6774 (cd $(HOST_SUBDIR)/etc && \
6775 $(MAKE) $(FLAGS_TO_PASS) check)
6777 @endif etc
6779 .PHONY: install-etc maybe-install-etc
6780 maybe-install-etc:
6781 @if etc
6782 maybe-install-etc: install-etc
6784 install-etc: installdirs
6785 @r=`${PWD_COMMAND}`; export r; \
6786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6787 $(SET_LIB_PATH) \
6788 $(HOST_EXPORTS) \
6789 (cd $(HOST_SUBDIR)/etc && \
6790 $(MAKE) $(FLAGS_TO_PASS) install)
6792 @endif etc
6794 # Other targets (info, dvi, etc.)
6796 .PHONY: maybe-info-etc info-etc
6797 maybe-info-etc:
6798 @if etc
6799 maybe-info-etc: info-etc
6801 info-etc: \
6802 configure-etc
6803 @[ -f ./etc/Makefile ] || exit 0; \
6804 r=`${PWD_COMMAND}`; export r; \
6805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6806 $(SET_LIB_PATH) \
6807 $(HOST_EXPORTS) \
6808 for flag in $(EXTRA_HOST_FLAGS) ; do \
6809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6810 done; \
6811 echo "Doing info in etc" ; \
6812 (cd $(HOST_SUBDIR)/etc && \
6813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6815 "RANLIB=$${RANLIB}" \
6816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6817 info) \
6818 || exit 1
6820 @endif etc
6822 .PHONY: maybe-dvi-etc dvi-etc
6823 maybe-dvi-etc:
6824 @if etc
6825 maybe-dvi-etc: dvi-etc
6827 dvi-etc: \
6828 configure-etc
6829 @[ -f ./etc/Makefile ] || exit 0; \
6830 r=`${PWD_COMMAND}`; export r; \
6831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6832 $(SET_LIB_PATH) \
6833 $(HOST_EXPORTS) \
6834 for flag in $(EXTRA_HOST_FLAGS) ; do \
6835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6836 done; \
6837 echo "Doing dvi in etc" ; \
6838 (cd $(HOST_SUBDIR)/etc && \
6839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6841 "RANLIB=$${RANLIB}" \
6842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6843 dvi) \
6844 || exit 1
6846 @endif etc
6848 .PHONY: maybe-html-etc html-etc
6849 maybe-html-etc:
6850 @if etc
6851 maybe-html-etc: html-etc
6853 html-etc: \
6854 configure-etc
6855 @[ -f ./etc/Makefile ] || exit 0; \
6856 r=`${PWD_COMMAND}`; export r; \
6857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6858 $(SET_LIB_PATH) \
6859 $(HOST_EXPORTS) \
6860 for flag in $(EXTRA_HOST_FLAGS) ; do \
6861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6862 done; \
6863 echo "Doing html in etc" ; \
6864 (cd $(HOST_SUBDIR)/etc && \
6865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6867 "RANLIB=$${RANLIB}" \
6868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6869 html) \
6870 || exit 1
6872 @endif etc
6874 .PHONY: maybe-TAGS-etc TAGS-etc
6875 maybe-TAGS-etc:
6876 @if etc
6877 maybe-TAGS-etc: TAGS-etc
6879 TAGS-etc: \
6880 configure-etc
6881 @[ -f ./etc/Makefile ] || exit 0; \
6882 r=`${PWD_COMMAND}`; export r; \
6883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6884 $(SET_LIB_PATH) \
6885 $(HOST_EXPORTS) \
6886 for flag in $(EXTRA_HOST_FLAGS) ; do \
6887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6888 done; \
6889 echo "Doing TAGS in etc" ; \
6890 (cd $(HOST_SUBDIR)/etc && \
6891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6893 "RANLIB=$${RANLIB}" \
6894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6895 TAGS) \
6896 || exit 1
6898 @endif etc
6900 .PHONY: maybe-install-info-etc install-info-etc
6901 maybe-install-info-etc:
6902 @if etc
6903 maybe-install-info-etc: install-info-etc
6905 install-info-etc: \
6906 configure-etc \
6907 info-etc
6908 @[ -f ./etc/Makefile ] || exit 0; \
6909 r=`${PWD_COMMAND}`; export r; \
6910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6911 $(SET_LIB_PATH) \
6912 $(HOST_EXPORTS) \
6913 for flag in $(EXTRA_HOST_FLAGS) ; do \
6914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6915 done; \
6916 echo "Doing install-info in etc" ; \
6917 (cd $(HOST_SUBDIR)/etc && \
6918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6920 "RANLIB=$${RANLIB}" \
6921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6922 install-info) \
6923 || exit 1
6925 @endif etc
6927 .PHONY: maybe-installcheck-etc installcheck-etc
6928 maybe-installcheck-etc:
6929 @if etc
6930 maybe-installcheck-etc: installcheck-etc
6932 installcheck-etc: \
6933 configure-etc
6934 @[ -f ./etc/Makefile ] || exit 0; \
6935 r=`${PWD_COMMAND}`; export r; \
6936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6937 $(SET_LIB_PATH) \
6938 $(HOST_EXPORTS) \
6939 for flag in $(EXTRA_HOST_FLAGS) ; do \
6940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6941 done; \
6942 echo "Doing installcheck in etc" ; \
6943 (cd $(HOST_SUBDIR)/etc && \
6944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6946 "RANLIB=$${RANLIB}" \
6947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6948 installcheck) \
6949 || exit 1
6951 @endif etc
6953 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6954 maybe-mostlyclean-etc:
6955 @if etc
6956 maybe-mostlyclean-etc: mostlyclean-etc
6958 mostlyclean-etc:
6959 @[ -f ./etc/Makefile ] || exit 0; \
6960 r=`${PWD_COMMAND}`; export r; \
6961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6962 $(SET_LIB_PATH) \
6963 $(HOST_EXPORTS) \
6964 for flag in $(EXTRA_HOST_FLAGS) ; do \
6965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6966 done; \
6967 echo "Doing mostlyclean in etc" ; \
6968 (cd $(HOST_SUBDIR)/etc && \
6969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6971 "RANLIB=$${RANLIB}" \
6972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6973 mostlyclean) \
6974 || exit 1
6976 @endif etc
6978 .PHONY: maybe-clean-etc clean-etc
6979 maybe-clean-etc:
6980 @if etc
6981 maybe-clean-etc: clean-etc
6983 clean-etc:
6984 @[ -f ./etc/Makefile ] || exit 0; \
6985 r=`${PWD_COMMAND}`; export r; \
6986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6987 $(SET_LIB_PATH) \
6988 $(HOST_EXPORTS) \
6989 for flag in $(EXTRA_HOST_FLAGS) ; do \
6990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6991 done; \
6992 echo "Doing clean in etc" ; \
6993 (cd $(HOST_SUBDIR)/etc && \
6994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6996 "RANLIB=$${RANLIB}" \
6997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6998 clean) \
6999 || exit 1
7001 @endif etc
7003 .PHONY: maybe-distclean-etc distclean-etc
7004 maybe-distclean-etc:
7005 @if etc
7006 maybe-distclean-etc: distclean-etc
7008 distclean-etc:
7009 @[ -f ./etc/Makefile ] || exit 0; \
7010 r=`${PWD_COMMAND}`; export r; \
7011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7012 $(SET_LIB_PATH) \
7013 $(HOST_EXPORTS) \
7014 for flag in $(EXTRA_HOST_FLAGS) ; do \
7015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7016 done; \
7017 echo "Doing distclean in etc" ; \
7018 (cd $(HOST_SUBDIR)/etc && \
7019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7021 "RANLIB=$${RANLIB}" \
7022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7023 distclean) \
7024 || exit 1
7026 @endif etc
7028 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7029 maybe-maintainer-clean-etc:
7030 @if etc
7031 maybe-maintainer-clean-etc: maintainer-clean-etc
7033 maintainer-clean-etc:
7034 @[ -f ./etc/Makefile ] || exit 0; \
7035 r=`${PWD_COMMAND}`; export r; \
7036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7037 $(SET_LIB_PATH) \
7038 $(HOST_EXPORTS) \
7039 for flag in $(EXTRA_HOST_FLAGS) ; do \
7040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7041 done; \
7042 echo "Doing maintainer-clean in etc" ; \
7043 (cd $(HOST_SUBDIR)/etc && \
7044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7046 "RANLIB=$${RANLIB}" \
7047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7048 maintainer-clean) \
7049 || exit 1
7051 @endif etc
7054 .PHONY: configure-fastjar maybe-configure-fastjar
7055 maybe-configure-fastjar:
7056 @if fastjar
7057 maybe-configure-fastjar: configure-fastjar
7058 configure-fastjar:
7059 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7061 r=`${PWD_COMMAND}`; export r; \
7062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7063 $(HOST_EXPORTS) \
7064 echo Configuring in fastjar; \
7065 cd $(HOST_SUBDIR)/fastjar || exit 1; \
7066 case $(srcdir) in \
7067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7068 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7070 esac; \
7071 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7072 libsrcdir="$$s/fastjar"; \
7073 $(SHELL) $${libsrcdir}/configure \
7074 $(HOST_CONFIGARGS) $${srcdiroption} \
7075 || exit 1
7076 @endif fastjar
7078 .PHONY: all-fastjar maybe-all-fastjar
7079 maybe-all-fastjar:
7080 @if fastjar
7081 TARGET-fastjar=all
7082 maybe-all-fastjar: all-fastjar
7083 all-fastjar: configure-fastjar
7084 @r=`${PWD_COMMAND}`; export r; \
7085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7086 $(SET_LIB_PATH) \
7087 $(HOST_EXPORTS) \
7088 (cd $(HOST_SUBDIR)/fastjar && \
7089 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
7090 @endif fastjar
7092 .PHONY: check-fastjar maybe-check-fastjar
7093 maybe-check-fastjar:
7094 @if fastjar
7095 maybe-check-fastjar: check-fastjar
7097 # This module is only tested in a native toolchain.
7098 check-fastjar:
7099 @if [ '$(host)' = '$(target)' ] ; then \
7100 r=`${PWD_COMMAND}`; export r; \
7101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7102 $(SET_LIB_PATH) \
7103 $(HOST_EXPORTS) \
7104 (cd $(HOST_SUBDIR)/fastjar && \
7105 $(MAKE) $(FLAGS_TO_PASS) check); \
7108 @endif fastjar
7110 .PHONY: install-fastjar maybe-install-fastjar
7111 maybe-install-fastjar:
7112 @if fastjar
7113 maybe-install-fastjar: install-fastjar
7115 install-fastjar: installdirs
7116 @r=`${PWD_COMMAND}`; export r; \
7117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7118 $(SET_LIB_PATH) \
7119 $(HOST_EXPORTS) \
7120 (cd $(HOST_SUBDIR)/fastjar && \
7121 $(MAKE) $(FLAGS_TO_PASS) install)
7123 @endif fastjar
7125 # Other targets (info, dvi, etc.)
7127 .PHONY: maybe-info-fastjar info-fastjar
7128 maybe-info-fastjar:
7129 @if fastjar
7130 maybe-info-fastjar: info-fastjar
7132 info-fastjar: \
7133 configure-fastjar
7134 @[ -f ./fastjar/Makefile ] || exit 0; \
7135 r=`${PWD_COMMAND}`; export r; \
7136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7137 $(SET_LIB_PATH) \
7138 $(HOST_EXPORTS) \
7139 for flag in $(EXTRA_HOST_FLAGS) ; do \
7140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7141 done; \
7142 echo "Doing info in fastjar" ; \
7143 (cd $(HOST_SUBDIR)/fastjar && \
7144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7146 "RANLIB=$${RANLIB}" \
7147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7148 info) \
7149 || exit 1
7151 @endif fastjar
7153 .PHONY: maybe-dvi-fastjar dvi-fastjar
7154 maybe-dvi-fastjar:
7155 @if fastjar
7156 maybe-dvi-fastjar: dvi-fastjar
7158 dvi-fastjar: \
7159 configure-fastjar
7160 @[ -f ./fastjar/Makefile ] || exit 0; \
7161 r=`${PWD_COMMAND}`; export r; \
7162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7163 $(SET_LIB_PATH) \
7164 $(HOST_EXPORTS) \
7165 for flag in $(EXTRA_HOST_FLAGS) ; do \
7166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7167 done; \
7168 echo "Doing dvi in fastjar" ; \
7169 (cd $(HOST_SUBDIR)/fastjar && \
7170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7172 "RANLIB=$${RANLIB}" \
7173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7174 dvi) \
7175 || exit 1
7177 @endif fastjar
7179 .PHONY: maybe-html-fastjar html-fastjar
7180 maybe-html-fastjar:
7181 @if fastjar
7182 maybe-html-fastjar: html-fastjar
7184 html-fastjar: \
7185 configure-fastjar
7186 @[ -f ./fastjar/Makefile ] || exit 0; \
7187 r=`${PWD_COMMAND}`; export r; \
7188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7189 $(SET_LIB_PATH) \
7190 $(HOST_EXPORTS) \
7191 for flag in $(EXTRA_HOST_FLAGS) ; do \
7192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7193 done; \
7194 echo "Doing html in fastjar" ; \
7195 (cd $(HOST_SUBDIR)/fastjar && \
7196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7198 "RANLIB=$${RANLIB}" \
7199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7200 html) \
7201 || exit 1
7203 @endif fastjar
7205 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7206 maybe-TAGS-fastjar:
7207 @if fastjar
7208 maybe-TAGS-fastjar: TAGS-fastjar
7210 TAGS-fastjar: \
7211 configure-fastjar
7212 @[ -f ./fastjar/Makefile ] || exit 0; \
7213 r=`${PWD_COMMAND}`; export r; \
7214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7215 $(SET_LIB_PATH) \
7216 $(HOST_EXPORTS) \
7217 for flag in $(EXTRA_HOST_FLAGS) ; do \
7218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7219 done; \
7220 echo "Doing TAGS in fastjar" ; \
7221 (cd $(HOST_SUBDIR)/fastjar && \
7222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7224 "RANLIB=$${RANLIB}" \
7225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7226 TAGS) \
7227 || exit 1
7229 @endif fastjar
7231 .PHONY: maybe-install-info-fastjar install-info-fastjar
7232 maybe-install-info-fastjar:
7233 @if fastjar
7234 maybe-install-info-fastjar: install-info-fastjar
7236 install-info-fastjar: \
7237 configure-fastjar \
7238 info-fastjar
7239 @[ -f ./fastjar/Makefile ] || exit 0; \
7240 r=`${PWD_COMMAND}`; export r; \
7241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7242 $(SET_LIB_PATH) \
7243 $(HOST_EXPORTS) \
7244 for flag in $(EXTRA_HOST_FLAGS) ; do \
7245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7246 done; \
7247 echo "Doing install-info in fastjar" ; \
7248 (cd $(HOST_SUBDIR)/fastjar && \
7249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7251 "RANLIB=$${RANLIB}" \
7252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7253 install-info) \
7254 || exit 1
7256 @endif fastjar
7258 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7259 maybe-installcheck-fastjar:
7260 @if fastjar
7261 maybe-installcheck-fastjar: installcheck-fastjar
7263 installcheck-fastjar: \
7264 configure-fastjar
7265 @[ -f ./fastjar/Makefile ] || exit 0; \
7266 r=`${PWD_COMMAND}`; export r; \
7267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7268 $(SET_LIB_PATH) \
7269 $(HOST_EXPORTS) \
7270 for flag in $(EXTRA_HOST_FLAGS) ; do \
7271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7272 done; \
7273 echo "Doing installcheck in fastjar" ; \
7274 (cd $(HOST_SUBDIR)/fastjar && \
7275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7277 "RANLIB=$${RANLIB}" \
7278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7279 installcheck) \
7280 || exit 1
7282 @endif fastjar
7284 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7285 maybe-mostlyclean-fastjar:
7286 @if fastjar
7287 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7289 mostlyclean-fastjar:
7290 @[ -f ./fastjar/Makefile ] || exit 0; \
7291 r=`${PWD_COMMAND}`; export r; \
7292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7293 $(SET_LIB_PATH) \
7294 $(HOST_EXPORTS) \
7295 for flag in $(EXTRA_HOST_FLAGS) ; do \
7296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7297 done; \
7298 echo "Doing mostlyclean in fastjar" ; \
7299 (cd $(HOST_SUBDIR)/fastjar && \
7300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7302 "RANLIB=$${RANLIB}" \
7303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7304 mostlyclean) \
7305 || exit 1
7307 @endif fastjar
7309 .PHONY: maybe-clean-fastjar clean-fastjar
7310 maybe-clean-fastjar:
7311 @if fastjar
7312 maybe-clean-fastjar: clean-fastjar
7314 clean-fastjar:
7315 @[ -f ./fastjar/Makefile ] || exit 0; \
7316 r=`${PWD_COMMAND}`; export r; \
7317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7318 $(SET_LIB_PATH) \
7319 $(HOST_EXPORTS) \
7320 for flag in $(EXTRA_HOST_FLAGS) ; do \
7321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7322 done; \
7323 echo "Doing clean in fastjar" ; \
7324 (cd $(HOST_SUBDIR)/fastjar && \
7325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7327 "RANLIB=$${RANLIB}" \
7328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7329 clean) \
7330 || exit 1
7332 @endif fastjar
7334 .PHONY: maybe-distclean-fastjar distclean-fastjar
7335 maybe-distclean-fastjar:
7336 @if fastjar
7337 maybe-distclean-fastjar: distclean-fastjar
7339 distclean-fastjar:
7340 @[ -f ./fastjar/Makefile ] || exit 0; \
7341 r=`${PWD_COMMAND}`; export r; \
7342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7343 $(SET_LIB_PATH) \
7344 $(HOST_EXPORTS) \
7345 for flag in $(EXTRA_HOST_FLAGS) ; do \
7346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7347 done; \
7348 echo "Doing distclean in fastjar" ; \
7349 (cd $(HOST_SUBDIR)/fastjar && \
7350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7352 "RANLIB=$${RANLIB}" \
7353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7354 distclean) \
7355 || exit 1
7357 @endif fastjar
7359 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7360 maybe-maintainer-clean-fastjar:
7361 @if fastjar
7362 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7364 maintainer-clean-fastjar:
7365 @[ -f ./fastjar/Makefile ] || exit 0; \
7366 r=`${PWD_COMMAND}`; export r; \
7367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7368 $(SET_LIB_PATH) \
7369 $(HOST_EXPORTS) \
7370 for flag in $(EXTRA_HOST_FLAGS) ; do \
7371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7372 done; \
7373 echo "Doing maintainer-clean in fastjar" ; \
7374 (cd $(HOST_SUBDIR)/fastjar && \
7375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7377 "RANLIB=$${RANLIB}" \
7378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7379 maintainer-clean) \
7380 || exit 1
7382 @endif fastjar
7385 .PHONY: configure-fileutils maybe-configure-fileutils
7386 maybe-configure-fileutils:
7387 @if fileutils
7388 maybe-configure-fileutils: configure-fileutils
7389 configure-fileutils:
7390 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
7391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
7392 r=`${PWD_COMMAND}`; export r; \
7393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7394 $(HOST_EXPORTS) \
7395 echo Configuring in fileutils; \
7396 cd $(HOST_SUBDIR)/fileutils || exit 1; \
7397 case $(srcdir) in \
7398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7399 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
7400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7401 esac; \
7402 srcdiroption="--srcdir=$${topdir}/fileutils"; \
7403 libsrcdir="$$s/fileutils"; \
7404 $(SHELL) $${libsrcdir}/configure \
7405 $(HOST_CONFIGARGS) $${srcdiroption} \
7406 || exit 1
7407 @endif fileutils
7409 .PHONY: all-fileutils maybe-all-fileutils
7410 maybe-all-fileutils:
7411 @if fileutils
7412 TARGET-fileutils=all
7413 maybe-all-fileutils: all-fileutils
7414 all-fileutils: configure-fileutils
7415 @r=`${PWD_COMMAND}`; export r; \
7416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7417 $(SET_LIB_PATH) \
7418 $(HOST_EXPORTS) \
7419 (cd $(HOST_SUBDIR)/fileutils && \
7420 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
7421 @endif fileutils
7423 .PHONY: check-fileutils maybe-check-fileutils
7424 maybe-check-fileutils:
7425 @if fileutils
7426 maybe-check-fileutils: check-fileutils
7428 check-fileutils:
7429 @r=`${PWD_COMMAND}`; export r; \
7430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7431 $(SET_LIB_PATH) \
7432 $(HOST_EXPORTS) \
7433 (cd $(HOST_SUBDIR)/fileutils && \
7434 $(MAKE) $(FLAGS_TO_PASS) check)
7436 @endif fileutils
7438 .PHONY: install-fileutils maybe-install-fileutils
7439 maybe-install-fileutils:
7440 @if fileutils
7441 maybe-install-fileutils: install-fileutils
7443 install-fileutils: installdirs
7444 @r=`${PWD_COMMAND}`; export r; \
7445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7446 $(SET_LIB_PATH) \
7447 $(HOST_EXPORTS) \
7448 (cd $(HOST_SUBDIR)/fileutils && \
7449 $(MAKE) $(FLAGS_TO_PASS) install)
7451 @endif fileutils
7453 # Other targets (info, dvi, etc.)
7455 .PHONY: maybe-info-fileutils info-fileutils
7456 maybe-info-fileutils:
7457 @if fileutils
7458 maybe-info-fileutils: info-fileutils
7460 info-fileutils: \
7461 configure-fileutils
7462 @[ -f ./fileutils/Makefile ] || exit 0; \
7463 r=`${PWD_COMMAND}`; export r; \
7464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7465 $(SET_LIB_PATH) \
7466 $(HOST_EXPORTS) \
7467 for flag in $(EXTRA_HOST_FLAGS) ; do \
7468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7469 done; \
7470 echo "Doing info in fileutils" ; \
7471 (cd $(HOST_SUBDIR)/fileutils && \
7472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7474 "RANLIB=$${RANLIB}" \
7475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7476 info) \
7477 || exit 1
7479 @endif fileutils
7481 .PHONY: maybe-dvi-fileutils dvi-fileutils
7482 maybe-dvi-fileutils:
7483 @if fileutils
7484 maybe-dvi-fileutils: dvi-fileutils
7486 dvi-fileutils: \
7487 configure-fileutils
7488 @[ -f ./fileutils/Makefile ] || exit 0; \
7489 r=`${PWD_COMMAND}`; export r; \
7490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7491 $(SET_LIB_PATH) \
7492 $(HOST_EXPORTS) \
7493 for flag in $(EXTRA_HOST_FLAGS) ; do \
7494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7495 done; \
7496 echo "Doing dvi in fileutils" ; \
7497 (cd $(HOST_SUBDIR)/fileutils && \
7498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7500 "RANLIB=$${RANLIB}" \
7501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7502 dvi) \
7503 || exit 1
7505 @endif fileutils
7507 .PHONY: maybe-html-fileutils html-fileutils
7508 maybe-html-fileutils:
7509 @if fileutils
7510 maybe-html-fileutils: html-fileutils
7512 html-fileutils: \
7513 configure-fileutils
7514 @[ -f ./fileutils/Makefile ] || exit 0; \
7515 r=`${PWD_COMMAND}`; export r; \
7516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7517 $(SET_LIB_PATH) \
7518 $(HOST_EXPORTS) \
7519 for flag in $(EXTRA_HOST_FLAGS) ; do \
7520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7521 done; \
7522 echo "Doing html in fileutils" ; \
7523 (cd $(HOST_SUBDIR)/fileutils && \
7524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7526 "RANLIB=$${RANLIB}" \
7527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7528 html) \
7529 || exit 1
7531 @endif fileutils
7533 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7534 maybe-TAGS-fileutils:
7535 @if fileutils
7536 maybe-TAGS-fileutils: TAGS-fileutils
7538 TAGS-fileutils: \
7539 configure-fileutils
7540 @[ -f ./fileutils/Makefile ] || exit 0; \
7541 r=`${PWD_COMMAND}`; export r; \
7542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7543 $(SET_LIB_PATH) \
7544 $(HOST_EXPORTS) \
7545 for flag in $(EXTRA_HOST_FLAGS) ; do \
7546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7547 done; \
7548 echo "Doing TAGS in fileutils" ; \
7549 (cd $(HOST_SUBDIR)/fileutils && \
7550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7552 "RANLIB=$${RANLIB}" \
7553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7554 TAGS) \
7555 || exit 1
7557 @endif fileutils
7559 .PHONY: maybe-install-info-fileutils install-info-fileutils
7560 maybe-install-info-fileutils:
7561 @if fileutils
7562 maybe-install-info-fileutils: install-info-fileutils
7564 install-info-fileutils: \
7565 configure-fileutils \
7566 info-fileutils
7567 @[ -f ./fileutils/Makefile ] || exit 0; \
7568 r=`${PWD_COMMAND}`; export r; \
7569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7570 $(SET_LIB_PATH) \
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 fileutils" ; \
7576 (cd $(HOST_SUBDIR)/fileutils && \
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 fileutils
7586 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7587 maybe-installcheck-fileutils:
7588 @if fileutils
7589 maybe-installcheck-fileutils: installcheck-fileutils
7591 installcheck-fileutils: \
7592 configure-fileutils
7593 @[ -f ./fileutils/Makefile ] || exit 0; \
7594 r=`${PWD_COMMAND}`; export r; \
7595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7596 $(SET_LIB_PATH) \
7597 $(HOST_EXPORTS) \
7598 for flag in $(EXTRA_HOST_FLAGS) ; do \
7599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7600 done; \
7601 echo "Doing installcheck in fileutils" ; \
7602 (cd $(HOST_SUBDIR)/fileutils && \
7603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7605 "RANLIB=$${RANLIB}" \
7606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7607 installcheck) \
7608 || exit 1
7610 @endif fileutils
7612 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7613 maybe-mostlyclean-fileutils:
7614 @if fileutils
7615 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7617 mostlyclean-fileutils:
7618 @[ -f ./fileutils/Makefile ] || exit 0; \
7619 r=`${PWD_COMMAND}`; export r; \
7620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7621 $(SET_LIB_PATH) \
7622 $(HOST_EXPORTS) \
7623 for flag in $(EXTRA_HOST_FLAGS) ; do \
7624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7625 done; \
7626 echo "Doing mostlyclean in fileutils" ; \
7627 (cd $(HOST_SUBDIR)/fileutils && \
7628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7630 "RANLIB=$${RANLIB}" \
7631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7632 mostlyclean) \
7633 || exit 1
7635 @endif fileutils
7637 .PHONY: maybe-clean-fileutils clean-fileutils
7638 maybe-clean-fileutils:
7639 @if fileutils
7640 maybe-clean-fileutils: clean-fileutils
7642 clean-fileutils:
7643 @[ -f ./fileutils/Makefile ] || exit 0; \
7644 r=`${PWD_COMMAND}`; export r; \
7645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7646 $(SET_LIB_PATH) \
7647 $(HOST_EXPORTS) \
7648 for flag in $(EXTRA_HOST_FLAGS) ; do \
7649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7650 done; \
7651 echo "Doing clean in fileutils" ; \
7652 (cd $(HOST_SUBDIR)/fileutils && \
7653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7655 "RANLIB=$${RANLIB}" \
7656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7657 clean) \
7658 || exit 1
7660 @endif fileutils
7662 .PHONY: maybe-distclean-fileutils distclean-fileutils
7663 maybe-distclean-fileutils:
7664 @if fileutils
7665 maybe-distclean-fileutils: distclean-fileutils
7667 distclean-fileutils:
7668 @[ -f ./fileutils/Makefile ] || exit 0; \
7669 r=`${PWD_COMMAND}`; export r; \
7670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7671 $(SET_LIB_PATH) \
7672 $(HOST_EXPORTS) \
7673 for flag in $(EXTRA_HOST_FLAGS) ; do \
7674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7675 done; \
7676 echo "Doing distclean in fileutils" ; \
7677 (cd $(HOST_SUBDIR)/fileutils && \
7678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7680 "RANLIB=$${RANLIB}" \
7681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7682 distclean) \
7683 || exit 1
7685 @endif fileutils
7687 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7688 maybe-maintainer-clean-fileutils:
7689 @if fileutils
7690 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7692 maintainer-clean-fileutils:
7693 @[ -f ./fileutils/Makefile ] || exit 0; \
7694 r=`${PWD_COMMAND}`; export r; \
7695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7696 $(SET_LIB_PATH) \
7697 $(HOST_EXPORTS) \
7698 for flag in $(EXTRA_HOST_FLAGS) ; do \
7699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7700 done; \
7701 echo "Doing maintainer-clean in fileutils" ; \
7702 (cd $(HOST_SUBDIR)/fileutils && \
7703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7705 "RANLIB=$${RANLIB}" \
7706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7707 maintainer-clean) \
7708 || exit 1
7710 @endif fileutils
7713 .PHONY: configure-findutils maybe-configure-findutils
7714 maybe-configure-findutils:
7715 @if findutils
7716 maybe-configure-findutils: configure-findutils
7717 configure-findutils:
7718 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
7719 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
7720 r=`${PWD_COMMAND}`; export r; \
7721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7722 $(HOST_EXPORTS) \
7723 echo Configuring in findutils; \
7724 cd $(HOST_SUBDIR)/findutils || exit 1; \
7725 case $(srcdir) in \
7726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7727 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
7728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7729 esac; \
7730 srcdiroption="--srcdir=$${topdir}/findutils"; \
7731 libsrcdir="$$s/findutils"; \
7732 $(SHELL) $${libsrcdir}/configure \
7733 $(HOST_CONFIGARGS) $${srcdiroption} \
7734 || exit 1
7735 @endif findutils
7737 .PHONY: all-findutils maybe-all-findutils
7738 maybe-all-findutils:
7739 @if findutils
7740 TARGET-findutils=all
7741 maybe-all-findutils: all-findutils
7742 all-findutils: configure-findutils
7743 @r=`${PWD_COMMAND}`; export r; \
7744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7745 $(SET_LIB_PATH) \
7746 $(HOST_EXPORTS) \
7747 (cd $(HOST_SUBDIR)/findutils && \
7748 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
7749 @endif findutils
7751 .PHONY: check-findutils maybe-check-findutils
7752 maybe-check-findutils:
7753 @if findutils
7754 maybe-check-findutils: check-findutils
7756 check-findutils:
7757 @r=`${PWD_COMMAND}`; export r; \
7758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7759 $(SET_LIB_PATH) \
7760 $(HOST_EXPORTS) \
7761 (cd $(HOST_SUBDIR)/findutils && \
7762 $(MAKE) $(FLAGS_TO_PASS) check)
7764 @endif findutils
7766 .PHONY: install-findutils maybe-install-findutils
7767 maybe-install-findutils:
7768 @if findutils
7769 maybe-install-findutils: install-findutils
7771 install-findutils: installdirs
7772 @r=`${PWD_COMMAND}`; export r; \
7773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7774 $(SET_LIB_PATH) \
7775 $(HOST_EXPORTS) \
7776 (cd $(HOST_SUBDIR)/findutils && \
7777 $(MAKE) $(FLAGS_TO_PASS) install)
7779 @endif findutils
7781 # Other targets (info, dvi, etc.)
7783 .PHONY: maybe-info-findutils info-findutils
7784 maybe-info-findutils:
7785 @if findutils
7786 maybe-info-findutils: info-findutils
7788 info-findutils: \
7789 configure-findutils
7790 @[ -f ./findutils/Makefile ] || exit 0; \
7791 r=`${PWD_COMMAND}`; export r; \
7792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7793 $(SET_LIB_PATH) \
7794 $(HOST_EXPORTS) \
7795 for flag in $(EXTRA_HOST_FLAGS) ; do \
7796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7797 done; \
7798 echo "Doing info in findutils" ; \
7799 (cd $(HOST_SUBDIR)/findutils && \
7800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7802 "RANLIB=$${RANLIB}" \
7803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7804 info) \
7805 || exit 1
7807 @endif findutils
7809 .PHONY: maybe-dvi-findutils dvi-findutils
7810 maybe-dvi-findutils:
7811 @if findutils
7812 maybe-dvi-findutils: dvi-findutils
7814 dvi-findutils: \
7815 configure-findutils
7816 @[ -f ./findutils/Makefile ] || exit 0; \
7817 r=`${PWD_COMMAND}`; export r; \
7818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7819 $(SET_LIB_PATH) \
7820 $(HOST_EXPORTS) \
7821 for flag in $(EXTRA_HOST_FLAGS) ; do \
7822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7823 done; \
7824 echo "Doing dvi in findutils" ; \
7825 (cd $(HOST_SUBDIR)/findutils && \
7826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7828 "RANLIB=$${RANLIB}" \
7829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7830 dvi) \
7831 || exit 1
7833 @endif findutils
7835 .PHONY: maybe-html-findutils html-findutils
7836 maybe-html-findutils:
7837 @if findutils
7838 maybe-html-findutils: html-findutils
7840 html-findutils: \
7841 configure-findutils
7842 @[ -f ./findutils/Makefile ] || exit 0; \
7843 r=`${PWD_COMMAND}`; export r; \
7844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7845 $(SET_LIB_PATH) \
7846 $(HOST_EXPORTS) \
7847 for flag in $(EXTRA_HOST_FLAGS) ; do \
7848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7849 done; \
7850 echo "Doing html in findutils" ; \
7851 (cd $(HOST_SUBDIR)/findutils && \
7852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7854 "RANLIB=$${RANLIB}" \
7855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7856 html) \
7857 || exit 1
7859 @endif findutils
7861 .PHONY: maybe-TAGS-findutils TAGS-findutils
7862 maybe-TAGS-findutils:
7863 @if findutils
7864 maybe-TAGS-findutils: TAGS-findutils
7866 TAGS-findutils: \
7867 configure-findutils
7868 @[ -f ./findutils/Makefile ] || exit 0; \
7869 r=`${PWD_COMMAND}`; export r; \
7870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7871 $(SET_LIB_PATH) \
7872 $(HOST_EXPORTS) \
7873 for flag in $(EXTRA_HOST_FLAGS) ; do \
7874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7875 done; \
7876 echo "Doing TAGS in findutils" ; \
7877 (cd $(HOST_SUBDIR)/findutils && \
7878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7880 "RANLIB=$${RANLIB}" \
7881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7882 TAGS) \
7883 || exit 1
7885 @endif findutils
7887 .PHONY: maybe-install-info-findutils install-info-findutils
7888 maybe-install-info-findutils:
7889 @if findutils
7890 maybe-install-info-findutils: install-info-findutils
7892 install-info-findutils: \
7893 configure-findutils \
7894 info-findutils
7895 @[ -f ./findutils/Makefile ] || exit 0; \
7896 r=`${PWD_COMMAND}`; export r; \
7897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7898 $(SET_LIB_PATH) \
7899 $(HOST_EXPORTS) \
7900 for flag in $(EXTRA_HOST_FLAGS) ; do \
7901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7902 done; \
7903 echo "Doing install-info in findutils" ; \
7904 (cd $(HOST_SUBDIR)/findutils && \
7905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7907 "RANLIB=$${RANLIB}" \
7908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7909 install-info) \
7910 || exit 1
7912 @endif findutils
7914 .PHONY: maybe-installcheck-findutils installcheck-findutils
7915 maybe-installcheck-findutils:
7916 @if findutils
7917 maybe-installcheck-findutils: installcheck-findutils
7919 installcheck-findutils: \
7920 configure-findutils
7921 @[ -f ./findutils/Makefile ] || exit 0; \
7922 r=`${PWD_COMMAND}`; export r; \
7923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7924 $(SET_LIB_PATH) \
7925 $(HOST_EXPORTS) \
7926 for flag in $(EXTRA_HOST_FLAGS) ; do \
7927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7928 done; \
7929 echo "Doing installcheck in findutils" ; \
7930 (cd $(HOST_SUBDIR)/findutils && \
7931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7933 "RANLIB=$${RANLIB}" \
7934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7935 installcheck) \
7936 || exit 1
7938 @endif findutils
7940 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7941 maybe-mostlyclean-findutils:
7942 @if findutils
7943 maybe-mostlyclean-findutils: mostlyclean-findutils
7945 mostlyclean-findutils:
7946 @[ -f ./findutils/Makefile ] || exit 0; \
7947 r=`${PWD_COMMAND}`; export r; \
7948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7949 $(SET_LIB_PATH) \
7950 $(HOST_EXPORTS) \
7951 for flag in $(EXTRA_HOST_FLAGS) ; do \
7952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7953 done; \
7954 echo "Doing mostlyclean in findutils" ; \
7955 (cd $(HOST_SUBDIR)/findutils && \
7956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7958 "RANLIB=$${RANLIB}" \
7959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7960 mostlyclean) \
7961 || exit 1
7963 @endif findutils
7965 .PHONY: maybe-clean-findutils clean-findutils
7966 maybe-clean-findutils:
7967 @if findutils
7968 maybe-clean-findutils: clean-findutils
7970 clean-findutils:
7971 @[ -f ./findutils/Makefile ] || exit 0; \
7972 r=`${PWD_COMMAND}`; export r; \
7973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7974 $(SET_LIB_PATH) \
7975 $(HOST_EXPORTS) \
7976 for flag in $(EXTRA_HOST_FLAGS) ; do \
7977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7978 done; \
7979 echo "Doing clean in findutils" ; \
7980 (cd $(HOST_SUBDIR)/findutils && \
7981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7983 "RANLIB=$${RANLIB}" \
7984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7985 clean) \
7986 || exit 1
7988 @endif findutils
7990 .PHONY: maybe-distclean-findutils distclean-findutils
7991 maybe-distclean-findutils:
7992 @if findutils
7993 maybe-distclean-findutils: distclean-findutils
7995 distclean-findutils:
7996 @[ -f ./findutils/Makefile ] || exit 0; \
7997 r=`${PWD_COMMAND}`; export r; \
7998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7999 $(SET_LIB_PATH) \
8000 $(HOST_EXPORTS) \
8001 for flag in $(EXTRA_HOST_FLAGS) ; do \
8002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8003 done; \
8004 echo "Doing distclean in findutils" ; \
8005 (cd $(HOST_SUBDIR)/findutils && \
8006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8008 "RANLIB=$${RANLIB}" \
8009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8010 distclean) \
8011 || exit 1
8013 @endif findutils
8015 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
8016 maybe-maintainer-clean-findutils:
8017 @if findutils
8018 maybe-maintainer-clean-findutils: maintainer-clean-findutils
8020 maintainer-clean-findutils:
8021 @[ -f ./findutils/Makefile ] || exit 0; \
8022 r=`${PWD_COMMAND}`; export r; \
8023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8024 $(SET_LIB_PATH) \
8025 $(HOST_EXPORTS) \
8026 for flag in $(EXTRA_HOST_FLAGS) ; do \
8027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8028 done; \
8029 echo "Doing maintainer-clean in findutils" ; \
8030 (cd $(HOST_SUBDIR)/findutils && \
8031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8033 "RANLIB=$${RANLIB}" \
8034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8035 maintainer-clean) \
8036 || exit 1
8038 @endif findutils
8041 .PHONY: configure-find maybe-configure-find
8042 maybe-configure-find:
8043 @if find
8044 maybe-configure-find: configure-find
8045 configure-find:
8046 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
8047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
8048 r=`${PWD_COMMAND}`; export r; \
8049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8050 $(HOST_EXPORTS) \
8051 echo Configuring in find; \
8052 cd $(HOST_SUBDIR)/find || exit 1; \
8053 case $(srcdir) in \
8054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8055 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
8056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8057 esac; \
8058 srcdiroption="--srcdir=$${topdir}/find"; \
8059 libsrcdir="$$s/find"; \
8060 $(SHELL) $${libsrcdir}/configure \
8061 $(HOST_CONFIGARGS) $${srcdiroption} \
8062 || exit 1
8063 @endif find
8065 .PHONY: all-find maybe-all-find
8066 maybe-all-find:
8067 @if find
8068 TARGET-find=all
8069 maybe-all-find: all-find
8070 all-find: configure-find
8071 @r=`${PWD_COMMAND}`; export r; \
8072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8073 $(SET_LIB_PATH) \
8074 $(HOST_EXPORTS) \
8075 (cd $(HOST_SUBDIR)/find && \
8076 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
8077 @endif find
8079 .PHONY: check-find maybe-check-find
8080 maybe-check-find:
8081 @if find
8082 maybe-check-find: check-find
8084 check-find:
8085 @r=`${PWD_COMMAND}`; export r; \
8086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8087 $(SET_LIB_PATH) \
8088 $(HOST_EXPORTS) \
8089 (cd $(HOST_SUBDIR)/find && \
8090 $(MAKE) $(FLAGS_TO_PASS) check)
8092 @endif find
8094 .PHONY: install-find maybe-install-find
8095 maybe-install-find:
8096 @if find
8097 maybe-install-find: install-find
8099 install-find: installdirs
8100 @r=`${PWD_COMMAND}`; export r; \
8101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8102 $(SET_LIB_PATH) \
8103 $(HOST_EXPORTS) \
8104 (cd $(HOST_SUBDIR)/find && \
8105 $(MAKE) $(FLAGS_TO_PASS) install)
8107 @endif find
8109 # Other targets (info, dvi, etc.)
8111 .PHONY: maybe-info-find info-find
8112 maybe-info-find:
8113 @if find
8114 maybe-info-find: info-find
8116 info-find: \
8117 configure-find
8118 @[ -f ./find/Makefile ] || exit 0; \
8119 r=`${PWD_COMMAND}`; export r; \
8120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8121 $(SET_LIB_PATH) \
8122 $(HOST_EXPORTS) \
8123 for flag in $(EXTRA_HOST_FLAGS) ; do \
8124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8125 done; \
8126 echo "Doing info in find" ; \
8127 (cd $(HOST_SUBDIR)/find && \
8128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8130 "RANLIB=$${RANLIB}" \
8131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8132 info) \
8133 || exit 1
8135 @endif find
8137 .PHONY: maybe-dvi-find dvi-find
8138 maybe-dvi-find:
8139 @if find
8140 maybe-dvi-find: dvi-find
8142 dvi-find: \
8143 configure-find
8144 @[ -f ./find/Makefile ] || exit 0; \
8145 r=`${PWD_COMMAND}`; export r; \
8146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8147 $(SET_LIB_PATH) \
8148 $(HOST_EXPORTS) \
8149 for flag in $(EXTRA_HOST_FLAGS) ; do \
8150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8151 done; \
8152 echo "Doing dvi in find" ; \
8153 (cd $(HOST_SUBDIR)/find && \
8154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8156 "RANLIB=$${RANLIB}" \
8157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8158 dvi) \
8159 || exit 1
8161 @endif find
8163 .PHONY: maybe-html-find html-find
8164 maybe-html-find:
8165 @if find
8166 maybe-html-find: html-find
8168 html-find: \
8169 configure-find
8170 @[ -f ./find/Makefile ] || exit 0; \
8171 r=`${PWD_COMMAND}`; export r; \
8172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8173 $(SET_LIB_PATH) \
8174 $(HOST_EXPORTS) \
8175 for flag in $(EXTRA_HOST_FLAGS) ; do \
8176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8177 done; \
8178 echo "Doing html in find" ; \
8179 (cd $(HOST_SUBDIR)/find && \
8180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8182 "RANLIB=$${RANLIB}" \
8183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8184 html) \
8185 || exit 1
8187 @endif find
8189 .PHONY: maybe-TAGS-find TAGS-find
8190 maybe-TAGS-find:
8191 @if find
8192 maybe-TAGS-find: TAGS-find
8194 TAGS-find: \
8195 configure-find
8196 @[ -f ./find/Makefile ] || exit 0; \
8197 r=`${PWD_COMMAND}`; export r; \
8198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8199 $(SET_LIB_PATH) \
8200 $(HOST_EXPORTS) \
8201 for flag in $(EXTRA_HOST_FLAGS) ; do \
8202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8203 done; \
8204 echo "Doing TAGS in find" ; \
8205 (cd $(HOST_SUBDIR)/find && \
8206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8208 "RANLIB=$${RANLIB}" \
8209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8210 TAGS) \
8211 || exit 1
8213 @endif find
8215 .PHONY: maybe-install-info-find install-info-find
8216 maybe-install-info-find:
8217 @if find
8218 maybe-install-info-find: install-info-find
8220 install-info-find: \
8221 configure-find \
8222 info-find
8223 @[ -f ./find/Makefile ] || exit 0; \
8224 r=`${PWD_COMMAND}`; export r; \
8225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8226 $(SET_LIB_PATH) \
8227 $(HOST_EXPORTS) \
8228 for flag in $(EXTRA_HOST_FLAGS) ; do \
8229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8230 done; \
8231 echo "Doing install-info in find" ; \
8232 (cd $(HOST_SUBDIR)/find && \
8233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8235 "RANLIB=$${RANLIB}" \
8236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8237 install-info) \
8238 || exit 1
8240 @endif find
8242 .PHONY: maybe-installcheck-find installcheck-find
8243 maybe-installcheck-find:
8244 @if find
8245 maybe-installcheck-find: installcheck-find
8247 installcheck-find: \
8248 configure-find
8249 @[ -f ./find/Makefile ] || exit 0; \
8250 r=`${PWD_COMMAND}`; export r; \
8251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8252 $(SET_LIB_PATH) \
8253 $(HOST_EXPORTS) \
8254 for flag in $(EXTRA_HOST_FLAGS) ; do \
8255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8256 done; \
8257 echo "Doing installcheck in find" ; \
8258 (cd $(HOST_SUBDIR)/find && \
8259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8261 "RANLIB=$${RANLIB}" \
8262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8263 installcheck) \
8264 || exit 1
8266 @endif find
8268 .PHONY: maybe-mostlyclean-find mostlyclean-find
8269 maybe-mostlyclean-find:
8270 @if find
8271 maybe-mostlyclean-find: mostlyclean-find
8273 mostlyclean-find:
8274 @[ -f ./find/Makefile ] || exit 0; \
8275 r=`${PWD_COMMAND}`; export r; \
8276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8277 $(SET_LIB_PATH) \
8278 $(HOST_EXPORTS) \
8279 for flag in $(EXTRA_HOST_FLAGS) ; do \
8280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8281 done; \
8282 echo "Doing mostlyclean in find" ; \
8283 (cd $(HOST_SUBDIR)/find && \
8284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8286 "RANLIB=$${RANLIB}" \
8287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8288 mostlyclean) \
8289 || exit 1
8291 @endif find
8293 .PHONY: maybe-clean-find clean-find
8294 maybe-clean-find:
8295 @if find
8296 maybe-clean-find: clean-find
8298 clean-find:
8299 @[ -f ./find/Makefile ] || exit 0; \
8300 r=`${PWD_COMMAND}`; export r; \
8301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8302 $(SET_LIB_PATH) \
8303 $(HOST_EXPORTS) \
8304 for flag in $(EXTRA_HOST_FLAGS) ; do \
8305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8306 done; \
8307 echo "Doing clean in find" ; \
8308 (cd $(HOST_SUBDIR)/find && \
8309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8311 "RANLIB=$${RANLIB}" \
8312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8313 clean) \
8314 || exit 1
8316 @endif find
8318 .PHONY: maybe-distclean-find distclean-find
8319 maybe-distclean-find:
8320 @if find
8321 maybe-distclean-find: distclean-find
8323 distclean-find:
8324 @[ -f ./find/Makefile ] || exit 0; \
8325 r=`${PWD_COMMAND}`; export r; \
8326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8327 $(SET_LIB_PATH) \
8328 $(HOST_EXPORTS) \
8329 for flag in $(EXTRA_HOST_FLAGS) ; do \
8330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8331 done; \
8332 echo "Doing distclean in find" ; \
8333 (cd $(HOST_SUBDIR)/find && \
8334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8336 "RANLIB=$${RANLIB}" \
8337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8338 distclean) \
8339 || exit 1
8341 @endif find
8343 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
8344 maybe-maintainer-clean-find:
8345 @if find
8346 maybe-maintainer-clean-find: maintainer-clean-find
8348 maintainer-clean-find:
8349 @[ -f ./find/Makefile ] || exit 0; \
8350 r=`${PWD_COMMAND}`; export r; \
8351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8352 $(SET_LIB_PATH) \
8353 $(HOST_EXPORTS) \
8354 for flag in $(EXTRA_HOST_FLAGS) ; do \
8355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8356 done; \
8357 echo "Doing maintainer-clean in find" ; \
8358 (cd $(HOST_SUBDIR)/find && \
8359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8361 "RANLIB=$${RANLIB}" \
8362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8363 maintainer-clean) \
8364 || exit 1
8366 @endif find
8369 .PHONY: configure-fixincludes maybe-configure-fixincludes
8370 maybe-configure-fixincludes:
8371 @if fixincludes
8372 maybe-configure-fixincludes: configure-fixincludes
8373 configure-fixincludes:
8374 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8375 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8376 r=`${PWD_COMMAND}`; export r; \
8377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8378 $(HOST_EXPORTS) \
8379 echo Configuring in fixincludes; \
8380 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8381 case $(srcdir) in \
8382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8383 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8385 esac; \
8386 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
8387 libsrcdir="$$s/fixincludes"; \
8388 $(SHELL) $${libsrcdir}/configure \
8389 $(HOST_CONFIGARGS) $${srcdiroption} \
8390 || exit 1
8391 @endif fixincludes
8393 .PHONY: all-fixincludes maybe-all-fixincludes
8394 maybe-all-fixincludes:
8395 @if fixincludes
8396 TARGET-fixincludes=all
8397 maybe-all-fixincludes: all-fixincludes
8398 all-fixincludes: configure-fixincludes
8399 @r=`${PWD_COMMAND}`; export r; \
8400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8401 $(SET_LIB_PATH) \
8402 $(HOST_EXPORTS) \
8403 (cd $(HOST_SUBDIR)/fixincludes && \
8404 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
8405 @endif fixincludes
8407 .PHONY: check-fixincludes maybe-check-fixincludes
8408 maybe-check-fixincludes:
8409 @if fixincludes
8410 maybe-check-fixincludes: check-fixincludes
8412 check-fixincludes:
8413 @r=`${PWD_COMMAND}`; export r; \
8414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8415 $(SET_LIB_PATH) \
8416 $(HOST_EXPORTS) \
8417 (cd $(HOST_SUBDIR)/fixincludes && \
8418 $(MAKE) $(FLAGS_TO_PASS) check)
8420 @endif fixincludes
8422 .PHONY: install-fixincludes maybe-install-fixincludes
8423 maybe-install-fixincludes:
8424 @if fixincludes
8425 maybe-install-fixincludes: install-fixincludes
8427 install-fixincludes: installdirs
8428 @r=`${PWD_COMMAND}`; export r; \
8429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8430 $(SET_LIB_PATH) \
8431 $(HOST_EXPORTS) \
8432 (cd $(HOST_SUBDIR)/fixincludes && \
8433 $(MAKE) $(FLAGS_TO_PASS) install)
8435 @endif fixincludes
8437 # Other targets (info, dvi, etc.)
8439 .PHONY: maybe-info-fixincludes info-fixincludes
8440 maybe-info-fixincludes:
8441 @if fixincludes
8442 maybe-info-fixincludes: info-fixincludes
8444 # fixincludes doesn't support info.
8445 info-fixincludes:
8447 @endif fixincludes
8449 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8450 maybe-dvi-fixincludes:
8451 @if fixincludes
8452 maybe-dvi-fixincludes: dvi-fixincludes
8454 # fixincludes doesn't support dvi.
8455 dvi-fixincludes:
8457 @endif fixincludes
8459 .PHONY: maybe-html-fixincludes html-fixincludes
8460 maybe-html-fixincludes:
8461 @if fixincludes
8462 maybe-html-fixincludes: html-fixincludes
8464 html-fixincludes: \
8465 configure-fixincludes
8466 @[ -f ./fixincludes/Makefile ] || exit 0; \
8467 r=`${PWD_COMMAND}`; export r; \
8468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8469 $(SET_LIB_PATH) \
8470 $(HOST_EXPORTS) \
8471 for flag in $(EXTRA_HOST_FLAGS) ; do \
8472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8473 done; \
8474 echo "Doing html in fixincludes" ; \
8475 (cd $(HOST_SUBDIR)/fixincludes && \
8476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8478 "RANLIB=$${RANLIB}" \
8479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8480 html) \
8481 || exit 1
8483 @endif fixincludes
8485 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8486 maybe-TAGS-fixincludes:
8487 @if fixincludes
8488 maybe-TAGS-fixincludes: TAGS-fixincludes
8490 # fixincludes doesn't support TAGS.
8491 TAGS-fixincludes:
8493 @endif fixincludes
8495 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8496 maybe-install-info-fixincludes:
8497 @if fixincludes
8498 maybe-install-info-fixincludes: install-info-fixincludes
8500 # fixincludes doesn't support install-info.
8501 install-info-fixincludes:
8503 @endif fixincludes
8505 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8506 maybe-installcheck-fixincludes:
8507 @if fixincludes
8508 maybe-installcheck-fixincludes: installcheck-fixincludes
8510 # fixincludes doesn't support installcheck.
8511 installcheck-fixincludes:
8513 @endif fixincludes
8515 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8516 maybe-mostlyclean-fixincludes:
8517 @if fixincludes
8518 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8520 mostlyclean-fixincludes:
8521 @[ -f ./fixincludes/Makefile ] || exit 0; \
8522 r=`${PWD_COMMAND}`; export r; \
8523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8524 $(SET_LIB_PATH) \
8525 $(HOST_EXPORTS) \
8526 for flag in $(EXTRA_HOST_FLAGS) ; do \
8527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8528 done; \
8529 echo "Doing mostlyclean in fixincludes" ; \
8530 (cd $(HOST_SUBDIR)/fixincludes && \
8531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8533 "RANLIB=$${RANLIB}" \
8534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8535 mostlyclean) \
8536 || exit 1
8538 @endif fixincludes
8540 .PHONY: maybe-clean-fixincludes clean-fixincludes
8541 maybe-clean-fixincludes:
8542 @if fixincludes
8543 maybe-clean-fixincludes: clean-fixincludes
8545 clean-fixincludes:
8546 @[ -f ./fixincludes/Makefile ] || exit 0; \
8547 r=`${PWD_COMMAND}`; export r; \
8548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8549 $(SET_LIB_PATH) \
8550 $(HOST_EXPORTS) \
8551 for flag in $(EXTRA_HOST_FLAGS) ; do \
8552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8553 done; \
8554 echo "Doing clean in fixincludes" ; \
8555 (cd $(HOST_SUBDIR)/fixincludes && \
8556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8558 "RANLIB=$${RANLIB}" \
8559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8560 clean) \
8561 || exit 1
8563 @endif fixincludes
8565 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8566 maybe-distclean-fixincludes:
8567 @if fixincludes
8568 maybe-distclean-fixincludes: distclean-fixincludes
8570 distclean-fixincludes:
8571 @[ -f ./fixincludes/Makefile ] || exit 0; \
8572 r=`${PWD_COMMAND}`; export r; \
8573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8574 $(SET_LIB_PATH) \
8575 $(HOST_EXPORTS) \
8576 for flag in $(EXTRA_HOST_FLAGS) ; do \
8577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8578 done; \
8579 echo "Doing distclean in fixincludes" ; \
8580 (cd $(HOST_SUBDIR)/fixincludes && \
8581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8583 "RANLIB=$${RANLIB}" \
8584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8585 distclean) \
8586 || exit 1
8588 @endif fixincludes
8590 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8591 maybe-maintainer-clean-fixincludes:
8592 @if fixincludes
8593 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8595 maintainer-clean-fixincludes:
8596 @[ -f ./fixincludes/Makefile ] || exit 0; \
8597 r=`${PWD_COMMAND}`; export r; \
8598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8599 $(SET_LIB_PATH) \
8600 $(HOST_EXPORTS) \
8601 for flag in $(EXTRA_HOST_FLAGS) ; do \
8602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8603 done; \
8604 echo "Doing maintainer-clean in fixincludes" ; \
8605 (cd $(HOST_SUBDIR)/fixincludes && \
8606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8608 "RANLIB=$${RANLIB}" \
8609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8610 maintainer-clean) \
8611 || exit 1
8613 @endif fixincludes
8616 .PHONY: configure-flex maybe-configure-flex
8617 maybe-configure-flex:
8618 @if flex
8619 maybe-configure-flex: configure-flex
8620 configure-flex:
8621 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8622 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8623 r=`${PWD_COMMAND}`; export r; \
8624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8625 $(HOST_EXPORTS) \
8626 echo Configuring in flex; \
8627 cd $(HOST_SUBDIR)/flex || exit 1; \
8628 case $(srcdir) in \
8629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8630 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8632 esac; \
8633 srcdiroption="--srcdir=$${topdir}/flex"; \
8634 libsrcdir="$$s/flex"; \
8635 $(SHELL) $${libsrcdir}/configure \
8636 $(HOST_CONFIGARGS) $${srcdiroption} \
8637 || exit 1
8638 @endif flex
8640 .PHONY: all-flex maybe-all-flex
8641 maybe-all-flex:
8642 @if flex
8643 TARGET-flex=all
8644 maybe-all-flex: all-flex
8645 all-flex: configure-flex
8646 @r=`${PWD_COMMAND}`; export r; \
8647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8648 $(SET_LIB_PATH) \
8649 $(HOST_EXPORTS) \
8650 (cd $(HOST_SUBDIR)/flex && \
8651 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
8652 @endif flex
8654 .PHONY: check-flex maybe-check-flex
8655 maybe-check-flex:
8656 @if flex
8657 maybe-check-flex: check-flex
8659 # This module is only tested in a native toolchain.
8660 check-flex:
8661 @if [ '$(host)' = '$(target)' ] ; then \
8662 r=`${PWD_COMMAND}`; export r; \
8663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8664 $(SET_LIB_PATH) \
8665 $(HOST_EXPORTS) \
8666 (cd $(HOST_SUBDIR)/flex && \
8667 $(MAKE) $(FLAGS_TO_PASS) check); \
8670 @endif flex
8672 .PHONY: install-flex maybe-install-flex
8673 maybe-install-flex:
8674 @if flex
8675 maybe-install-flex: install-flex
8677 install-flex: installdirs
8678 @r=`${PWD_COMMAND}`; export r; \
8679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8680 $(SET_LIB_PATH) \
8681 $(HOST_EXPORTS) \
8682 (cd $(HOST_SUBDIR)/flex && \
8683 $(MAKE) $(FLAGS_TO_PASS) install)
8685 @endif flex
8687 # Other targets (info, dvi, etc.)
8689 .PHONY: maybe-info-flex info-flex
8690 maybe-info-flex:
8691 @if flex
8692 maybe-info-flex: info-flex
8694 info-flex: \
8695 configure-flex
8696 @[ -f ./flex/Makefile ] || exit 0; \
8697 r=`${PWD_COMMAND}`; export r; \
8698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8699 $(SET_LIB_PATH) \
8700 $(HOST_EXPORTS) \
8701 for flag in $(EXTRA_HOST_FLAGS) ; do \
8702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8703 done; \
8704 echo "Doing info in flex" ; \
8705 (cd $(HOST_SUBDIR)/flex && \
8706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8708 "RANLIB=$${RANLIB}" \
8709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8710 info) \
8711 || exit 1
8713 @endif flex
8715 .PHONY: maybe-dvi-flex dvi-flex
8716 maybe-dvi-flex:
8717 @if flex
8718 maybe-dvi-flex: dvi-flex
8720 dvi-flex: \
8721 configure-flex
8722 @[ -f ./flex/Makefile ] || exit 0; \
8723 r=`${PWD_COMMAND}`; export r; \
8724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8725 $(SET_LIB_PATH) \
8726 $(HOST_EXPORTS) \
8727 for flag in $(EXTRA_HOST_FLAGS) ; do \
8728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8729 done; \
8730 echo "Doing dvi in flex" ; \
8731 (cd $(HOST_SUBDIR)/flex && \
8732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8734 "RANLIB=$${RANLIB}" \
8735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8736 dvi) \
8737 || exit 1
8739 @endif flex
8741 .PHONY: maybe-html-flex html-flex
8742 maybe-html-flex:
8743 @if flex
8744 maybe-html-flex: html-flex
8746 html-flex: \
8747 configure-flex
8748 @[ -f ./flex/Makefile ] || exit 0; \
8749 r=`${PWD_COMMAND}`; export r; \
8750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8751 $(SET_LIB_PATH) \
8752 $(HOST_EXPORTS) \
8753 for flag in $(EXTRA_HOST_FLAGS) ; do \
8754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8755 done; \
8756 echo "Doing html in flex" ; \
8757 (cd $(HOST_SUBDIR)/flex && \
8758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8760 "RANLIB=$${RANLIB}" \
8761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8762 html) \
8763 || exit 1
8765 @endif flex
8767 .PHONY: maybe-TAGS-flex TAGS-flex
8768 maybe-TAGS-flex:
8769 @if flex
8770 maybe-TAGS-flex: TAGS-flex
8772 TAGS-flex: \
8773 configure-flex
8774 @[ -f ./flex/Makefile ] || exit 0; \
8775 r=`${PWD_COMMAND}`; export r; \
8776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8777 $(SET_LIB_PATH) \
8778 $(HOST_EXPORTS) \
8779 for flag in $(EXTRA_HOST_FLAGS) ; do \
8780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8781 done; \
8782 echo "Doing TAGS in flex" ; \
8783 (cd $(HOST_SUBDIR)/flex && \
8784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8786 "RANLIB=$${RANLIB}" \
8787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8788 TAGS) \
8789 || exit 1
8791 @endif flex
8793 .PHONY: maybe-install-info-flex install-info-flex
8794 maybe-install-info-flex:
8795 @if flex
8796 maybe-install-info-flex: install-info-flex
8798 install-info-flex: \
8799 configure-flex \
8800 info-flex
8801 @[ -f ./flex/Makefile ] || exit 0; \
8802 r=`${PWD_COMMAND}`; export r; \
8803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8804 $(SET_LIB_PATH) \
8805 $(HOST_EXPORTS) \
8806 for flag in $(EXTRA_HOST_FLAGS) ; do \
8807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8808 done; \
8809 echo "Doing install-info in flex" ; \
8810 (cd $(HOST_SUBDIR)/flex && \
8811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8813 "RANLIB=$${RANLIB}" \
8814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8815 install-info) \
8816 || exit 1
8818 @endif flex
8820 .PHONY: maybe-installcheck-flex installcheck-flex
8821 maybe-installcheck-flex:
8822 @if flex
8823 maybe-installcheck-flex: installcheck-flex
8825 installcheck-flex: \
8826 configure-flex
8827 @[ -f ./flex/Makefile ] || exit 0; \
8828 r=`${PWD_COMMAND}`; export r; \
8829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8830 $(SET_LIB_PATH) \
8831 $(HOST_EXPORTS) \
8832 for flag in $(EXTRA_HOST_FLAGS) ; do \
8833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8834 done; \
8835 echo "Doing installcheck in flex" ; \
8836 (cd $(HOST_SUBDIR)/flex && \
8837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8839 "RANLIB=$${RANLIB}" \
8840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8841 installcheck) \
8842 || exit 1
8844 @endif flex
8846 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8847 maybe-mostlyclean-flex:
8848 @if flex
8849 maybe-mostlyclean-flex: mostlyclean-flex
8851 mostlyclean-flex:
8852 @[ -f ./flex/Makefile ] || exit 0; \
8853 r=`${PWD_COMMAND}`; export r; \
8854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8855 $(SET_LIB_PATH) \
8856 $(HOST_EXPORTS) \
8857 for flag in $(EXTRA_HOST_FLAGS) ; do \
8858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8859 done; \
8860 echo "Doing mostlyclean in flex" ; \
8861 (cd $(HOST_SUBDIR)/flex && \
8862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8864 "RANLIB=$${RANLIB}" \
8865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8866 mostlyclean) \
8867 || exit 1
8869 @endif flex
8871 .PHONY: maybe-clean-flex clean-flex
8872 maybe-clean-flex:
8873 @if flex
8874 maybe-clean-flex: clean-flex
8876 clean-flex:
8877 @[ -f ./flex/Makefile ] || exit 0; \
8878 r=`${PWD_COMMAND}`; export r; \
8879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8880 $(SET_LIB_PATH) \
8881 $(HOST_EXPORTS) \
8882 for flag in $(EXTRA_HOST_FLAGS) ; do \
8883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8884 done; \
8885 echo "Doing clean in flex" ; \
8886 (cd $(HOST_SUBDIR)/flex && \
8887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8889 "RANLIB=$${RANLIB}" \
8890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8891 clean) \
8892 || exit 1
8894 @endif flex
8896 .PHONY: maybe-distclean-flex distclean-flex
8897 maybe-distclean-flex:
8898 @if flex
8899 maybe-distclean-flex: distclean-flex
8901 distclean-flex:
8902 @[ -f ./flex/Makefile ] || exit 0; \
8903 r=`${PWD_COMMAND}`; export r; \
8904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8905 $(SET_LIB_PATH) \
8906 $(HOST_EXPORTS) \
8907 for flag in $(EXTRA_HOST_FLAGS) ; do \
8908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8909 done; \
8910 echo "Doing distclean in flex" ; \
8911 (cd $(HOST_SUBDIR)/flex && \
8912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8914 "RANLIB=$${RANLIB}" \
8915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8916 distclean) \
8917 || exit 1
8919 @endif flex
8921 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8922 maybe-maintainer-clean-flex:
8923 @if flex
8924 maybe-maintainer-clean-flex: maintainer-clean-flex
8926 maintainer-clean-flex:
8927 @[ -f ./flex/Makefile ] || exit 0; \
8928 r=`${PWD_COMMAND}`; export r; \
8929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8930 $(SET_LIB_PATH) \
8931 $(HOST_EXPORTS) \
8932 for flag in $(EXTRA_HOST_FLAGS) ; do \
8933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8934 done; \
8935 echo "Doing maintainer-clean in flex" ; \
8936 (cd $(HOST_SUBDIR)/flex && \
8937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8939 "RANLIB=$${RANLIB}" \
8940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8941 maintainer-clean) \
8942 || exit 1
8944 @endif flex
8947 .PHONY: configure-gas maybe-configure-gas
8948 maybe-configure-gas:
8949 @if gas
8950 maybe-configure-gas: configure-gas
8951 configure-gas:
8952 @test -f stage_last && exit 0; \
8953 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8954 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8955 r=`${PWD_COMMAND}`; export r; \
8956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8957 $(HOST_EXPORTS) \
8958 echo Configuring in gas; \
8959 cd $(HOST_SUBDIR)/gas || exit 1; \
8960 case $(srcdir) in \
8961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8962 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8964 esac; \
8965 srcdiroption="--srcdir=$${topdir}/gas"; \
8966 libsrcdir="$$s/gas"; \
8967 $(SHELL) $${libsrcdir}/configure \
8968 $(HOST_CONFIGARGS) $${srcdiroption} \
8969 || exit 1
8970 @endif gas
8972 .PHONY: all-gas maybe-all-gas
8973 maybe-all-gas:
8974 @if gas
8975 TARGET-gas=all
8976 maybe-all-gas: all-gas
8977 all-gas: configure-gas
8978 @test -f stage_last && exit 0; \
8979 r=`${PWD_COMMAND}`; export r; \
8980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8981 $(SET_LIB_PATH) \
8982 $(HOST_EXPORTS) \
8983 (cd $(HOST_SUBDIR)/gas && \
8984 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
8985 @endif gas
8987 .PHONY: check-gas maybe-check-gas
8988 maybe-check-gas:
8989 @if gas
8990 maybe-check-gas: check-gas
8992 check-gas:
8993 @r=`${PWD_COMMAND}`; export r; \
8994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8995 $(SET_LIB_PATH) \
8996 $(HOST_EXPORTS) \
8997 (cd $(HOST_SUBDIR)/gas && \
8998 $(MAKE) $(FLAGS_TO_PASS) check)
9000 @endif gas
9002 .PHONY: install-gas maybe-install-gas
9003 maybe-install-gas:
9004 @if gas
9005 maybe-install-gas: install-gas
9007 install-gas: installdirs
9008 @r=`${PWD_COMMAND}`; export r; \
9009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9010 $(SET_LIB_PATH) \
9011 $(HOST_EXPORTS) \
9012 (cd $(HOST_SUBDIR)/gas && \
9013 $(MAKE) $(FLAGS_TO_PASS) install)
9015 @endif gas
9017 # Other targets (info, dvi, etc.)
9019 .PHONY: maybe-info-gas info-gas
9020 maybe-info-gas:
9021 @if gas
9022 maybe-info-gas: info-gas
9024 info-gas: \
9025 configure-gas
9026 @[ -f ./gas/Makefile ] || exit 0; \
9027 r=`${PWD_COMMAND}`; export r; \
9028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9029 $(SET_LIB_PATH) \
9030 $(HOST_EXPORTS) \
9031 for flag in $(EXTRA_HOST_FLAGS) ; do \
9032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9033 done; \
9034 echo "Doing info in gas" ; \
9035 (cd $(HOST_SUBDIR)/gas && \
9036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9038 "RANLIB=$${RANLIB}" \
9039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9040 info) \
9041 || exit 1
9043 @endif gas
9045 .PHONY: maybe-dvi-gas dvi-gas
9046 maybe-dvi-gas:
9047 @if gas
9048 maybe-dvi-gas: dvi-gas
9050 dvi-gas: \
9051 configure-gas
9052 @[ -f ./gas/Makefile ] || exit 0; \
9053 r=`${PWD_COMMAND}`; export r; \
9054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9055 $(SET_LIB_PATH) \
9056 $(HOST_EXPORTS) \
9057 for flag in $(EXTRA_HOST_FLAGS) ; do \
9058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9059 done; \
9060 echo "Doing dvi in gas" ; \
9061 (cd $(HOST_SUBDIR)/gas && \
9062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9064 "RANLIB=$${RANLIB}" \
9065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9066 dvi) \
9067 || exit 1
9069 @endif gas
9071 .PHONY: maybe-html-gas html-gas
9072 maybe-html-gas:
9073 @if gas
9074 maybe-html-gas: html-gas
9076 html-gas: \
9077 configure-gas
9078 @[ -f ./gas/Makefile ] || exit 0; \
9079 r=`${PWD_COMMAND}`; export r; \
9080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9081 $(SET_LIB_PATH) \
9082 $(HOST_EXPORTS) \
9083 for flag in $(EXTRA_HOST_FLAGS) ; do \
9084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9085 done; \
9086 echo "Doing html in gas" ; \
9087 (cd $(HOST_SUBDIR)/gas && \
9088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9090 "RANLIB=$${RANLIB}" \
9091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9092 html) \
9093 || exit 1
9095 @endif gas
9097 .PHONY: maybe-TAGS-gas TAGS-gas
9098 maybe-TAGS-gas:
9099 @if gas
9100 maybe-TAGS-gas: TAGS-gas
9102 TAGS-gas: \
9103 configure-gas
9104 @[ -f ./gas/Makefile ] || exit 0; \
9105 r=`${PWD_COMMAND}`; export r; \
9106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9107 $(SET_LIB_PATH) \
9108 $(HOST_EXPORTS) \
9109 for flag in $(EXTRA_HOST_FLAGS) ; do \
9110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9111 done; \
9112 echo "Doing TAGS in gas" ; \
9113 (cd $(HOST_SUBDIR)/gas && \
9114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9116 "RANLIB=$${RANLIB}" \
9117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9118 TAGS) \
9119 || exit 1
9121 @endif gas
9123 .PHONY: maybe-install-info-gas install-info-gas
9124 maybe-install-info-gas:
9125 @if gas
9126 maybe-install-info-gas: install-info-gas
9128 install-info-gas: \
9129 configure-gas \
9130 info-gas
9131 @[ -f ./gas/Makefile ] || exit 0; \
9132 r=`${PWD_COMMAND}`; export r; \
9133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9134 $(SET_LIB_PATH) \
9135 $(HOST_EXPORTS) \
9136 for flag in $(EXTRA_HOST_FLAGS) ; do \
9137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9138 done; \
9139 echo "Doing install-info in gas" ; \
9140 (cd $(HOST_SUBDIR)/gas && \
9141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9143 "RANLIB=$${RANLIB}" \
9144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9145 install-info) \
9146 || exit 1
9148 @endif gas
9150 .PHONY: maybe-installcheck-gas installcheck-gas
9151 maybe-installcheck-gas:
9152 @if gas
9153 maybe-installcheck-gas: installcheck-gas
9155 installcheck-gas: \
9156 configure-gas
9157 @[ -f ./gas/Makefile ] || exit 0; \
9158 r=`${PWD_COMMAND}`; export r; \
9159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9160 $(SET_LIB_PATH) \
9161 $(HOST_EXPORTS) \
9162 for flag in $(EXTRA_HOST_FLAGS) ; do \
9163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9164 done; \
9165 echo "Doing installcheck in gas" ; \
9166 (cd $(HOST_SUBDIR)/gas && \
9167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9169 "RANLIB=$${RANLIB}" \
9170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9171 installcheck) \
9172 || exit 1
9174 @endif gas
9176 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9177 maybe-mostlyclean-gas:
9178 @if gas
9179 maybe-mostlyclean-gas: mostlyclean-gas
9181 mostlyclean-gas:
9182 @[ -f ./gas/Makefile ] || exit 0; \
9183 r=`${PWD_COMMAND}`; export r; \
9184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9185 $(SET_LIB_PATH) \
9186 $(HOST_EXPORTS) \
9187 for flag in $(EXTRA_HOST_FLAGS) ; do \
9188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9189 done; \
9190 echo "Doing mostlyclean in gas" ; \
9191 (cd $(HOST_SUBDIR)/gas && \
9192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9194 "RANLIB=$${RANLIB}" \
9195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9196 mostlyclean) \
9197 || exit 1
9199 @endif gas
9201 .PHONY: maybe-clean-gas clean-gas
9202 maybe-clean-gas:
9203 @if gas
9204 maybe-clean-gas: clean-gas
9206 clean-gas:
9207 @[ -f ./gas/Makefile ] || exit 0; \
9208 r=`${PWD_COMMAND}`; export r; \
9209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9210 $(SET_LIB_PATH) \
9211 $(HOST_EXPORTS) \
9212 for flag in $(EXTRA_HOST_FLAGS) ; do \
9213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9214 done; \
9215 echo "Doing clean in gas" ; \
9216 (cd $(HOST_SUBDIR)/gas && \
9217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9219 "RANLIB=$${RANLIB}" \
9220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9221 clean) \
9222 || exit 1
9224 @endif gas
9226 .PHONY: maybe-distclean-gas distclean-gas
9227 maybe-distclean-gas:
9228 @if gas
9229 maybe-distclean-gas: distclean-gas
9231 distclean-gas:
9232 @[ -f ./gas/Makefile ] || exit 0; \
9233 r=`${PWD_COMMAND}`; export r; \
9234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9235 $(SET_LIB_PATH) \
9236 $(HOST_EXPORTS) \
9237 for flag in $(EXTRA_HOST_FLAGS) ; do \
9238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9239 done; \
9240 echo "Doing distclean in gas" ; \
9241 (cd $(HOST_SUBDIR)/gas && \
9242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9244 "RANLIB=$${RANLIB}" \
9245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9246 distclean) \
9247 || exit 1
9249 @endif gas
9251 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9252 maybe-maintainer-clean-gas:
9253 @if gas
9254 maybe-maintainer-clean-gas: maintainer-clean-gas
9256 maintainer-clean-gas:
9257 @[ -f ./gas/Makefile ] || exit 0; \
9258 r=`${PWD_COMMAND}`; export r; \
9259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9260 $(SET_LIB_PATH) \
9261 $(HOST_EXPORTS) \
9262 for flag in $(EXTRA_HOST_FLAGS) ; do \
9263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9264 done; \
9265 echo "Doing maintainer-clean in gas" ; \
9266 (cd $(HOST_SUBDIR)/gas && \
9267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9269 "RANLIB=$${RANLIB}" \
9270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9271 maintainer-clean) \
9272 || exit 1
9274 @endif gas
9277 .PHONY: configure-gcc maybe-configure-gcc
9278 maybe-configure-gcc:
9279 @if gcc
9280 maybe-configure-gcc: configure-gcc
9281 configure-gcc:
9282 @test -f stage_last && exit 0; \
9283 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9284 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9285 r=`${PWD_COMMAND}`; export r; \
9286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9287 $(HOST_EXPORTS) \
9288 echo Configuring in gcc; \
9289 cd $(HOST_SUBDIR)/gcc || exit 1; \
9290 case $(srcdir) in \
9291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9292 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9294 esac; \
9295 srcdiroption="--srcdir=$${topdir}/gcc"; \
9296 libsrcdir="$$s/gcc"; \
9297 $(SHELL) $${libsrcdir}/configure \
9298 $(HOST_CONFIGARGS) $${srcdiroption} \
9299 || exit 1
9300 @endif gcc
9302 .PHONY: all-gcc maybe-all-gcc
9303 maybe-all-gcc:
9304 @if gcc
9305 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
9306 maybe-all-gcc: all-gcc
9307 all-gcc: configure-gcc
9308 @test -f stage_last && exit 0; \
9309 r=`${PWD_COMMAND}`; export r; \
9310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9311 $(SET_LIB_PATH) \
9312 $(HOST_EXPORTS) \
9313 (cd $(HOST_SUBDIR)/gcc && \
9314 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
9315 @endif gcc
9317 .PHONY: check-gcc maybe-check-gcc
9318 maybe-check-gcc:
9319 @if gcc
9320 maybe-check-gcc: check-gcc
9322 check-gcc:
9323 @r=`${PWD_COMMAND}`; export r; \
9324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9325 $(SET_LIB_PATH) \
9326 $(HOST_EXPORTS) \
9327 (cd $(HOST_SUBDIR)/gcc && \
9328 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
9330 @endif gcc
9332 .PHONY: install-gcc maybe-install-gcc
9333 maybe-install-gcc:
9334 @if gcc
9335 maybe-install-gcc: install-gcc
9337 install-gcc: installdirs
9338 @r=`${PWD_COMMAND}`; export r; \
9339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9340 $(SET_LIB_PATH) \
9341 $(HOST_EXPORTS) \
9342 (cd $(HOST_SUBDIR)/gcc && \
9343 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
9345 @endif gcc
9347 # Other targets (info, dvi, etc.)
9349 .PHONY: maybe-info-gcc info-gcc
9350 maybe-info-gcc:
9351 @if gcc
9352 maybe-info-gcc: info-gcc
9354 info-gcc: \
9355 configure-gcc
9356 @[ -f ./gcc/Makefile ] || exit 0; \
9357 r=`${PWD_COMMAND}`; export r; \
9358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9359 $(SET_LIB_PATH) \
9360 $(HOST_EXPORTS) \
9361 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9363 done; \
9364 echo "Doing info in gcc" ; \
9365 (cd $(HOST_SUBDIR)/gcc && \
9366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9368 "RANLIB=$${RANLIB}" \
9369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9370 info) \
9371 || exit 1
9373 @endif gcc
9375 .PHONY: maybe-dvi-gcc dvi-gcc
9376 maybe-dvi-gcc:
9377 @if gcc
9378 maybe-dvi-gcc: dvi-gcc
9380 dvi-gcc: \
9381 configure-gcc
9382 @[ -f ./gcc/Makefile ] || exit 0; \
9383 r=`${PWD_COMMAND}`; export r; \
9384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9385 $(SET_LIB_PATH) \
9386 $(HOST_EXPORTS) \
9387 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9389 done; \
9390 echo "Doing dvi in gcc" ; \
9391 (cd $(HOST_SUBDIR)/gcc && \
9392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9394 "RANLIB=$${RANLIB}" \
9395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9396 dvi) \
9397 || exit 1
9399 @endif gcc
9401 .PHONY: maybe-html-gcc html-gcc
9402 maybe-html-gcc:
9403 @if gcc
9404 maybe-html-gcc: html-gcc
9406 html-gcc: \
9407 configure-gcc
9408 @[ -f ./gcc/Makefile ] || exit 0; \
9409 r=`${PWD_COMMAND}`; export r; \
9410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9411 $(SET_LIB_PATH) \
9412 $(HOST_EXPORTS) \
9413 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9415 done; \
9416 echo "Doing html in gcc" ; \
9417 (cd $(HOST_SUBDIR)/gcc && \
9418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9420 "RANLIB=$${RANLIB}" \
9421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9422 html) \
9423 || exit 1
9425 @endif gcc
9427 .PHONY: maybe-TAGS-gcc TAGS-gcc
9428 maybe-TAGS-gcc:
9429 @if gcc
9430 maybe-TAGS-gcc: TAGS-gcc
9432 TAGS-gcc: \
9433 configure-gcc
9434 @[ -f ./gcc/Makefile ] || exit 0; \
9435 r=`${PWD_COMMAND}`; export r; \
9436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9437 $(SET_LIB_PATH) \
9438 $(HOST_EXPORTS) \
9439 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9441 done; \
9442 echo "Doing TAGS in gcc" ; \
9443 (cd $(HOST_SUBDIR)/gcc && \
9444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9446 "RANLIB=$${RANLIB}" \
9447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9448 TAGS) \
9449 || exit 1
9451 @endif gcc
9453 .PHONY: maybe-install-info-gcc install-info-gcc
9454 maybe-install-info-gcc:
9455 @if gcc
9456 maybe-install-info-gcc: install-info-gcc
9458 install-info-gcc: \
9459 configure-gcc \
9460 info-gcc
9461 @[ -f ./gcc/Makefile ] || exit 0; \
9462 r=`${PWD_COMMAND}`; export r; \
9463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9464 $(SET_LIB_PATH) \
9465 $(HOST_EXPORTS) \
9466 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9468 done; \
9469 echo "Doing install-info in gcc" ; \
9470 (cd $(HOST_SUBDIR)/gcc && \
9471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9473 "RANLIB=$${RANLIB}" \
9474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9475 install-info) \
9476 || exit 1
9478 @endif gcc
9480 .PHONY: maybe-installcheck-gcc installcheck-gcc
9481 maybe-installcheck-gcc:
9482 @if gcc
9483 maybe-installcheck-gcc: installcheck-gcc
9485 installcheck-gcc: \
9486 configure-gcc
9487 @[ -f ./gcc/Makefile ] || exit 0; \
9488 r=`${PWD_COMMAND}`; export r; \
9489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9490 $(SET_LIB_PATH) \
9491 $(HOST_EXPORTS) \
9492 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9494 done; \
9495 echo "Doing installcheck in gcc" ; \
9496 (cd $(HOST_SUBDIR)/gcc && \
9497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9499 "RANLIB=$${RANLIB}" \
9500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9501 installcheck) \
9502 || exit 1
9504 @endif gcc
9506 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
9507 maybe-mostlyclean-gcc:
9508 @if gcc
9509 maybe-mostlyclean-gcc: mostlyclean-gcc
9511 mostlyclean-gcc:
9512 @[ -f ./gcc/Makefile ] || exit 0; \
9513 r=`${PWD_COMMAND}`; export r; \
9514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9515 $(SET_LIB_PATH) \
9516 $(HOST_EXPORTS) \
9517 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9519 done; \
9520 echo "Doing mostlyclean in gcc" ; \
9521 (cd $(HOST_SUBDIR)/gcc && \
9522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9524 "RANLIB=$${RANLIB}" \
9525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9526 mostlyclean) \
9527 || exit 1
9529 @endif gcc
9531 .PHONY: maybe-clean-gcc clean-gcc
9532 maybe-clean-gcc:
9533 @if gcc
9534 maybe-clean-gcc: clean-gcc
9536 clean-gcc:
9537 @[ -f ./gcc/Makefile ] || exit 0; \
9538 r=`${PWD_COMMAND}`; export r; \
9539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9540 $(SET_LIB_PATH) \
9541 $(HOST_EXPORTS) \
9542 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9544 done; \
9545 echo "Doing clean in gcc" ; \
9546 (cd $(HOST_SUBDIR)/gcc && \
9547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9549 "RANLIB=$${RANLIB}" \
9550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9551 clean) \
9552 || exit 1
9554 @endif gcc
9556 .PHONY: maybe-distclean-gcc distclean-gcc
9557 maybe-distclean-gcc:
9558 @if gcc
9559 maybe-distclean-gcc: distclean-gcc
9561 distclean-gcc:
9562 @[ -f ./gcc/Makefile ] || exit 0; \
9563 r=`${PWD_COMMAND}`; export r; \
9564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9565 $(SET_LIB_PATH) \
9566 $(HOST_EXPORTS) \
9567 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9569 done; \
9570 echo "Doing distclean in gcc" ; \
9571 (cd $(HOST_SUBDIR)/gcc && \
9572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9574 "RANLIB=$${RANLIB}" \
9575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9576 distclean) \
9577 || exit 1
9579 @endif gcc
9581 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
9582 maybe-maintainer-clean-gcc:
9583 @if gcc
9584 maybe-maintainer-clean-gcc: maintainer-clean-gcc
9586 maintainer-clean-gcc:
9587 @[ -f ./gcc/Makefile ] || exit 0; \
9588 r=`${PWD_COMMAND}`; export r; \
9589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9590 $(SET_LIB_PATH) \
9591 $(HOST_EXPORTS) \
9592 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9594 done; \
9595 echo "Doing maintainer-clean in gcc" ; \
9596 (cd $(HOST_SUBDIR)/gcc && \
9597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9599 "RANLIB=$${RANLIB}" \
9600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9601 maintainer-clean) \
9602 || exit 1
9604 @endif gcc
9607 .PHONY: configure-gawk maybe-configure-gawk
9608 maybe-configure-gawk:
9609 @if gawk
9610 maybe-configure-gawk: configure-gawk
9611 configure-gawk:
9612 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
9613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
9614 r=`${PWD_COMMAND}`; export r; \
9615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9616 $(HOST_EXPORTS) \
9617 echo Configuring in gawk; \
9618 cd $(HOST_SUBDIR)/gawk || exit 1; \
9619 case $(srcdir) in \
9620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9621 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
9622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9623 esac; \
9624 srcdiroption="--srcdir=$${topdir}/gawk"; \
9625 libsrcdir="$$s/gawk"; \
9626 $(SHELL) $${libsrcdir}/configure \
9627 $(HOST_CONFIGARGS) $${srcdiroption} \
9628 || exit 1
9629 @endif gawk
9631 .PHONY: all-gawk maybe-all-gawk
9632 maybe-all-gawk:
9633 @if gawk
9634 TARGET-gawk=all
9635 maybe-all-gawk: all-gawk
9636 all-gawk: configure-gawk
9637 @r=`${PWD_COMMAND}`; export r; \
9638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9639 $(SET_LIB_PATH) \
9640 $(HOST_EXPORTS) \
9641 (cd $(HOST_SUBDIR)/gawk && \
9642 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
9643 @endif gawk
9645 .PHONY: check-gawk maybe-check-gawk
9646 maybe-check-gawk:
9647 @if gawk
9648 maybe-check-gawk: check-gawk
9650 check-gawk:
9651 @r=`${PWD_COMMAND}`; export r; \
9652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9653 $(SET_LIB_PATH) \
9654 $(HOST_EXPORTS) \
9655 (cd $(HOST_SUBDIR)/gawk && \
9656 $(MAKE) $(FLAGS_TO_PASS) check)
9658 @endif gawk
9660 .PHONY: install-gawk maybe-install-gawk
9661 maybe-install-gawk:
9662 @if gawk
9663 maybe-install-gawk: install-gawk
9665 install-gawk: installdirs
9666 @r=`${PWD_COMMAND}`; export r; \
9667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9668 $(SET_LIB_PATH) \
9669 $(HOST_EXPORTS) \
9670 (cd $(HOST_SUBDIR)/gawk && \
9671 $(MAKE) $(FLAGS_TO_PASS) install)
9673 @endif gawk
9675 # Other targets (info, dvi, etc.)
9677 .PHONY: maybe-info-gawk info-gawk
9678 maybe-info-gawk:
9679 @if gawk
9680 maybe-info-gawk: info-gawk
9682 info-gawk: \
9683 configure-gawk
9684 @[ -f ./gawk/Makefile ] || exit 0; \
9685 r=`${PWD_COMMAND}`; export r; \
9686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9687 $(SET_LIB_PATH) \
9688 $(HOST_EXPORTS) \
9689 for flag in $(EXTRA_HOST_FLAGS) ; do \
9690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9691 done; \
9692 echo "Doing info in gawk" ; \
9693 (cd $(HOST_SUBDIR)/gawk && \
9694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9696 "RANLIB=$${RANLIB}" \
9697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9698 info) \
9699 || exit 1
9701 @endif gawk
9703 .PHONY: maybe-dvi-gawk dvi-gawk
9704 maybe-dvi-gawk:
9705 @if gawk
9706 maybe-dvi-gawk: dvi-gawk
9708 dvi-gawk: \
9709 configure-gawk
9710 @[ -f ./gawk/Makefile ] || exit 0; \
9711 r=`${PWD_COMMAND}`; export r; \
9712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9713 $(SET_LIB_PATH) \
9714 $(HOST_EXPORTS) \
9715 for flag in $(EXTRA_HOST_FLAGS) ; do \
9716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9717 done; \
9718 echo "Doing dvi in gawk" ; \
9719 (cd $(HOST_SUBDIR)/gawk && \
9720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9722 "RANLIB=$${RANLIB}" \
9723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9724 dvi) \
9725 || exit 1
9727 @endif gawk
9729 .PHONY: maybe-html-gawk html-gawk
9730 maybe-html-gawk:
9731 @if gawk
9732 maybe-html-gawk: html-gawk
9734 html-gawk: \
9735 configure-gawk
9736 @[ -f ./gawk/Makefile ] || exit 0; \
9737 r=`${PWD_COMMAND}`; export r; \
9738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9739 $(SET_LIB_PATH) \
9740 $(HOST_EXPORTS) \
9741 for flag in $(EXTRA_HOST_FLAGS) ; do \
9742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9743 done; \
9744 echo "Doing html in gawk" ; \
9745 (cd $(HOST_SUBDIR)/gawk && \
9746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9748 "RANLIB=$${RANLIB}" \
9749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9750 html) \
9751 || exit 1
9753 @endif gawk
9755 .PHONY: maybe-TAGS-gawk TAGS-gawk
9756 maybe-TAGS-gawk:
9757 @if gawk
9758 maybe-TAGS-gawk: TAGS-gawk
9760 TAGS-gawk: \
9761 configure-gawk
9762 @[ -f ./gawk/Makefile ] || exit 0; \
9763 r=`${PWD_COMMAND}`; export r; \
9764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9765 $(SET_LIB_PATH) \
9766 $(HOST_EXPORTS) \
9767 for flag in $(EXTRA_HOST_FLAGS) ; do \
9768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9769 done; \
9770 echo "Doing TAGS in gawk" ; \
9771 (cd $(HOST_SUBDIR)/gawk && \
9772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9774 "RANLIB=$${RANLIB}" \
9775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9776 TAGS) \
9777 || exit 1
9779 @endif gawk
9781 .PHONY: maybe-install-info-gawk install-info-gawk
9782 maybe-install-info-gawk:
9783 @if gawk
9784 maybe-install-info-gawk: install-info-gawk
9786 install-info-gawk: \
9787 configure-gawk \
9788 info-gawk
9789 @[ -f ./gawk/Makefile ] || exit 0; \
9790 r=`${PWD_COMMAND}`; export r; \
9791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9792 $(SET_LIB_PATH) \
9793 $(HOST_EXPORTS) \
9794 for flag in $(EXTRA_HOST_FLAGS) ; do \
9795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9796 done; \
9797 echo "Doing install-info in gawk" ; \
9798 (cd $(HOST_SUBDIR)/gawk && \
9799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9801 "RANLIB=$${RANLIB}" \
9802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9803 install-info) \
9804 || exit 1
9806 @endif gawk
9808 .PHONY: maybe-installcheck-gawk installcheck-gawk
9809 maybe-installcheck-gawk:
9810 @if gawk
9811 maybe-installcheck-gawk: installcheck-gawk
9813 installcheck-gawk: \
9814 configure-gawk
9815 @[ -f ./gawk/Makefile ] || exit 0; \
9816 r=`${PWD_COMMAND}`; export r; \
9817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9818 $(SET_LIB_PATH) \
9819 $(HOST_EXPORTS) \
9820 for flag in $(EXTRA_HOST_FLAGS) ; do \
9821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9822 done; \
9823 echo "Doing installcheck in gawk" ; \
9824 (cd $(HOST_SUBDIR)/gawk && \
9825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9827 "RANLIB=$${RANLIB}" \
9828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9829 installcheck) \
9830 || exit 1
9832 @endif gawk
9834 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9835 maybe-mostlyclean-gawk:
9836 @if gawk
9837 maybe-mostlyclean-gawk: mostlyclean-gawk
9839 mostlyclean-gawk:
9840 @[ -f ./gawk/Makefile ] || exit 0; \
9841 r=`${PWD_COMMAND}`; export r; \
9842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9843 $(SET_LIB_PATH) \
9844 $(HOST_EXPORTS) \
9845 for flag in $(EXTRA_HOST_FLAGS) ; do \
9846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9847 done; \
9848 echo "Doing mostlyclean in gawk" ; \
9849 (cd $(HOST_SUBDIR)/gawk && \
9850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9852 "RANLIB=$${RANLIB}" \
9853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9854 mostlyclean) \
9855 || exit 1
9857 @endif gawk
9859 .PHONY: maybe-clean-gawk clean-gawk
9860 maybe-clean-gawk:
9861 @if gawk
9862 maybe-clean-gawk: clean-gawk
9864 clean-gawk:
9865 @[ -f ./gawk/Makefile ] || exit 0; \
9866 r=`${PWD_COMMAND}`; export r; \
9867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9868 $(SET_LIB_PATH) \
9869 $(HOST_EXPORTS) \
9870 for flag in $(EXTRA_HOST_FLAGS) ; do \
9871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9872 done; \
9873 echo "Doing clean in gawk" ; \
9874 (cd $(HOST_SUBDIR)/gawk && \
9875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9877 "RANLIB=$${RANLIB}" \
9878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9879 clean) \
9880 || exit 1
9882 @endif gawk
9884 .PHONY: maybe-distclean-gawk distclean-gawk
9885 maybe-distclean-gawk:
9886 @if gawk
9887 maybe-distclean-gawk: distclean-gawk
9889 distclean-gawk:
9890 @[ -f ./gawk/Makefile ] || exit 0; \
9891 r=`${PWD_COMMAND}`; export r; \
9892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9893 $(SET_LIB_PATH) \
9894 $(HOST_EXPORTS) \
9895 for flag in $(EXTRA_HOST_FLAGS) ; do \
9896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9897 done; \
9898 echo "Doing distclean in gawk" ; \
9899 (cd $(HOST_SUBDIR)/gawk && \
9900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9902 "RANLIB=$${RANLIB}" \
9903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9904 distclean) \
9905 || exit 1
9907 @endif gawk
9909 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9910 maybe-maintainer-clean-gawk:
9911 @if gawk
9912 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9914 maintainer-clean-gawk:
9915 @[ -f ./gawk/Makefile ] || exit 0; \
9916 r=`${PWD_COMMAND}`; export r; \
9917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9918 $(SET_LIB_PATH) \
9919 $(HOST_EXPORTS) \
9920 for flag in $(EXTRA_HOST_FLAGS) ; do \
9921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9922 done; \
9923 echo "Doing maintainer-clean in gawk" ; \
9924 (cd $(HOST_SUBDIR)/gawk && \
9925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9927 "RANLIB=$${RANLIB}" \
9928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9929 maintainer-clean) \
9930 || exit 1
9932 @endif gawk
9935 .PHONY: configure-gettext maybe-configure-gettext
9936 maybe-configure-gettext:
9937 @if gettext
9938 maybe-configure-gettext: configure-gettext
9939 configure-gettext:
9940 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
9941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
9942 r=`${PWD_COMMAND}`; export r; \
9943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9944 $(HOST_EXPORTS) \
9945 echo Configuring in gettext; \
9946 cd $(HOST_SUBDIR)/gettext || exit 1; \
9947 case $(srcdir) in \
9948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9949 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
9950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9951 esac; \
9952 srcdiroption="--srcdir=$${topdir}/gettext"; \
9953 libsrcdir="$$s/gettext"; \
9954 $(SHELL) $${libsrcdir}/configure \
9955 $(HOST_CONFIGARGS) $${srcdiroption} \
9956 || exit 1
9957 @endif gettext
9959 .PHONY: all-gettext maybe-all-gettext
9960 maybe-all-gettext:
9961 @if gettext
9962 TARGET-gettext=all
9963 maybe-all-gettext: all-gettext
9964 all-gettext: configure-gettext
9965 @r=`${PWD_COMMAND}`; export r; \
9966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9967 $(SET_LIB_PATH) \
9968 $(HOST_EXPORTS) \
9969 (cd $(HOST_SUBDIR)/gettext && \
9970 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
9971 @endif gettext
9973 .PHONY: check-gettext maybe-check-gettext
9974 maybe-check-gettext:
9975 @if gettext
9976 maybe-check-gettext: check-gettext
9978 check-gettext:
9979 @r=`${PWD_COMMAND}`; export r; \
9980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9981 $(SET_LIB_PATH) \
9982 $(HOST_EXPORTS) \
9983 (cd $(HOST_SUBDIR)/gettext && \
9984 $(MAKE) $(FLAGS_TO_PASS) check)
9986 @endif gettext
9988 .PHONY: install-gettext maybe-install-gettext
9989 maybe-install-gettext:
9990 @if gettext
9991 maybe-install-gettext: install-gettext
9993 install-gettext: installdirs
9994 @r=`${PWD_COMMAND}`; export r; \
9995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9996 $(SET_LIB_PATH) \
9997 $(HOST_EXPORTS) \
9998 (cd $(HOST_SUBDIR)/gettext && \
9999 $(MAKE) $(FLAGS_TO_PASS) install)
10001 @endif gettext
10003 # Other targets (info, dvi, etc.)
10005 .PHONY: maybe-info-gettext info-gettext
10006 maybe-info-gettext:
10007 @if gettext
10008 maybe-info-gettext: info-gettext
10010 info-gettext: \
10011 configure-gettext
10012 @[ -f ./gettext/Makefile ] || exit 0; \
10013 r=`${PWD_COMMAND}`; export r; \
10014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10015 $(SET_LIB_PATH) \
10016 $(HOST_EXPORTS) \
10017 for flag in $(EXTRA_HOST_FLAGS) ; do \
10018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10019 done; \
10020 echo "Doing info in gettext" ; \
10021 (cd $(HOST_SUBDIR)/gettext && \
10022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10024 "RANLIB=$${RANLIB}" \
10025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10026 info) \
10027 || exit 1
10029 @endif gettext
10031 .PHONY: maybe-dvi-gettext dvi-gettext
10032 maybe-dvi-gettext:
10033 @if gettext
10034 maybe-dvi-gettext: dvi-gettext
10036 dvi-gettext: \
10037 configure-gettext
10038 @[ -f ./gettext/Makefile ] || exit 0; \
10039 r=`${PWD_COMMAND}`; export r; \
10040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10041 $(SET_LIB_PATH) \
10042 $(HOST_EXPORTS) \
10043 for flag in $(EXTRA_HOST_FLAGS) ; do \
10044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10045 done; \
10046 echo "Doing dvi in gettext" ; \
10047 (cd $(HOST_SUBDIR)/gettext && \
10048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10050 "RANLIB=$${RANLIB}" \
10051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10052 dvi) \
10053 || exit 1
10055 @endif gettext
10057 .PHONY: maybe-html-gettext html-gettext
10058 maybe-html-gettext:
10059 @if gettext
10060 maybe-html-gettext: html-gettext
10062 html-gettext: \
10063 configure-gettext
10064 @[ -f ./gettext/Makefile ] || exit 0; \
10065 r=`${PWD_COMMAND}`; export r; \
10066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10067 $(SET_LIB_PATH) \
10068 $(HOST_EXPORTS) \
10069 for flag in $(EXTRA_HOST_FLAGS) ; do \
10070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10071 done; \
10072 echo "Doing html in gettext" ; \
10073 (cd $(HOST_SUBDIR)/gettext && \
10074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10076 "RANLIB=$${RANLIB}" \
10077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10078 html) \
10079 || exit 1
10081 @endif gettext
10083 .PHONY: maybe-TAGS-gettext TAGS-gettext
10084 maybe-TAGS-gettext:
10085 @if gettext
10086 maybe-TAGS-gettext: TAGS-gettext
10088 TAGS-gettext: \
10089 configure-gettext
10090 @[ -f ./gettext/Makefile ] || exit 0; \
10091 r=`${PWD_COMMAND}`; export r; \
10092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10093 $(SET_LIB_PATH) \
10094 $(HOST_EXPORTS) \
10095 for flag in $(EXTRA_HOST_FLAGS) ; do \
10096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10097 done; \
10098 echo "Doing TAGS in gettext" ; \
10099 (cd $(HOST_SUBDIR)/gettext && \
10100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10102 "RANLIB=$${RANLIB}" \
10103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10104 TAGS) \
10105 || exit 1
10107 @endif gettext
10109 .PHONY: maybe-install-info-gettext install-info-gettext
10110 maybe-install-info-gettext:
10111 @if gettext
10112 maybe-install-info-gettext: install-info-gettext
10114 install-info-gettext: \
10115 configure-gettext \
10116 info-gettext
10117 @[ -f ./gettext/Makefile ] || exit 0; \
10118 r=`${PWD_COMMAND}`; export r; \
10119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10120 $(SET_LIB_PATH) \
10121 $(HOST_EXPORTS) \
10122 for flag in $(EXTRA_HOST_FLAGS) ; do \
10123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10124 done; \
10125 echo "Doing install-info in gettext" ; \
10126 (cd $(HOST_SUBDIR)/gettext && \
10127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10129 "RANLIB=$${RANLIB}" \
10130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10131 install-info) \
10132 || exit 1
10134 @endif gettext
10136 .PHONY: maybe-installcheck-gettext installcheck-gettext
10137 maybe-installcheck-gettext:
10138 @if gettext
10139 maybe-installcheck-gettext: installcheck-gettext
10141 installcheck-gettext: \
10142 configure-gettext
10143 @[ -f ./gettext/Makefile ] || exit 0; \
10144 r=`${PWD_COMMAND}`; export r; \
10145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10146 $(SET_LIB_PATH) \
10147 $(HOST_EXPORTS) \
10148 for flag in $(EXTRA_HOST_FLAGS) ; do \
10149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10150 done; \
10151 echo "Doing installcheck in gettext" ; \
10152 (cd $(HOST_SUBDIR)/gettext && \
10153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10155 "RANLIB=$${RANLIB}" \
10156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10157 installcheck) \
10158 || exit 1
10160 @endif gettext
10162 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10163 maybe-mostlyclean-gettext:
10164 @if gettext
10165 maybe-mostlyclean-gettext: mostlyclean-gettext
10167 mostlyclean-gettext:
10168 @[ -f ./gettext/Makefile ] || exit 0; \
10169 r=`${PWD_COMMAND}`; export r; \
10170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10171 $(SET_LIB_PATH) \
10172 $(HOST_EXPORTS) \
10173 for flag in $(EXTRA_HOST_FLAGS) ; do \
10174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10175 done; \
10176 echo "Doing mostlyclean in gettext" ; \
10177 (cd $(HOST_SUBDIR)/gettext && \
10178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10180 "RANLIB=$${RANLIB}" \
10181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10182 mostlyclean) \
10183 || exit 1
10185 @endif gettext
10187 .PHONY: maybe-clean-gettext clean-gettext
10188 maybe-clean-gettext:
10189 @if gettext
10190 maybe-clean-gettext: clean-gettext
10192 clean-gettext:
10193 @[ -f ./gettext/Makefile ] || exit 0; \
10194 r=`${PWD_COMMAND}`; export r; \
10195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10196 $(SET_LIB_PATH) \
10197 $(HOST_EXPORTS) \
10198 for flag in $(EXTRA_HOST_FLAGS) ; do \
10199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10200 done; \
10201 echo "Doing clean in gettext" ; \
10202 (cd $(HOST_SUBDIR)/gettext && \
10203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10205 "RANLIB=$${RANLIB}" \
10206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10207 clean) \
10208 || exit 1
10210 @endif gettext
10212 .PHONY: maybe-distclean-gettext distclean-gettext
10213 maybe-distclean-gettext:
10214 @if gettext
10215 maybe-distclean-gettext: distclean-gettext
10217 distclean-gettext:
10218 @[ -f ./gettext/Makefile ] || exit 0; \
10219 r=`${PWD_COMMAND}`; export r; \
10220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10221 $(SET_LIB_PATH) \
10222 $(HOST_EXPORTS) \
10223 for flag in $(EXTRA_HOST_FLAGS) ; do \
10224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10225 done; \
10226 echo "Doing distclean in gettext" ; \
10227 (cd $(HOST_SUBDIR)/gettext && \
10228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10230 "RANLIB=$${RANLIB}" \
10231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10232 distclean) \
10233 || exit 1
10235 @endif gettext
10237 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
10238 maybe-maintainer-clean-gettext:
10239 @if gettext
10240 maybe-maintainer-clean-gettext: maintainer-clean-gettext
10242 maintainer-clean-gettext:
10243 @[ -f ./gettext/Makefile ] || exit 0; \
10244 r=`${PWD_COMMAND}`; export r; \
10245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10246 $(SET_LIB_PATH) \
10247 $(HOST_EXPORTS) \
10248 for flag in $(EXTRA_HOST_FLAGS) ; do \
10249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10250 done; \
10251 echo "Doing maintainer-clean in gettext" ; \
10252 (cd $(HOST_SUBDIR)/gettext && \
10253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10255 "RANLIB=$${RANLIB}" \
10256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10257 maintainer-clean) \
10258 || exit 1
10260 @endif gettext
10263 .PHONY: configure-gnuserv maybe-configure-gnuserv
10264 maybe-configure-gnuserv:
10265 @if gnuserv
10266 maybe-configure-gnuserv: configure-gnuserv
10267 configure-gnuserv:
10268 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
10269 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
10270 r=`${PWD_COMMAND}`; export r; \
10271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10272 $(HOST_EXPORTS) \
10273 echo Configuring in gnuserv; \
10274 cd $(HOST_SUBDIR)/gnuserv || exit 1; \
10275 case $(srcdir) in \
10276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10277 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
10278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10279 esac; \
10280 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
10281 libsrcdir="$$s/gnuserv"; \
10282 $(SHELL) $${libsrcdir}/configure \
10283 $(HOST_CONFIGARGS) $${srcdiroption} \
10284 || exit 1
10285 @endif gnuserv
10287 .PHONY: all-gnuserv maybe-all-gnuserv
10288 maybe-all-gnuserv:
10289 @if gnuserv
10290 TARGET-gnuserv=all
10291 maybe-all-gnuserv: all-gnuserv
10292 all-gnuserv: configure-gnuserv
10293 @r=`${PWD_COMMAND}`; export r; \
10294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10295 $(SET_LIB_PATH) \
10296 $(HOST_EXPORTS) \
10297 (cd $(HOST_SUBDIR)/gnuserv && \
10298 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
10299 @endif gnuserv
10301 .PHONY: check-gnuserv maybe-check-gnuserv
10302 maybe-check-gnuserv:
10303 @if gnuserv
10304 maybe-check-gnuserv: check-gnuserv
10306 check-gnuserv:
10307 @r=`${PWD_COMMAND}`; export r; \
10308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10309 $(SET_LIB_PATH) \
10310 $(HOST_EXPORTS) \
10311 (cd $(HOST_SUBDIR)/gnuserv && \
10312 $(MAKE) $(FLAGS_TO_PASS) check)
10314 @endif gnuserv
10316 .PHONY: install-gnuserv maybe-install-gnuserv
10317 maybe-install-gnuserv:
10318 @if gnuserv
10319 maybe-install-gnuserv: install-gnuserv
10321 install-gnuserv: installdirs
10322 @r=`${PWD_COMMAND}`; export r; \
10323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10324 $(SET_LIB_PATH) \
10325 $(HOST_EXPORTS) \
10326 (cd $(HOST_SUBDIR)/gnuserv && \
10327 $(MAKE) $(FLAGS_TO_PASS) install)
10329 @endif gnuserv
10331 # Other targets (info, dvi, etc.)
10333 .PHONY: maybe-info-gnuserv info-gnuserv
10334 maybe-info-gnuserv:
10335 @if gnuserv
10336 maybe-info-gnuserv: info-gnuserv
10338 info-gnuserv: \
10339 configure-gnuserv
10340 @[ -f ./gnuserv/Makefile ] || exit 0; \
10341 r=`${PWD_COMMAND}`; export r; \
10342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10343 $(SET_LIB_PATH) \
10344 $(HOST_EXPORTS) \
10345 for flag in $(EXTRA_HOST_FLAGS) ; do \
10346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10347 done; \
10348 echo "Doing info in gnuserv" ; \
10349 (cd $(HOST_SUBDIR)/gnuserv && \
10350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10352 "RANLIB=$${RANLIB}" \
10353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10354 info) \
10355 || exit 1
10357 @endif gnuserv
10359 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
10360 maybe-dvi-gnuserv:
10361 @if gnuserv
10362 maybe-dvi-gnuserv: dvi-gnuserv
10364 dvi-gnuserv: \
10365 configure-gnuserv
10366 @[ -f ./gnuserv/Makefile ] || exit 0; \
10367 r=`${PWD_COMMAND}`; export r; \
10368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10369 $(SET_LIB_PATH) \
10370 $(HOST_EXPORTS) \
10371 for flag in $(EXTRA_HOST_FLAGS) ; do \
10372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10373 done; \
10374 echo "Doing dvi in gnuserv" ; \
10375 (cd $(HOST_SUBDIR)/gnuserv && \
10376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10378 "RANLIB=$${RANLIB}" \
10379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10380 dvi) \
10381 || exit 1
10383 @endif gnuserv
10385 .PHONY: maybe-html-gnuserv html-gnuserv
10386 maybe-html-gnuserv:
10387 @if gnuserv
10388 maybe-html-gnuserv: html-gnuserv
10390 html-gnuserv: \
10391 configure-gnuserv
10392 @[ -f ./gnuserv/Makefile ] || exit 0; \
10393 r=`${PWD_COMMAND}`; export r; \
10394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10395 $(SET_LIB_PATH) \
10396 $(HOST_EXPORTS) \
10397 for flag in $(EXTRA_HOST_FLAGS) ; do \
10398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10399 done; \
10400 echo "Doing html in gnuserv" ; \
10401 (cd $(HOST_SUBDIR)/gnuserv && \
10402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10404 "RANLIB=$${RANLIB}" \
10405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10406 html) \
10407 || exit 1
10409 @endif gnuserv
10411 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
10412 maybe-TAGS-gnuserv:
10413 @if gnuserv
10414 maybe-TAGS-gnuserv: TAGS-gnuserv
10416 TAGS-gnuserv: \
10417 configure-gnuserv
10418 @[ -f ./gnuserv/Makefile ] || exit 0; \
10419 r=`${PWD_COMMAND}`; export r; \
10420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10421 $(SET_LIB_PATH) \
10422 $(HOST_EXPORTS) \
10423 for flag in $(EXTRA_HOST_FLAGS) ; do \
10424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10425 done; \
10426 echo "Doing TAGS in gnuserv" ; \
10427 (cd $(HOST_SUBDIR)/gnuserv && \
10428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10430 "RANLIB=$${RANLIB}" \
10431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10432 TAGS) \
10433 || exit 1
10435 @endif gnuserv
10437 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
10438 maybe-install-info-gnuserv:
10439 @if gnuserv
10440 maybe-install-info-gnuserv: install-info-gnuserv
10442 install-info-gnuserv: \
10443 configure-gnuserv \
10444 info-gnuserv
10445 @[ -f ./gnuserv/Makefile ] || exit 0; \
10446 r=`${PWD_COMMAND}`; export r; \
10447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10448 $(SET_LIB_PATH) \
10449 $(HOST_EXPORTS) \
10450 for flag in $(EXTRA_HOST_FLAGS) ; do \
10451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10452 done; \
10453 echo "Doing install-info in gnuserv" ; \
10454 (cd $(HOST_SUBDIR)/gnuserv && \
10455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10457 "RANLIB=$${RANLIB}" \
10458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10459 install-info) \
10460 || exit 1
10462 @endif gnuserv
10464 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
10465 maybe-installcheck-gnuserv:
10466 @if gnuserv
10467 maybe-installcheck-gnuserv: installcheck-gnuserv
10469 installcheck-gnuserv: \
10470 configure-gnuserv
10471 @[ -f ./gnuserv/Makefile ] || exit 0; \
10472 r=`${PWD_COMMAND}`; export r; \
10473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10474 $(SET_LIB_PATH) \
10475 $(HOST_EXPORTS) \
10476 for flag in $(EXTRA_HOST_FLAGS) ; do \
10477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10478 done; \
10479 echo "Doing installcheck in gnuserv" ; \
10480 (cd $(HOST_SUBDIR)/gnuserv && \
10481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10483 "RANLIB=$${RANLIB}" \
10484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10485 installcheck) \
10486 || exit 1
10488 @endif gnuserv
10490 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10491 maybe-mostlyclean-gnuserv:
10492 @if gnuserv
10493 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
10495 mostlyclean-gnuserv:
10496 @[ -f ./gnuserv/Makefile ] || exit 0; \
10497 r=`${PWD_COMMAND}`; export r; \
10498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10499 $(SET_LIB_PATH) \
10500 $(HOST_EXPORTS) \
10501 for flag in $(EXTRA_HOST_FLAGS) ; do \
10502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10503 done; \
10504 echo "Doing mostlyclean in gnuserv" ; \
10505 (cd $(HOST_SUBDIR)/gnuserv && \
10506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10508 "RANLIB=$${RANLIB}" \
10509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10510 mostlyclean) \
10511 || exit 1
10513 @endif gnuserv
10515 .PHONY: maybe-clean-gnuserv clean-gnuserv
10516 maybe-clean-gnuserv:
10517 @if gnuserv
10518 maybe-clean-gnuserv: clean-gnuserv
10520 clean-gnuserv:
10521 @[ -f ./gnuserv/Makefile ] || exit 0; \
10522 r=`${PWD_COMMAND}`; export r; \
10523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10524 $(SET_LIB_PATH) \
10525 $(HOST_EXPORTS) \
10526 for flag in $(EXTRA_HOST_FLAGS) ; do \
10527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10528 done; \
10529 echo "Doing clean in gnuserv" ; \
10530 (cd $(HOST_SUBDIR)/gnuserv && \
10531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10533 "RANLIB=$${RANLIB}" \
10534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10535 clean) \
10536 || exit 1
10538 @endif gnuserv
10540 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
10541 maybe-distclean-gnuserv:
10542 @if gnuserv
10543 maybe-distclean-gnuserv: distclean-gnuserv
10545 distclean-gnuserv:
10546 @[ -f ./gnuserv/Makefile ] || exit 0; \
10547 r=`${PWD_COMMAND}`; export r; \
10548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10549 $(SET_LIB_PATH) \
10550 $(HOST_EXPORTS) \
10551 for flag in $(EXTRA_HOST_FLAGS) ; do \
10552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10553 done; \
10554 echo "Doing distclean in gnuserv" ; \
10555 (cd $(HOST_SUBDIR)/gnuserv && \
10556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10558 "RANLIB=$${RANLIB}" \
10559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10560 distclean) \
10561 || exit 1
10563 @endif gnuserv
10565 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
10566 maybe-maintainer-clean-gnuserv:
10567 @if gnuserv
10568 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
10570 maintainer-clean-gnuserv:
10571 @[ -f ./gnuserv/Makefile ] || exit 0; \
10572 r=`${PWD_COMMAND}`; export r; \
10573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10574 $(SET_LIB_PATH) \
10575 $(HOST_EXPORTS) \
10576 for flag in $(EXTRA_HOST_FLAGS) ; do \
10577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10578 done; \
10579 echo "Doing maintainer-clean in gnuserv" ; \
10580 (cd $(HOST_SUBDIR)/gnuserv && \
10581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10583 "RANLIB=$${RANLIB}" \
10584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10585 maintainer-clean) \
10586 || exit 1
10588 @endif gnuserv
10591 .PHONY: configure-gprof maybe-configure-gprof
10592 maybe-configure-gprof:
10593 @if gprof
10594 maybe-configure-gprof: configure-gprof
10595 configure-gprof:
10596 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
10597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
10598 r=`${PWD_COMMAND}`; export r; \
10599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10600 $(HOST_EXPORTS) \
10601 echo Configuring in gprof; \
10602 cd $(HOST_SUBDIR)/gprof || exit 1; \
10603 case $(srcdir) in \
10604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10605 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
10606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10607 esac; \
10608 srcdiroption="--srcdir=$${topdir}/gprof"; \
10609 libsrcdir="$$s/gprof"; \
10610 $(SHELL) $${libsrcdir}/configure \
10611 $(HOST_CONFIGARGS) $${srcdiroption} \
10612 || exit 1
10613 @endif gprof
10615 .PHONY: all-gprof maybe-all-gprof
10616 maybe-all-gprof:
10617 @if gprof
10618 TARGET-gprof=all
10619 maybe-all-gprof: all-gprof
10620 all-gprof: configure-gprof
10621 @r=`${PWD_COMMAND}`; export r; \
10622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10623 $(SET_LIB_PATH) \
10624 $(HOST_EXPORTS) \
10625 (cd $(HOST_SUBDIR)/gprof && \
10626 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
10627 @endif gprof
10629 .PHONY: check-gprof maybe-check-gprof
10630 maybe-check-gprof:
10631 @if gprof
10632 maybe-check-gprof: check-gprof
10634 check-gprof:
10635 @r=`${PWD_COMMAND}`; export r; \
10636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10637 $(SET_LIB_PATH) \
10638 $(HOST_EXPORTS) \
10639 (cd $(HOST_SUBDIR)/gprof && \
10640 $(MAKE) $(FLAGS_TO_PASS) check)
10642 @endif gprof
10644 .PHONY: install-gprof maybe-install-gprof
10645 maybe-install-gprof:
10646 @if gprof
10647 maybe-install-gprof: install-gprof
10649 install-gprof: installdirs
10650 @r=`${PWD_COMMAND}`; export r; \
10651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10652 $(SET_LIB_PATH) \
10653 $(HOST_EXPORTS) \
10654 (cd $(HOST_SUBDIR)/gprof && \
10655 $(MAKE) $(FLAGS_TO_PASS) install)
10657 @endif gprof
10659 # Other targets (info, dvi, etc.)
10661 .PHONY: maybe-info-gprof info-gprof
10662 maybe-info-gprof:
10663 @if gprof
10664 maybe-info-gprof: info-gprof
10666 info-gprof: \
10667 configure-gprof
10668 @[ -f ./gprof/Makefile ] || exit 0; \
10669 r=`${PWD_COMMAND}`; export r; \
10670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10671 $(SET_LIB_PATH) \
10672 $(HOST_EXPORTS) \
10673 for flag in $(EXTRA_HOST_FLAGS) ; do \
10674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10675 done; \
10676 echo "Doing info in gprof" ; \
10677 (cd $(HOST_SUBDIR)/gprof && \
10678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10680 "RANLIB=$${RANLIB}" \
10681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10682 info) \
10683 || exit 1
10685 @endif gprof
10687 .PHONY: maybe-dvi-gprof dvi-gprof
10688 maybe-dvi-gprof:
10689 @if gprof
10690 maybe-dvi-gprof: dvi-gprof
10692 dvi-gprof: \
10693 configure-gprof
10694 @[ -f ./gprof/Makefile ] || exit 0; \
10695 r=`${PWD_COMMAND}`; export r; \
10696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10697 $(SET_LIB_PATH) \
10698 $(HOST_EXPORTS) \
10699 for flag in $(EXTRA_HOST_FLAGS) ; do \
10700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10701 done; \
10702 echo "Doing dvi in gprof" ; \
10703 (cd $(HOST_SUBDIR)/gprof && \
10704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10706 "RANLIB=$${RANLIB}" \
10707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10708 dvi) \
10709 || exit 1
10711 @endif gprof
10713 .PHONY: maybe-html-gprof html-gprof
10714 maybe-html-gprof:
10715 @if gprof
10716 maybe-html-gprof: html-gprof
10718 html-gprof: \
10719 configure-gprof
10720 @[ -f ./gprof/Makefile ] || exit 0; \
10721 r=`${PWD_COMMAND}`; export r; \
10722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10723 $(SET_LIB_PATH) \
10724 $(HOST_EXPORTS) \
10725 for flag in $(EXTRA_HOST_FLAGS) ; do \
10726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10727 done; \
10728 echo "Doing html in gprof" ; \
10729 (cd $(HOST_SUBDIR)/gprof && \
10730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10732 "RANLIB=$${RANLIB}" \
10733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10734 html) \
10735 || exit 1
10737 @endif gprof
10739 .PHONY: maybe-TAGS-gprof TAGS-gprof
10740 maybe-TAGS-gprof:
10741 @if gprof
10742 maybe-TAGS-gprof: TAGS-gprof
10744 TAGS-gprof: \
10745 configure-gprof
10746 @[ -f ./gprof/Makefile ] || exit 0; \
10747 r=`${PWD_COMMAND}`; export r; \
10748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10749 $(SET_LIB_PATH) \
10750 $(HOST_EXPORTS) \
10751 for flag in $(EXTRA_HOST_FLAGS) ; do \
10752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10753 done; \
10754 echo "Doing TAGS in gprof" ; \
10755 (cd $(HOST_SUBDIR)/gprof && \
10756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10758 "RANLIB=$${RANLIB}" \
10759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10760 TAGS) \
10761 || exit 1
10763 @endif gprof
10765 .PHONY: maybe-install-info-gprof install-info-gprof
10766 maybe-install-info-gprof:
10767 @if gprof
10768 maybe-install-info-gprof: install-info-gprof
10770 install-info-gprof: \
10771 configure-gprof \
10772 info-gprof
10773 @[ -f ./gprof/Makefile ] || exit 0; \
10774 r=`${PWD_COMMAND}`; export r; \
10775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10776 $(SET_LIB_PATH) \
10777 $(HOST_EXPORTS) \
10778 for flag in $(EXTRA_HOST_FLAGS) ; do \
10779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10780 done; \
10781 echo "Doing install-info in gprof" ; \
10782 (cd $(HOST_SUBDIR)/gprof && \
10783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10785 "RANLIB=$${RANLIB}" \
10786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10787 install-info) \
10788 || exit 1
10790 @endif gprof
10792 .PHONY: maybe-installcheck-gprof installcheck-gprof
10793 maybe-installcheck-gprof:
10794 @if gprof
10795 maybe-installcheck-gprof: installcheck-gprof
10797 installcheck-gprof: \
10798 configure-gprof
10799 @[ -f ./gprof/Makefile ] || exit 0; \
10800 r=`${PWD_COMMAND}`; export r; \
10801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10802 $(SET_LIB_PATH) \
10803 $(HOST_EXPORTS) \
10804 for flag in $(EXTRA_HOST_FLAGS) ; do \
10805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10806 done; \
10807 echo "Doing installcheck in gprof" ; \
10808 (cd $(HOST_SUBDIR)/gprof && \
10809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10811 "RANLIB=$${RANLIB}" \
10812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10813 installcheck) \
10814 || exit 1
10816 @endif gprof
10818 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
10819 maybe-mostlyclean-gprof:
10820 @if gprof
10821 maybe-mostlyclean-gprof: mostlyclean-gprof
10823 mostlyclean-gprof:
10824 @[ -f ./gprof/Makefile ] || exit 0; \
10825 r=`${PWD_COMMAND}`; export r; \
10826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10827 $(SET_LIB_PATH) \
10828 $(HOST_EXPORTS) \
10829 for flag in $(EXTRA_HOST_FLAGS) ; do \
10830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10831 done; \
10832 echo "Doing mostlyclean in gprof" ; \
10833 (cd $(HOST_SUBDIR)/gprof && \
10834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10836 "RANLIB=$${RANLIB}" \
10837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10838 mostlyclean) \
10839 || exit 1
10841 @endif gprof
10843 .PHONY: maybe-clean-gprof clean-gprof
10844 maybe-clean-gprof:
10845 @if gprof
10846 maybe-clean-gprof: clean-gprof
10848 clean-gprof:
10849 @[ -f ./gprof/Makefile ] || exit 0; \
10850 r=`${PWD_COMMAND}`; export r; \
10851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10852 $(SET_LIB_PATH) \
10853 $(HOST_EXPORTS) \
10854 for flag in $(EXTRA_HOST_FLAGS) ; do \
10855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10856 done; \
10857 echo "Doing clean in gprof" ; \
10858 (cd $(HOST_SUBDIR)/gprof && \
10859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10861 "RANLIB=$${RANLIB}" \
10862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10863 clean) \
10864 || exit 1
10866 @endif gprof
10868 .PHONY: maybe-distclean-gprof distclean-gprof
10869 maybe-distclean-gprof:
10870 @if gprof
10871 maybe-distclean-gprof: distclean-gprof
10873 distclean-gprof:
10874 @[ -f ./gprof/Makefile ] || exit 0; \
10875 r=`${PWD_COMMAND}`; export r; \
10876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10877 $(SET_LIB_PATH) \
10878 $(HOST_EXPORTS) \
10879 for flag in $(EXTRA_HOST_FLAGS) ; do \
10880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10881 done; \
10882 echo "Doing distclean in gprof" ; \
10883 (cd $(HOST_SUBDIR)/gprof && \
10884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10886 "RANLIB=$${RANLIB}" \
10887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10888 distclean) \
10889 || exit 1
10891 @endif gprof
10893 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10894 maybe-maintainer-clean-gprof:
10895 @if gprof
10896 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10898 maintainer-clean-gprof:
10899 @[ -f ./gprof/Makefile ] || exit 0; \
10900 r=`${PWD_COMMAND}`; export r; \
10901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10902 $(SET_LIB_PATH) \
10903 $(HOST_EXPORTS) \
10904 for flag in $(EXTRA_HOST_FLAGS) ; do \
10905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10906 done; \
10907 echo "Doing maintainer-clean in gprof" ; \
10908 (cd $(HOST_SUBDIR)/gprof && \
10909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10911 "RANLIB=$${RANLIB}" \
10912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10913 maintainer-clean) \
10914 || exit 1
10916 @endif gprof
10919 .PHONY: configure-gzip maybe-configure-gzip
10920 maybe-configure-gzip:
10921 @if gzip
10922 maybe-configure-gzip: configure-gzip
10923 configure-gzip:
10924 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
10925 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
10926 r=`${PWD_COMMAND}`; export r; \
10927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10928 $(HOST_EXPORTS) \
10929 echo Configuring in gzip; \
10930 cd $(HOST_SUBDIR)/gzip || exit 1; \
10931 case $(srcdir) in \
10932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10933 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
10934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10935 esac; \
10936 srcdiroption="--srcdir=$${topdir}/gzip"; \
10937 libsrcdir="$$s/gzip"; \
10938 $(SHELL) $${libsrcdir}/configure \
10939 $(HOST_CONFIGARGS) $${srcdiroption} \
10940 || exit 1
10941 @endif gzip
10943 .PHONY: all-gzip maybe-all-gzip
10944 maybe-all-gzip:
10945 @if gzip
10946 TARGET-gzip=all
10947 maybe-all-gzip: all-gzip
10948 all-gzip: configure-gzip
10949 @r=`${PWD_COMMAND}`; export r; \
10950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10951 $(SET_LIB_PATH) \
10952 $(HOST_EXPORTS) \
10953 (cd $(HOST_SUBDIR)/gzip && \
10954 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
10955 @endif gzip
10957 .PHONY: check-gzip maybe-check-gzip
10958 maybe-check-gzip:
10959 @if gzip
10960 maybe-check-gzip: check-gzip
10962 check-gzip:
10963 @r=`${PWD_COMMAND}`; export r; \
10964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10965 $(SET_LIB_PATH) \
10966 $(HOST_EXPORTS) \
10967 (cd $(HOST_SUBDIR)/gzip && \
10968 $(MAKE) $(FLAGS_TO_PASS) check)
10970 @endif gzip
10972 .PHONY: install-gzip maybe-install-gzip
10973 maybe-install-gzip:
10974 @if gzip
10975 maybe-install-gzip: install-gzip
10977 install-gzip: installdirs
10978 @r=`${PWD_COMMAND}`; export r; \
10979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10980 $(SET_LIB_PATH) \
10981 $(HOST_EXPORTS) \
10982 (cd $(HOST_SUBDIR)/gzip && \
10983 $(MAKE) $(FLAGS_TO_PASS) install)
10985 @endif gzip
10987 # Other targets (info, dvi, etc.)
10989 .PHONY: maybe-info-gzip info-gzip
10990 maybe-info-gzip:
10991 @if gzip
10992 maybe-info-gzip: info-gzip
10994 info-gzip: \
10995 configure-gzip
10996 @[ -f ./gzip/Makefile ] || exit 0; \
10997 r=`${PWD_COMMAND}`; export r; \
10998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10999 $(SET_LIB_PATH) \
11000 $(HOST_EXPORTS) \
11001 for flag in $(EXTRA_HOST_FLAGS) ; do \
11002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11003 done; \
11004 echo "Doing info in gzip" ; \
11005 (cd $(HOST_SUBDIR)/gzip && \
11006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11008 "RANLIB=$${RANLIB}" \
11009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11010 info) \
11011 || exit 1
11013 @endif gzip
11015 .PHONY: maybe-dvi-gzip dvi-gzip
11016 maybe-dvi-gzip:
11017 @if gzip
11018 maybe-dvi-gzip: dvi-gzip
11020 dvi-gzip: \
11021 configure-gzip
11022 @[ -f ./gzip/Makefile ] || exit 0; \
11023 r=`${PWD_COMMAND}`; export r; \
11024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11025 $(SET_LIB_PATH) \
11026 $(HOST_EXPORTS) \
11027 for flag in $(EXTRA_HOST_FLAGS) ; do \
11028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11029 done; \
11030 echo "Doing dvi in gzip" ; \
11031 (cd $(HOST_SUBDIR)/gzip && \
11032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11034 "RANLIB=$${RANLIB}" \
11035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11036 dvi) \
11037 || exit 1
11039 @endif gzip
11041 .PHONY: maybe-html-gzip html-gzip
11042 maybe-html-gzip:
11043 @if gzip
11044 maybe-html-gzip: html-gzip
11046 html-gzip: \
11047 configure-gzip
11048 @[ -f ./gzip/Makefile ] || exit 0; \
11049 r=`${PWD_COMMAND}`; export r; \
11050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11051 $(SET_LIB_PATH) \
11052 $(HOST_EXPORTS) \
11053 for flag in $(EXTRA_HOST_FLAGS) ; do \
11054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11055 done; \
11056 echo "Doing html in gzip" ; \
11057 (cd $(HOST_SUBDIR)/gzip && \
11058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11060 "RANLIB=$${RANLIB}" \
11061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11062 html) \
11063 || exit 1
11065 @endif gzip
11067 .PHONY: maybe-TAGS-gzip TAGS-gzip
11068 maybe-TAGS-gzip:
11069 @if gzip
11070 maybe-TAGS-gzip: TAGS-gzip
11072 TAGS-gzip: \
11073 configure-gzip
11074 @[ -f ./gzip/Makefile ] || exit 0; \
11075 r=`${PWD_COMMAND}`; export r; \
11076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11077 $(SET_LIB_PATH) \
11078 $(HOST_EXPORTS) \
11079 for flag in $(EXTRA_HOST_FLAGS) ; do \
11080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11081 done; \
11082 echo "Doing TAGS in gzip" ; \
11083 (cd $(HOST_SUBDIR)/gzip && \
11084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11086 "RANLIB=$${RANLIB}" \
11087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11088 TAGS) \
11089 || exit 1
11091 @endif gzip
11093 .PHONY: maybe-install-info-gzip install-info-gzip
11094 maybe-install-info-gzip:
11095 @if gzip
11096 maybe-install-info-gzip: install-info-gzip
11098 install-info-gzip: \
11099 configure-gzip \
11100 info-gzip
11101 @[ -f ./gzip/Makefile ] || exit 0; \
11102 r=`${PWD_COMMAND}`; export r; \
11103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11104 $(SET_LIB_PATH) \
11105 $(HOST_EXPORTS) \
11106 for flag in $(EXTRA_HOST_FLAGS) ; do \
11107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11108 done; \
11109 echo "Doing install-info in gzip" ; \
11110 (cd $(HOST_SUBDIR)/gzip && \
11111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11113 "RANLIB=$${RANLIB}" \
11114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11115 install-info) \
11116 || exit 1
11118 @endif gzip
11120 .PHONY: maybe-installcheck-gzip installcheck-gzip
11121 maybe-installcheck-gzip:
11122 @if gzip
11123 maybe-installcheck-gzip: installcheck-gzip
11125 installcheck-gzip: \
11126 configure-gzip
11127 @[ -f ./gzip/Makefile ] || exit 0; \
11128 r=`${PWD_COMMAND}`; export r; \
11129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11130 $(SET_LIB_PATH) \
11131 $(HOST_EXPORTS) \
11132 for flag in $(EXTRA_HOST_FLAGS) ; do \
11133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11134 done; \
11135 echo "Doing installcheck in gzip" ; \
11136 (cd $(HOST_SUBDIR)/gzip && \
11137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11139 "RANLIB=$${RANLIB}" \
11140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11141 installcheck) \
11142 || exit 1
11144 @endif gzip
11146 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
11147 maybe-mostlyclean-gzip:
11148 @if gzip
11149 maybe-mostlyclean-gzip: mostlyclean-gzip
11151 mostlyclean-gzip:
11152 @[ -f ./gzip/Makefile ] || exit 0; \
11153 r=`${PWD_COMMAND}`; export r; \
11154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11155 $(SET_LIB_PATH) \
11156 $(HOST_EXPORTS) \
11157 for flag in $(EXTRA_HOST_FLAGS) ; do \
11158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11159 done; \
11160 echo "Doing mostlyclean in gzip" ; \
11161 (cd $(HOST_SUBDIR)/gzip && \
11162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11164 "RANLIB=$${RANLIB}" \
11165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11166 mostlyclean) \
11167 || exit 1
11169 @endif gzip
11171 .PHONY: maybe-clean-gzip clean-gzip
11172 maybe-clean-gzip:
11173 @if gzip
11174 maybe-clean-gzip: clean-gzip
11176 clean-gzip:
11177 @[ -f ./gzip/Makefile ] || exit 0; \
11178 r=`${PWD_COMMAND}`; export r; \
11179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11180 $(SET_LIB_PATH) \
11181 $(HOST_EXPORTS) \
11182 for flag in $(EXTRA_HOST_FLAGS) ; do \
11183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11184 done; \
11185 echo "Doing clean in gzip" ; \
11186 (cd $(HOST_SUBDIR)/gzip && \
11187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11189 "RANLIB=$${RANLIB}" \
11190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11191 clean) \
11192 || exit 1
11194 @endif gzip
11196 .PHONY: maybe-distclean-gzip distclean-gzip
11197 maybe-distclean-gzip:
11198 @if gzip
11199 maybe-distclean-gzip: distclean-gzip
11201 distclean-gzip:
11202 @[ -f ./gzip/Makefile ] || exit 0; \
11203 r=`${PWD_COMMAND}`; export r; \
11204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11205 $(SET_LIB_PATH) \
11206 $(HOST_EXPORTS) \
11207 for flag in $(EXTRA_HOST_FLAGS) ; do \
11208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11209 done; \
11210 echo "Doing distclean in gzip" ; \
11211 (cd $(HOST_SUBDIR)/gzip && \
11212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11214 "RANLIB=$${RANLIB}" \
11215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11216 distclean) \
11217 || exit 1
11219 @endif gzip
11221 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
11222 maybe-maintainer-clean-gzip:
11223 @if gzip
11224 maybe-maintainer-clean-gzip: maintainer-clean-gzip
11226 maintainer-clean-gzip:
11227 @[ -f ./gzip/Makefile ] || exit 0; \
11228 r=`${PWD_COMMAND}`; export r; \
11229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11230 $(SET_LIB_PATH) \
11231 $(HOST_EXPORTS) \
11232 for flag in $(EXTRA_HOST_FLAGS) ; do \
11233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11234 done; \
11235 echo "Doing maintainer-clean in gzip" ; \
11236 (cd $(HOST_SUBDIR)/gzip && \
11237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11239 "RANLIB=$${RANLIB}" \
11240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11241 maintainer-clean) \
11242 || exit 1
11244 @endif gzip
11247 .PHONY: configure-hello maybe-configure-hello
11248 maybe-configure-hello:
11249 @if hello
11250 maybe-configure-hello: configure-hello
11251 configure-hello:
11252 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
11253 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
11254 r=`${PWD_COMMAND}`; export r; \
11255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11256 $(HOST_EXPORTS) \
11257 echo Configuring in hello; \
11258 cd $(HOST_SUBDIR)/hello || exit 1; \
11259 case $(srcdir) in \
11260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11261 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
11262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11263 esac; \
11264 srcdiroption="--srcdir=$${topdir}/hello"; \
11265 libsrcdir="$$s/hello"; \
11266 $(SHELL) $${libsrcdir}/configure \
11267 $(HOST_CONFIGARGS) $${srcdiroption} \
11268 || exit 1
11269 @endif hello
11271 .PHONY: all-hello maybe-all-hello
11272 maybe-all-hello:
11273 @if hello
11274 TARGET-hello=all
11275 maybe-all-hello: all-hello
11276 all-hello: configure-hello
11277 @r=`${PWD_COMMAND}`; export r; \
11278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11279 $(SET_LIB_PATH) \
11280 $(HOST_EXPORTS) \
11281 (cd $(HOST_SUBDIR)/hello && \
11282 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
11283 @endif hello
11285 .PHONY: check-hello maybe-check-hello
11286 maybe-check-hello:
11287 @if hello
11288 maybe-check-hello: check-hello
11290 check-hello:
11291 @r=`${PWD_COMMAND}`; export r; \
11292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11293 $(SET_LIB_PATH) \
11294 $(HOST_EXPORTS) \
11295 (cd $(HOST_SUBDIR)/hello && \
11296 $(MAKE) $(FLAGS_TO_PASS) check)
11298 @endif hello
11300 .PHONY: install-hello maybe-install-hello
11301 maybe-install-hello:
11302 @if hello
11303 maybe-install-hello: install-hello
11305 install-hello: installdirs
11306 @r=`${PWD_COMMAND}`; export r; \
11307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11308 $(SET_LIB_PATH) \
11309 $(HOST_EXPORTS) \
11310 (cd $(HOST_SUBDIR)/hello && \
11311 $(MAKE) $(FLAGS_TO_PASS) install)
11313 @endif hello
11315 # Other targets (info, dvi, etc.)
11317 .PHONY: maybe-info-hello info-hello
11318 maybe-info-hello:
11319 @if hello
11320 maybe-info-hello: info-hello
11322 info-hello: \
11323 configure-hello
11324 @[ -f ./hello/Makefile ] || exit 0; \
11325 r=`${PWD_COMMAND}`; export r; \
11326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11327 $(SET_LIB_PATH) \
11328 $(HOST_EXPORTS) \
11329 for flag in $(EXTRA_HOST_FLAGS) ; do \
11330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11331 done; \
11332 echo "Doing info in hello" ; \
11333 (cd $(HOST_SUBDIR)/hello && \
11334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11336 "RANLIB=$${RANLIB}" \
11337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11338 info) \
11339 || exit 1
11341 @endif hello
11343 .PHONY: maybe-dvi-hello dvi-hello
11344 maybe-dvi-hello:
11345 @if hello
11346 maybe-dvi-hello: dvi-hello
11348 dvi-hello: \
11349 configure-hello
11350 @[ -f ./hello/Makefile ] || exit 0; \
11351 r=`${PWD_COMMAND}`; export r; \
11352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11353 $(SET_LIB_PATH) \
11354 $(HOST_EXPORTS) \
11355 for flag in $(EXTRA_HOST_FLAGS) ; do \
11356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11357 done; \
11358 echo "Doing dvi in hello" ; \
11359 (cd $(HOST_SUBDIR)/hello && \
11360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11362 "RANLIB=$${RANLIB}" \
11363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11364 dvi) \
11365 || exit 1
11367 @endif hello
11369 .PHONY: maybe-html-hello html-hello
11370 maybe-html-hello:
11371 @if hello
11372 maybe-html-hello: html-hello
11374 html-hello: \
11375 configure-hello
11376 @[ -f ./hello/Makefile ] || exit 0; \
11377 r=`${PWD_COMMAND}`; export r; \
11378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11379 $(SET_LIB_PATH) \
11380 $(HOST_EXPORTS) \
11381 for flag in $(EXTRA_HOST_FLAGS) ; do \
11382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11383 done; \
11384 echo "Doing html in hello" ; \
11385 (cd $(HOST_SUBDIR)/hello && \
11386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11388 "RANLIB=$${RANLIB}" \
11389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11390 html) \
11391 || exit 1
11393 @endif hello
11395 .PHONY: maybe-TAGS-hello TAGS-hello
11396 maybe-TAGS-hello:
11397 @if hello
11398 maybe-TAGS-hello: TAGS-hello
11400 TAGS-hello: \
11401 configure-hello
11402 @[ -f ./hello/Makefile ] || exit 0; \
11403 r=`${PWD_COMMAND}`; export r; \
11404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11405 $(SET_LIB_PATH) \
11406 $(HOST_EXPORTS) \
11407 for flag in $(EXTRA_HOST_FLAGS) ; do \
11408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11409 done; \
11410 echo "Doing TAGS in hello" ; \
11411 (cd $(HOST_SUBDIR)/hello && \
11412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11414 "RANLIB=$${RANLIB}" \
11415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11416 TAGS) \
11417 || exit 1
11419 @endif hello
11421 .PHONY: maybe-install-info-hello install-info-hello
11422 maybe-install-info-hello:
11423 @if hello
11424 maybe-install-info-hello: install-info-hello
11426 install-info-hello: \
11427 configure-hello \
11428 info-hello
11429 @[ -f ./hello/Makefile ] || exit 0; \
11430 r=`${PWD_COMMAND}`; export r; \
11431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11432 $(SET_LIB_PATH) \
11433 $(HOST_EXPORTS) \
11434 for flag in $(EXTRA_HOST_FLAGS) ; do \
11435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11436 done; \
11437 echo "Doing install-info in hello" ; \
11438 (cd $(HOST_SUBDIR)/hello && \
11439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11441 "RANLIB=$${RANLIB}" \
11442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11443 install-info) \
11444 || exit 1
11446 @endif hello
11448 .PHONY: maybe-installcheck-hello installcheck-hello
11449 maybe-installcheck-hello:
11450 @if hello
11451 maybe-installcheck-hello: installcheck-hello
11453 installcheck-hello: \
11454 configure-hello
11455 @[ -f ./hello/Makefile ] || exit 0; \
11456 r=`${PWD_COMMAND}`; export r; \
11457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11458 $(SET_LIB_PATH) \
11459 $(HOST_EXPORTS) \
11460 for flag in $(EXTRA_HOST_FLAGS) ; do \
11461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11462 done; \
11463 echo "Doing installcheck in hello" ; \
11464 (cd $(HOST_SUBDIR)/hello && \
11465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11467 "RANLIB=$${RANLIB}" \
11468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11469 installcheck) \
11470 || exit 1
11472 @endif hello
11474 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
11475 maybe-mostlyclean-hello:
11476 @if hello
11477 maybe-mostlyclean-hello: mostlyclean-hello
11479 mostlyclean-hello:
11480 @[ -f ./hello/Makefile ] || exit 0; \
11481 r=`${PWD_COMMAND}`; export r; \
11482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11483 $(SET_LIB_PATH) \
11484 $(HOST_EXPORTS) \
11485 for flag in $(EXTRA_HOST_FLAGS) ; do \
11486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11487 done; \
11488 echo "Doing mostlyclean in hello" ; \
11489 (cd $(HOST_SUBDIR)/hello && \
11490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11492 "RANLIB=$${RANLIB}" \
11493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11494 mostlyclean) \
11495 || exit 1
11497 @endif hello
11499 .PHONY: maybe-clean-hello clean-hello
11500 maybe-clean-hello:
11501 @if hello
11502 maybe-clean-hello: clean-hello
11504 clean-hello:
11505 @[ -f ./hello/Makefile ] || exit 0; \
11506 r=`${PWD_COMMAND}`; export r; \
11507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11508 $(SET_LIB_PATH) \
11509 $(HOST_EXPORTS) \
11510 for flag in $(EXTRA_HOST_FLAGS) ; do \
11511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11512 done; \
11513 echo "Doing clean in hello" ; \
11514 (cd $(HOST_SUBDIR)/hello && \
11515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11517 "RANLIB=$${RANLIB}" \
11518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11519 clean) \
11520 || exit 1
11522 @endif hello
11524 .PHONY: maybe-distclean-hello distclean-hello
11525 maybe-distclean-hello:
11526 @if hello
11527 maybe-distclean-hello: distclean-hello
11529 distclean-hello:
11530 @[ -f ./hello/Makefile ] || exit 0; \
11531 r=`${PWD_COMMAND}`; export r; \
11532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11533 $(SET_LIB_PATH) \
11534 $(HOST_EXPORTS) \
11535 for flag in $(EXTRA_HOST_FLAGS) ; do \
11536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11537 done; \
11538 echo "Doing distclean in hello" ; \
11539 (cd $(HOST_SUBDIR)/hello && \
11540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11542 "RANLIB=$${RANLIB}" \
11543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11544 distclean) \
11545 || exit 1
11547 @endif hello
11549 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
11550 maybe-maintainer-clean-hello:
11551 @if hello
11552 maybe-maintainer-clean-hello: maintainer-clean-hello
11554 maintainer-clean-hello:
11555 @[ -f ./hello/Makefile ] || exit 0; \
11556 r=`${PWD_COMMAND}`; export r; \
11557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11558 $(SET_LIB_PATH) \
11559 $(HOST_EXPORTS) \
11560 for flag in $(EXTRA_HOST_FLAGS) ; do \
11561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11562 done; \
11563 echo "Doing maintainer-clean in hello" ; \
11564 (cd $(HOST_SUBDIR)/hello && \
11565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11567 "RANLIB=$${RANLIB}" \
11568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11569 maintainer-clean) \
11570 || exit 1
11572 @endif hello
11575 .PHONY: configure-indent maybe-configure-indent
11576 maybe-configure-indent:
11577 @if indent
11578 maybe-configure-indent: configure-indent
11579 configure-indent:
11580 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
11581 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
11582 r=`${PWD_COMMAND}`; export r; \
11583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11584 $(HOST_EXPORTS) \
11585 echo Configuring in indent; \
11586 cd $(HOST_SUBDIR)/indent || exit 1; \
11587 case $(srcdir) in \
11588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11589 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
11590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11591 esac; \
11592 srcdiroption="--srcdir=$${topdir}/indent"; \
11593 libsrcdir="$$s/indent"; \
11594 $(SHELL) $${libsrcdir}/configure \
11595 $(HOST_CONFIGARGS) $${srcdiroption} \
11596 || exit 1
11597 @endif indent
11599 .PHONY: all-indent maybe-all-indent
11600 maybe-all-indent:
11601 @if indent
11602 TARGET-indent=all
11603 maybe-all-indent: all-indent
11604 all-indent: configure-indent
11605 @r=`${PWD_COMMAND}`; export r; \
11606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11607 $(SET_LIB_PATH) \
11608 $(HOST_EXPORTS) \
11609 (cd $(HOST_SUBDIR)/indent && \
11610 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
11611 @endif indent
11613 .PHONY: check-indent maybe-check-indent
11614 maybe-check-indent:
11615 @if indent
11616 maybe-check-indent: check-indent
11618 check-indent:
11619 @r=`${PWD_COMMAND}`; export r; \
11620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11621 $(SET_LIB_PATH) \
11622 $(HOST_EXPORTS) \
11623 (cd $(HOST_SUBDIR)/indent && \
11624 $(MAKE) $(FLAGS_TO_PASS) check)
11626 @endif indent
11628 .PHONY: install-indent maybe-install-indent
11629 maybe-install-indent:
11630 @if indent
11631 maybe-install-indent: install-indent
11633 install-indent: installdirs
11634 @r=`${PWD_COMMAND}`; export r; \
11635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11636 $(SET_LIB_PATH) \
11637 $(HOST_EXPORTS) \
11638 (cd $(HOST_SUBDIR)/indent && \
11639 $(MAKE) $(FLAGS_TO_PASS) install)
11641 @endif indent
11643 # Other targets (info, dvi, etc.)
11645 .PHONY: maybe-info-indent info-indent
11646 maybe-info-indent:
11647 @if indent
11648 maybe-info-indent: info-indent
11650 info-indent: \
11651 configure-indent
11652 @[ -f ./indent/Makefile ] || exit 0; \
11653 r=`${PWD_COMMAND}`; export r; \
11654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11655 $(SET_LIB_PATH) \
11656 $(HOST_EXPORTS) \
11657 for flag in $(EXTRA_HOST_FLAGS) ; do \
11658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11659 done; \
11660 echo "Doing info in indent" ; \
11661 (cd $(HOST_SUBDIR)/indent && \
11662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11664 "RANLIB=$${RANLIB}" \
11665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11666 info) \
11667 || exit 1
11669 @endif indent
11671 .PHONY: maybe-dvi-indent dvi-indent
11672 maybe-dvi-indent:
11673 @if indent
11674 maybe-dvi-indent: dvi-indent
11676 dvi-indent: \
11677 configure-indent
11678 @[ -f ./indent/Makefile ] || exit 0; \
11679 r=`${PWD_COMMAND}`; export r; \
11680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11681 $(SET_LIB_PATH) \
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 dvi in indent" ; \
11687 (cd $(HOST_SUBDIR)/indent && \
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 dvi) \
11693 || exit 1
11695 @endif indent
11697 .PHONY: maybe-html-indent html-indent
11698 maybe-html-indent:
11699 @if indent
11700 maybe-html-indent: html-indent
11702 html-indent: \
11703 configure-indent
11704 @[ -f ./indent/Makefile ] || exit 0; \
11705 r=`${PWD_COMMAND}`; export r; \
11706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11707 $(SET_LIB_PATH) \
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 html in indent" ; \
11713 (cd $(HOST_SUBDIR)/indent && \
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 html) \
11719 || exit 1
11721 @endif indent
11723 .PHONY: maybe-TAGS-indent TAGS-indent
11724 maybe-TAGS-indent:
11725 @if indent
11726 maybe-TAGS-indent: TAGS-indent
11728 TAGS-indent: \
11729 configure-indent
11730 @[ -f ./indent/Makefile ] || exit 0; \
11731 r=`${PWD_COMMAND}`; export r; \
11732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11733 $(SET_LIB_PATH) \
11734 $(HOST_EXPORTS) \
11735 for flag in $(EXTRA_HOST_FLAGS) ; do \
11736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11737 done; \
11738 echo "Doing TAGS in indent" ; \
11739 (cd $(HOST_SUBDIR)/indent && \
11740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11742 "RANLIB=$${RANLIB}" \
11743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11744 TAGS) \
11745 || exit 1
11747 @endif indent
11749 .PHONY: maybe-install-info-indent install-info-indent
11750 maybe-install-info-indent:
11751 @if indent
11752 maybe-install-info-indent: install-info-indent
11754 install-info-indent: \
11755 configure-indent \
11756 info-indent
11757 @[ -f ./indent/Makefile ] || exit 0; \
11758 r=`${PWD_COMMAND}`; export r; \
11759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11760 $(SET_LIB_PATH) \
11761 $(HOST_EXPORTS) \
11762 for flag in $(EXTRA_HOST_FLAGS) ; do \
11763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11764 done; \
11765 echo "Doing install-info in indent" ; \
11766 (cd $(HOST_SUBDIR)/indent && \
11767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11769 "RANLIB=$${RANLIB}" \
11770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11771 install-info) \
11772 || exit 1
11774 @endif indent
11776 .PHONY: maybe-installcheck-indent installcheck-indent
11777 maybe-installcheck-indent:
11778 @if indent
11779 maybe-installcheck-indent: installcheck-indent
11781 installcheck-indent: \
11782 configure-indent
11783 @[ -f ./indent/Makefile ] || exit 0; \
11784 r=`${PWD_COMMAND}`; export r; \
11785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11786 $(SET_LIB_PATH) \
11787 $(HOST_EXPORTS) \
11788 for flag in $(EXTRA_HOST_FLAGS) ; do \
11789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11790 done; \
11791 echo "Doing installcheck in indent" ; \
11792 (cd $(HOST_SUBDIR)/indent && \
11793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11795 "RANLIB=$${RANLIB}" \
11796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11797 installcheck) \
11798 || exit 1
11800 @endif indent
11802 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
11803 maybe-mostlyclean-indent:
11804 @if indent
11805 maybe-mostlyclean-indent: mostlyclean-indent
11807 mostlyclean-indent:
11808 @[ -f ./indent/Makefile ] || exit 0; \
11809 r=`${PWD_COMMAND}`; export r; \
11810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11811 $(SET_LIB_PATH) \
11812 $(HOST_EXPORTS) \
11813 for flag in $(EXTRA_HOST_FLAGS) ; do \
11814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11815 done; \
11816 echo "Doing mostlyclean in indent" ; \
11817 (cd $(HOST_SUBDIR)/indent && \
11818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11820 "RANLIB=$${RANLIB}" \
11821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11822 mostlyclean) \
11823 || exit 1
11825 @endif indent
11827 .PHONY: maybe-clean-indent clean-indent
11828 maybe-clean-indent:
11829 @if indent
11830 maybe-clean-indent: clean-indent
11832 clean-indent:
11833 @[ -f ./indent/Makefile ] || exit 0; \
11834 r=`${PWD_COMMAND}`; export r; \
11835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11836 $(SET_LIB_PATH) \
11837 $(HOST_EXPORTS) \
11838 for flag in $(EXTRA_HOST_FLAGS) ; do \
11839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11840 done; \
11841 echo "Doing clean in indent" ; \
11842 (cd $(HOST_SUBDIR)/indent && \
11843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11845 "RANLIB=$${RANLIB}" \
11846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11847 clean) \
11848 || exit 1
11850 @endif indent
11852 .PHONY: maybe-distclean-indent distclean-indent
11853 maybe-distclean-indent:
11854 @if indent
11855 maybe-distclean-indent: distclean-indent
11857 distclean-indent:
11858 @[ -f ./indent/Makefile ] || exit 0; \
11859 r=`${PWD_COMMAND}`; export r; \
11860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11861 $(SET_LIB_PATH) \
11862 $(HOST_EXPORTS) \
11863 for flag in $(EXTRA_HOST_FLAGS) ; do \
11864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11865 done; \
11866 echo "Doing distclean in indent" ; \
11867 (cd $(HOST_SUBDIR)/indent && \
11868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11870 "RANLIB=$${RANLIB}" \
11871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11872 distclean) \
11873 || exit 1
11875 @endif indent
11877 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
11878 maybe-maintainer-clean-indent:
11879 @if indent
11880 maybe-maintainer-clean-indent: maintainer-clean-indent
11882 maintainer-clean-indent:
11883 @[ -f ./indent/Makefile ] || exit 0; \
11884 r=`${PWD_COMMAND}`; export r; \
11885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11886 $(SET_LIB_PATH) \
11887 $(HOST_EXPORTS) \
11888 for flag in $(EXTRA_HOST_FLAGS) ; do \
11889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11890 done; \
11891 echo "Doing maintainer-clean in indent" ; \
11892 (cd $(HOST_SUBDIR)/indent && \
11893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11895 "RANLIB=$${RANLIB}" \
11896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11897 maintainer-clean) \
11898 || exit 1
11900 @endif indent
11903 .PHONY: configure-intl maybe-configure-intl
11904 maybe-configure-intl:
11905 @if intl
11906 maybe-configure-intl: configure-intl
11907 configure-intl:
11908 @test -f stage_last && exit 0; \
11909 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
11910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
11911 r=`${PWD_COMMAND}`; export r; \
11912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11913 $(HOST_EXPORTS) \
11914 echo Configuring in intl; \
11915 cd $(HOST_SUBDIR)/intl || exit 1; \
11916 case $(srcdir) in \
11917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11918 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
11919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11920 esac; \
11921 srcdiroption="--srcdir=$${topdir}/intl"; \
11922 libsrcdir="$$s/intl"; \
11923 $(SHELL) $${libsrcdir}/configure \
11924 $(HOST_CONFIGARGS) $${srcdiroption} \
11925 || exit 1
11926 @endif intl
11928 .PHONY: all-intl maybe-all-intl
11929 maybe-all-intl:
11930 @if intl
11931 TARGET-intl=all
11932 maybe-all-intl: all-intl
11933 all-intl: configure-intl
11934 @test -f stage_last && exit 0; \
11935 r=`${PWD_COMMAND}`; export r; \
11936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11937 $(SET_LIB_PATH) \
11938 $(HOST_EXPORTS) \
11939 (cd $(HOST_SUBDIR)/intl && \
11940 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
11941 @endif intl
11943 .PHONY: check-intl maybe-check-intl
11944 maybe-check-intl:
11945 @if intl
11946 maybe-check-intl: check-intl
11948 check-intl:
11949 @r=`${PWD_COMMAND}`; export r; \
11950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11951 $(SET_LIB_PATH) \
11952 $(HOST_EXPORTS) \
11953 (cd $(HOST_SUBDIR)/intl && \
11954 $(MAKE) $(FLAGS_TO_PASS) check)
11956 @endif intl
11958 .PHONY: install-intl maybe-install-intl
11959 maybe-install-intl:
11960 @if intl
11961 maybe-install-intl: install-intl
11963 install-intl: installdirs
11964 @r=`${PWD_COMMAND}`; export r; \
11965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11966 $(SET_LIB_PATH) \
11967 $(HOST_EXPORTS) \
11968 (cd $(HOST_SUBDIR)/intl && \
11969 $(MAKE) $(FLAGS_TO_PASS) install)
11971 @endif intl
11973 # Other targets (info, dvi, etc.)
11975 .PHONY: maybe-info-intl info-intl
11976 maybe-info-intl:
11977 @if intl
11978 maybe-info-intl: info-intl
11980 info-intl: \
11981 configure-intl
11982 @[ -f ./intl/Makefile ] || exit 0; \
11983 r=`${PWD_COMMAND}`; export r; \
11984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11985 $(SET_LIB_PATH) \
11986 $(HOST_EXPORTS) \
11987 for flag in $(EXTRA_HOST_FLAGS) ; do \
11988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11989 done; \
11990 echo "Doing info in intl" ; \
11991 (cd $(HOST_SUBDIR)/intl && \
11992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11994 "RANLIB=$${RANLIB}" \
11995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11996 info) \
11997 || exit 1
11999 @endif intl
12001 .PHONY: maybe-dvi-intl dvi-intl
12002 maybe-dvi-intl:
12003 @if intl
12004 maybe-dvi-intl: dvi-intl
12006 dvi-intl: \
12007 configure-intl
12008 @[ -f ./intl/Makefile ] || exit 0; \
12009 r=`${PWD_COMMAND}`; export r; \
12010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12011 $(SET_LIB_PATH) \
12012 $(HOST_EXPORTS) \
12013 for flag in $(EXTRA_HOST_FLAGS) ; do \
12014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12015 done; \
12016 echo "Doing dvi in intl" ; \
12017 (cd $(HOST_SUBDIR)/intl && \
12018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12020 "RANLIB=$${RANLIB}" \
12021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12022 dvi) \
12023 || exit 1
12025 @endif intl
12027 .PHONY: maybe-html-intl html-intl
12028 maybe-html-intl:
12029 @if intl
12030 maybe-html-intl: html-intl
12032 html-intl: \
12033 configure-intl
12034 @[ -f ./intl/Makefile ] || exit 0; \
12035 r=`${PWD_COMMAND}`; export r; \
12036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12037 $(SET_LIB_PATH) \
12038 $(HOST_EXPORTS) \
12039 for flag in $(EXTRA_HOST_FLAGS) ; do \
12040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12041 done; \
12042 echo "Doing html in intl" ; \
12043 (cd $(HOST_SUBDIR)/intl && \
12044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12046 "RANLIB=$${RANLIB}" \
12047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12048 html) \
12049 || exit 1
12051 @endif intl
12053 .PHONY: maybe-TAGS-intl TAGS-intl
12054 maybe-TAGS-intl:
12055 @if intl
12056 maybe-TAGS-intl: TAGS-intl
12058 TAGS-intl: \
12059 configure-intl
12060 @[ -f ./intl/Makefile ] || exit 0; \
12061 r=`${PWD_COMMAND}`; export r; \
12062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12063 $(SET_LIB_PATH) \
12064 $(HOST_EXPORTS) \
12065 for flag in $(EXTRA_HOST_FLAGS) ; do \
12066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12067 done; \
12068 echo "Doing TAGS in intl" ; \
12069 (cd $(HOST_SUBDIR)/intl && \
12070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12072 "RANLIB=$${RANLIB}" \
12073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12074 TAGS) \
12075 || exit 1
12077 @endif intl
12079 .PHONY: maybe-install-info-intl install-info-intl
12080 maybe-install-info-intl:
12081 @if intl
12082 maybe-install-info-intl: install-info-intl
12084 install-info-intl: \
12085 configure-intl \
12086 info-intl
12087 @[ -f ./intl/Makefile ] || exit 0; \
12088 r=`${PWD_COMMAND}`; export r; \
12089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12090 $(SET_LIB_PATH) \
12091 $(HOST_EXPORTS) \
12092 for flag in $(EXTRA_HOST_FLAGS) ; do \
12093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12094 done; \
12095 echo "Doing install-info in intl" ; \
12096 (cd $(HOST_SUBDIR)/intl && \
12097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12099 "RANLIB=$${RANLIB}" \
12100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12101 install-info) \
12102 || exit 1
12104 @endif intl
12106 .PHONY: maybe-installcheck-intl installcheck-intl
12107 maybe-installcheck-intl:
12108 @if intl
12109 maybe-installcheck-intl: installcheck-intl
12111 installcheck-intl: \
12112 configure-intl
12113 @[ -f ./intl/Makefile ] || exit 0; \
12114 r=`${PWD_COMMAND}`; export r; \
12115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12116 $(SET_LIB_PATH) \
12117 $(HOST_EXPORTS) \
12118 for flag in $(EXTRA_HOST_FLAGS) ; do \
12119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12120 done; \
12121 echo "Doing installcheck in intl" ; \
12122 (cd $(HOST_SUBDIR)/intl && \
12123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12125 "RANLIB=$${RANLIB}" \
12126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12127 installcheck) \
12128 || exit 1
12130 @endif intl
12132 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
12133 maybe-mostlyclean-intl:
12134 @if intl
12135 maybe-mostlyclean-intl: mostlyclean-intl
12137 mostlyclean-intl:
12138 @[ -f ./intl/Makefile ] || exit 0; \
12139 r=`${PWD_COMMAND}`; export r; \
12140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12141 $(SET_LIB_PATH) \
12142 $(HOST_EXPORTS) \
12143 for flag in $(EXTRA_HOST_FLAGS) ; do \
12144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12145 done; \
12146 echo "Doing mostlyclean in intl" ; \
12147 (cd $(HOST_SUBDIR)/intl && \
12148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12150 "RANLIB=$${RANLIB}" \
12151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12152 mostlyclean) \
12153 || exit 1
12155 @endif intl
12157 .PHONY: maybe-clean-intl clean-intl
12158 maybe-clean-intl:
12159 @if intl
12160 maybe-clean-intl: clean-intl
12162 clean-intl:
12163 @[ -f ./intl/Makefile ] || exit 0; \
12164 r=`${PWD_COMMAND}`; export r; \
12165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12166 $(SET_LIB_PATH) \
12167 $(HOST_EXPORTS) \
12168 for flag in $(EXTRA_HOST_FLAGS) ; do \
12169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12170 done; \
12171 echo "Doing clean in intl" ; \
12172 (cd $(HOST_SUBDIR)/intl && \
12173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12175 "RANLIB=$${RANLIB}" \
12176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12177 clean) \
12178 || exit 1
12180 @endif intl
12182 .PHONY: maybe-distclean-intl distclean-intl
12183 maybe-distclean-intl:
12184 @if intl
12185 maybe-distclean-intl: distclean-intl
12187 distclean-intl:
12188 @[ -f ./intl/Makefile ] || exit 0; \
12189 r=`${PWD_COMMAND}`; export r; \
12190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12191 $(SET_LIB_PATH) \
12192 $(HOST_EXPORTS) \
12193 for flag in $(EXTRA_HOST_FLAGS) ; do \
12194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12195 done; \
12196 echo "Doing distclean in intl" ; \
12197 (cd $(HOST_SUBDIR)/intl && \
12198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12200 "RANLIB=$${RANLIB}" \
12201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12202 distclean) \
12203 || exit 1
12205 @endif intl
12207 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
12208 maybe-maintainer-clean-intl:
12209 @if intl
12210 maybe-maintainer-clean-intl: maintainer-clean-intl
12212 maintainer-clean-intl:
12213 @[ -f ./intl/Makefile ] || exit 0; \
12214 r=`${PWD_COMMAND}`; export r; \
12215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12216 $(SET_LIB_PATH) \
12217 $(HOST_EXPORTS) \
12218 for flag in $(EXTRA_HOST_FLAGS) ; do \
12219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12220 done; \
12221 echo "Doing maintainer-clean in intl" ; \
12222 (cd $(HOST_SUBDIR)/intl && \
12223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12225 "RANLIB=$${RANLIB}" \
12226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12227 maintainer-clean) \
12228 || exit 1
12230 @endif intl
12233 .PHONY: configure-tcl maybe-configure-tcl
12234 maybe-configure-tcl:
12235 @if tcl
12236 maybe-configure-tcl: configure-tcl
12237 configure-tcl:
12238 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
12239 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
12240 r=`${PWD_COMMAND}`; export r; \
12241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12242 $(HOST_EXPORTS) \
12243 echo Configuring in tcl; \
12244 cd $(HOST_SUBDIR)/tcl || exit 1; \
12245 case $(srcdir) in \
12246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12247 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
12248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12249 esac; \
12250 srcdiroption="--srcdir=$${topdir}/tcl"; \
12251 libsrcdir="$$s/tcl"; \
12252 $(SHELL) $${libsrcdir}/configure \
12253 $(HOST_CONFIGARGS) $${srcdiroption} \
12254 || exit 1
12255 @endif tcl
12257 .PHONY: all-tcl maybe-all-tcl
12258 maybe-all-tcl:
12259 @if tcl
12260 TARGET-tcl=all
12261 maybe-all-tcl: all-tcl
12262 all-tcl: configure-tcl
12263 @r=`${PWD_COMMAND}`; export r; \
12264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12265 $(SET_LIB_PATH) \
12266 $(HOST_EXPORTS) \
12267 (cd $(HOST_SUBDIR)/tcl && \
12268 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
12269 @endif tcl
12271 .PHONY: check-tcl maybe-check-tcl
12272 maybe-check-tcl:
12273 @if tcl
12274 maybe-check-tcl: check-tcl
12276 check-tcl:
12277 @r=`${PWD_COMMAND}`; export r; \
12278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12279 $(SET_LIB_PATH) \
12280 $(HOST_EXPORTS) \
12281 (cd $(HOST_SUBDIR)/tcl && \
12282 $(MAKE) $(FLAGS_TO_PASS) check)
12284 @endif tcl
12286 .PHONY: install-tcl maybe-install-tcl
12287 maybe-install-tcl:
12288 @if tcl
12289 maybe-install-tcl: install-tcl
12291 install-tcl: installdirs
12292 @r=`${PWD_COMMAND}`; export r; \
12293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12294 $(SET_LIB_PATH) \
12295 $(HOST_EXPORTS) \
12296 (cd $(HOST_SUBDIR)/tcl && \
12297 $(MAKE) $(FLAGS_TO_PASS) install)
12299 @endif tcl
12301 # Other targets (info, dvi, etc.)
12303 .PHONY: maybe-info-tcl info-tcl
12304 maybe-info-tcl:
12305 @if tcl
12306 maybe-info-tcl: info-tcl
12308 info-tcl: \
12309 configure-tcl
12310 @[ -f ./tcl/Makefile ] || exit 0; \
12311 r=`${PWD_COMMAND}`; export r; \
12312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12313 $(SET_LIB_PATH) \
12314 $(HOST_EXPORTS) \
12315 for flag in $(EXTRA_HOST_FLAGS) ; do \
12316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12317 done; \
12318 echo "Doing info in tcl" ; \
12319 (cd $(HOST_SUBDIR)/tcl && \
12320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12322 "RANLIB=$${RANLIB}" \
12323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12324 info) \
12325 || exit 1
12327 @endif tcl
12329 .PHONY: maybe-dvi-tcl dvi-tcl
12330 maybe-dvi-tcl:
12331 @if tcl
12332 maybe-dvi-tcl: dvi-tcl
12334 dvi-tcl: \
12335 configure-tcl
12336 @[ -f ./tcl/Makefile ] || exit 0; \
12337 r=`${PWD_COMMAND}`; export r; \
12338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12339 $(SET_LIB_PATH) \
12340 $(HOST_EXPORTS) \
12341 for flag in $(EXTRA_HOST_FLAGS) ; do \
12342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12343 done; \
12344 echo "Doing dvi in tcl" ; \
12345 (cd $(HOST_SUBDIR)/tcl && \
12346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12348 "RANLIB=$${RANLIB}" \
12349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12350 dvi) \
12351 || exit 1
12353 @endif tcl
12355 .PHONY: maybe-html-tcl html-tcl
12356 maybe-html-tcl:
12357 @if tcl
12358 maybe-html-tcl: html-tcl
12360 html-tcl: \
12361 configure-tcl
12362 @[ -f ./tcl/Makefile ] || exit 0; \
12363 r=`${PWD_COMMAND}`; export r; \
12364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12365 $(SET_LIB_PATH) \
12366 $(HOST_EXPORTS) \
12367 for flag in $(EXTRA_HOST_FLAGS) ; do \
12368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12369 done; \
12370 echo "Doing html in tcl" ; \
12371 (cd $(HOST_SUBDIR)/tcl && \
12372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12374 "RANLIB=$${RANLIB}" \
12375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12376 html) \
12377 || exit 1
12379 @endif tcl
12381 .PHONY: maybe-TAGS-tcl TAGS-tcl
12382 maybe-TAGS-tcl:
12383 @if tcl
12384 maybe-TAGS-tcl: TAGS-tcl
12386 TAGS-tcl: \
12387 configure-tcl
12388 @[ -f ./tcl/Makefile ] || exit 0; \
12389 r=`${PWD_COMMAND}`; export r; \
12390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12391 $(SET_LIB_PATH) \
12392 $(HOST_EXPORTS) \
12393 for flag in $(EXTRA_HOST_FLAGS) ; do \
12394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12395 done; \
12396 echo "Doing TAGS in tcl" ; \
12397 (cd $(HOST_SUBDIR)/tcl && \
12398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12400 "RANLIB=$${RANLIB}" \
12401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12402 TAGS) \
12403 || exit 1
12405 @endif tcl
12407 .PHONY: maybe-install-info-tcl install-info-tcl
12408 maybe-install-info-tcl:
12409 @if tcl
12410 maybe-install-info-tcl: install-info-tcl
12412 install-info-tcl: \
12413 configure-tcl \
12414 info-tcl
12415 @[ -f ./tcl/Makefile ] || exit 0; \
12416 r=`${PWD_COMMAND}`; export r; \
12417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12418 $(SET_LIB_PATH) \
12419 $(HOST_EXPORTS) \
12420 for flag in $(EXTRA_HOST_FLAGS) ; do \
12421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12422 done; \
12423 echo "Doing install-info in tcl" ; \
12424 (cd $(HOST_SUBDIR)/tcl && \
12425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12427 "RANLIB=$${RANLIB}" \
12428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12429 install-info) \
12430 || exit 1
12432 @endif tcl
12434 .PHONY: maybe-installcheck-tcl installcheck-tcl
12435 maybe-installcheck-tcl:
12436 @if tcl
12437 maybe-installcheck-tcl: installcheck-tcl
12439 installcheck-tcl: \
12440 configure-tcl
12441 @[ -f ./tcl/Makefile ] || exit 0; \
12442 r=`${PWD_COMMAND}`; export r; \
12443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12444 $(SET_LIB_PATH) \
12445 $(HOST_EXPORTS) \
12446 for flag in $(EXTRA_HOST_FLAGS) ; do \
12447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12448 done; \
12449 echo "Doing installcheck in tcl" ; \
12450 (cd $(HOST_SUBDIR)/tcl && \
12451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12453 "RANLIB=$${RANLIB}" \
12454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12455 installcheck) \
12456 || exit 1
12458 @endif tcl
12460 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
12461 maybe-mostlyclean-tcl:
12462 @if tcl
12463 maybe-mostlyclean-tcl: mostlyclean-tcl
12465 # tcl doesn't support mostlyclean.
12466 mostlyclean-tcl:
12468 @endif tcl
12470 .PHONY: maybe-clean-tcl clean-tcl
12471 maybe-clean-tcl:
12472 @if tcl
12473 maybe-clean-tcl: clean-tcl
12475 clean-tcl:
12476 @[ -f ./tcl/Makefile ] || exit 0; \
12477 r=`${PWD_COMMAND}`; export r; \
12478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12479 $(SET_LIB_PATH) \
12480 $(HOST_EXPORTS) \
12481 for flag in $(EXTRA_HOST_FLAGS) ; do \
12482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12483 done; \
12484 echo "Doing clean in tcl" ; \
12485 (cd $(HOST_SUBDIR)/tcl && \
12486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12488 "RANLIB=$${RANLIB}" \
12489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12490 clean) \
12491 || exit 1
12493 @endif tcl
12495 .PHONY: maybe-distclean-tcl distclean-tcl
12496 maybe-distclean-tcl:
12497 @if tcl
12498 maybe-distclean-tcl: distclean-tcl
12500 distclean-tcl:
12501 @[ -f ./tcl/Makefile ] || exit 0; \
12502 r=`${PWD_COMMAND}`; export r; \
12503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12504 $(SET_LIB_PATH) \
12505 $(HOST_EXPORTS) \
12506 for flag in $(EXTRA_HOST_FLAGS) ; do \
12507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12508 done; \
12509 echo "Doing distclean in tcl" ; \
12510 (cd $(HOST_SUBDIR)/tcl && \
12511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12513 "RANLIB=$${RANLIB}" \
12514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12515 distclean) \
12516 || exit 1
12518 @endif tcl
12520 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
12521 maybe-maintainer-clean-tcl:
12522 @if tcl
12523 maybe-maintainer-clean-tcl: maintainer-clean-tcl
12525 maintainer-clean-tcl:
12526 @[ -f ./tcl/Makefile ] || exit 0; \
12527 r=`${PWD_COMMAND}`; export r; \
12528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12529 $(SET_LIB_PATH) \
12530 $(HOST_EXPORTS) \
12531 for flag in $(EXTRA_HOST_FLAGS) ; do \
12532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12533 done; \
12534 echo "Doing maintainer-clean in tcl" ; \
12535 (cd $(HOST_SUBDIR)/tcl && \
12536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12538 "RANLIB=$${RANLIB}" \
12539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12540 maintainer-clean) \
12541 || exit 1
12543 @endif tcl
12546 .PHONY: configure-itcl maybe-configure-itcl
12547 maybe-configure-itcl:
12548 @if itcl
12549 maybe-configure-itcl: configure-itcl
12550 configure-itcl:
12551 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
12552 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
12553 r=`${PWD_COMMAND}`; export r; \
12554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12555 $(HOST_EXPORTS) \
12556 echo Configuring in itcl; \
12557 cd $(HOST_SUBDIR)/itcl || exit 1; \
12558 case $(srcdir) in \
12559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12560 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
12561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12562 esac; \
12563 srcdiroption="--srcdir=$${topdir}/itcl"; \
12564 libsrcdir="$$s/itcl"; \
12565 $(SHELL) $${libsrcdir}/configure \
12566 $(HOST_CONFIGARGS) $${srcdiroption} \
12567 || exit 1
12568 @endif itcl
12570 .PHONY: all-itcl maybe-all-itcl
12571 maybe-all-itcl:
12572 @if itcl
12573 TARGET-itcl=all
12574 maybe-all-itcl: all-itcl
12575 all-itcl: configure-itcl
12576 @r=`${PWD_COMMAND}`; export r; \
12577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12578 $(SET_LIB_PATH) \
12579 $(HOST_EXPORTS) \
12580 (cd $(HOST_SUBDIR)/itcl && \
12581 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
12582 @endif itcl
12584 .PHONY: check-itcl maybe-check-itcl
12585 maybe-check-itcl:
12586 @if itcl
12587 maybe-check-itcl: check-itcl
12589 check-itcl:
12590 @r=`${PWD_COMMAND}`; export r; \
12591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12592 $(SET_LIB_PATH) \
12593 $(HOST_EXPORTS) \
12594 (cd $(HOST_SUBDIR)/itcl && \
12595 $(MAKE) $(FLAGS_TO_PASS) check)
12597 @endif itcl
12599 .PHONY: install-itcl maybe-install-itcl
12600 maybe-install-itcl:
12601 @if itcl
12602 maybe-install-itcl: install-itcl
12604 install-itcl: installdirs
12605 @r=`${PWD_COMMAND}`; export r; \
12606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12607 $(SET_LIB_PATH) \
12608 $(HOST_EXPORTS) \
12609 (cd $(HOST_SUBDIR)/itcl && \
12610 $(MAKE) $(FLAGS_TO_PASS) install)
12612 @endif itcl
12614 # Other targets (info, dvi, etc.)
12616 .PHONY: maybe-info-itcl info-itcl
12617 maybe-info-itcl:
12618 @if itcl
12619 maybe-info-itcl: info-itcl
12621 info-itcl: \
12622 configure-itcl
12623 @[ -f ./itcl/Makefile ] || exit 0; \
12624 r=`${PWD_COMMAND}`; export r; \
12625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12626 $(SET_LIB_PATH) \
12627 $(HOST_EXPORTS) \
12628 for flag in $(EXTRA_HOST_FLAGS) ; do \
12629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12630 done; \
12631 echo "Doing info in itcl" ; \
12632 (cd $(HOST_SUBDIR)/itcl && \
12633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12635 "RANLIB=$${RANLIB}" \
12636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12637 info) \
12638 || exit 1
12640 @endif itcl
12642 .PHONY: maybe-dvi-itcl dvi-itcl
12643 maybe-dvi-itcl:
12644 @if itcl
12645 maybe-dvi-itcl: dvi-itcl
12647 dvi-itcl: \
12648 configure-itcl
12649 @[ -f ./itcl/Makefile ] || exit 0; \
12650 r=`${PWD_COMMAND}`; export r; \
12651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12652 $(SET_LIB_PATH) \
12653 $(HOST_EXPORTS) \
12654 for flag in $(EXTRA_HOST_FLAGS) ; do \
12655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12656 done; \
12657 echo "Doing dvi in itcl" ; \
12658 (cd $(HOST_SUBDIR)/itcl && \
12659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12661 "RANLIB=$${RANLIB}" \
12662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12663 dvi) \
12664 || exit 1
12666 @endif itcl
12668 .PHONY: maybe-html-itcl html-itcl
12669 maybe-html-itcl:
12670 @if itcl
12671 maybe-html-itcl: html-itcl
12673 html-itcl: \
12674 configure-itcl
12675 @[ -f ./itcl/Makefile ] || exit 0; \
12676 r=`${PWD_COMMAND}`; export r; \
12677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12678 $(SET_LIB_PATH) \
12679 $(HOST_EXPORTS) \
12680 for flag in $(EXTRA_HOST_FLAGS) ; do \
12681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12682 done; \
12683 echo "Doing html in itcl" ; \
12684 (cd $(HOST_SUBDIR)/itcl && \
12685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12687 "RANLIB=$${RANLIB}" \
12688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12689 html) \
12690 || exit 1
12692 @endif itcl
12694 .PHONY: maybe-TAGS-itcl TAGS-itcl
12695 maybe-TAGS-itcl:
12696 @if itcl
12697 maybe-TAGS-itcl: TAGS-itcl
12699 TAGS-itcl: \
12700 configure-itcl
12701 @[ -f ./itcl/Makefile ] || exit 0; \
12702 r=`${PWD_COMMAND}`; export r; \
12703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12704 $(SET_LIB_PATH) \
12705 $(HOST_EXPORTS) \
12706 for flag in $(EXTRA_HOST_FLAGS) ; do \
12707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12708 done; \
12709 echo "Doing TAGS in itcl" ; \
12710 (cd $(HOST_SUBDIR)/itcl && \
12711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12713 "RANLIB=$${RANLIB}" \
12714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12715 TAGS) \
12716 || exit 1
12718 @endif itcl
12720 .PHONY: maybe-install-info-itcl install-info-itcl
12721 maybe-install-info-itcl:
12722 @if itcl
12723 maybe-install-info-itcl: install-info-itcl
12725 install-info-itcl: \
12726 configure-itcl \
12727 info-itcl
12728 @[ -f ./itcl/Makefile ] || exit 0; \
12729 r=`${PWD_COMMAND}`; export r; \
12730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12731 $(SET_LIB_PATH) \
12732 $(HOST_EXPORTS) \
12733 for flag in $(EXTRA_HOST_FLAGS) ; do \
12734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12735 done; \
12736 echo "Doing install-info in itcl" ; \
12737 (cd $(HOST_SUBDIR)/itcl && \
12738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12740 "RANLIB=$${RANLIB}" \
12741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12742 install-info) \
12743 || exit 1
12745 @endif itcl
12747 .PHONY: maybe-installcheck-itcl installcheck-itcl
12748 maybe-installcheck-itcl:
12749 @if itcl
12750 maybe-installcheck-itcl: installcheck-itcl
12752 installcheck-itcl: \
12753 configure-itcl
12754 @[ -f ./itcl/Makefile ] || exit 0; \
12755 r=`${PWD_COMMAND}`; export r; \
12756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12757 $(SET_LIB_PATH) \
12758 $(HOST_EXPORTS) \
12759 for flag in $(EXTRA_HOST_FLAGS) ; do \
12760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12761 done; \
12762 echo "Doing installcheck in itcl" ; \
12763 (cd $(HOST_SUBDIR)/itcl && \
12764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12766 "RANLIB=$${RANLIB}" \
12767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12768 installcheck) \
12769 || exit 1
12771 @endif itcl
12773 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
12774 maybe-mostlyclean-itcl:
12775 @if itcl
12776 maybe-mostlyclean-itcl: mostlyclean-itcl
12778 mostlyclean-itcl:
12779 @[ -f ./itcl/Makefile ] || exit 0; \
12780 r=`${PWD_COMMAND}`; export r; \
12781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12782 $(SET_LIB_PATH) \
12783 $(HOST_EXPORTS) \
12784 for flag in $(EXTRA_HOST_FLAGS) ; do \
12785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12786 done; \
12787 echo "Doing mostlyclean in itcl" ; \
12788 (cd $(HOST_SUBDIR)/itcl && \
12789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12791 "RANLIB=$${RANLIB}" \
12792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12793 mostlyclean) \
12794 || exit 1
12796 @endif itcl
12798 .PHONY: maybe-clean-itcl clean-itcl
12799 maybe-clean-itcl:
12800 @if itcl
12801 maybe-clean-itcl: clean-itcl
12803 clean-itcl:
12804 @[ -f ./itcl/Makefile ] || exit 0; \
12805 r=`${PWD_COMMAND}`; export r; \
12806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12807 $(SET_LIB_PATH) \
12808 $(HOST_EXPORTS) \
12809 for flag in $(EXTRA_HOST_FLAGS) ; do \
12810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12811 done; \
12812 echo "Doing clean in itcl" ; \
12813 (cd $(HOST_SUBDIR)/itcl && \
12814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12816 "RANLIB=$${RANLIB}" \
12817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12818 clean) \
12819 || exit 1
12821 @endif itcl
12823 .PHONY: maybe-distclean-itcl distclean-itcl
12824 maybe-distclean-itcl:
12825 @if itcl
12826 maybe-distclean-itcl: distclean-itcl
12828 distclean-itcl:
12829 @[ -f ./itcl/Makefile ] || exit 0; \
12830 r=`${PWD_COMMAND}`; export r; \
12831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12832 $(SET_LIB_PATH) \
12833 $(HOST_EXPORTS) \
12834 for flag in $(EXTRA_HOST_FLAGS) ; do \
12835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12836 done; \
12837 echo "Doing distclean in itcl" ; \
12838 (cd $(HOST_SUBDIR)/itcl && \
12839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12841 "RANLIB=$${RANLIB}" \
12842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12843 distclean) \
12844 || exit 1
12846 @endif itcl
12848 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
12849 maybe-maintainer-clean-itcl:
12850 @if itcl
12851 maybe-maintainer-clean-itcl: maintainer-clean-itcl
12853 maintainer-clean-itcl:
12854 @[ -f ./itcl/Makefile ] || exit 0; \
12855 r=`${PWD_COMMAND}`; export r; \
12856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12857 $(SET_LIB_PATH) \
12858 $(HOST_EXPORTS) \
12859 for flag in $(EXTRA_HOST_FLAGS) ; do \
12860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12861 done; \
12862 echo "Doing maintainer-clean in itcl" ; \
12863 (cd $(HOST_SUBDIR)/itcl && \
12864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12866 "RANLIB=$${RANLIB}" \
12867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12868 maintainer-clean) \
12869 || exit 1
12871 @endif itcl
12874 .PHONY: configure-ld maybe-configure-ld
12875 maybe-configure-ld:
12876 @if ld
12877 maybe-configure-ld: configure-ld
12878 configure-ld:
12879 @test -f stage_last && exit 0; \
12880 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
12881 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
12882 r=`${PWD_COMMAND}`; export r; \
12883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12884 $(HOST_EXPORTS) \
12885 echo Configuring in ld; \
12886 cd $(HOST_SUBDIR)/ld || exit 1; \
12887 case $(srcdir) in \
12888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12889 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
12890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12891 esac; \
12892 srcdiroption="--srcdir=$${topdir}/ld"; \
12893 libsrcdir="$$s/ld"; \
12894 $(SHELL) $${libsrcdir}/configure \
12895 $(HOST_CONFIGARGS) $${srcdiroption} \
12896 || exit 1
12897 @endif ld
12899 .PHONY: all-ld maybe-all-ld
12900 maybe-all-ld:
12901 @if ld
12902 TARGET-ld=all
12903 maybe-all-ld: all-ld
12904 all-ld: configure-ld
12905 @test -f stage_last && exit 0; \
12906 r=`${PWD_COMMAND}`; export r; \
12907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12908 $(SET_LIB_PATH) \
12909 $(HOST_EXPORTS) \
12910 (cd $(HOST_SUBDIR)/ld && \
12911 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
12912 @endif ld
12914 .PHONY: check-ld maybe-check-ld
12915 maybe-check-ld:
12916 @if ld
12917 maybe-check-ld: check-ld
12919 check-ld:
12920 @r=`${PWD_COMMAND}`; export r; \
12921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12922 $(SET_LIB_PATH) \
12923 $(HOST_EXPORTS) \
12924 (cd $(HOST_SUBDIR)/ld && \
12925 $(MAKE) $(FLAGS_TO_PASS) check)
12927 @endif ld
12929 .PHONY: install-ld maybe-install-ld
12930 maybe-install-ld:
12931 @if ld
12932 maybe-install-ld: install-ld
12934 install-ld: installdirs
12935 @r=`${PWD_COMMAND}`; export r; \
12936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12937 $(SET_LIB_PATH) \
12938 $(HOST_EXPORTS) \
12939 (cd $(HOST_SUBDIR)/ld && \
12940 $(MAKE) $(FLAGS_TO_PASS) install)
12942 @endif ld
12944 # Other targets (info, dvi, etc.)
12946 .PHONY: maybe-info-ld info-ld
12947 maybe-info-ld:
12948 @if ld
12949 maybe-info-ld: info-ld
12951 info-ld: \
12952 configure-ld
12953 @[ -f ./ld/Makefile ] || exit 0; \
12954 r=`${PWD_COMMAND}`; export r; \
12955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12956 $(SET_LIB_PATH) \
12957 $(HOST_EXPORTS) \
12958 for flag in $(EXTRA_HOST_FLAGS) ; do \
12959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12960 done; \
12961 echo "Doing info in ld" ; \
12962 (cd $(HOST_SUBDIR)/ld && \
12963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12965 "RANLIB=$${RANLIB}" \
12966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12967 info) \
12968 || exit 1
12970 @endif ld
12972 .PHONY: maybe-dvi-ld dvi-ld
12973 maybe-dvi-ld:
12974 @if ld
12975 maybe-dvi-ld: dvi-ld
12977 dvi-ld: \
12978 configure-ld
12979 @[ -f ./ld/Makefile ] || exit 0; \
12980 r=`${PWD_COMMAND}`; export r; \
12981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12982 $(SET_LIB_PATH) \
12983 $(HOST_EXPORTS) \
12984 for flag in $(EXTRA_HOST_FLAGS) ; do \
12985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12986 done; \
12987 echo "Doing dvi in ld" ; \
12988 (cd $(HOST_SUBDIR)/ld && \
12989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12991 "RANLIB=$${RANLIB}" \
12992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12993 dvi) \
12994 || exit 1
12996 @endif ld
12998 .PHONY: maybe-html-ld html-ld
12999 maybe-html-ld:
13000 @if ld
13001 maybe-html-ld: html-ld
13003 html-ld: \
13004 configure-ld
13005 @[ -f ./ld/Makefile ] || exit 0; \
13006 r=`${PWD_COMMAND}`; export r; \
13007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13008 $(SET_LIB_PATH) \
13009 $(HOST_EXPORTS) \
13010 for flag in $(EXTRA_HOST_FLAGS) ; do \
13011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13012 done; \
13013 echo "Doing html in ld" ; \
13014 (cd $(HOST_SUBDIR)/ld && \
13015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13017 "RANLIB=$${RANLIB}" \
13018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13019 html) \
13020 || exit 1
13022 @endif ld
13024 .PHONY: maybe-TAGS-ld TAGS-ld
13025 maybe-TAGS-ld:
13026 @if ld
13027 maybe-TAGS-ld: TAGS-ld
13029 TAGS-ld: \
13030 configure-ld
13031 @[ -f ./ld/Makefile ] || exit 0; \
13032 r=`${PWD_COMMAND}`; export r; \
13033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13034 $(SET_LIB_PATH) \
13035 $(HOST_EXPORTS) \
13036 for flag in $(EXTRA_HOST_FLAGS) ; do \
13037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13038 done; \
13039 echo "Doing TAGS in ld" ; \
13040 (cd $(HOST_SUBDIR)/ld && \
13041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13043 "RANLIB=$${RANLIB}" \
13044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13045 TAGS) \
13046 || exit 1
13048 @endif ld
13050 .PHONY: maybe-install-info-ld install-info-ld
13051 maybe-install-info-ld:
13052 @if ld
13053 maybe-install-info-ld: install-info-ld
13055 install-info-ld: \
13056 configure-ld \
13057 info-ld
13058 @[ -f ./ld/Makefile ] || exit 0; \
13059 r=`${PWD_COMMAND}`; export r; \
13060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13061 $(SET_LIB_PATH) \
13062 $(HOST_EXPORTS) \
13063 for flag in $(EXTRA_HOST_FLAGS) ; do \
13064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13065 done; \
13066 echo "Doing install-info in ld" ; \
13067 (cd $(HOST_SUBDIR)/ld && \
13068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13070 "RANLIB=$${RANLIB}" \
13071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13072 install-info) \
13073 || exit 1
13075 @endif ld
13077 .PHONY: maybe-installcheck-ld installcheck-ld
13078 maybe-installcheck-ld:
13079 @if ld
13080 maybe-installcheck-ld: installcheck-ld
13082 installcheck-ld: \
13083 configure-ld
13084 @[ -f ./ld/Makefile ] || exit 0; \
13085 r=`${PWD_COMMAND}`; export r; \
13086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13087 $(SET_LIB_PATH) \
13088 $(HOST_EXPORTS) \
13089 for flag in $(EXTRA_HOST_FLAGS) ; do \
13090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13091 done; \
13092 echo "Doing installcheck in ld" ; \
13093 (cd $(HOST_SUBDIR)/ld && \
13094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13096 "RANLIB=$${RANLIB}" \
13097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13098 installcheck) \
13099 || exit 1
13101 @endif ld
13103 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
13104 maybe-mostlyclean-ld:
13105 @if ld
13106 maybe-mostlyclean-ld: mostlyclean-ld
13108 mostlyclean-ld:
13109 @[ -f ./ld/Makefile ] || exit 0; \
13110 r=`${PWD_COMMAND}`; export r; \
13111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13112 $(SET_LIB_PATH) \
13113 $(HOST_EXPORTS) \
13114 for flag in $(EXTRA_HOST_FLAGS) ; do \
13115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13116 done; \
13117 echo "Doing mostlyclean in ld" ; \
13118 (cd $(HOST_SUBDIR)/ld && \
13119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13121 "RANLIB=$${RANLIB}" \
13122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13123 mostlyclean) \
13124 || exit 1
13126 @endif ld
13128 .PHONY: maybe-clean-ld clean-ld
13129 maybe-clean-ld:
13130 @if ld
13131 maybe-clean-ld: clean-ld
13133 clean-ld:
13134 @[ -f ./ld/Makefile ] || exit 0; \
13135 r=`${PWD_COMMAND}`; export r; \
13136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13137 $(SET_LIB_PATH) \
13138 $(HOST_EXPORTS) \
13139 for flag in $(EXTRA_HOST_FLAGS) ; do \
13140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13141 done; \
13142 echo "Doing clean in ld" ; \
13143 (cd $(HOST_SUBDIR)/ld && \
13144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13146 "RANLIB=$${RANLIB}" \
13147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13148 clean) \
13149 || exit 1
13151 @endif ld
13153 .PHONY: maybe-distclean-ld distclean-ld
13154 maybe-distclean-ld:
13155 @if ld
13156 maybe-distclean-ld: distclean-ld
13158 distclean-ld:
13159 @[ -f ./ld/Makefile ] || exit 0; \
13160 r=`${PWD_COMMAND}`; export r; \
13161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13162 $(SET_LIB_PATH) \
13163 $(HOST_EXPORTS) \
13164 for flag in $(EXTRA_HOST_FLAGS) ; do \
13165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13166 done; \
13167 echo "Doing distclean in ld" ; \
13168 (cd $(HOST_SUBDIR)/ld && \
13169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13171 "RANLIB=$${RANLIB}" \
13172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13173 distclean) \
13174 || exit 1
13176 @endif ld
13178 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
13179 maybe-maintainer-clean-ld:
13180 @if ld
13181 maybe-maintainer-clean-ld: maintainer-clean-ld
13183 maintainer-clean-ld:
13184 @[ -f ./ld/Makefile ] || exit 0; \
13185 r=`${PWD_COMMAND}`; export r; \
13186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13187 $(SET_LIB_PATH) \
13188 $(HOST_EXPORTS) \
13189 for flag in $(EXTRA_HOST_FLAGS) ; do \
13190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13191 done; \
13192 echo "Doing maintainer-clean in ld" ; \
13193 (cd $(HOST_SUBDIR)/ld && \
13194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13196 "RANLIB=$${RANLIB}" \
13197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13198 maintainer-clean) \
13199 || exit 1
13201 @endif ld
13204 .PHONY: configure-libcpp maybe-configure-libcpp
13205 maybe-configure-libcpp:
13206 @if libcpp
13207 maybe-configure-libcpp: configure-libcpp
13208 configure-libcpp:
13209 @test -f stage_last && exit 0; \
13210 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
13211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
13212 r=`${PWD_COMMAND}`; export r; \
13213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13214 $(HOST_EXPORTS) \
13215 echo Configuring in libcpp; \
13216 cd $(HOST_SUBDIR)/libcpp || exit 1; \
13217 case $(srcdir) in \
13218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13219 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
13220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13221 esac; \
13222 srcdiroption="--srcdir=$${topdir}/libcpp"; \
13223 libsrcdir="$$s/libcpp"; \
13224 $(SHELL) $${libsrcdir}/configure \
13225 $(HOST_CONFIGARGS) $${srcdiroption} \
13226 || exit 1
13227 @endif libcpp
13229 .PHONY: all-libcpp maybe-all-libcpp
13230 maybe-all-libcpp:
13231 @if libcpp
13232 TARGET-libcpp=all
13233 maybe-all-libcpp: all-libcpp
13234 all-libcpp: configure-libcpp
13235 @test -f stage_last && exit 0; \
13236 r=`${PWD_COMMAND}`; export r; \
13237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13238 $(SET_LIB_PATH) \
13239 $(HOST_EXPORTS) \
13240 (cd $(HOST_SUBDIR)/libcpp && \
13241 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
13242 @endif libcpp
13244 .PHONY: check-libcpp maybe-check-libcpp
13245 maybe-check-libcpp:
13246 @if libcpp
13247 maybe-check-libcpp: check-libcpp
13249 check-libcpp:
13250 @r=`${PWD_COMMAND}`; export r; \
13251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13252 $(SET_LIB_PATH) \
13253 $(HOST_EXPORTS) \
13254 (cd $(HOST_SUBDIR)/libcpp && \
13255 $(MAKE) $(FLAGS_TO_PASS) check)
13257 @endif libcpp
13259 .PHONY: install-libcpp maybe-install-libcpp
13260 maybe-install-libcpp:
13261 @if libcpp
13262 maybe-install-libcpp: install-libcpp
13264 install-libcpp: installdirs
13265 @r=`${PWD_COMMAND}`; export r; \
13266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13267 $(SET_LIB_PATH) \
13268 $(HOST_EXPORTS) \
13269 (cd $(HOST_SUBDIR)/libcpp && \
13270 $(MAKE) $(FLAGS_TO_PASS) install)
13272 @endif libcpp
13274 # Other targets (info, dvi, etc.)
13276 .PHONY: maybe-info-libcpp info-libcpp
13277 maybe-info-libcpp:
13278 @if libcpp
13279 maybe-info-libcpp: info-libcpp
13281 info-libcpp: \
13282 configure-libcpp
13283 @[ -f ./libcpp/Makefile ] || exit 0; \
13284 r=`${PWD_COMMAND}`; export r; \
13285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13286 $(SET_LIB_PATH) \
13287 $(HOST_EXPORTS) \
13288 for flag in $(EXTRA_HOST_FLAGS) ; do \
13289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13290 done; \
13291 echo "Doing info in libcpp" ; \
13292 (cd $(HOST_SUBDIR)/libcpp && \
13293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13295 "RANLIB=$${RANLIB}" \
13296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13297 info) \
13298 || exit 1
13300 @endif libcpp
13302 .PHONY: maybe-dvi-libcpp dvi-libcpp
13303 maybe-dvi-libcpp:
13304 @if libcpp
13305 maybe-dvi-libcpp: dvi-libcpp
13307 dvi-libcpp: \
13308 configure-libcpp
13309 @[ -f ./libcpp/Makefile ] || exit 0; \
13310 r=`${PWD_COMMAND}`; export r; \
13311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13312 $(SET_LIB_PATH) \
13313 $(HOST_EXPORTS) \
13314 for flag in $(EXTRA_HOST_FLAGS) ; do \
13315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13316 done; \
13317 echo "Doing dvi in libcpp" ; \
13318 (cd $(HOST_SUBDIR)/libcpp && \
13319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13321 "RANLIB=$${RANLIB}" \
13322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13323 dvi) \
13324 || exit 1
13326 @endif libcpp
13328 .PHONY: maybe-html-libcpp html-libcpp
13329 maybe-html-libcpp:
13330 @if libcpp
13331 maybe-html-libcpp: html-libcpp
13333 html-libcpp: \
13334 configure-libcpp
13335 @[ -f ./libcpp/Makefile ] || exit 0; \
13336 r=`${PWD_COMMAND}`; export r; \
13337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13338 $(SET_LIB_PATH) \
13339 $(HOST_EXPORTS) \
13340 for flag in $(EXTRA_HOST_FLAGS) ; do \
13341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13342 done; \
13343 echo "Doing html in libcpp" ; \
13344 (cd $(HOST_SUBDIR)/libcpp && \
13345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13347 "RANLIB=$${RANLIB}" \
13348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13349 html) \
13350 || exit 1
13352 @endif libcpp
13354 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
13355 maybe-TAGS-libcpp:
13356 @if libcpp
13357 maybe-TAGS-libcpp: TAGS-libcpp
13359 TAGS-libcpp: \
13360 configure-libcpp
13361 @[ -f ./libcpp/Makefile ] || exit 0; \
13362 r=`${PWD_COMMAND}`; export r; \
13363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13364 $(SET_LIB_PATH) \
13365 $(HOST_EXPORTS) \
13366 for flag in $(EXTRA_HOST_FLAGS) ; do \
13367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13368 done; \
13369 echo "Doing TAGS in libcpp" ; \
13370 (cd $(HOST_SUBDIR)/libcpp && \
13371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13373 "RANLIB=$${RANLIB}" \
13374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13375 TAGS) \
13376 || exit 1
13378 @endif libcpp
13380 .PHONY: maybe-install-info-libcpp install-info-libcpp
13381 maybe-install-info-libcpp:
13382 @if libcpp
13383 maybe-install-info-libcpp: install-info-libcpp
13385 install-info-libcpp: \
13386 configure-libcpp \
13387 info-libcpp
13388 @[ -f ./libcpp/Makefile ] || exit 0; \
13389 r=`${PWD_COMMAND}`; export r; \
13390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13391 $(SET_LIB_PATH) \
13392 $(HOST_EXPORTS) \
13393 for flag in $(EXTRA_HOST_FLAGS) ; do \
13394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13395 done; \
13396 echo "Doing install-info in libcpp" ; \
13397 (cd $(HOST_SUBDIR)/libcpp && \
13398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13400 "RANLIB=$${RANLIB}" \
13401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13402 install-info) \
13403 || exit 1
13405 @endif libcpp
13407 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
13408 maybe-installcheck-libcpp:
13409 @if libcpp
13410 maybe-installcheck-libcpp: installcheck-libcpp
13412 installcheck-libcpp: \
13413 configure-libcpp
13414 @[ -f ./libcpp/Makefile ] || exit 0; \
13415 r=`${PWD_COMMAND}`; export r; \
13416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13417 $(SET_LIB_PATH) \
13418 $(HOST_EXPORTS) \
13419 for flag in $(EXTRA_HOST_FLAGS) ; do \
13420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13421 done; \
13422 echo "Doing installcheck in libcpp" ; \
13423 (cd $(HOST_SUBDIR)/libcpp && \
13424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13426 "RANLIB=$${RANLIB}" \
13427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13428 installcheck) \
13429 || exit 1
13431 @endif libcpp
13433 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
13434 maybe-mostlyclean-libcpp:
13435 @if libcpp
13436 maybe-mostlyclean-libcpp: mostlyclean-libcpp
13438 mostlyclean-libcpp:
13439 @[ -f ./libcpp/Makefile ] || exit 0; \
13440 r=`${PWD_COMMAND}`; export r; \
13441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13442 $(SET_LIB_PATH) \
13443 $(HOST_EXPORTS) \
13444 for flag in $(EXTRA_HOST_FLAGS) ; do \
13445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13446 done; \
13447 echo "Doing mostlyclean in libcpp" ; \
13448 (cd $(HOST_SUBDIR)/libcpp && \
13449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13451 "RANLIB=$${RANLIB}" \
13452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13453 mostlyclean) \
13454 || exit 1
13456 @endif libcpp
13458 .PHONY: maybe-clean-libcpp clean-libcpp
13459 maybe-clean-libcpp:
13460 @if libcpp
13461 maybe-clean-libcpp: clean-libcpp
13463 clean-libcpp:
13464 @[ -f ./libcpp/Makefile ] || exit 0; \
13465 r=`${PWD_COMMAND}`; export r; \
13466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13467 $(SET_LIB_PATH) \
13468 $(HOST_EXPORTS) \
13469 for flag in $(EXTRA_HOST_FLAGS) ; do \
13470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13471 done; \
13472 echo "Doing clean in libcpp" ; \
13473 (cd $(HOST_SUBDIR)/libcpp && \
13474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13476 "RANLIB=$${RANLIB}" \
13477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13478 clean) \
13479 || exit 1
13481 @endif libcpp
13483 .PHONY: maybe-distclean-libcpp distclean-libcpp
13484 maybe-distclean-libcpp:
13485 @if libcpp
13486 maybe-distclean-libcpp: distclean-libcpp
13488 distclean-libcpp:
13489 @[ -f ./libcpp/Makefile ] || exit 0; \
13490 r=`${PWD_COMMAND}`; export r; \
13491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13492 $(SET_LIB_PATH) \
13493 $(HOST_EXPORTS) \
13494 for flag in $(EXTRA_HOST_FLAGS) ; do \
13495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13496 done; \
13497 echo "Doing distclean in libcpp" ; \
13498 (cd $(HOST_SUBDIR)/libcpp && \
13499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13501 "RANLIB=$${RANLIB}" \
13502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13503 distclean) \
13504 || exit 1
13506 @endif libcpp
13508 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
13509 maybe-maintainer-clean-libcpp:
13510 @if libcpp
13511 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
13513 maintainer-clean-libcpp:
13514 @[ -f ./libcpp/Makefile ] || exit 0; \
13515 r=`${PWD_COMMAND}`; export r; \
13516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13517 $(SET_LIB_PATH) \
13518 $(HOST_EXPORTS) \
13519 for flag in $(EXTRA_HOST_FLAGS) ; do \
13520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13521 done; \
13522 echo "Doing maintainer-clean in libcpp" ; \
13523 (cd $(HOST_SUBDIR)/libcpp && \
13524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13526 "RANLIB=$${RANLIB}" \
13527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13528 maintainer-clean) \
13529 || exit 1
13531 @endif libcpp
13534 .PHONY: configure-libgui maybe-configure-libgui
13535 maybe-configure-libgui:
13536 @if libgui
13537 maybe-configure-libgui: configure-libgui
13538 configure-libgui:
13539 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
13540 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
13541 r=`${PWD_COMMAND}`; export r; \
13542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13543 $(HOST_EXPORTS) \
13544 echo Configuring in libgui; \
13545 cd $(HOST_SUBDIR)/libgui || exit 1; \
13546 case $(srcdir) in \
13547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13548 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
13549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13550 esac; \
13551 srcdiroption="--srcdir=$${topdir}/libgui"; \
13552 libsrcdir="$$s/libgui"; \
13553 $(SHELL) $${libsrcdir}/configure \
13554 $(HOST_CONFIGARGS) $${srcdiroption} \
13555 || exit 1
13556 @endif libgui
13558 .PHONY: all-libgui maybe-all-libgui
13559 maybe-all-libgui:
13560 @if libgui
13561 TARGET-libgui=all
13562 maybe-all-libgui: all-libgui
13563 all-libgui: configure-libgui
13564 @r=`${PWD_COMMAND}`; export r; \
13565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13566 $(SET_LIB_PATH) \
13567 $(HOST_EXPORTS) \
13568 (cd $(HOST_SUBDIR)/libgui && \
13569 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
13570 @endif libgui
13572 .PHONY: check-libgui maybe-check-libgui
13573 maybe-check-libgui:
13574 @if libgui
13575 maybe-check-libgui: check-libgui
13577 check-libgui:
13578 @r=`${PWD_COMMAND}`; export r; \
13579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13580 $(SET_LIB_PATH) \
13581 $(HOST_EXPORTS) \
13582 (cd $(HOST_SUBDIR)/libgui && \
13583 $(MAKE) $(FLAGS_TO_PASS) check)
13585 @endif libgui
13587 .PHONY: install-libgui maybe-install-libgui
13588 maybe-install-libgui:
13589 @if libgui
13590 maybe-install-libgui: install-libgui
13592 install-libgui: installdirs
13593 @r=`${PWD_COMMAND}`; export r; \
13594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13595 $(SET_LIB_PATH) \
13596 $(HOST_EXPORTS) \
13597 (cd $(HOST_SUBDIR)/libgui && \
13598 $(MAKE) $(FLAGS_TO_PASS) install)
13600 @endif libgui
13602 # Other targets (info, dvi, etc.)
13604 .PHONY: maybe-info-libgui info-libgui
13605 maybe-info-libgui:
13606 @if libgui
13607 maybe-info-libgui: info-libgui
13609 info-libgui: \
13610 configure-libgui
13611 @[ -f ./libgui/Makefile ] || exit 0; \
13612 r=`${PWD_COMMAND}`; export r; \
13613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13614 $(SET_LIB_PATH) \
13615 $(HOST_EXPORTS) \
13616 for flag in $(EXTRA_HOST_FLAGS) ; do \
13617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13618 done; \
13619 echo "Doing info in libgui" ; \
13620 (cd $(HOST_SUBDIR)/libgui && \
13621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13623 "RANLIB=$${RANLIB}" \
13624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13625 info) \
13626 || exit 1
13628 @endif libgui
13630 .PHONY: maybe-dvi-libgui dvi-libgui
13631 maybe-dvi-libgui:
13632 @if libgui
13633 maybe-dvi-libgui: dvi-libgui
13635 dvi-libgui: \
13636 configure-libgui
13637 @[ -f ./libgui/Makefile ] || exit 0; \
13638 r=`${PWD_COMMAND}`; export r; \
13639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13640 $(SET_LIB_PATH) \
13641 $(HOST_EXPORTS) \
13642 for flag in $(EXTRA_HOST_FLAGS) ; do \
13643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13644 done; \
13645 echo "Doing dvi in libgui" ; \
13646 (cd $(HOST_SUBDIR)/libgui && \
13647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13649 "RANLIB=$${RANLIB}" \
13650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13651 dvi) \
13652 || exit 1
13654 @endif libgui
13656 .PHONY: maybe-html-libgui html-libgui
13657 maybe-html-libgui:
13658 @if libgui
13659 maybe-html-libgui: html-libgui
13661 html-libgui: \
13662 configure-libgui
13663 @[ -f ./libgui/Makefile ] || exit 0; \
13664 r=`${PWD_COMMAND}`; export r; \
13665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13666 $(SET_LIB_PATH) \
13667 $(HOST_EXPORTS) \
13668 for flag in $(EXTRA_HOST_FLAGS) ; do \
13669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13670 done; \
13671 echo "Doing html in libgui" ; \
13672 (cd $(HOST_SUBDIR)/libgui && \
13673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13675 "RANLIB=$${RANLIB}" \
13676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13677 html) \
13678 || exit 1
13680 @endif libgui
13682 .PHONY: maybe-TAGS-libgui TAGS-libgui
13683 maybe-TAGS-libgui:
13684 @if libgui
13685 maybe-TAGS-libgui: TAGS-libgui
13687 TAGS-libgui: \
13688 configure-libgui
13689 @[ -f ./libgui/Makefile ] || exit 0; \
13690 r=`${PWD_COMMAND}`; export r; \
13691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13692 $(SET_LIB_PATH) \
13693 $(HOST_EXPORTS) \
13694 for flag in $(EXTRA_HOST_FLAGS) ; do \
13695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13696 done; \
13697 echo "Doing TAGS in libgui" ; \
13698 (cd $(HOST_SUBDIR)/libgui && \
13699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13701 "RANLIB=$${RANLIB}" \
13702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13703 TAGS) \
13704 || exit 1
13706 @endif libgui
13708 .PHONY: maybe-install-info-libgui install-info-libgui
13709 maybe-install-info-libgui:
13710 @if libgui
13711 maybe-install-info-libgui: install-info-libgui
13713 install-info-libgui: \
13714 configure-libgui \
13715 info-libgui
13716 @[ -f ./libgui/Makefile ] || exit 0; \
13717 r=`${PWD_COMMAND}`; export r; \
13718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13719 $(SET_LIB_PATH) \
13720 $(HOST_EXPORTS) \
13721 for flag in $(EXTRA_HOST_FLAGS) ; do \
13722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13723 done; \
13724 echo "Doing install-info in libgui" ; \
13725 (cd $(HOST_SUBDIR)/libgui && \
13726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13728 "RANLIB=$${RANLIB}" \
13729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13730 install-info) \
13731 || exit 1
13733 @endif libgui
13735 .PHONY: maybe-installcheck-libgui installcheck-libgui
13736 maybe-installcheck-libgui:
13737 @if libgui
13738 maybe-installcheck-libgui: installcheck-libgui
13740 installcheck-libgui: \
13741 configure-libgui
13742 @[ -f ./libgui/Makefile ] || exit 0; \
13743 r=`${PWD_COMMAND}`; export r; \
13744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13745 $(SET_LIB_PATH) \
13746 $(HOST_EXPORTS) \
13747 for flag in $(EXTRA_HOST_FLAGS) ; do \
13748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13749 done; \
13750 echo "Doing installcheck in libgui" ; \
13751 (cd $(HOST_SUBDIR)/libgui && \
13752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13754 "RANLIB=$${RANLIB}" \
13755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13756 installcheck) \
13757 || exit 1
13759 @endif libgui
13761 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
13762 maybe-mostlyclean-libgui:
13763 @if libgui
13764 maybe-mostlyclean-libgui: mostlyclean-libgui
13766 mostlyclean-libgui:
13767 @[ -f ./libgui/Makefile ] || exit 0; \
13768 r=`${PWD_COMMAND}`; export r; \
13769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13770 $(SET_LIB_PATH) \
13771 $(HOST_EXPORTS) \
13772 for flag in $(EXTRA_HOST_FLAGS) ; do \
13773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13774 done; \
13775 echo "Doing mostlyclean in libgui" ; \
13776 (cd $(HOST_SUBDIR)/libgui && \
13777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13779 "RANLIB=$${RANLIB}" \
13780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13781 mostlyclean) \
13782 || exit 1
13784 @endif libgui
13786 .PHONY: maybe-clean-libgui clean-libgui
13787 maybe-clean-libgui:
13788 @if libgui
13789 maybe-clean-libgui: clean-libgui
13791 clean-libgui:
13792 @[ -f ./libgui/Makefile ] || exit 0; \
13793 r=`${PWD_COMMAND}`; export r; \
13794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13795 $(SET_LIB_PATH) \
13796 $(HOST_EXPORTS) \
13797 for flag in $(EXTRA_HOST_FLAGS) ; do \
13798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13799 done; \
13800 echo "Doing clean in libgui" ; \
13801 (cd $(HOST_SUBDIR)/libgui && \
13802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13804 "RANLIB=$${RANLIB}" \
13805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13806 clean) \
13807 || exit 1
13809 @endif libgui
13811 .PHONY: maybe-distclean-libgui distclean-libgui
13812 maybe-distclean-libgui:
13813 @if libgui
13814 maybe-distclean-libgui: distclean-libgui
13816 distclean-libgui:
13817 @[ -f ./libgui/Makefile ] || exit 0; \
13818 r=`${PWD_COMMAND}`; export r; \
13819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13820 $(SET_LIB_PATH) \
13821 $(HOST_EXPORTS) \
13822 for flag in $(EXTRA_HOST_FLAGS) ; do \
13823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13824 done; \
13825 echo "Doing distclean in libgui" ; \
13826 (cd $(HOST_SUBDIR)/libgui && \
13827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13829 "RANLIB=$${RANLIB}" \
13830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13831 distclean) \
13832 || exit 1
13834 @endif libgui
13836 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
13837 maybe-maintainer-clean-libgui:
13838 @if libgui
13839 maybe-maintainer-clean-libgui: maintainer-clean-libgui
13841 maintainer-clean-libgui:
13842 @[ -f ./libgui/Makefile ] || exit 0; \
13843 r=`${PWD_COMMAND}`; export r; \
13844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13845 $(SET_LIB_PATH) \
13846 $(HOST_EXPORTS) \
13847 for flag in $(EXTRA_HOST_FLAGS) ; do \
13848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13849 done; \
13850 echo "Doing maintainer-clean in libgui" ; \
13851 (cd $(HOST_SUBDIR)/libgui && \
13852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13854 "RANLIB=$${RANLIB}" \
13855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13856 maintainer-clean) \
13857 || exit 1
13859 @endif libgui
13862 .PHONY: configure-libiberty maybe-configure-libiberty
13863 maybe-configure-libiberty:
13864 @if libiberty
13865 maybe-configure-libiberty: configure-libiberty
13866 configure-libiberty:
13867 @test -f stage_last && exit 0; \
13868 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
13869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
13870 r=`${PWD_COMMAND}`; export r; \
13871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13872 $(HOST_EXPORTS) \
13873 echo Configuring in libiberty; \
13874 cd $(HOST_SUBDIR)/libiberty || exit 1; \
13875 case $(srcdir) in \
13876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13877 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
13878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13879 esac; \
13880 srcdiroption="--srcdir=$${topdir}/libiberty"; \
13881 libsrcdir="$$s/libiberty"; \
13882 $(SHELL) $${libsrcdir}/configure \
13883 $(HOST_CONFIGARGS) $${srcdiroption} \
13884 || exit 1
13885 @endif libiberty
13887 .PHONY: all-libiberty maybe-all-libiberty
13888 maybe-all-libiberty:
13889 @if libiberty
13890 TARGET-libiberty=all
13891 maybe-all-libiberty: all-libiberty
13892 all-libiberty: configure-libiberty
13893 @test -f stage_last && exit 0; \
13894 r=`${PWD_COMMAND}`; export r; \
13895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13896 $(SET_LIB_PATH) \
13897 $(HOST_EXPORTS) \
13898 (cd $(HOST_SUBDIR)/libiberty && \
13899 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
13900 @endif libiberty
13902 .PHONY: check-libiberty maybe-check-libiberty
13903 maybe-check-libiberty:
13904 @if libiberty
13905 maybe-check-libiberty: check-libiberty
13907 check-libiberty:
13908 @r=`${PWD_COMMAND}`; export r; \
13909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13910 $(SET_LIB_PATH) \
13911 $(HOST_EXPORTS) \
13912 (cd $(HOST_SUBDIR)/libiberty && \
13913 $(MAKE) $(FLAGS_TO_PASS) check)
13915 @endif libiberty
13917 .PHONY: install-libiberty maybe-install-libiberty
13918 maybe-install-libiberty:
13919 @if libiberty
13920 maybe-install-libiberty: install-libiberty
13922 install-libiberty: installdirs
13923 @r=`${PWD_COMMAND}`; export r; \
13924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13925 $(SET_LIB_PATH) \
13926 $(HOST_EXPORTS) \
13927 (cd $(HOST_SUBDIR)/libiberty && \
13928 $(MAKE) $(FLAGS_TO_PASS) install)
13930 @endif libiberty
13932 # Other targets (info, dvi, etc.)
13934 .PHONY: maybe-info-libiberty info-libiberty
13935 maybe-info-libiberty:
13936 @if libiberty
13937 maybe-info-libiberty: info-libiberty
13939 info-libiberty: \
13940 configure-libiberty
13941 @[ -f ./libiberty/Makefile ] || exit 0; \
13942 r=`${PWD_COMMAND}`; export r; \
13943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13944 $(SET_LIB_PATH) \
13945 $(HOST_EXPORTS) \
13946 for flag in $(EXTRA_HOST_FLAGS) ; do \
13947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13948 done; \
13949 echo "Doing info in libiberty" ; \
13950 (cd $(HOST_SUBDIR)/libiberty && \
13951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13953 "RANLIB=$${RANLIB}" \
13954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13955 info) \
13956 || exit 1
13958 @endif libiberty
13960 .PHONY: maybe-dvi-libiberty dvi-libiberty
13961 maybe-dvi-libiberty:
13962 @if libiberty
13963 maybe-dvi-libiberty: dvi-libiberty
13965 dvi-libiberty: \
13966 configure-libiberty
13967 @[ -f ./libiberty/Makefile ] || exit 0; \
13968 r=`${PWD_COMMAND}`; export r; \
13969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13970 $(SET_LIB_PATH) \
13971 $(HOST_EXPORTS) \
13972 for flag in $(EXTRA_HOST_FLAGS) ; do \
13973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13974 done; \
13975 echo "Doing dvi in libiberty" ; \
13976 (cd $(HOST_SUBDIR)/libiberty && \
13977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13979 "RANLIB=$${RANLIB}" \
13980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13981 dvi) \
13982 || exit 1
13984 @endif libiberty
13986 .PHONY: maybe-html-libiberty html-libiberty
13987 maybe-html-libiberty:
13988 @if libiberty
13989 maybe-html-libiberty: html-libiberty
13991 html-libiberty: \
13992 configure-libiberty
13993 @[ -f ./libiberty/Makefile ] || exit 0; \
13994 r=`${PWD_COMMAND}`; export r; \
13995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13996 $(SET_LIB_PATH) \
13997 $(HOST_EXPORTS) \
13998 for flag in $(EXTRA_HOST_FLAGS) ; do \
13999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14000 done; \
14001 echo "Doing html in libiberty" ; \
14002 (cd $(HOST_SUBDIR)/libiberty && \
14003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14005 "RANLIB=$${RANLIB}" \
14006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14007 html) \
14008 || exit 1
14010 @endif libiberty
14012 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
14013 maybe-TAGS-libiberty:
14014 @if libiberty
14015 maybe-TAGS-libiberty: TAGS-libiberty
14017 TAGS-libiberty: \
14018 configure-libiberty
14019 @[ -f ./libiberty/Makefile ] || exit 0; \
14020 r=`${PWD_COMMAND}`; export r; \
14021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14022 $(SET_LIB_PATH) \
14023 $(HOST_EXPORTS) \
14024 for flag in $(EXTRA_HOST_FLAGS) ; do \
14025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14026 done; \
14027 echo "Doing TAGS in libiberty" ; \
14028 (cd $(HOST_SUBDIR)/libiberty && \
14029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14031 "RANLIB=$${RANLIB}" \
14032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14033 TAGS) \
14034 || exit 1
14036 @endif libiberty
14038 .PHONY: maybe-install-info-libiberty install-info-libiberty
14039 maybe-install-info-libiberty:
14040 @if libiberty
14041 maybe-install-info-libiberty: install-info-libiberty
14043 install-info-libiberty: \
14044 configure-libiberty \
14045 info-libiberty
14046 @[ -f ./libiberty/Makefile ] || exit 0; \
14047 r=`${PWD_COMMAND}`; export r; \
14048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14049 $(SET_LIB_PATH) \
14050 $(HOST_EXPORTS) \
14051 for flag in $(EXTRA_HOST_FLAGS) ; do \
14052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14053 done; \
14054 echo "Doing install-info in libiberty" ; \
14055 (cd $(HOST_SUBDIR)/libiberty && \
14056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14058 "RANLIB=$${RANLIB}" \
14059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14060 install-info) \
14061 || exit 1
14063 @endif libiberty
14065 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
14066 maybe-installcheck-libiberty:
14067 @if libiberty
14068 maybe-installcheck-libiberty: installcheck-libiberty
14070 installcheck-libiberty: \
14071 configure-libiberty
14072 @[ -f ./libiberty/Makefile ] || exit 0; \
14073 r=`${PWD_COMMAND}`; export r; \
14074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14075 $(SET_LIB_PATH) \
14076 $(HOST_EXPORTS) \
14077 for flag in $(EXTRA_HOST_FLAGS) ; do \
14078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14079 done; \
14080 echo "Doing installcheck in libiberty" ; \
14081 (cd $(HOST_SUBDIR)/libiberty && \
14082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14084 "RANLIB=$${RANLIB}" \
14085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14086 installcheck) \
14087 || exit 1
14089 @endif libiberty
14091 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
14092 maybe-mostlyclean-libiberty:
14093 @if libiberty
14094 maybe-mostlyclean-libiberty: mostlyclean-libiberty
14096 mostlyclean-libiberty:
14097 @[ -f ./libiberty/Makefile ] || exit 0; \
14098 r=`${PWD_COMMAND}`; export r; \
14099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14100 $(SET_LIB_PATH) \
14101 $(HOST_EXPORTS) \
14102 for flag in $(EXTRA_HOST_FLAGS) ; do \
14103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14104 done; \
14105 echo "Doing mostlyclean in libiberty" ; \
14106 (cd $(HOST_SUBDIR)/libiberty && \
14107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14109 "RANLIB=$${RANLIB}" \
14110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14111 mostlyclean) \
14112 || exit 1
14114 @endif libiberty
14116 .PHONY: maybe-clean-libiberty clean-libiberty
14117 maybe-clean-libiberty:
14118 @if libiberty
14119 maybe-clean-libiberty: clean-libiberty
14121 clean-libiberty:
14122 @[ -f ./libiberty/Makefile ] || exit 0; \
14123 r=`${PWD_COMMAND}`; export r; \
14124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14125 $(SET_LIB_PATH) \
14126 $(HOST_EXPORTS) \
14127 for flag in $(EXTRA_HOST_FLAGS) ; do \
14128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14129 done; \
14130 echo "Doing clean in libiberty" ; \
14131 (cd $(HOST_SUBDIR)/libiberty && \
14132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14134 "RANLIB=$${RANLIB}" \
14135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14136 clean) \
14137 || exit 1
14139 @endif libiberty
14141 .PHONY: maybe-distclean-libiberty distclean-libiberty
14142 maybe-distclean-libiberty:
14143 @if libiberty
14144 maybe-distclean-libiberty: distclean-libiberty
14146 distclean-libiberty:
14147 @[ -f ./libiberty/Makefile ] || exit 0; \
14148 r=`${PWD_COMMAND}`; export r; \
14149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14150 $(SET_LIB_PATH) \
14151 $(HOST_EXPORTS) \
14152 for flag in $(EXTRA_HOST_FLAGS) ; do \
14153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14154 done; \
14155 echo "Doing distclean in libiberty" ; \
14156 (cd $(HOST_SUBDIR)/libiberty && \
14157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14159 "RANLIB=$${RANLIB}" \
14160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14161 distclean) \
14162 || exit 1
14164 @endif libiberty
14166 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
14167 maybe-maintainer-clean-libiberty:
14168 @if libiberty
14169 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
14171 maintainer-clean-libiberty:
14172 @[ -f ./libiberty/Makefile ] || exit 0; \
14173 r=`${PWD_COMMAND}`; export r; \
14174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14175 $(SET_LIB_PATH) \
14176 $(HOST_EXPORTS) \
14177 for flag in $(EXTRA_HOST_FLAGS) ; do \
14178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14179 done; \
14180 echo "Doing maintainer-clean in libiberty" ; \
14181 (cd $(HOST_SUBDIR)/libiberty && \
14182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14184 "RANLIB=$${RANLIB}" \
14185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14186 maintainer-clean) \
14187 || exit 1
14189 @endif libiberty
14192 .PHONY: configure-libtool maybe-configure-libtool
14193 maybe-configure-libtool:
14194 @if libtool
14195 maybe-configure-libtool: configure-libtool
14196 configure-libtool:
14197 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
14198 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
14199 r=`${PWD_COMMAND}`; export r; \
14200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14201 $(HOST_EXPORTS) \
14202 echo Configuring in libtool; \
14203 cd $(HOST_SUBDIR)/libtool || exit 1; \
14204 case $(srcdir) in \
14205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14206 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
14207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14208 esac; \
14209 srcdiroption="--srcdir=$${topdir}/libtool"; \
14210 libsrcdir="$$s/libtool"; \
14211 $(SHELL) $${libsrcdir}/configure \
14212 $(HOST_CONFIGARGS) $${srcdiroption} \
14213 || exit 1
14214 @endif libtool
14216 .PHONY: all-libtool maybe-all-libtool
14217 maybe-all-libtool:
14218 @if libtool
14219 TARGET-libtool=all
14220 maybe-all-libtool: all-libtool
14221 all-libtool: configure-libtool
14222 @r=`${PWD_COMMAND}`; export r; \
14223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14224 $(SET_LIB_PATH) \
14225 $(HOST_EXPORTS) \
14226 (cd $(HOST_SUBDIR)/libtool && \
14227 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
14228 @endif libtool
14230 .PHONY: check-libtool maybe-check-libtool
14231 maybe-check-libtool:
14232 @if libtool
14233 maybe-check-libtool: check-libtool
14235 check-libtool:
14236 @r=`${PWD_COMMAND}`; export r; \
14237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14238 $(SET_LIB_PATH) \
14239 $(HOST_EXPORTS) \
14240 (cd $(HOST_SUBDIR)/libtool && \
14241 $(MAKE) $(FLAGS_TO_PASS) check)
14243 @endif libtool
14245 .PHONY: install-libtool maybe-install-libtool
14246 maybe-install-libtool:
14247 @if libtool
14248 maybe-install-libtool: install-libtool
14250 install-libtool: installdirs
14251 @r=`${PWD_COMMAND}`; export r; \
14252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14253 $(SET_LIB_PATH) \
14254 $(HOST_EXPORTS) \
14255 (cd $(HOST_SUBDIR)/libtool && \
14256 $(MAKE) $(FLAGS_TO_PASS) install)
14258 @endif libtool
14260 # Other targets (info, dvi, etc.)
14262 .PHONY: maybe-info-libtool info-libtool
14263 maybe-info-libtool:
14264 @if libtool
14265 maybe-info-libtool: info-libtool
14267 info-libtool: \
14268 configure-libtool
14269 @[ -f ./libtool/Makefile ] || exit 0; \
14270 r=`${PWD_COMMAND}`; export r; \
14271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14272 $(SET_LIB_PATH) \
14273 $(HOST_EXPORTS) \
14274 for flag in $(EXTRA_HOST_FLAGS) ; do \
14275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14276 done; \
14277 echo "Doing info in libtool" ; \
14278 (cd $(HOST_SUBDIR)/libtool && \
14279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14281 "RANLIB=$${RANLIB}" \
14282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14283 info) \
14284 || exit 1
14286 @endif libtool
14288 .PHONY: maybe-dvi-libtool dvi-libtool
14289 maybe-dvi-libtool:
14290 @if libtool
14291 maybe-dvi-libtool: dvi-libtool
14293 dvi-libtool: \
14294 configure-libtool
14295 @[ -f ./libtool/Makefile ] || exit 0; \
14296 r=`${PWD_COMMAND}`; export r; \
14297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14298 $(SET_LIB_PATH) \
14299 $(HOST_EXPORTS) \
14300 for flag in $(EXTRA_HOST_FLAGS) ; do \
14301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14302 done; \
14303 echo "Doing dvi in libtool" ; \
14304 (cd $(HOST_SUBDIR)/libtool && \
14305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14307 "RANLIB=$${RANLIB}" \
14308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14309 dvi) \
14310 || exit 1
14312 @endif libtool
14314 .PHONY: maybe-html-libtool html-libtool
14315 maybe-html-libtool:
14316 @if libtool
14317 maybe-html-libtool: html-libtool
14319 html-libtool: \
14320 configure-libtool
14321 @[ -f ./libtool/Makefile ] || exit 0; \
14322 r=`${PWD_COMMAND}`; export r; \
14323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14324 $(SET_LIB_PATH) \
14325 $(HOST_EXPORTS) \
14326 for flag in $(EXTRA_HOST_FLAGS) ; do \
14327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14328 done; \
14329 echo "Doing html in libtool" ; \
14330 (cd $(HOST_SUBDIR)/libtool && \
14331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14333 "RANLIB=$${RANLIB}" \
14334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14335 html) \
14336 || exit 1
14338 @endif libtool
14340 .PHONY: maybe-TAGS-libtool TAGS-libtool
14341 maybe-TAGS-libtool:
14342 @if libtool
14343 maybe-TAGS-libtool: TAGS-libtool
14345 TAGS-libtool: \
14346 configure-libtool
14347 @[ -f ./libtool/Makefile ] || exit 0; \
14348 r=`${PWD_COMMAND}`; export r; \
14349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14350 $(SET_LIB_PATH) \
14351 $(HOST_EXPORTS) \
14352 for flag in $(EXTRA_HOST_FLAGS) ; do \
14353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14354 done; \
14355 echo "Doing TAGS in libtool" ; \
14356 (cd $(HOST_SUBDIR)/libtool && \
14357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14359 "RANLIB=$${RANLIB}" \
14360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14361 TAGS) \
14362 || exit 1
14364 @endif libtool
14366 .PHONY: maybe-install-info-libtool install-info-libtool
14367 maybe-install-info-libtool:
14368 @if libtool
14369 maybe-install-info-libtool: install-info-libtool
14371 install-info-libtool: \
14372 configure-libtool \
14373 info-libtool
14374 @[ -f ./libtool/Makefile ] || exit 0; \
14375 r=`${PWD_COMMAND}`; export r; \
14376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14377 $(SET_LIB_PATH) \
14378 $(HOST_EXPORTS) \
14379 for flag in $(EXTRA_HOST_FLAGS) ; do \
14380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14381 done; \
14382 echo "Doing install-info in libtool" ; \
14383 (cd $(HOST_SUBDIR)/libtool && \
14384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14386 "RANLIB=$${RANLIB}" \
14387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14388 install-info) \
14389 || exit 1
14391 @endif libtool
14393 .PHONY: maybe-installcheck-libtool installcheck-libtool
14394 maybe-installcheck-libtool:
14395 @if libtool
14396 maybe-installcheck-libtool: installcheck-libtool
14398 installcheck-libtool: \
14399 configure-libtool
14400 @[ -f ./libtool/Makefile ] || exit 0; \
14401 r=`${PWD_COMMAND}`; export r; \
14402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14403 $(SET_LIB_PATH) \
14404 $(HOST_EXPORTS) \
14405 for flag in $(EXTRA_HOST_FLAGS) ; do \
14406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14407 done; \
14408 echo "Doing installcheck in libtool" ; \
14409 (cd $(HOST_SUBDIR)/libtool && \
14410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14412 "RANLIB=$${RANLIB}" \
14413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14414 installcheck) \
14415 || exit 1
14417 @endif libtool
14419 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
14420 maybe-mostlyclean-libtool:
14421 @if libtool
14422 maybe-mostlyclean-libtool: mostlyclean-libtool
14424 mostlyclean-libtool:
14425 @[ -f ./libtool/Makefile ] || exit 0; \
14426 r=`${PWD_COMMAND}`; export r; \
14427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14428 $(SET_LIB_PATH) \
14429 $(HOST_EXPORTS) \
14430 for flag in $(EXTRA_HOST_FLAGS) ; do \
14431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14432 done; \
14433 echo "Doing mostlyclean in libtool" ; \
14434 (cd $(HOST_SUBDIR)/libtool && \
14435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14437 "RANLIB=$${RANLIB}" \
14438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14439 mostlyclean) \
14440 || exit 1
14442 @endif libtool
14444 .PHONY: maybe-clean-libtool clean-libtool
14445 maybe-clean-libtool:
14446 @if libtool
14447 maybe-clean-libtool: clean-libtool
14449 clean-libtool:
14450 @[ -f ./libtool/Makefile ] || exit 0; \
14451 r=`${PWD_COMMAND}`; export r; \
14452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14453 $(SET_LIB_PATH) \
14454 $(HOST_EXPORTS) \
14455 for flag in $(EXTRA_HOST_FLAGS) ; do \
14456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14457 done; \
14458 echo "Doing clean in libtool" ; \
14459 (cd $(HOST_SUBDIR)/libtool && \
14460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14462 "RANLIB=$${RANLIB}" \
14463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14464 clean) \
14465 || exit 1
14467 @endif libtool
14469 .PHONY: maybe-distclean-libtool distclean-libtool
14470 maybe-distclean-libtool:
14471 @if libtool
14472 maybe-distclean-libtool: distclean-libtool
14474 distclean-libtool:
14475 @[ -f ./libtool/Makefile ] || exit 0; \
14476 r=`${PWD_COMMAND}`; export r; \
14477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14478 $(SET_LIB_PATH) \
14479 $(HOST_EXPORTS) \
14480 for flag in $(EXTRA_HOST_FLAGS) ; do \
14481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14482 done; \
14483 echo "Doing distclean in libtool" ; \
14484 (cd $(HOST_SUBDIR)/libtool && \
14485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14487 "RANLIB=$${RANLIB}" \
14488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14489 distclean) \
14490 || exit 1
14492 @endif libtool
14494 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
14495 maybe-maintainer-clean-libtool:
14496 @if libtool
14497 maybe-maintainer-clean-libtool: maintainer-clean-libtool
14499 maintainer-clean-libtool:
14500 @[ -f ./libtool/Makefile ] || exit 0; \
14501 r=`${PWD_COMMAND}`; export r; \
14502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14503 $(SET_LIB_PATH) \
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 maintainer-clean in libtool" ; \
14509 (cd $(HOST_SUBDIR)/libtool && \
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 maintainer-clean) \
14515 || exit 1
14517 @endif libtool
14520 .PHONY: configure-m4 maybe-configure-m4
14521 maybe-configure-m4:
14522 @if m4
14523 maybe-configure-m4: configure-m4
14524 configure-m4:
14525 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
14526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
14527 r=`${PWD_COMMAND}`; export r; \
14528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14529 $(HOST_EXPORTS) \
14530 echo Configuring in m4; \
14531 cd $(HOST_SUBDIR)/m4 || exit 1; \
14532 case $(srcdir) in \
14533 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14534 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
14535 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14536 esac; \
14537 srcdiroption="--srcdir=$${topdir}/m4"; \
14538 libsrcdir="$$s/m4"; \
14539 $(SHELL) $${libsrcdir}/configure \
14540 $(HOST_CONFIGARGS) $${srcdiroption} \
14541 || exit 1
14542 @endif m4
14544 .PHONY: all-m4 maybe-all-m4
14545 maybe-all-m4:
14546 @if m4
14547 TARGET-m4=all
14548 maybe-all-m4: all-m4
14549 all-m4: configure-m4
14550 @r=`${PWD_COMMAND}`; export r; \
14551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14552 $(SET_LIB_PATH) \
14553 $(HOST_EXPORTS) \
14554 (cd $(HOST_SUBDIR)/m4 && \
14555 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
14556 @endif m4
14558 .PHONY: check-m4 maybe-check-m4
14559 maybe-check-m4:
14560 @if m4
14561 maybe-check-m4: check-m4
14563 check-m4:
14564 @r=`${PWD_COMMAND}`; export r; \
14565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14566 $(SET_LIB_PATH) \
14567 $(HOST_EXPORTS) \
14568 (cd $(HOST_SUBDIR)/m4 && \
14569 $(MAKE) $(FLAGS_TO_PASS) check)
14571 @endif m4
14573 .PHONY: install-m4 maybe-install-m4
14574 maybe-install-m4:
14575 @if m4
14576 maybe-install-m4: install-m4
14578 install-m4: installdirs
14579 @r=`${PWD_COMMAND}`; export r; \
14580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14581 $(SET_LIB_PATH) \
14582 $(HOST_EXPORTS) \
14583 (cd $(HOST_SUBDIR)/m4 && \
14584 $(MAKE) $(FLAGS_TO_PASS) install)
14586 @endif m4
14588 # Other targets (info, dvi, etc.)
14590 .PHONY: maybe-info-m4 info-m4
14591 maybe-info-m4:
14592 @if m4
14593 maybe-info-m4: info-m4
14595 info-m4: \
14596 configure-m4
14597 @[ -f ./m4/Makefile ] || exit 0; \
14598 r=`${PWD_COMMAND}`; export r; \
14599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14600 $(SET_LIB_PATH) \
14601 $(HOST_EXPORTS) \
14602 for flag in $(EXTRA_HOST_FLAGS) ; do \
14603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14604 done; \
14605 echo "Doing info in m4" ; \
14606 (cd $(HOST_SUBDIR)/m4 && \
14607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14609 "RANLIB=$${RANLIB}" \
14610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14611 info) \
14612 || exit 1
14614 @endif m4
14616 .PHONY: maybe-dvi-m4 dvi-m4
14617 maybe-dvi-m4:
14618 @if m4
14619 maybe-dvi-m4: dvi-m4
14621 dvi-m4: \
14622 configure-m4
14623 @[ -f ./m4/Makefile ] || exit 0; \
14624 r=`${PWD_COMMAND}`; export r; \
14625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14626 $(SET_LIB_PATH) \
14627 $(HOST_EXPORTS) \
14628 for flag in $(EXTRA_HOST_FLAGS) ; do \
14629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14630 done; \
14631 echo "Doing dvi in m4" ; \
14632 (cd $(HOST_SUBDIR)/m4 && \
14633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14635 "RANLIB=$${RANLIB}" \
14636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14637 dvi) \
14638 || exit 1
14640 @endif m4
14642 .PHONY: maybe-html-m4 html-m4
14643 maybe-html-m4:
14644 @if m4
14645 maybe-html-m4: html-m4
14647 html-m4: \
14648 configure-m4
14649 @[ -f ./m4/Makefile ] || exit 0; \
14650 r=`${PWD_COMMAND}`; export r; \
14651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14652 $(SET_LIB_PATH) \
14653 $(HOST_EXPORTS) \
14654 for flag in $(EXTRA_HOST_FLAGS) ; do \
14655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14656 done; \
14657 echo "Doing html in m4" ; \
14658 (cd $(HOST_SUBDIR)/m4 && \
14659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14661 "RANLIB=$${RANLIB}" \
14662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14663 html) \
14664 || exit 1
14666 @endif m4
14668 .PHONY: maybe-TAGS-m4 TAGS-m4
14669 maybe-TAGS-m4:
14670 @if m4
14671 maybe-TAGS-m4: TAGS-m4
14673 TAGS-m4: \
14674 configure-m4
14675 @[ -f ./m4/Makefile ] || exit 0; \
14676 r=`${PWD_COMMAND}`; export r; \
14677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14678 $(SET_LIB_PATH) \
14679 $(HOST_EXPORTS) \
14680 for flag in $(EXTRA_HOST_FLAGS) ; do \
14681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14682 done; \
14683 echo "Doing TAGS in m4" ; \
14684 (cd $(HOST_SUBDIR)/m4 && \
14685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14687 "RANLIB=$${RANLIB}" \
14688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14689 TAGS) \
14690 || exit 1
14692 @endif m4
14694 .PHONY: maybe-install-info-m4 install-info-m4
14695 maybe-install-info-m4:
14696 @if m4
14697 maybe-install-info-m4: install-info-m4
14699 install-info-m4: \
14700 configure-m4 \
14701 info-m4
14702 @[ -f ./m4/Makefile ] || exit 0; \
14703 r=`${PWD_COMMAND}`; export r; \
14704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14705 $(SET_LIB_PATH) \
14706 $(HOST_EXPORTS) \
14707 for flag in $(EXTRA_HOST_FLAGS) ; do \
14708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14709 done; \
14710 echo "Doing install-info in m4" ; \
14711 (cd $(HOST_SUBDIR)/m4 && \
14712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14714 "RANLIB=$${RANLIB}" \
14715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14716 install-info) \
14717 || exit 1
14719 @endif m4
14721 .PHONY: maybe-installcheck-m4 installcheck-m4
14722 maybe-installcheck-m4:
14723 @if m4
14724 maybe-installcheck-m4: installcheck-m4
14726 installcheck-m4: \
14727 configure-m4
14728 @[ -f ./m4/Makefile ] || exit 0; \
14729 r=`${PWD_COMMAND}`; export r; \
14730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14731 $(SET_LIB_PATH) \
14732 $(HOST_EXPORTS) \
14733 for flag in $(EXTRA_HOST_FLAGS) ; do \
14734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14735 done; \
14736 echo "Doing installcheck in m4" ; \
14737 (cd $(HOST_SUBDIR)/m4 && \
14738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14740 "RANLIB=$${RANLIB}" \
14741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14742 installcheck) \
14743 || exit 1
14745 @endif m4
14747 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
14748 maybe-mostlyclean-m4:
14749 @if m4
14750 maybe-mostlyclean-m4: mostlyclean-m4
14752 mostlyclean-m4:
14753 @[ -f ./m4/Makefile ] || exit 0; \
14754 r=`${PWD_COMMAND}`; export r; \
14755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14756 $(SET_LIB_PATH) \
14757 $(HOST_EXPORTS) \
14758 for flag in $(EXTRA_HOST_FLAGS) ; do \
14759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14760 done; \
14761 echo "Doing mostlyclean in m4" ; \
14762 (cd $(HOST_SUBDIR)/m4 && \
14763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14765 "RANLIB=$${RANLIB}" \
14766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14767 mostlyclean) \
14768 || exit 1
14770 @endif m4
14772 .PHONY: maybe-clean-m4 clean-m4
14773 maybe-clean-m4:
14774 @if m4
14775 maybe-clean-m4: clean-m4
14777 clean-m4:
14778 @[ -f ./m4/Makefile ] || exit 0; \
14779 r=`${PWD_COMMAND}`; export r; \
14780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14781 $(SET_LIB_PATH) \
14782 $(HOST_EXPORTS) \
14783 for flag in $(EXTRA_HOST_FLAGS) ; do \
14784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14785 done; \
14786 echo "Doing clean in m4" ; \
14787 (cd $(HOST_SUBDIR)/m4 && \
14788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14790 "RANLIB=$${RANLIB}" \
14791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14792 clean) \
14793 || exit 1
14795 @endif m4
14797 .PHONY: maybe-distclean-m4 distclean-m4
14798 maybe-distclean-m4:
14799 @if m4
14800 maybe-distclean-m4: distclean-m4
14802 distclean-m4:
14803 @[ -f ./m4/Makefile ] || exit 0; \
14804 r=`${PWD_COMMAND}`; export r; \
14805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14806 $(SET_LIB_PATH) \
14807 $(HOST_EXPORTS) \
14808 for flag in $(EXTRA_HOST_FLAGS) ; do \
14809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14810 done; \
14811 echo "Doing distclean in m4" ; \
14812 (cd $(HOST_SUBDIR)/m4 && \
14813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14815 "RANLIB=$${RANLIB}" \
14816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14817 distclean) \
14818 || exit 1
14820 @endif m4
14822 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
14823 maybe-maintainer-clean-m4:
14824 @if m4
14825 maybe-maintainer-clean-m4: maintainer-clean-m4
14827 maintainer-clean-m4:
14828 @[ -f ./m4/Makefile ] || exit 0; \
14829 r=`${PWD_COMMAND}`; export r; \
14830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14831 $(SET_LIB_PATH) \
14832 $(HOST_EXPORTS) \
14833 for flag in $(EXTRA_HOST_FLAGS) ; do \
14834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14835 done; \
14836 echo "Doing maintainer-clean in m4" ; \
14837 (cd $(HOST_SUBDIR)/m4 && \
14838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14840 "RANLIB=$${RANLIB}" \
14841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14842 maintainer-clean) \
14843 || exit 1
14845 @endif m4
14848 .PHONY: configure-make maybe-configure-make
14849 maybe-configure-make:
14850 @if make
14851 maybe-configure-make: configure-make
14852 configure-make:
14853 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
14854 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
14855 r=`${PWD_COMMAND}`; export r; \
14856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14857 $(HOST_EXPORTS) \
14858 echo Configuring in make; \
14859 cd $(HOST_SUBDIR)/make || exit 1; \
14860 case $(srcdir) in \
14861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14862 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
14863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14864 esac; \
14865 srcdiroption="--srcdir=$${topdir}/make"; \
14866 libsrcdir="$$s/make"; \
14867 $(SHELL) $${libsrcdir}/configure \
14868 $(HOST_CONFIGARGS) $${srcdiroption} \
14869 || exit 1
14870 @endif make
14872 .PHONY: all-make maybe-all-make
14873 maybe-all-make:
14874 @if make
14875 TARGET-make=all
14876 maybe-all-make: all-make
14877 all-make: configure-make
14878 @r=`${PWD_COMMAND}`; export r; \
14879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14880 $(SET_LIB_PATH) \
14881 $(HOST_EXPORTS) \
14882 (cd $(HOST_SUBDIR)/make && \
14883 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
14884 @endif make
14886 .PHONY: check-make maybe-check-make
14887 maybe-check-make:
14888 @if make
14889 maybe-check-make: check-make
14891 check-make:
14892 @r=`${PWD_COMMAND}`; export r; \
14893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14894 $(SET_LIB_PATH) \
14895 $(HOST_EXPORTS) \
14896 (cd $(HOST_SUBDIR)/make && \
14897 $(MAKE) $(FLAGS_TO_PASS) check)
14899 @endif make
14901 .PHONY: install-make maybe-install-make
14902 maybe-install-make:
14903 @if make
14904 maybe-install-make: install-make
14906 install-make: installdirs
14907 @r=`${PWD_COMMAND}`; export r; \
14908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14909 $(SET_LIB_PATH) \
14910 $(HOST_EXPORTS) \
14911 (cd $(HOST_SUBDIR)/make && \
14912 $(MAKE) $(FLAGS_TO_PASS) install)
14914 @endif make
14916 # Other targets (info, dvi, etc.)
14918 .PHONY: maybe-info-make info-make
14919 maybe-info-make:
14920 @if make
14921 maybe-info-make: info-make
14923 info-make: \
14924 configure-make
14925 @[ -f ./make/Makefile ] || exit 0; \
14926 r=`${PWD_COMMAND}`; export r; \
14927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14928 $(SET_LIB_PATH) \
14929 $(HOST_EXPORTS) \
14930 for flag in $(EXTRA_HOST_FLAGS) ; do \
14931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14932 done; \
14933 echo "Doing info in make" ; \
14934 (cd $(HOST_SUBDIR)/make && \
14935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14937 "RANLIB=$${RANLIB}" \
14938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14939 info) \
14940 || exit 1
14942 @endif make
14944 .PHONY: maybe-dvi-make dvi-make
14945 maybe-dvi-make:
14946 @if make
14947 maybe-dvi-make: dvi-make
14949 dvi-make: \
14950 configure-make
14951 @[ -f ./make/Makefile ] || exit 0; \
14952 r=`${PWD_COMMAND}`; export r; \
14953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14954 $(SET_LIB_PATH) \
14955 $(HOST_EXPORTS) \
14956 for flag in $(EXTRA_HOST_FLAGS) ; do \
14957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14958 done; \
14959 echo "Doing dvi in make" ; \
14960 (cd $(HOST_SUBDIR)/make && \
14961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14963 "RANLIB=$${RANLIB}" \
14964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14965 dvi) \
14966 || exit 1
14968 @endif make
14970 .PHONY: maybe-html-make html-make
14971 maybe-html-make:
14972 @if make
14973 maybe-html-make: html-make
14975 html-make: \
14976 configure-make
14977 @[ -f ./make/Makefile ] || exit 0; \
14978 r=`${PWD_COMMAND}`; export r; \
14979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14980 $(SET_LIB_PATH) \
14981 $(HOST_EXPORTS) \
14982 for flag in $(EXTRA_HOST_FLAGS) ; do \
14983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14984 done; \
14985 echo "Doing html in make" ; \
14986 (cd $(HOST_SUBDIR)/make && \
14987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14989 "RANLIB=$${RANLIB}" \
14990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14991 html) \
14992 || exit 1
14994 @endif make
14996 .PHONY: maybe-TAGS-make TAGS-make
14997 maybe-TAGS-make:
14998 @if make
14999 maybe-TAGS-make: TAGS-make
15001 TAGS-make: \
15002 configure-make
15003 @[ -f ./make/Makefile ] || exit 0; \
15004 r=`${PWD_COMMAND}`; export r; \
15005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15006 $(SET_LIB_PATH) \
15007 $(HOST_EXPORTS) \
15008 for flag in $(EXTRA_HOST_FLAGS) ; do \
15009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15010 done; \
15011 echo "Doing TAGS in make" ; \
15012 (cd $(HOST_SUBDIR)/make && \
15013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15015 "RANLIB=$${RANLIB}" \
15016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15017 TAGS) \
15018 || exit 1
15020 @endif make
15022 .PHONY: maybe-install-info-make install-info-make
15023 maybe-install-info-make:
15024 @if make
15025 maybe-install-info-make: install-info-make
15027 install-info-make: \
15028 configure-make \
15029 info-make
15030 @[ -f ./make/Makefile ] || exit 0; \
15031 r=`${PWD_COMMAND}`; export r; \
15032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15033 $(SET_LIB_PATH) \
15034 $(HOST_EXPORTS) \
15035 for flag in $(EXTRA_HOST_FLAGS) ; do \
15036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15037 done; \
15038 echo "Doing install-info in make" ; \
15039 (cd $(HOST_SUBDIR)/make && \
15040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15042 "RANLIB=$${RANLIB}" \
15043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15044 install-info) \
15045 || exit 1
15047 @endif make
15049 .PHONY: maybe-installcheck-make installcheck-make
15050 maybe-installcheck-make:
15051 @if make
15052 maybe-installcheck-make: installcheck-make
15054 installcheck-make: \
15055 configure-make
15056 @[ -f ./make/Makefile ] || exit 0; \
15057 r=`${PWD_COMMAND}`; export r; \
15058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15059 $(SET_LIB_PATH) \
15060 $(HOST_EXPORTS) \
15061 for flag in $(EXTRA_HOST_FLAGS) ; do \
15062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15063 done; \
15064 echo "Doing installcheck in make" ; \
15065 (cd $(HOST_SUBDIR)/make && \
15066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15068 "RANLIB=$${RANLIB}" \
15069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15070 installcheck) \
15071 || exit 1
15073 @endif make
15075 .PHONY: maybe-mostlyclean-make mostlyclean-make
15076 maybe-mostlyclean-make:
15077 @if make
15078 maybe-mostlyclean-make: mostlyclean-make
15080 mostlyclean-make:
15081 @[ -f ./make/Makefile ] || exit 0; \
15082 r=`${PWD_COMMAND}`; export r; \
15083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15084 $(SET_LIB_PATH) \
15085 $(HOST_EXPORTS) \
15086 for flag in $(EXTRA_HOST_FLAGS) ; do \
15087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15088 done; \
15089 echo "Doing mostlyclean in make" ; \
15090 (cd $(HOST_SUBDIR)/make && \
15091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15093 "RANLIB=$${RANLIB}" \
15094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15095 mostlyclean) \
15096 || exit 1
15098 @endif make
15100 .PHONY: maybe-clean-make clean-make
15101 maybe-clean-make:
15102 @if make
15103 maybe-clean-make: clean-make
15105 clean-make:
15106 @[ -f ./make/Makefile ] || exit 0; \
15107 r=`${PWD_COMMAND}`; export r; \
15108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15109 $(SET_LIB_PATH) \
15110 $(HOST_EXPORTS) \
15111 for flag in $(EXTRA_HOST_FLAGS) ; do \
15112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15113 done; \
15114 echo "Doing clean in make" ; \
15115 (cd $(HOST_SUBDIR)/make && \
15116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15118 "RANLIB=$${RANLIB}" \
15119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15120 clean) \
15121 || exit 1
15123 @endif make
15125 .PHONY: maybe-distclean-make distclean-make
15126 maybe-distclean-make:
15127 @if make
15128 maybe-distclean-make: distclean-make
15130 distclean-make:
15131 @[ -f ./make/Makefile ] || exit 0; \
15132 r=`${PWD_COMMAND}`; export r; \
15133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15134 $(SET_LIB_PATH) \
15135 $(HOST_EXPORTS) \
15136 for flag in $(EXTRA_HOST_FLAGS) ; do \
15137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15138 done; \
15139 echo "Doing distclean in make" ; \
15140 (cd $(HOST_SUBDIR)/make && \
15141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15143 "RANLIB=$${RANLIB}" \
15144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15145 distclean) \
15146 || exit 1
15148 @endif make
15150 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
15151 maybe-maintainer-clean-make:
15152 @if make
15153 maybe-maintainer-clean-make: maintainer-clean-make
15155 maintainer-clean-make:
15156 @[ -f ./make/Makefile ] || exit 0; \
15157 r=`${PWD_COMMAND}`; export r; \
15158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15159 $(SET_LIB_PATH) \
15160 $(HOST_EXPORTS) \
15161 for flag in $(EXTRA_HOST_FLAGS) ; do \
15162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15163 done; \
15164 echo "Doing maintainer-clean in make" ; \
15165 (cd $(HOST_SUBDIR)/make && \
15166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15168 "RANLIB=$${RANLIB}" \
15169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15170 maintainer-clean) \
15171 || exit 1
15173 @endif make
15176 .PHONY: configure-mmalloc maybe-configure-mmalloc
15177 maybe-configure-mmalloc:
15178 @if mmalloc
15179 maybe-configure-mmalloc: configure-mmalloc
15180 configure-mmalloc:
15181 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
15182 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
15183 r=`${PWD_COMMAND}`; export r; \
15184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15185 $(HOST_EXPORTS) \
15186 echo Configuring in mmalloc; \
15187 cd $(HOST_SUBDIR)/mmalloc || exit 1; \
15188 case $(srcdir) in \
15189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15190 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
15191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15192 esac; \
15193 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
15194 libsrcdir="$$s/mmalloc"; \
15195 $(SHELL) $${libsrcdir}/configure \
15196 $(HOST_CONFIGARGS) $${srcdiroption} \
15197 || exit 1
15198 @endif mmalloc
15200 .PHONY: all-mmalloc maybe-all-mmalloc
15201 maybe-all-mmalloc:
15202 @if mmalloc
15203 TARGET-mmalloc=all
15204 maybe-all-mmalloc: all-mmalloc
15205 all-mmalloc: configure-mmalloc
15206 @r=`${PWD_COMMAND}`; export r; \
15207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15208 $(SET_LIB_PATH) \
15209 $(HOST_EXPORTS) \
15210 (cd $(HOST_SUBDIR)/mmalloc && \
15211 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
15212 @endif mmalloc
15214 .PHONY: check-mmalloc maybe-check-mmalloc
15215 maybe-check-mmalloc:
15216 @if mmalloc
15217 maybe-check-mmalloc: check-mmalloc
15219 check-mmalloc:
15221 @endif mmalloc
15223 .PHONY: install-mmalloc maybe-install-mmalloc
15224 maybe-install-mmalloc:
15225 @if mmalloc
15226 maybe-install-mmalloc: install-mmalloc
15228 install-mmalloc: installdirs
15229 @r=`${PWD_COMMAND}`; export r; \
15230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15231 $(SET_LIB_PATH) \
15232 $(HOST_EXPORTS) \
15233 (cd $(HOST_SUBDIR)/mmalloc && \
15234 $(MAKE) $(FLAGS_TO_PASS) install)
15236 @endif mmalloc
15238 # Other targets (info, dvi, etc.)
15240 .PHONY: maybe-info-mmalloc info-mmalloc
15241 maybe-info-mmalloc:
15242 @if mmalloc
15243 maybe-info-mmalloc: info-mmalloc
15245 info-mmalloc: \
15246 configure-mmalloc
15247 @[ -f ./mmalloc/Makefile ] || exit 0; \
15248 r=`${PWD_COMMAND}`; export r; \
15249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15250 $(SET_LIB_PATH) \
15251 $(HOST_EXPORTS) \
15252 for flag in $(EXTRA_HOST_FLAGS) ; do \
15253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15254 done; \
15255 echo "Doing info in mmalloc" ; \
15256 (cd $(HOST_SUBDIR)/mmalloc && \
15257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15259 "RANLIB=$${RANLIB}" \
15260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15261 info) \
15262 || exit 1
15264 @endif mmalloc
15266 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
15267 maybe-dvi-mmalloc:
15268 @if mmalloc
15269 maybe-dvi-mmalloc: dvi-mmalloc
15271 dvi-mmalloc: \
15272 configure-mmalloc
15273 @[ -f ./mmalloc/Makefile ] || exit 0; \
15274 r=`${PWD_COMMAND}`; export r; \
15275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15276 $(SET_LIB_PATH) \
15277 $(HOST_EXPORTS) \
15278 for flag in $(EXTRA_HOST_FLAGS) ; do \
15279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15280 done; \
15281 echo "Doing dvi in mmalloc" ; \
15282 (cd $(HOST_SUBDIR)/mmalloc && \
15283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15285 "RANLIB=$${RANLIB}" \
15286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15287 dvi) \
15288 || exit 1
15290 @endif mmalloc
15292 .PHONY: maybe-html-mmalloc html-mmalloc
15293 maybe-html-mmalloc:
15294 @if mmalloc
15295 maybe-html-mmalloc: html-mmalloc
15297 html-mmalloc: \
15298 configure-mmalloc
15299 @[ -f ./mmalloc/Makefile ] || exit 0; \
15300 r=`${PWD_COMMAND}`; export r; \
15301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15302 $(SET_LIB_PATH) \
15303 $(HOST_EXPORTS) \
15304 for flag in $(EXTRA_HOST_FLAGS) ; do \
15305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15306 done; \
15307 echo "Doing html in mmalloc" ; \
15308 (cd $(HOST_SUBDIR)/mmalloc && \
15309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15311 "RANLIB=$${RANLIB}" \
15312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15313 html) \
15314 || exit 1
15316 @endif mmalloc
15318 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
15319 maybe-TAGS-mmalloc:
15320 @if mmalloc
15321 maybe-TAGS-mmalloc: TAGS-mmalloc
15323 TAGS-mmalloc: \
15324 configure-mmalloc
15325 @[ -f ./mmalloc/Makefile ] || exit 0; \
15326 r=`${PWD_COMMAND}`; export r; \
15327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15328 $(SET_LIB_PATH) \
15329 $(HOST_EXPORTS) \
15330 for flag in $(EXTRA_HOST_FLAGS) ; do \
15331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15332 done; \
15333 echo "Doing TAGS in mmalloc" ; \
15334 (cd $(HOST_SUBDIR)/mmalloc && \
15335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15337 "RANLIB=$${RANLIB}" \
15338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15339 TAGS) \
15340 || exit 1
15342 @endif mmalloc
15344 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
15345 maybe-install-info-mmalloc:
15346 @if mmalloc
15347 maybe-install-info-mmalloc: install-info-mmalloc
15349 install-info-mmalloc: \
15350 configure-mmalloc \
15351 info-mmalloc
15352 @[ -f ./mmalloc/Makefile ] || exit 0; \
15353 r=`${PWD_COMMAND}`; export r; \
15354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15355 $(SET_LIB_PATH) \
15356 $(HOST_EXPORTS) \
15357 for flag in $(EXTRA_HOST_FLAGS) ; do \
15358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15359 done; \
15360 echo "Doing install-info in mmalloc" ; \
15361 (cd $(HOST_SUBDIR)/mmalloc && \
15362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15364 "RANLIB=$${RANLIB}" \
15365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15366 install-info) \
15367 || exit 1
15369 @endif mmalloc
15371 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
15372 maybe-installcheck-mmalloc:
15373 @if mmalloc
15374 maybe-installcheck-mmalloc: installcheck-mmalloc
15376 installcheck-mmalloc: \
15377 configure-mmalloc
15378 @[ -f ./mmalloc/Makefile ] || exit 0; \
15379 r=`${PWD_COMMAND}`; export r; \
15380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15381 $(SET_LIB_PATH) \
15382 $(HOST_EXPORTS) \
15383 for flag in $(EXTRA_HOST_FLAGS) ; do \
15384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15385 done; \
15386 echo "Doing installcheck in mmalloc" ; \
15387 (cd $(HOST_SUBDIR)/mmalloc && \
15388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15390 "RANLIB=$${RANLIB}" \
15391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15392 installcheck) \
15393 || exit 1
15395 @endif mmalloc
15397 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
15398 maybe-mostlyclean-mmalloc:
15399 @if mmalloc
15400 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
15402 mostlyclean-mmalloc:
15403 @[ -f ./mmalloc/Makefile ] || exit 0; \
15404 r=`${PWD_COMMAND}`; export r; \
15405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15406 $(SET_LIB_PATH) \
15407 $(HOST_EXPORTS) \
15408 for flag in $(EXTRA_HOST_FLAGS) ; do \
15409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15410 done; \
15411 echo "Doing mostlyclean in mmalloc" ; \
15412 (cd $(HOST_SUBDIR)/mmalloc && \
15413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15415 "RANLIB=$${RANLIB}" \
15416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15417 mostlyclean) \
15418 || exit 1
15420 @endif mmalloc
15422 .PHONY: maybe-clean-mmalloc clean-mmalloc
15423 maybe-clean-mmalloc:
15424 @if mmalloc
15425 maybe-clean-mmalloc: clean-mmalloc
15427 clean-mmalloc:
15428 @[ -f ./mmalloc/Makefile ] || exit 0; \
15429 r=`${PWD_COMMAND}`; export r; \
15430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15431 $(SET_LIB_PATH) \
15432 $(HOST_EXPORTS) \
15433 for flag in $(EXTRA_HOST_FLAGS) ; do \
15434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15435 done; \
15436 echo "Doing clean in mmalloc" ; \
15437 (cd $(HOST_SUBDIR)/mmalloc && \
15438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15440 "RANLIB=$${RANLIB}" \
15441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15442 clean) \
15443 || exit 1
15445 @endif mmalloc
15447 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
15448 maybe-distclean-mmalloc:
15449 @if mmalloc
15450 maybe-distclean-mmalloc: distclean-mmalloc
15452 distclean-mmalloc:
15453 @[ -f ./mmalloc/Makefile ] || exit 0; \
15454 r=`${PWD_COMMAND}`; export r; \
15455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15456 $(SET_LIB_PATH) \
15457 $(HOST_EXPORTS) \
15458 for flag in $(EXTRA_HOST_FLAGS) ; do \
15459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15460 done; \
15461 echo "Doing distclean in mmalloc" ; \
15462 (cd $(HOST_SUBDIR)/mmalloc && \
15463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15465 "RANLIB=$${RANLIB}" \
15466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15467 distclean) \
15468 || exit 1
15470 @endif mmalloc
15472 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
15473 maybe-maintainer-clean-mmalloc:
15474 @if mmalloc
15475 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
15477 maintainer-clean-mmalloc:
15478 @[ -f ./mmalloc/Makefile ] || exit 0; \
15479 r=`${PWD_COMMAND}`; export r; \
15480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15481 $(SET_LIB_PATH) \
15482 $(HOST_EXPORTS) \
15483 for flag in $(EXTRA_HOST_FLAGS) ; do \
15484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15485 done; \
15486 echo "Doing maintainer-clean in mmalloc" ; \
15487 (cd $(HOST_SUBDIR)/mmalloc && \
15488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15490 "RANLIB=$${RANLIB}" \
15491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15492 maintainer-clean) \
15493 || exit 1
15495 @endif mmalloc
15498 .PHONY: configure-patch maybe-configure-patch
15499 maybe-configure-patch:
15500 @if patch
15501 maybe-configure-patch: configure-patch
15502 configure-patch:
15503 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
15504 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
15505 r=`${PWD_COMMAND}`; export r; \
15506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15507 $(HOST_EXPORTS) \
15508 echo Configuring in patch; \
15509 cd $(HOST_SUBDIR)/patch || exit 1; \
15510 case $(srcdir) in \
15511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15512 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
15513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15514 esac; \
15515 srcdiroption="--srcdir=$${topdir}/patch"; \
15516 libsrcdir="$$s/patch"; \
15517 $(SHELL) $${libsrcdir}/configure \
15518 $(HOST_CONFIGARGS) $${srcdiroption} \
15519 || exit 1
15520 @endif patch
15522 .PHONY: all-patch maybe-all-patch
15523 maybe-all-patch:
15524 @if patch
15525 TARGET-patch=all
15526 maybe-all-patch: all-patch
15527 all-patch: configure-patch
15528 @r=`${PWD_COMMAND}`; export r; \
15529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15530 $(SET_LIB_PATH) \
15531 $(HOST_EXPORTS) \
15532 (cd $(HOST_SUBDIR)/patch && \
15533 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
15534 @endif patch
15536 .PHONY: check-patch maybe-check-patch
15537 maybe-check-patch:
15538 @if patch
15539 maybe-check-patch: check-patch
15541 check-patch:
15542 @r=`${PWD_COMMAND}`; export r; \
15543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15544 $(SET_LIB_PATH) \
15545 $(HOST_EXPORTS) \
15546 (cd $(HOST_SUBDIR)/patch && \
15547 $(MAKE) $(FLAGS_TO_PASS) check)
15549 @endif patch
15551 .PHONY: install-patch maybe-install-patch
15552 maybe-install-patch:
15553 @if patch
15554 maybe-install-patch: install-patch
15556 install-patch: installdirs
15557 @r=`${PWD_COMMAND}`; export r; \
15558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15559 $(SET_LIB_PATH) \
15560 $(HOST_EXPORTS) \
15561 (cd $(HOST_SUBDIR)/patch && \
15562 $(MAKE) $(FLAGS_TO_PASS) install)
15564 @endif patch
15566 # Other targets (info, dvi, etc.)
15568 .PHONY: maybe-info-patch info-patch
15569 maybe-info-patch:
15570 @if patch
15571 maybe-info-patch: info-patch
15573 info-patch: \
15574 configure-patch
15575 @[ -f ./patch/Makefile ] || exit 0; \
15576 r=`${PWD_COMMAND}`; export r; \
15577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15578 $(SET_LIB_PATH) \
15579 $(HOST_EXPORTS) \
15580 for flag in $(EXTRA_HOST_FLAGS) ; do \
15581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15582 done; \
15583 echo "Doing info in patch" ; \
15584 (cd $(HOST_SUBDIR)/patch && \
15585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15587 "RANLIB=$${RANLIB}" \
15588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15589 info) \
15590 || exit 1
15592 @endif patch
15594 .PHONY: maybe-dvi-patch dvi-patch
15595 maybe-dvi-patch:
15596 @if patch
15597 maybe-dvi-patch: dvi-patch
15599 dvi-patch: \
15600 configure-patch
15601 @[ -f ./patch/Makefile ] || exit 0; \
15602 r=`${PWD_COMMAND}`; export r; \
15603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15604 $(SET_LIB_PATH) \
15605 $(HOST_EXPORTS) \
15606 for flag in $(EXTRA_HOST_FLAGS) ; do \
15607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15608 done; \
15609 echo "Doing dvi in patch" ; \
15610 (cd $(HOST_SUBDIR)/patch && \
15611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15613 "RANLIB=$${RANLIB}" \
15614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15615 dvi) \
15616 || exit 1
15618 @endif patch
15620 .PHONY: maybe-html-patch html-patch
15621 maybe-html-patch:
15622 @if patch
15623 maybe-html-patch: html-patch
15625 html-patch: \
15626 configure-patch
15627 @[ -f ./patch/Makefile ] || exit 0; \
15628 r=`${PWD_COMMAND}`; export r; \
15629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15630 $(SET_LIB_PATH) \
15631 $(HOST_EXPORTS) \
15632 for flag in $(EXTRA_HOST_FLAGS) ; do \
15633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15634 done; \
15635 echo "Doing html in patch" ; \
15636 (cd $(HOST_SUBDIR)/patch && \
15637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15639 "RANLIB=$${RANLIB}" \
15640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15641 html) \
15642 || exit 1
15644 @endif patch
15646 .PHONY: maybe-TAGS-patch TAGS-patch
15647 maybe-TAGS-patch:
15648 @if patch
15649 maybe-TAGS-patch: TAGS-patch
15651 TAGS-patch: \
15652 configure-patch
15653 @[ -f ./patch/Makefile ] || exit 0; \
15654 r=`${PWD_COMMAND}`; export r; \
15655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15656 $(SET_LIB_PATH) \
15657 $(HOST_EXPORTS) \
15658 for flag in $(EXTRA_HOST_FLAGS) ; do \
15659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15660 done; \
15661 echo "Doing TAGS in patch" ; \
15662 (cd $(HOST_SUBDIR)/patch && \
15663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15665 "RANLIB=$${RANLIB}" \
15666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15667 TAGS) \
15668 || exit 1
15670 @endif patch
15672 .PHONY: maybe-install-info-patch install-info-patch
15673 maybe-install-info-patch:
15674 @if patch
15675 maybe-install-info-patch: install-info-patch
15677 install-info-patch: \
15678 configure-patch \
15679 info-patch
15680 @[ -f ./patch/Makefile ] || exit 0; \
15681 r=`${PWD_COMMAND}`; export r; \
15682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15683 $(SET_LIB_PATH) \
15684 $(HOST_EXPORTS) \
15685 for flag in $(EXTRA_HOST_FLAGS) ; do \
15686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15687 done; \
15688 echo "Doing install-info in patch" ; \
15689 (cd $(HOST_SUBDIR)/patch && \
15690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15692 "RANLIB=$${RANLIB}" \
15693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15694 install-info) \
15695 || exit 1
15697 @endif patch
15699 .PHONY: maybe-installcheck-patch installcheck-patch
15700 maybe-installcheck-patch:
15701 @if patch
15702 maybe-installcheck-patch: installcheck-patch
15704 installcheck-patch: \
15705 configure-patch
15706 @[ -f ./patch/Makefile ] || exit 0; \
15707 r=`${PWD_COMMAND}`; export r; \
15708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15709 $(SET_LIB_PATH) \
15710 $(HOST_EXPORTS) \
15711 for flag in $(EXTRA_HOST_FLAGS) ; do \
15712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15713 done; \
15714 echo "Doing installcheck in patch" ; \
15715 (cd $(HOST_SUBDIR)/patch && \
15716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15718 "RANLIB=$${RANLIB}" \
15719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15720 installcheck) \
15721 || exit 1
15723 @endif patch
15725 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
15726 maybe-mostlyclean-patch:
15727 @if patch
15728 maybe-mostlyclean-patch: mostlyclean-patch
15730 mostlyclean-patch:
15731 @[ -f ./patch/Makefile ] || exit 0; \
15732 r=`${PWD_COMMAND}`; export r; \
15733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15734 $(SET_LIB_PATH) \
15735 $(HOST_EXPORTS) \
15736 for flag in $(EXTRA_HOST_FLAGS) ; do \
15737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15738 done; \
15739 echo "Doing mostlyclean in patch" ; \
15740 (cd $(HOST_SUBDIR)/patch && \
15741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15743 "RANLIB=$${RANLIB}" \
15744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15745 mostlyclean) \
15746 || exit 1
15748 @endif patch
15750 .PHONY: maybe-clean-patch clean-patch
15751 maybe-clean-patch:
15752 @if patch
15753 maybe-clean-patch: clean-patch
15755 clean-patch:
15756 @[ -f ./patch/Makefile ] || exit 0; \
15757 r=`${PWD_COMMAND}`; export r; \
15758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15759 $(SET_LIB_PATH) \
15760 $(HOST_EXPORTS) \
15761 for flag in $(EXTRA_HOST_FLAGS) ; do \
15762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15763 done; \
15764 echo "Doing clean in patch" ; \
15765 (cd $(HOST_SUBDIR)/patch && \
15766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15768 "RANLIB=$${RANLIB}" \
15769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15770 clean) \
15771 || exit 1
15773 @endif patch
15775 .PHONY: maybe-distclean-patch distclean-patch
15776 maybe-distclean-patch:
15777 @if patch
15778 maybe-distclean-patch: distclean-patch
15780 distclean-patch:
15781 @[ -f ./patch/Makefile ] || exit 0; \
15782 r=`${PWD_COMMAND}`; export r; \
15783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15784 $(SET_LIB_PATH) \
15785 $(HOST_EXPORTS) \
15786 for flag in $(EXTRA_HOST_FLAGS) ; do \
15787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15788 done; \
15789 echo "Doing distclean in patch" ; \
15790 (cd $(HOST_SUBDIR)/patch && \
15791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15793 "RANLIB=$${RANLIB}" \
15794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15795 distclean) \
15796 || exit 1
15798 @endif patch
15800 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
15801 maybe-maintainer-clean-patch:
15802 @if patch
15803 maybe-maintainer-clean-patch: maintainer-clean-patch
15805 maintainer-clean-patch:
15806 @[ -f ./patch/Makefile ] || exit 0; \
15807 r=`${PWD_COMMAND}`; export r; \
15808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15809 $(SET_LIB_PATH) \
15810 $(HOST_EXPORTS) \
15811 for flag in $(EXTRA_HOST_FLAGS) ; do \
15812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15813 done; \
15814 echo "Doing maintainer-clean in patch" ; \
15815 (cd $(HOST_SUBDIR)/patch && \
15816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15818 "RANLIB=$${RANLIB}" \
15819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15820 maintainer-clean) \
15821 || exit 1
15823 @endif patch
15826 .PHONY: configure-perl maybe-configure-perl
15827 maybe-configure-perl:
15828 @if perl
15829 maybe-configure-perl: configure-perl
15830 configure-perl:
15831 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
15832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
15833 r=`${PWD_COMMAND}`; export r; \
15834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15835 $(HOST_EXPORTS) \
15836 echo Configuring in perl; \
15837 cd $(HOST_SUBDIR)/perl || exit 1; \
15838 case $(srcdir) in \
15839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15840 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
15841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15842 esac; \
15843 srcdiroption="--srcdir=$${topdir}/perl"; \
15844 libsrcdir="$$s/perl"; \
15845 $(SHELL) $${libsrcdir}/configure \
15846 $(HOST_CONFIGARGS) $${srcdiroption} \
15847 || exit 1
15848 @endif perl
15850 .PHONY: all-perl maybe-all-perl
15851 maybe-all-perl:
15852 @if perl
15853 TARGET-perl=all
15854 maybe-all-perl: all-perl
15855 all-perl: configure-perl
15856 @r=`${PWD_COMMAND}`; export r; \
15857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15858 $(SET_LIB_PATH) \
15859 $(HOST_EXPORTS) \
15860 (cd $(HOST_SUBDIR)/perl && \
15861 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
15862 @endif perl
15864 .PHONY: check-perl maybe-check-perl
15865 maybe-check-perl:
15866 @if perl
15867 maybe-check-perl: check-perl
15869 check-perl:
15870 @r=`${PWD_COMMAND}`; export r; \
15871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15872 $(SET_LIB_PATH) \
15873 $(HOST_EXPORTS) \
15874 (cd $(HOST_SUBDIR)/perl && \
15875 $(MAKE) $(FLAGS_TO_PASS) check)
15877 @endif perl
15879 .PHONY: install-perl maybe-install-perl
15880 maybe-install-perl:
15881 @if perl
15882 maybe-install-perl: install-perl
15884 install-perl: installdirs
15885 @r=`${PWD_COMMAND}`; export r; \
15886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15887 $(SET_LIB_PATH) \
15888 $(HOST_EXPORTS) \
15889 (cd $(HOST_SUBDIR)/perl && \
15890 $(MAKE) $(FLAGS_TO_PASS) install)
15892 @endif perl
15894 # Other targets (info, dvi, etc.)
15896 .PHONY: maybe-info-perl info-perl
15897 maybe-info-perl:
15898 @if perl
15899 maybe-info-perl: info-perl
15901 info-perl: \
15902 configure-perl
15903 @[ -f ./perl/Makefile ] || exit 0; \
15904 r=`${PWD_COMMAND}`; export r; \
15905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15906 $(SET_LIB_PATH) \
15907 $(HOST_EXPORTS) \
15908 for flag in $(EXTRA_HOST_FLAGS) ; do \
15909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15910 done; \
15911 echo "Doing info in perl" ; \
15912 (cd $(HOST_SUBDIR)/perl && \
15913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15915 "RANLIB=$${RANLIB}" \
15916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15917 info) \
15918 || exit 1
15920 @endif perl
15922 .PHONY: maybe-dvi-perl dvi-perl
15923 maybe-dvi-perl:
15924 @if perl
15925 maybe-dvi-perl: dvi-perl
15927 dvi-perl: \
15928 configure-perl
15929 @[ -f ./perl/Makefile ] || exit 0; \
15930 r=`${PWD_COMMAND}`; export r; \
15931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15932 $(SET_LIB_PATH) \
15933 $(HOST_EXPORTS) \
15934 for flag in $(EXTRA_HOST_FLAGS) ; do \
15935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15936 done; \
15937 echo "Doing dvi in perl" ; \
15938 (cd $(HOST_SUBDIR)/perl && \
15939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15941 "RANLIB=$${RANLIB}" \
15942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15943 dvi) \
15944 || exit 1
15946 @endif perl
15948 .PHONY: maybe-html-perl html-perl
15949 maybe-html-perl:
15950 @if perl
15951 maybe-html-perl: html-perl
15953 html-perl: \
15954 configure-perl
15955 @[ -f ./perl/Makefile ] || exit 0; \
15956 r=`${PWD_COMMAND}`; export r; \
15957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15958 $(SET_LIB_PATH) \
15959 $(HOST_EXPORTS) \
15960 for flag in $(EXTRA_HOST_FLAGS) ; do \
15961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15962 done; \
15963 echo "Doing html in perl" ; \
15964 (cd $(HOST_SUBDIR)/perl && \
15965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15967 "RANLIB=$${RANLIB}" \
15968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15969 html) \
15970 || exit 1
15972 @endif perl
15974 .PHONY: maybe-TAGS-perl TAGS-perl
15975 maybe-TAGS-perl:
15976 @if perl
15977 maybe-TAGS-perl: TAGS-perl
15979 TAGS-perl: \
15980 configure-perl
15981 @[ -f ./perl/Makefile ] || exit 0; \
15982 r=`${PWD_COMMAND}`; export r; \
15983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15984 $(SET_LIB_PATH) \
15985 $(HOST_EXPORTS) \
15986 for flag in $(EXTRA_HOST_FLAGS) ; do \
15987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15988 done; \
15989 echo "Doing TAGS in perl" ; \
15990 (cd $(HOST_SUBDIR)/perl && \
15991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15993 "RANLIB=$${RANLIB}" \
15994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15995 TAGS) \
15996 || exit 1
15998 @endif perl
16000 .PHONY: maybe-install-info-perl install-info-perl
16001 maybe-install-info-perl:
16002 @if perl
16003 maybe-install-info-perl: install-info-perl
16005 install-info-perl: \
16006 configure-perl \
16007 info-perl
16008 @[ -f ./perl/Makefile ] || exit 0; \
16009 r=`${PWD_COMMAND}`; export r; \
16010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16011 $(SET_LIB_PATH) \
16012 $(HOST_EXPORTS) \
16013 for flag in $(EXTRA_HOST_FLAGS) ; do \
16014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16015 done; \
16016 echo "Doing install-info in perl" ; \
16017 (cd $(HOST_SUBDIR)/perl && \
16018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16020 "RANLIB=$${RANLIB}" \
16021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16022 install-info) \
16023 || exit 1
16025 @endif perl
16027 .PHONY: maybe-installcheck-perl installcheck-perl
16028 maybe-installcheck-perl:
16029 @if perl
16030 maybe-installcheck-perl: installcheck-perl
16032 installcheck-perl: \
16033 configure-perl
16034 @[ -f ./perl/Makefile ] || exit 0; \
16035 r=`${PWD_COMMAND}`; export r; \
16036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16037 $(SET_LIB_PATH) \
16038 $(HOST_EXPORTS) \
16039 for flag in $(EXTRA_HOST_FLAGS) ; do \
16040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16041 done; \
16042 echo "Doing installcheck in perl" ; \
16043 (cd $(HOST_SUBDIR)/perl && \
16044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16046 "RANLIB=$${RANLIB}" \
16047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16048 installcheck) \
16049 || exit 1
16051 @endif perl
16053 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
16054 maybe-mostlyclean-perl:
16055 @if perl
16056 maybe-mostlyclean-perl: mostlyclean-perl
16058 mostlyclean-perl:
16059 @[ -f ./perl/Makefile ] || exit 0; \
16060 r=`${PWD_COMMAND}`; export r; \
16061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16062 $(SET_LIB_PATH) \
16063 $(HOST_EXPORTS) \
16064 for flag in $(EXTRA_HOST_FLAGS) ; do \
16065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16066 done; \
16067 echo "Doing mostlyclean in perl" ; \
16068 (cd $(HOST_SUBDIR)/perl && \
16069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16071 "RANLIB=$${RANLIB}" \
16072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16073 mostlyclean) \
16074 || exit 1
16076 @endif perl
16078 .PHONY: maybe-clean-perl clean-perl
16079 maybe-clean-perl:
16080 @if perl
16081 maybe-clean-perl: clean-perl
16083 clean-perl:
16084 @[ -f ./perl/Makefile ] || exit 0; \
16085 r=`${PWD_COMMAND}`; export r; \
16086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16087 $(SET_LIB_PATH) \
16088 $(HOST_EXPORTS) \
16089 for flag in $(EXTRA_HOST_FLAGS) ; do \
16090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16091 done; \
16092 echo "Doing clean in perl" ; \
16093 (cd $(HOST_SUBDIR)/perl && \
16094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16096 "RANLIB=$${RANLIB}" \
16097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16098 clean) \
16099 || exit 1
16101 @endif perl
16103 .PHONY: maybe-distclean-perl distclean-perl
16104 maybe-distclean-perl:
16105 @if perl
16106 maybe-distclean-perl: distclean-perl
16108 distclean-perl:
16109 @[ -f ./perl/Makefile ] || exit 0; \
16110 r=`${PWD_COMMAND}`; export r; \
16111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16112 $(SET_LIB_PATH) \
16113 $(HOST_EXPORTS) \
16114 for flag in $(EXTRA_HOST_FLAGS) ; do \
16115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16116 done; \
16117 echo "Doing distclean in perl" ; \
16118 (cd $(HOST_SUBDIR)/perl && \
16119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16121 "RANLIB=$${RANLIB}" \
16122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16123 distclean) \
16124 || exit 1
16126 @endif perl
16128 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
16129 maybe-maintainer-clean-perl:
16130 @if perl
16131 maybe-maintainer-clean-perl: maintainer-clean-perl
16133 maintainer-clean-perl:
16134 @[ -f ./perl/Makefile ] || exit 0; \
16135 r=`${PWD_COMMAND}`; export r; \
16136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16137 $(SET_LIB_PATH) \
16138 $(HOST_EXPORTS) \
16139 for flag in $(EXTRA_HOST_FLAGS) ; do \
16140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16141 done; \
16142 echo "Doing maintainer-clean in perl" ; \
16143 (cd $(HOST_SUBDIR)/perl && \
16144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16146 "RANLIB=$${RANLIB}" \
16147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16148 maintainer-clean) \
16149 || exit 1
16151 @endif perl
16154 .PHONY: configure-prms maybe-configure-prms
16155 maybe-configure-prms:
16156 @if prms
16157 maybe-configure-prms: configure-prms
16158 configure-prms:
16159 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
16160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
16161 r=`${PWD_COMMAND}`; export r; \
16162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16163 $(HOST_EXPORTS) \
16164 echo Configuring in prms; \
16165 cd $(HOST_SUBDIR)/prms || exit 1; \
16166 case $(srcdir) in \
16167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16168 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
16169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16170 esac; \
16171 srcdiroption="--srcdir=$${topdir}/prms"; \
16172 libsrcdir="$$s/prms"; \
16173 $(SHELL) $${libsrcdir}/configure \
16174 $(HOST_CONFIGARGS) $${srcdiroption} \
16175 || exit 1
16176 @endif prms
16178 .PHONY: all-prms maybe-all-prms
16179 maybe-all-prms:
16180 @if prms
16181 TARGET-prms=all
16182 maybe-all-prms: all-prms
16183 all-prms: configure-prms
16184 @r=`${PWD_COMMAND}`; export r; \
16185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16186 $(SET_LIB_PATH) \
16187 $(HOST_EXPORTS) \
16188 (cd $(HOST_SUBDIR)/prms && \
16189 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
16190 @endif prms
16192 .PHONY: check-prms maybe-check-prms
16193 maybe-check-prms:
16194 @if prms
16195 maybe-check-prms: check-prms
16197 check-prms:
16198 @r=`${PWD_COMMAND}`; export r; \
16199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16200 $(SET_LIB_PATH) \
16201 $(HOST_EXPORTS) \
16202 (cd $(HOST_SUBDIR)/prms && \
16203 $(MAKE) $(FLAGS_TO_PASS) check)
16205 @endif prms
16207 .PHONY: install-prms maybe-install-prms
16208 maybe-install-prms:
16209 @if prms
16210 maybe-install-prms: install-prms
16212 install-prms: installdirs
16213 @r=`${PWD_COMMAND}`; export r; \
16214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16215 $(SET_LIB_PATH) \
16216 $(HOST_EXPORTS) \
16217 (cd $(HOST_SUBDIR)/prms && \
16218 $(MAKE) $(FLAGS_TO_PASS) install)
16220 @endif prms
16222 # Other targets (info, dvi, etc.)
16224 .PHONY: maybe-info-prms info-prms
16225 maybe-info-prms:
16226 @if prms
16227 maybe-info-prms: info-prms
16229 info-prms: \
16230 configure-prms
16231 @[ -f ./prms/Makefile ] || exit 0; \
16232 r=`${PWD_COMMAND}`; export r; \
16233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16234 $(SET_LIB_PATH) \
16235 $(HOST_EXPORTS) \
16236 for flag in $(EXTRA_HOST_FLAGS) ; do \
16237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16238 done; \
16239 echo "Doing info in prms" ; \
16240 (cd $(HOST_SUBDIR)/prms && \
16241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16243 "RANLIB=$${RANLIB}" \
16244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16245 info) \
16246 || exit 1
16248 @endif prms
16250 .PHONY: maybe-dvi-prms dvi-prms
16251 maybe-dvi-prms:
16252 @if prms
16253 maybe-dvi-prms: dvi-prms
16255 dvi-prms: \
16256 configure-prms
16257 @[ -f ./prms/Makefile ] || exit 0; \
16258 r=`${PWD_COMMAND}`; export r; \
16259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16260 $(SET_LIB_PATH) \
16261 $(HOST_EXPORTS) \
16262 for flag in $(EXTRA_HOST_FLAGS) ; do \
16263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16264 done; \
16265 echo "Doing dvi in prms" ; \
16266 (cd $(HOST_SUBDIR)/prms && \
16267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16269 "RANLIB=$${RANLIB}" \
16270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16271 dvi) \
16272 || exit 1
16274 @endif prms
16276 .PHONY: maybe-html-prms html-prms
16277 maybe-html-prms:
16278 @if prms
16279 maybe-html-prms: html-prms
16281 html-prms: \
16282 configure-prms
16283 @[ -f ./prms/Makefile ] || exit 0; \
16284 r=`${PWD_COMMAND}`; export r; \
16285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16286 $(SET_LIB_PATH) \
16287 $(HOST_EXPORTS) \
16288 for flag in $(EXTRA_HOST_FLAGS) ; do \
16289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16290 done; \
16291 echo "Doing html in prms" ; \
16292 (cd $(HOST_SUBDIR)/prms && \
16293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16295 "RANLIB=$${RANLIB}" \
16296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16297 html) \
16298 || exit 1
16300 @endif prms
16302 .PHONY: maybe-TAGS-prms TAGS-prms
16303 maybe-TAGS-prms:
16304 @if prms
16305 maybe-TAGS-prms: TAGS-prms
16307 TAGS-prms: \
16308 configure-prms
16309 @[ -f ./prms/Makefile ] || exit 0; \
16310 r=`${PWD_COMMAND}`; export r; \
16311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16312 $(SET_LIB_PATH) \
16313 $(HOST_EXPORTS) \
16314 for flag in $(EXTRA_HOST_FLAGS) ; do \
16315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16316 done; \
16317 echo "Doing TAGS in prms" ; \
16318 (cd $(HOST_SUBDIR)/prms && \
16319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16321 "RANLIB=$${RANLIB}" \
16322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16323 TAGS) \
16324 || exit 1
16326 @endif prms
16328 .PHONY: maybe-install-info-prms install-info-prms
16329 maybe-install-info-prms:
16330 @if prms
16331 maybe-install-info-prms: install-info-prms
16333 install-info-prms: \
16334 configure-prms \
16335 info-prms
16336 @[ -f ./prms/Makefile ] || exit 0; \
16337 r=`${PWD_COMMAND}`; export r; \
16338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16339 $(SET_LIB_PATH) \
16340 $(HOST_EXPORTS) \
16341 for flag in $(EXTRA_HOST_FLAGS) ; do \
16342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16343 done; \
16344 echo "Doing install-info in prms" ; \
16345 (cd $(HOST_SUBDIR)/prms && \
16346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16348 "RANLIB=$${RANLIB}" \
16349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16350 install-info) \
16351 || exit 1
16353 @endif prms
16355 .PHONY: maybe-installcheck-prms installcheck-prms
16356 maybe-installcheck-prms:
16357 @if prms
16358 maybe-installcheck-prms: installcheck-prms
16360 installcheck-prms: \
16361 configure-prms
16362 @[ -f ./prms/Makefile ] || exit 0; \
16363 r=`${PWD_COMMAND}`; export r; \
16364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16365 $(SET_LIB_PATH) \
16366 $(HOST_EXPORTS) \
16367 for flag in $(EXTRA_HOST_FLAGS) ; do \
16368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16369 done; \
16370 echo "Doing installcheck in prms" ; \
16371 (cd $(HOST_SUBDIR)/prms && \
16372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16374 "RANLIB=$${RANLIB}" \
16375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16376 installcheck) \
16377 || exit 1
16379 @endif prms
16381 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
16382 maybe-mostlyclean-prms:
16383 @if prms
16384 maybe-mostlyclean-prms: mostlyclean-prms
16386 mostlyclean-prms:
16387 @[ -f ./prms/Makefile ] || exit 0; \
16388 r=`${PWD_COMMAND}`; export r; \
16389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16390 $(SET_LIB_PATH) \
16391 $(HOST_EXPORTS) \
16392 for flag in $(EXTRA_HOST_FLAGS) ; do \
16393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16394 done; \
16395 echo "Doing mostlyclean in prms" ; \
16396 (cd $(HOST_SUBDIR)/prms && \
16397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16399 "RANLIB=$${RANLIB}" \
16400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16401 mostlyclean) \
16402 || exit 1
16404 @endif prms
16406 .PHONY: maybe-clean-prms clean-prms
16407 maybe-clean-prms:
16408 @if prms
16409 maybe-clean-prms: clean-prms
16411 clean-prms:
16412 @[ -f ./prms/Makefile ] || exit 0; \
16413 r=`${PWD_COMMAND}`; export r; \
16414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16415 $(SET_LIB_PATH) \
16416 $(HOST_EXPORTS) \
16417 for flag in $(EXTRA_HOST_FLAGS) ; do \
16418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16419 done; \
16420 echo "Doing clean in prms" ; \
16421 (cd $(HOST_SUBDIR)/prms && \
16422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16424 "RANLIB=$${RANLIB}" \
16425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16426 clean) \
16427 || exit 1
16429 @endif prms
16431 .PHONY: maybe-distclean-prms distclean-prms
16432 maybe-distclean-prms:
16433 @if prms
16434 maybe-distclean-prms: distclean-prms
16436 distclean-prms:
16437 @[ -f ./prms/Makefile ] || exit 0; \
16438 r=`${PWD_COMMAND}`; export r; \
16439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16440 $(SET_LIB_PATH) \
16441 $(HOST_EXPORTS) \
16442 for flag in $(EXTRA_HOST_FLAGS) ; do \
16443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16444 done; \
16445 echo "Doing distclean in prms" ; \
16446 (cd $(HOST_SUBDIR)/prms && \
16447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16449 "RANLIB=$${RANLIB}" \
16450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16451 distclean) \
16452 || exit 1
16454 @endif prms
16456 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16457 maybe-maintainer-clean-prms:
16458 @if prms
16459 maybe-maintainer-clean-prms: maintainer-clean-prms
16461 maintainer-clean-prms:
16462 @[ -f ./prms/Makefile ] || exit 0; \
16463 r=`${PWD_COMMAND}`; export r; \
16464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16465 $(SET_LIB_PATH) \
16466 $(HOST_EXPORTS) \
16467 for flag in $(EXTRA_HOST_FLAGS) ; do \
16468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16469 done; \
16470 echo "Doing maintainer-clean in prms" ; \
16471 (cd $(HOST_SUBDIR)/prms && \
16472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16474 "RANLIB=$${RANLIB}" \
16475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16476 maintainer-clean) \
16477 || exit 1
16479 @endif prms
16482 .PHONY: configure-rcs maybe-configure-rcs
16483 maybe-configure-rcs:
16484 @if rcs
16485 maybe-configure-rcs: configure-rcs
16486 configure-rcs:
16487 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
16488 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
16489 r=`${PWD_COMMAND}`; export r; \
16490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16491 $(HOST_EXPORTS) \
16492 echo Configuring in rcs; \
16493 cd $(HOST_SUBDIR)/rcs || exit 1; \
16494 case $(srcdir) in \
16495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16496 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
16497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16498 esac; \
16499 srcdiroption="--srcdir=$${topdir}/rcs"; \
16500 libsrcdir="$$s/rcs"; \
16501 $(SHELL) $${libsrcdir}/configure \
16502 $(HOST_CONFIGARGS) $${srcdiroption} \
16503 || exit 1
16504 @endif rcs
16506 .PHONY: all-rcs maybe-all-rcs
16507 maybe-all-rcs:
16508 @if rcs
16509 TARGET-rcs=all
16510 maybe-all-rcs: all-rcs
16511 all-rcs: configure-rcs
16512 @r=`${PWD_COMMAND}`; export r; \
16513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16514 $(SET_LIB_PATH) \
16515 $(HOST_EXPORTS) \
16516 (cd $(HOST_SUBDIR)/rcs && \
16517 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
16518 @endif rcs
16520 .PHONY: check-rcs maybe-check-rcs
16521 maybe-check-rcs:
16522 @if rcs
16523 maybe-check-rcs: check-rcs
16525 check-rcs:
16526 @r=`${PWD_COMMAND}`; export r; \
16527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16528 $(SET_LIB_PATH) \
16529 $(HOST_EXPORTS) \
16530 (cd $(HOST_SUBDIR)/rcs && \
16531 $(MAKE) $(FLAGS_TO_PASS) check)
16533 @endif rcs
16535 .PHONY: install-rcs maybe-install-rcs
16536 maybe-install-rcs:
16537 @if rcs
16538 maybe-install-rcs: install-rcs
16540 install-rcs: installdirs
16541 @r=`${PWD_COMMAND}`; export r; \
16542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16543 $(SET_LIB_PATH) \
16544 $(HOST_EXPORTS) \
16545 (cd $(HOST_SUBDIR)/rcs && \
16546 $(MAKE) $(FLAGS_TO_PASS) install)
16548 @endif rcs
16550 # Other targets (info, dvi, etc.)
16552 .PHONY: maybe-info-rcs info-rcs
16553 maybe-info-rcs:
16554 @if rcs
16555 maybe-info-rcs: info-rcs
16557 info-rcs: \
16558 configure-rcs
16559 @[ -f ./rcs/Makefile ] || exit 0; \
16560 r=`${PWD_COMMAND}`; export r; \
16561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16562 $(SET_LIB_PATH) \
16563 $(HOST_EXPORTS) \
16564 for flag in $(EXTRA_HOST_FLAGS) ; do \
16565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16566 done; \
16567 echo "Doing info in rcs" ; \
16568 (cd $(HOST_SUBDIR)/rcs && \
16569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16571 "RANLIB=$${RANLIB}" \
16572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16573 info) \
16574 || exit 1
16576 @endif rcs
16578 .PHONY: maybe-dvi-rcs dvi-rcs
16579 maybe-dvi-rcs:
16580 @if rcs
16581 maybe-dvi-rcs: dvi-rcs
16583 dvi-rcs: \
16584 configure-rcs
16585 @[ -f ./rcs/Makefile ] || exit 0; \
16586 r=`${PWD_COMMAND}`; export r; \
16587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16588 $(SET_LIB_PATH) \
16589 $(HOST_EXPORTS) \
16590 for flag in $(EXTRA_HOST_FLAGS) ; do \
16591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16592 done; \
16593 echo "Doing dvi in rcs" ; \
16594 (cd $(HOST_SUBDIR)/rcs && \
16595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16597 "RANLIB=$${RANLIB}" \
16598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16599 dvi) \
16600 || exit 1
16602 @endif rcs
16604 .PHONY: maybe-html-rcs html-rcs
16605 maybe-html-rcs:
16606 @if rcs
16607 maybe-html-rcs: html-rcs
16609 html-rcs: \
16610 configure-rcs
16611 @[ -f ./rcs/Makefile ] || exit 0; \
16612 r=`${PWD_COMMAND}`; export r; \
16613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16614 $(SET_LIB_PATH) \
16615 $(HOST_EXPORTS) \
16616 for flag in $(EXTRA_HOST_FLAGS) ; do \
16617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16618 done; \
16619 echo "Doing html in rcs" ; \
16620 (cd $(HOST_SUBDIR)/rcs && \
16621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16623 "RANLIB=$${RANLIB}" \
16624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16625 html) \
16626 || exit 1
16628 @endif rcs
16630 .PHONY: maybe-TAGS-rcs TAGS-rcs
16631 maybe-TAGS-rcs:
16632 @if rcs
16633 maybe-TAGS-rcs: TAGS-rcs
16635 TAGS-rcs: \
16636 configure-rcs
16637 @[ -f ./rcs/Makefile ] || exit 0; \
16638 r=`${PWD_COMMAND}`; export r; \
16639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16640 $(SET_LIB_PATH) \
16641 $(HOST_EXPORTS) \
16642 for flag in $(EXTRA_HOST_FLAGS) ; do \
16643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16644 done; \
16645 echo "Doing TAGS in rcs" ; \
16646 (cd $(HOST_SUBDIR)/rcs && \
16647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16649 "RANLIB=$${RANLIB}" \
16650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16651 TAGS) \
16652 || exit 1
16654 @endif rcs
16656 .PHONY: maybe-install-info-rcs install-info-rcs
16657 maybe-install-info-rcs:
16658 @if rcs
16659 maybe-install-info-rcs: install-info-rcs
16661 install-info-rcs: \
16662 configure-rcs \
16663 info-rcs
16664 @[ -f ./rcs/Makefile ] || exit 0; \
16665 r=`${PWD_COMMAND}`; export r; \
16666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16667 $(SET_LIB_PATH) \
16668 $(HOST_EXPORTS) \
16669 for flag in $(EXTRA_HOST_FLAGS) ; do \
16670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16671 done; \
16672 echo "Doing install-info in rcs" ; \
16673 (cd $(HOST_SUBDIR)/rcs && \
16674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16676 "RANLIB=$${RANLIB}" \
16677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16678 install-info) \
16679 || exit 1
16681 @endif rcs
16683 .PHONY: maybe-installcheck-rcs installcheck-rcs
16684 maybe-installcheck-rcs:
16685 @if rcs
16686 maybe-installcheck-rcs: installcheck-rcs
16688 installcheck-rcs: \
16689 configure-rcs
16690 @[ -f ./rcs/Makefile ] || exit 0; \
16691 r=`${PWD_COMMAND}`; export r; \
16692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16693 $(SET_LIB_PATH) \
16694 $(HOST_EXPORTS) \
16695 for flag in $(EXTRA_HOST_FLAGS) ; do \
16696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16697 done; \
16698 echo "Doing installcheck in rcs" ; \
16699 (cd $(HOST_SUBDIR)/rcs && \
16700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16702 "RANLIB=$${RANLIB}" \
16703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16704 installcheck) \
16705 || exit 1
16707 @endif rcs
16709 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
16710 maybe-mostlyclean-rcs:
16711 @if rcs
16712 maybe-mostlyclean-rcs: mostlyclean-rcs
16714 mostlyclean-rcs:
16715 @[ -f ./rcs/Makefile ] || exit 0; \
16716 r=`${PWD_COMMAND}`; export r; \
16717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16718 $(SET_LIB_PATH) \
16719 $(HOST_EXPORTS) \
16720 for flag in $(EXTRA_HOST_FLAGS) ; do \
16721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16722 done; \
16723 echo "Doing mostlyclean in rcs" ; \
16724 (cd $(HOST_SUBDIR)/rcs && \
16725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16727 "RANLIB=$${RANLIB}" \
16728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16729 mostlyclean) \
16730 || exit 1
16732 @endif rcs
16734 .PHONY: maybe-clean-rcs clean-rcs
16735 maybe-clean-rcs:
16736 @if rcs
16737 maybe-clean-rcs: clean-rcs
16739 clean-rcs:
16740 @[ -f ./rcs/Makefile ] || exit 0; \
16741 r=`${PWD_COMMAND}`; export r; \
16742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16743 $(SET_LIB_PATH) \
16744 $(HOST_EXPORTS) \
16745 for flag in $(EXTRA_HOST_FLAGS) ; do \
16746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16747 done; \
16748 echo "Doing clean in rcs" ; \
16749 (cd $(HOST_SUBDIR)/rcs && \
16750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16752 "RANLIB=$${RANLIB}" \
16753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16754 clean) \
16755 || exit 1
16757 @endif rcs
16759 .PHONY: maybe-distclean-rcs distclean-rcs
16760 maybe-distclean-rcs:
16761 @if rcs
16762 maybe-distclean-rcs: distclean-rcs
16764 distclean-rcs:
16765 @[ -f ./rcs/Makefile ] || exit 0; \
16766 r=`${PWD_COMMAND}`; export r; \
16767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16768 $(SET_LIB_PATH) \
16769 $(HOST_EXPORTS) \
16770 for flag in $(EXTRA_HOST_FLAGS) ; do \
16771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16772 done; \
16773 echo "Doing distclean in rcs" ; \
16774 (cd $(HOST_SUBDIR)/rcs && \
16775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16777 "RANLIB=$${RANLIB}" \
16778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16779 distclean) \
16780 || exit 1
16782 @endif rcs
16784 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
16785 maybe-maintainer-clean-rcs:
16786 @if rcs
16787 maybe-maintainer-clean-rcs: maintainer-clean-rcs
16789 maintainer-clean-rcs:
16790 @[ -f ./rcs/Makefile ] || exit 0; \
16791 r=`${PWD_COMMAND}`; export r; \
16792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16793 $(SET_LIB_PATH) \
16794 $(HOST_EXPORTS) \
16795 for flag in $(EXTRA_HOST_FLAGS) ; do \
16796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16797 done; \
16798 echo "Doing maintainer-clean in rcs" ; \
16799 (cd $(HOST_SUBDIR)/rcs && \
16800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16802 "RANLIB=$${RANLIB}" \
16803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16804 maintainer-clean) \
16805 || exit 1
16807 @endif rcs
16810 .PHONY: configure-readline maybe-configure-readline
16811 maybe-configure-readline:
16812 @if readline
16813 maybe-configure-readline: configure-readline
16814 configure-readline:
16815 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
16816 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
16817 r=`${PWD_COMMAND}`; export r; \
16818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16819 $(HOST_EXPORTS) \
16820 echo Configuring in readline; \
16821 cd $(HOST_SUBDIR)/readline || exit 1; \
16822 case $(srcdir) in \
16823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16824 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
16825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16826 esac; \
16827 srcdiroption="--srcdir=$${topdir}/readline"; \
16828 libsrcdir="$$s/readline"; \
16829 $(SHELL) $${libsrcdir}/configure \
16830 $(HOST_CONFIGARGS) $${srcdiroption} \
16831 || exit 1
16832 @endif readline
16834 .PHONY: all-readline maybe-all-readline
16835 maybe-all-readline:
16836 @if readline
16837 TARGET-readline=all
16838 maybe-all-readline: all-readline
16839 all-readline: configure-readline
16840 @r=`${PWD_COMMAND}`; export r; \
16841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16842 $(SET_LIB_PATH) \
16843 $(HOST_EXPORTS) \
16844 (cd $(HOST_SUBDIR)/readline && \
16845 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
16846 @endif readline
16848 .PHONY: check-readline maybe-check-readline
16849 maybe-check-readline:
16850 @if readline
16851 maybe-check-readline: check-readline
16853 check-readline:
16854 @r=`${PWD_COMMAND}`; export r; \
16855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16856 $(SET_LIB_PATH) \
16857 $(HOST_EXPORTS) \
16858 (cd $(HOST_SUBDIR)/readline && \
16859 $(MAKE) $(FLAGS_TO_PASS) check)
16861 @endif readline
16863 .PHONY: install-readline maybe-install-readline
16864 maybe-install-readline:
16865 @if readline
16866 maybe-install-readline: install-readline
16868 install-readline: installdirs
16869 @r=`${PWD_COMMAND}`; export r; \
16870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16871 $(SET_LIB_PATH) \
16872 $(HOST_EXPORTS) \
16873 (cd $(HOST_SUBDIR)/readline && \
16874 $(MAKE) $(FLAGS_TO_PASS) install)
16876 @endif readline
16878 # Other targets (info, dvi, etc.)
16880 .PHONY: maybe-info-readline info-readline
16881 maybe-info-readline:
16882 @if readline
16883 maybe-info-readline: info-readline
16885 info-readline: \
16886 configure-readline
16887 @[ -f ./readline/Makefile ] || exit 0; \
16888 r=`${PWD_COMMAND}`; export r; \
16889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16890 $(SET_LIB_PATH) \
16891 $(HOST_EXPORTS) \
16892 for flag in $(EXTRA_HOST_FLAGS) ; do \
16893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16894 done; \
16895 echo "Doing info in readline" ; \
16896 (cd $(HOST_SUBDIR)/readline && \
16897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16899 "RANLIB=$${RANLIB}" \
16900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16901 info) \
16902 || exit 1
16904 @endif readline
16906 .PHONY: maybe-dvi-readline dvi-readline
16907 maybe-dvi-readline:
16908 @if readline
16909 maybe-dvi-readline: dvi-readline
16911 dvi-readline: \
16912 configure-readline
16913 @[ -f ./readline/Makefile ] || exit 0; \
16914 r=`${PWD_COMMAND}`; export r; \
16915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16916 $(SET_LIB_PATH) \
16917 $(HOST_EXPORTS) \
16918 for flag in $(EXTRA_HOST_FLAGS) ; do \
16919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16920 done; \
16921 echo "Doing dvi in readline" ; \
16922 (cd $(HOST_SUBDIR)/readline && \
16923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16925 "RANLIB=$${RANLIB}" \
16926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16927 dvi) \
16928 || exit 1
16930 @endif readline
16932 .PHONY: maybe-html-readline html-readline
16933 maybe-html-readline:
16934 @if readline
16935 maybe-html-readline: html-readline
16937 html-readline: \
16938 configure-readline
16939 @[ -f ./readline/Makefile ] || exit 0; \
16940 r=`${PWD_COMMAND}`; export r; \
16941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16942 $(SET_LIB_PATH) \
16943 $(HOST_EXPORTS) \
16944 for flag in $(EXTRA_HOST_FLAGS) ; do \
16945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16946 done; \
16947 echo "Doing html in readline" ; \
16948 (cd $(HOST_SUBDIR)/readline && \
16949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16951 "RANLIB=$${RANLIB}" \
16952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16953 html) \
16954 || exit 1
16956 @endif readline
16958 .PHONY: maybe-TAGS-readline TAGS-readline
16959 maybe-TAGS-readline:
16960 @if readline
16961 maybe-TAGS-readline: TAGS-readline
16963 TAGS-readline: \
16964 configure-readline
16965 @[ -f ./readline/Makefile ] || exit 0; \
16966 r=`${PWD_COMMAND}`; export r; \
16967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16968 $(SET_LIB_PATH) \
16969 $(HOST_EXPORTS) \
16970 for flag in $(EXTRA_HOST_FLAGS) ; do \
16971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16972 done; \
16973 echo "Doing TAGS in readline" ; \
16974 (cd $(HOST_SUBDIR)/readline && \
16975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16977 "RANLIB=$${RANLIB}" \
16978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16979 TAGS) \
16980 || exit 1
16982 @endif readline
16984 .PHONY: maybe-install-info-readline install-info-readline
16985 maybe-install-info-readline:
16986 @if readline
16987 maybe-install-info-readline: install-info-readline
16989 install-info-readline: \
16990 configure-readline \
16991 info-readline
16992 @[ -f ./readline/Makefile ] || exit 0; \
16993 r=`${PWD_COMMAND}`; export r; \
16994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16995 $(SET_LIB_PATH) \
16996 $(HOST_EXPORTS) \
16997 for flag in $(EXTRA_HOST_FLAGS) ; do \
16998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16999 done; \
17000 echo "Doing install-info in readline" ; \
17001 (cd $(HOST_SUBDIR)/readline && \
17002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17004 "RANLIB=$${RANLIB}" \
17005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17006 install-info) \
17007 || exit 1
17009 @endif readline
17011 .PHONY: maybe-installcheck-readline installcheck-readline
17012 maybe-installcheck-readline:
17013 @if readline
17014 maybe-installcheck-readline: installcheck-readline
17016 installcheck-readline: \
17017 configure-readline
17018 @[ -f ./readline/Makefile ] || exit 0; \
17019 r=`${PWD_COMMAND}`; export r; \
17020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17021 $(SET_LIB_PATH) \
17022 $(HOST_EXPORTS) \
17023 for flag in $(EXTRA_HOST_FLAGS) ; do \
17024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17025 done; \
17026 echo "Doing installcheck in readline" ; \
17027 (cd $(HOST_SUBDIR)/readline && \
17028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17030 "RANLIB=$${RANLIB}" \
17031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17032 installcheck) \
17033 || exit 1
17035 @endif readline
17037 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
17038 maybe-mostlyclean-readline:
17039 @if readline
17040 maybe-mostlyclean-readline: mostlyclean-readline
17042 mostlyclean-readline:
17043 @[ -f ./readline/Makefile ] || exit 0; \
17044 r=`${PWD_COMMAND}`; export r; \
17045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17046 $(SET_LIB_PATH) \
17047 $(HOST_EXPORTS) \
17048 for flag in $(EXTRA_HOST_FLAGS) ; do \
17049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17050 done; \
17051 echo "Doing mostlyclean in readline" ; \
17052 (cd $(HOST_SUBDIR)/readline && \
17053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17055 "RANLIB=$${RANLIB}" \
17056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17057 mostlyclean) \
17058 || exit 1
17060 @endif readline
17062 .PHONY: maybe-clean-readline clean-readline
17063 maybe-clean-readline:
17064 @if readline
17065 maybe-clean-readline: clean-readline
17067 clean-readline:
17068 @[ -f ./readline/Makefile ] || exit 0; \
17069 r=`${PWD_COMMAND}`; export r; \
17070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17071 $(SET_LIB_PATH) \
17072 $(HOST_EXPORTS) \
17073 for flag in $(EXTRA_HOST_FLAGS) ; do \
17074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17075 done; \
17076 echo "Doing clean in readline" ; \
17077 (cd $(HOST_SUBDIR)/readline && \
17078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17080 "RANLIB=$${RANLIB}" \
17081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17082 clean) \
17083 || exit 1
17085 @endif readline
17087 .PHONY: maybe-distclean-readline distclean-readline
17088 maybe-distclean-readline:
17089 @if readline
17090 maybe-distclean-readline: distclean-readline
17092 distclean-readline:
17093 @[ -f ./readline/Makefile ] || exit 0; \
17094 r=`${PWD_COMMAND}`; export r; \
17095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17096 $(SET_LIB_PATH) \
17097 $(HOST_EXPORTS) \
17098 for flag in $(EXTRA_HOST_FLAGS) ; do \
17099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17100 done; \
17101 echo "Doing distclean in readline" ; \
17102 (cd $(HOST_SUBDIR)/readline && \
17103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17105 "RANLIB=$${RANLIB}" \
17106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17107 distclean) \
17108 || exit 1
17110 @endif readline
17112 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
17113 maybe-maintainer-clean-readline:
17114 @if readline
17115 maybe-maintainer-clean-readline: maintainer-clean-readline
17117 maintainer-clean-readline:
17118 @[ -f ./readline/Makefile ] || exit 0; \
17119 r=`${PWD_COMMAND}`; export r; \
17120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17121 $(SET_LIB_PATH) \
17122 $(HOST_EXPORTS) \
17123 for flag in $(EXTRA_HOST_FLAGS) ; do \
17124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17125 done; \
17126 echo "Doing maintainer-clean in readline" ; \
17127 (cd $(HOST_SUBDIR)/readline && \
17128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17130 "RANLIB=$${RANLIB}" \
17131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17132 maintainer-clean) \
17133 || exit 1
17135 @endif readline
17138 .PHONY: configure-release maybe-configure-release
17139 maybe-configure-release:
17140 @if release
17141 maybe-configure-release: configure-release
17142 configure-release:
17143 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
17144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
17145 r=`${PWD_COMMAND}`; export r; \
17146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17147 $(HOST_EXPORTS) \
17148 echo Configuring in release; \
17149 cd $(HOST_SUBDIR)/release || exit 1; \
17150 case $(srcdir) in \
17151 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17152 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
17153 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17154 esac; \
17155 srcdiroption="--srcdir=$${topdir}/release"; \
17156 libsrcdir="$$s/release"; \
17157 $(SHELL) $${libsrcdir}/configure \
17158 $(HOST_CONFIGARGS) $${srcdiroption} \
17159 || exit 1
17160 @endif release
17162 .PHONY: all-release maybe-all-release
17163 maybe-all-release:
17164 @if release
17165 TARGET-release=all
17166 maybe-all-release: all-release
17167 all-release: configure-release
17168 @r=`${PWD_COMMAND}`; export r; \
17169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17170 $(SET_LIB_PATH) \
17171 $(HOST_EXPORTS) \
17172 (cd $(HOST_SUBDIR)/release && \
17173 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
17174 @endif release
17176 .PHONY: check-release maybe-check-release
17177 maybe-check-release:
17178 @if release
17179 maybe-check-release: check-release
17181 check-release:
17183 @endif release
17185 .PHONY: install-release maybe-install-release
17186 maybe-install-release:
17187 @if release
17188 maybe-install-release: install-release
17190 install-release:
17192 @endif release
17194 # Other targets (info, dvi, etc.)
17196 .PHONY: maybe-info-release info-release
17197 maybe-info-release:
17198 @if release
17199 maybe-info-release: info-release
17201 info-release: \
17202 configure-release
17203 @[ -f ./release/Makefile ] || exit 0; \
17204 r=`${PWD_COMMAND}`; export r; \
17205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17206 $(SET_LIB_PATH) \
17207 $(HOST_EXPORTS) \
17208 for flag in $(EXTRA_HOST_FLAGS) ; do \
17209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17210 done; \
17211 echo "Doing info in release" ; \
17212 (cd $(HOST_SUBDIR)/release && \
17213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17215 "RANLIB=$${RANLIB}" \
17216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17217 info) \
17218 || exit 1
17220 @endif release
17222 .PHONY: maybe-dvi-release dvi-release
17223 maybe-dvi-release:
17224 @if release
17225 maybe-dvi-release: dvi-release
17227 dvi-release: \
17228 configure-release
17229 @[ -f ./release/Makefile ] || exit 0; \
17230 r=`${PWD_COMMAND}`; export r; \
17231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17232 $(SET_LIB_PATH) \
17233 $(HOST_EXPORTS) \
17234 for flag in $(EXTRA_HOST_FLAGS) ; do \
17235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17236 done; \
17237 echo "Doing dvi in release" ; \
17238 (cd $(HOST_SUBDIR)/release && \
17239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17241 "RANLIB=$${RANLIB}" \
17242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17243 dvi) \
17244 || exit 1
17246 @endif release
17248 .PHONY: maybe-html-release html-release
17249 maybe-html-release:
17250 @if release
17251 maybe-html-release: html-release
17253 html-release: \
17254 configure-release
17255 @[ -f ./release/Makefile ] || exit 0; \
17256 r=`${PWD_COMMAND}`; export r; \
17257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17258 $(SET_LIB_PATH) \
17259 $(HOST_EXPORTS) \
17260 for flag in $(EXTRA_HOST_FLAGS) ; do \
17261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17262 done; \
17263 echo "Doing html in release" ; \
17264 (cd $(HOST_SUBDIR)/release && \
17265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17267 "RANLIB=$${RANLIB}" \
17268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17269 html) \
17270 || exit 1
17272 @endif release
17274 .PHONY: maybe-TAGS-release TAGS-release
17275 maybe-TAGS-release:
17276 @if release
17277 maybe-TAGS-release: TAGS-release
17279 TAGS-release: \
17280 configure-release
17281 @[ -f ./release/Makefile ] || exit 0; \
17282 r=`${PWD_COMMAND}`; export r; \
17283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17284 $(SET_LIB_PATH) \
17285 $(HOST_EXPORTS) \
17286 for flag in $(EXTRA_HOST_FLAGS) ; do \
17287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17288 done; \
17289 echo "Doing TAGS in release" ; \
17290 (cd $(HOST_SUBDIR)/release && \
17291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17293 "RANLIB=$${RANLIB}" \
17294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17295 TAGS) \
17296 || exit 1
17298 @endif release
17300 .PHONY: maybe-install-info-release install-info-release
17301 maybe-install-info-release:
17302 @if release
17303 maybe-install-info-release: install-info-release
17305 install-info-release: \
17306 configure-release \
17307 info-release
17308 @[ -f ./release/Makefile ] || exit 0; \
17309 r=`${PWD_COMMAND}`; export r; \
17310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17311 $(SET_LIB_PATH) \
17312 $(HOST_EXPORTS) \
17313 for flag in $(EXTRA_HOST_FLAGS) ; do \
17314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17315 done; \
17316 echo "Doing install-info in release" ; \
17317 (cd $(HOST_SUBDIR)/release && \
17318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17320 "RANLIB=$${RANLIB}" \
17321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17322 install-info) \
17323 || exit 1
17325 @endif release
17327 .PHONY: maybe-installcheck-release installcheck-release
17328 maybe-installcheck-release:
17329 @if release
17330 maybe-installcheck-release: installcheck-release
17332 installcheck-release: \
17333 configure-release
17334 @[ -f ./release/Makefile ] || exit 0; \
17335 r=`${PWD_COMMAND}`; export r; \
17336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17337 $(SET_LIB_PATH) \
17338 $(HOST_EXPORTS) \
17339 for flag in $(EXTRA_HOST_FLAGS) ; do \
17340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17341 done; \
17342 echo "Doing installcheck in release" ; \
17343 (cd $(HOST_SUBDIR)/release && \
17344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17346 "RANLIB=$${RANLIB}" \
17347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17348 installcheck) \
17349 || exit 1
17351 @endif release
17353 .PHONY: maybe-mostlyclean-release mostlyclean-release
17354 maybe-mostlyclean-release:
17355 @if release
17356 maybe-mostlyclean-release: mostlyclean-release
17358 mostlyclean-release:
17359 @[ -f ./release/Makefile ] || exit 0; \
17360 r=`${PWD_COMMAND}`; export r; \
17361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17362 $(SET_LIB_PATH) \
17363 $(HOST_EXPORTS) \
17364 for flag in $(EXTRA_HOST_FLAGS) ; do \
17365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17366 done; \
17367 echo "Doing mostlyclean in release" ; \
17368 (cd $(HOST_SUBDIR)/release && \
17369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17371 "RANLIB=$${RANLIB}" \
17372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17373 mostlyclean) \
17374 || exit 1
17376 @endif release
17378 .PHONY: maybe-clean-release clean-release
17379 maybe-clean-release:
17380 @if release
17381 maybe-clean-release: clean-release
17383 clean-release:
17384 @[ -f ./release/Makefile ] || exit 0; \
17385 r=`${PWD_COMMAND}`; export r; \
17386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17387 $(SET_LIB_PATH) \
17388 $(HOST_EXPORTS) \
17389 for flag in $(EXTRA_HOST_FLAGS) ; do \
17390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17391 done; \
17392 echo "Doing clean in release" ; \
17393 (cd $(HOST_SUBDIR)/release && \
17394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17396 "RANLIB=$${RANLIB}" \
17397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17398 clean) \
17399 || exit 1
17401 @endif release
17403 .PHONY: maybe-distclean-release distclean-release
17404 maybe-distclean-release:
17405 @if release
17406 maybe-distclean-release: distclean-release
17408 distclean-release:
17409 @[ -f ./release/Makefile ] || exit 0; \
17410 r=`${PWD_COMMAND}`; export r; \
17411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17412 $(SET_LIB_PATH) \
17413 $(HOST_EXPORTS) \
17414 for flag in $(EXTRA_HOST_FLAGS) ; do \
17415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17416 done; \
17417 echo "Doing distclean in release" ; \
17418 (cd $(HOST_SUBDIR)/release && \
17419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17421 "RANLIB=$${RANLIB}" \
17422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17423 distclean) \
17424 || exit 1
17426 @endif release
17428 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
17429 maybe-maintainer-clean-release:
17430 @if release
17431 maybe-maintainer-clean-release: maintainer-clean-release
17433 maintainer-clean-release:
17434 @[ -f ./release/Makefile ] || exit 0; \
17435 r=`${PWD_COMMAND}`; export r; \
17436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17437 $(SET_LIB_PATH) \
17438 $(HOST_EXPORTS) \
17439 for flag in $(EXTRA_HOST_FLAGS) ; do \
17440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17441 done; \
17442 echo "Doing maintainer-clean in release" ; \
17443 (cd $(HOST_SUBDIR)/release && \
17444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17446 "RANLIB=$${RANLIB}" \
17447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17448 maintainer-clean) \
17449 || exit 1
17451 @endif release
17454 .PHONY: configure-recode maybe-configure-recode
17455 maybe-configure-recode:
17456 @if recode
17457 maybe-configure-recode: configure-recode
17458 configure-recode:
17459 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
17460 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
17461 r=`${PWD_COMMAND}`; export r; \
17462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17463 $(HOST_EXPORTS) \
17464 echo Configuring in recode; \
17465 cd $(HOST_SUBDIR)/recode || exit 1; \
17466 case $(srcdir) in \
17467 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17468 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
17469 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17470 esac; \
17471 srcdiroption="--srcdir=$${topdir}/recode"; \
17472 libsrcdir="$$s/recode"; \
17473 $(SHELL) $${libsrcdir}/configure \
17474 $(HOST_CONFIGARGS) $${srcdiroption} \
17475 || exit 1
17476 @endif recode
17478 .PHONY: all-recode maybe-all-recode
17479 maybe-all-recode:
17480 @if recode
17481 TARGET-recode=all
17482 maybe-all-recode: all-recode
17483 all-recode: configure-recode
17484 @r=`${PWD_COMMAND}`; export r; \
17485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17486 $(SET_LIB_PATH) \
17487 $(HOST_EXPORTS) \
17488 (cd $(HOST_SUBDIR)/recode && \
17489 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
17490 @endif recode
17492 .PHONY: check-recode maybe-check-recode
17493 maybe-check-recode:
17494 @if recode
17495 maybe-check-recode: check-recode
17497 check-recode:
17498 @r=`${PWD_COMMAND}`; export r; \
17499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17500 $(SET_LIB_PATH) \
17501 $(HOST_EXPORTS) \
17502 (cd $(HOST_SUBDIR)/recode && \
17503 $(MAKE) $(FLAGS_TO_PASS) check)
17505 @endif recode
17507 .PHONY: install-recode maybe-install-recode
17508 maybe-install-recode:
17509 @if recode
17510 maybe-install-recode: install-recode
17512 install-recode: installdirs
17513 @r=`${PWD_COMMAND}`; export r; \
17514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17515 $(SET_LIB_PATH) \
17516 $(HOST_EXPORTS) \
17517 (cd $(HOST_SUBDIR)/recode && \
17518 $(MAKE) $(FLAGS_TO_PASS) install)
17520 @endif recode
17522 # Other targets (info, dvi, etc.)
17524 .PHONY: maybe-info-recode info-recode
17525 maybe-info-recode:
17526 @if recode
17527 maybe-info-recode: info-recode
17529 info-recode: \
17530 configure-recode
17531 @[ -f ./recode/Makefile ] || exit 0; \
17532 r=`${PWD_COMMAND}`; export r; \
17533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17534 $(SET_LIB_PATH) \
17535 $(HOST_EXPORTS) \
17536 for flag in $(EXTRA_HOST_FLAGS) ; do \
17537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17538 done; \
17539 echo "Doing info in recode" ; \
17540 (cd $(HOST_SUBDIR)/recode && \
17541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17543 "RANLIB=$${RANLIB}" \
17544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17545 info) \
17546 || exit 1
17548 @endif recode
17550 .PHONY: maybe-dvi-recode dvi-recode
17551 maybe-dvi-recode:
17552 @if recode
17553 maybe-dvi-recode: dvi-recode
17555 dvi-recode: \
17556 configure-recode
17557 @[ -f ./recode/Makefile ] || exit 0; \
17558 r=`${PWD_COMMAND}`; export r; \
17559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17560 $(SET_LIB_PATH) \
17561 $(HOST_EXPORTS) \
17562 for flag in $(EXTRA_HOST_FLAGS) ; do \
17563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17564 done; \
17565 echo "Doing dvi in recode" ; \
17566 (cd $(HOST_SUBDIR)/recode && \
17567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17569 "RANLIB=$${RANLIB}" \
17570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17571 dvi) \
17572 || exit 1
17574 @endif recode
17576 .PHONY: maybe-html-recode html-recode
17577 maybe-html-recode:
17578 @if recode
17579 maybe-html-recode: html-recode
17581 html-recode: \
17582 configure-recode
17583 @[ -f ./recode/Makefile ] || exit 0; \
17584 r=`${PWD_COMMAND}`; export r; \
17585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17586 $(SET_LIB_PATH) \
17587 $(HOST_EXPORTS) \
17588 for flag in $(EXTRA_HOST_FLAGS) ; do \
17589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17590 done; \
17591 echo "Doing html in recode" ; \
17592 (cd $(HOST_SUBDIR)/recode && \
17593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17595 "RANLIB=$${RANLIB}" \
17596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17597 html) \
17598 || exit 1
17600 @endif recode
17602 .PHONY: maybe-TAGS-recode TAGS-recode
17603 maybe-TAGS-recode:
17604 @if recode
17605 maybe-TAGS-recode: TAGS-recode
17607 TAGS-recode: \
17608 configure-recode
17609 @[ -f ./recode/Makefile ] || exit 0; \
17610 r=`${PWD_COMMAND}`; export r; \
17611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17612 $(SET_LIB_PATH) \
17613 $(HOST_EXPORTS) \
17614 for flag in $(EXTRA_HOST_FLAGS) ; do \
17615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17616 done; \
17617 echo "Doing TAGS in recode" ; \
17618 (cd $(HOST_SUBDIR)/recode && \
17619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17621 "RANLIB=$${RANLIB}" \
17622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17623 TAGS) \
17624 || exit 1
17626 @endif recode
17628 .PHONY: maybe-install-info-recode install-info-recode
17629 maybe-install-info-recode:
17630 @if recode
17631 maybe-install-info-recode: install-info-recode
17633 install-info-recode: \
17634 configure-recode \
17635 info-recode
17636 @[ -f ./recode/Makefile ] || exit 0; \
17637 r=`${PWD_COMMAND}`; export r; \
17638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17639 $(SET_LIB_PATH) \
17640 $(HOST_EXPORTS) \
17641 for flag in $(EXTRA_HOST_FLAGS) ; do \
17642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17643 done; \
17644 echo "Doing install-info in recode" ; \
17645 (cd $(HOST_SUBDIR)/recode && \
17646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17648 "RANLIB=$${RANLIB}" \
17649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17650 install-info) \
17651 || exit 1
17653 @endif recode
17655 .PHONY: maybe-installcheck-recode installcheck-recode
17656 maybe-installcheck-recode:
17657 @if recode
17658 maybe-installcheck-recode: installcheck-recode
17660 installcheck-recode: \
17661 configure-recode
17662 @[ -f ./recode/Makefile ] || exit 0; \
17663 r=`${PWD_COMMAND}`; export r; \
17664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17665 $(SET_LIB_PATH) \
17666 $(HOST_EXPORTS) \
17667 for flag in $(EXTRA_HOST_FLAGS) ; do \
17668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17669 done; \
17670 echo "Doing installcheck in recode" ; \
17671 (cd $(HOST_SUBDIR)/recode && \
17672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17674 "RANLIB=$${RANLIB}" \
17675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17676 installcheck) \
17677 || exit 1
17679 @endif recode
17681 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
17682 maybe-mostlyclean-recode:
17683 @if recode
17684 maybe-mostlyclean-recode: mostlyclean-recode
17686 mostlyclean-recode:
17687 @[ -f ./recode/Makefile ] || exit 0; \
17688 r=`${PWD_COMMAND}`; export r; \
17689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17690 $(SET_LIB_PATH) \
17691 $(HOST_EXPORTS) \
17692 for flag in $(EXTRA_HOST_FLAGS) ; do \
17693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17694 done; \
17695 echo "Doing mostlyclean in recode" ; \
17696 (cd $(HOST_SUBDIR)/recode && \
17697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17699 "RANLIB=$${RANLIB}" \
17700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17701 mostlyclean) \
17702 || exit 1
17704 @endif recode
17706 .PHONY: maybe-clean-recode clean-recode
17707 maybe-clean-recode:
17708 @if recode
17709 maybe-clean-recode: clean-recode
17711 clean-recode:
17712 @[ -f ./recode/Makefile ] || exit 0; \
17713 r=`${PWD_COMMAND}`; export r; \
17714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17715 $(SET_LIB_PATH) \
17716 $(HOST_EXPORTS) \
17717 for flag in $(EXTRA_HOST_FLAGS) ; do \
17718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17719 done; \
17720 echo "Doing clean in recode" ; \
17721 (cd $(HOST_SUBDIR)/recode && \
17722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17724 "RANLIB=$${RANLIB}" \
17725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17726 clean) \
17727 || exit 1
17729 @endif recode
17731 .PHONY: maybe-distclean-recode distclean-recode
17732 maybe-distclean-recode:
17733 @if recode
17734 maybe-distclean-recode: distclean-recode
17736 distclean-recode:
17737 @[ -f ./recode/Makefile ] || exit 0; \
17738 r=`${PWD_COMMAND}`; export r; \
17739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17740 $(SET_LIB_PATH) \
17741 $(HOST_EXPORTS) \
17742 for flag in $(EXTRA_HOST_FLAGS) ; do \
17743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17744 done; \
17745 echo "Doing distclean in recode" ; \
17746 (cd $(HOST_SUBDIR)/recode && \
17747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17749 "RANLIB=$${RANLIB}" \
17750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17751 distclean) \
17752 || exit 1
17754 @endif recode
17756 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
17757 maybe-maintainer-clean-recode:
17758 @if recode
17759 maybe-maintainer-clean-recode: maintainer-clean-recode
17761 maintainer-clean-recode:
17762 @[ -f ./recode/Makefile ] || exit 0; \
17763 r=`${PWD_COMMAND}`; export r; \
17764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17765 $(SET_LIB_PATH) \
17766 $(HOST_EXPORTS) \
17767 for flag in $(EXTRA_HOST_FLAGS) ; do \
17768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17769 done; \
17770 echo "Doing maintainer-clean in recode" ; \
17771 (cd $(HOST_SUBDIR)/recode && \
17772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17774 "RANLIB=$${RANLIB}" \
17775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17776 maintainer-clean) \
17777 || exit 1
17779 @endif recode
17782 .PHONY: configure-sed maybe-configure-sed
17783 maybe-configure-sed:
17784 @if sed
17785 maybe-configure-sed: configure-sed
17786 configure-sed:
17787 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
17788 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
17789 r=`${PWD_COMMAND}`; export r; \
17790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17791 $(HOST_EXPORTS) \
17792 echo Configuring in sed; \
17793 cd $(HOST_SUBDIR)/sed || exit 1; \
17794 case $(srcdir) in \
17795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17796 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
17797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17798 esac; \
17799 srcdiroption="--srcdir=$${topdir}/sed"; \
17800 libsrcdir="$$s/sed"; \
17801 $(SHELL) $${libsrcdir}/configure \
17802 $(HOST_CONFIGARGS) $${srcdiroption} \
17803 || exit 1
17804 @endif sed
17806 .PHONY: all-sed maybe-all-sed
17807 maybe-all-sed:
17808 @if sed
17809 TARGET-sed=all
17810 maybe-all-sed: all-sed
17811 all-sed: configure-sed
17812 @r=`${PWD_COMMAND}`; export r; \
17813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17814 $(SET_LIB_PATH) \
17815 $(HOST_EXPORTS) \
17816 (cd $(HOST_SUBDIR)/sed && \
17817 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
17818 @endif sed
17820 .PHONY: check-sed maybe-check-sed
17821 maybe-check-sed:
17822 @if sed
17823 maybe-check-sed: check-sed
17825 check-sed:
17826 @r=`${PWD_COMMAND}`; export r; \
17827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17828 $(SET_LIB_PATH) \
17829 $(HOST_EXPORTS) \
17830 (cd $(HOST_SUBDIR)/sed && \
17831 $(MAKE) $(FLAGS_TO_PASS) check)
17833 @endif sed
17835 .PHONY: install-sed maybe-install-sed
17836 maybe-install-sed:
17837 @if sed
17838 maybe-install-sed: install-sed
17840 install-sed: installdirs
17841 @r=`${PWD_COMMAND}`; export r; \
17842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17843 $(SET_LIB_PATH) \
17844 $(HOST_EXPORTS) \
17845 (cd $(HOST_SUBDIR)/sed && \
17846 $(MAKE) $(FLAGS_TO_PASS) install)
17848 @endif sed
17850 # Other targets (info, dvi, etc.)
17852 .PHONY: maybe-info-sed info-sed
17853 maybe-info-sed:
17854 @if sed
17855 maybe-info-sed: info-sed
17857 info-sed: \
17858 configure-sed
17859 @[ -f ./sed/Makefile ] || exit 0; \
17860 r=`${PWD_COMMAND}`; export r; \
17861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17862 $(SET_LIB_PATH) \
17863 $(HOST_EXPORTS) \
17864 for flag in $(EXTRA_HOST_FLAGS) ; do \
17865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17866 done; \
17867 echo "Doing info in sed" ; \
17868 (cd $(HOST_SUBDIR)/sed && \
17869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17871 "RANLIB=$${RANLIB}" \
17872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17873 info) \
17874 || exit 1
17876 @endif sed
17878 .PHONY: maybe-dvi-sed dvi-sed
17879 maybe-dvi-sed:
17880 @if sed
17881 maybe-dvi-sed: dvi-sed
17883 dvi-sed: \
17884 configure-sed
17885 @[ -f ./sed/Makefile ] || exit 0; \
17886 r=`${PWD_COMMAND}`; export r; \
17887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17888 $(SET_LIB_PATH) \
17889 $(HOST_EXPORTS) \
17890 for flag in $(EXTRA_HOST_FLAGS) ; do \
17891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17892 done; \
17893 echo "Doing dvi in sed" ; \
17894 (cd $(HOST_SUBDIR)/sed && \
17895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17897 "RANLIB=$${RANLIB}" \
17898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17899 dvi) \
17900 || exit 1
17902 @endif sed
17904 .PHONY: maybe-html-sed html-sed
17905 maybe-html-sed:
17906 @if sed
17907 maybe-html-sed: html-sed
17909 html-sed: \
17910 configure-sed
17911 @[ -f ./sed/Makefile ] || exit 0; \
17912 r=`${PWD_COMMAND}`; export r; \
17913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17914 $(SET_LIB_PATH) \
17915 $(HOST_EXPORTS) \
17916 for flag in $(EXTRA_HOST_FLAGS) ; do \
17917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17918 done; \
17919 echo "Doing html in sed" ; \
17920 (cd $(HOST_SUBDIR)/sed && \
17921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17923 "RANLIB=$${RANLIB}" \
17924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17925 html) \
17926 || exit 1
17928 @endif sed
17930 .PHONY: maybe-TAGS-sed TAGS-sed
17931 maybe-TAGS-sed:
17932 @if sed
17933 maybe-TAGS-sed: TAGS-sed
17935 TAGS-sed: \
17936 configure-sed
17937 @[ -f ./sed/Makefile ] || exit 0; \
17938 r=`${PWD_COMMAND}`; export r; \
17939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17940 $(SET_LIB_PATH) \
17941 $(HOST_EXPORTS) \
17942 for flag in $(EXTRA_HOST_FLAGS) ; do \
17943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17944 done; \
17945 echo "Doing TAGS in sed" ; \
17946 (cd $(HOST_SUBDIR)/sed && \
17947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17949 "RANLIB=$${RANLIB}" \
17950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17951 TAGS) \
17952 || exit 1
17954 @endif sed
17956 .PHONY: maybe-install-info-sed install-info-sed
17957 maybe-install-info-sed:
17958 @if sed
17959 maybe-install-info-sed: install-info-sed
17961 install-info-sed: \
17962 configure-sed \
17963 info-sed
17964 @[ -f ./sed/Makefile ] || exit 0; \
17965 r=`${PWD_COMMAND}`; export r; \
17966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17967 $(SET_LIB_PATH) \
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 install-info in sed" ; \
17973 (cd $(HOST_SUBDIR)/sed && \
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 install-info) \
17979 || exit 1
17981 @endif sed
17983 .PHONY: maybe-installcheck-sed installcheck-sed
17984 maybe-installcheck-sed:
17985 @if sed
17986 maybe-installcheck-sed: installcheck-sed
17988 installcheck-sed: \
17989 configure-sed
17990 @[ -f ./sed/Makefile ] || exit 0; \
17991 r=`${PWD_COMMAND}`; export r; \
17992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17993 $(SET_LIB_PATH) \
17994 $(HOST_EXPORTS) \
17995 for flag in $(EXTRA_HOST_FLAGS) ; do \
17996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17997 done; \
17998 echo "Doing installcheck in sed" ; \
17999 (cd $(HOST_SUBDIR)/sed && \
18000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18002 "RANLIB=$${RANLIB}" \
18003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18004 installcheck) \
18005 || exit 1
18007 @endif sed
18009 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
18010 maybe-mostlyclean-sed:
18011 @if sed
18012 maybe-mostlyclean-sed: mostlyclean-sed
18014 mostlyclean-sed:
18015 @[ -f ./sed/Makefile ] || exit 0; \
18016 r=`${PWD_COMMAND}`; export r; \
18017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18018 $(SET_LIB_PATH) \
18019 $(HOST_EXPORTS) \
18020 for flag in $(EXTRA_HOST_FLAGS) ; do \
18021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18022 done; \
18023 echo "Doing mostlyclean in sed" ; \
18024 (cd $(HOST_SUBDIR)/sed && \
18025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18027 "RANLIB=$${RANLIB}" \
18028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18029 mostlyclean) \
18030 || exit 1
18032 @endif sed
18034 .PHONY: maybe-clean-sed clean-sed
18035 maybe-clean-sed:
18036 @if sed
18037 maybe-clean-sed: clean-sed
18039 clean-sed:
18040 @[ -f ./sed/Makefile ] || exit 0; \
18041 r=`${PWD_COMMAND}`; export r; \
18042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18043 $(SET_LIB_PATH) \
18044 $(HOST_EXPORTS) \
18045 for flag in $(EXTRA_HOST_FLAGS) ; do \
18046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18047 done; \
18048 echo "Doing clean in sed" ; \
18049 (cd $(HOST_SUBDIR)/sed && \
18050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18052 "RANLIB=$${RANLIB}" \
18053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18054 clean) \
18055 || exit 1
18057 @endif sed
18059 .PHONY: maybe-distclean-sed distclean-sed
18060 maybe-distclean-sed:
18061 @if sed
18062 maybe-distclean-sed: distclean-sed
18064 distclean-sed:
18065 @[ -f ./sed/Makefile ] || exit 0; \
18066 r=`${PWD_COMMAND}`; export r; \
18067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18068 $(SET_LIB_PATH) \
18069 $(HOST_EXPORTS) \
18070 for flag in $(EXTRA_HOST_FLAGS) ; do \
18071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18072 done; \
18073 echo "Doing distclean in sed" ; \
18074 (cd $(HOST_SUBDIR)/sed && \
18075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18077 "RANLIB=$${RANLIB}" \
18078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18079 distclean) \
18080 || exit 1
18082 @endif sed
18084 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
18085 maybe-maintainer-clean-sed:
18086 @if sed
18087 maybe-maintainer-clean-sed: maintainer-clean-sed
18089 maintainer-clean-sed:
18090 @[ -f ./sed/Makefile ] || exit 0; \
18091 r=`${PWD_COMMAND}`; export r; \
18092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18093 $(SET_LIB_PATH) \
18094 $(HOST_EXPORTS) \
18095 for flag in $(EXTRA_HOST_FLAGS) ; do \
18096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18097 done; \
18098 echo "Doing maintainer-clean in sed" ; \
18099 (cd $(HOST_SUBDIR)/sed && \
18100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18102 "RANLIB=$${RANLIB}" \
18103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18104 maintainer-clean) \
18105 || exit 1
18107 @endif sed
18110 .PHONY: configure-send-pr maybe-configure-send-pr
18111 maybe-configure-send-pr:
18112 @if send-pr
18113 maybe-configure-send-pr: configure-send-pr
18114 configure-send-pr:
18115 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
18116 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
18117 r=`${PWD_COMMAND}`; export r; \
18118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18119 $(HOST_EXPORTS) \
18120 echo Configuring in send-pr; \
18121 cd $(HOST_SUBDIR)/send-pr || exit 1; \
18122 case $(srcdir) in \
18123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18124 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
18125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18126 esac; \
18127 srcdiroption="--srcdir=$${topdir}/send-pr"; \
18128 libsrcdir="$$s/send-pr"; \
18129 $(SHELL) $${libsrcdir}/configure \
18130 $(HOST_CONFIGARGS) $${srcdiroption} \
18131 || exit 1
18132 @endif send-pr
18134 .PHONY: all-send-pr maybe-all-send-pr
18135 maybe-all-send-pr:
18136 @if send-pr
18137 TARGET-send-pr=all
18138 maybe-all-send-pr: all-send-pr
18139 all-send-pr: configure-send-pr
18140 @r=`${PWD_COMMAND}`; export r; \
18141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18142 $(SET_LIB_PATH) \
18143 $(HOST_EXPORTS) \
18144 (cd $(HOST_SUBDIR)/send-pr && \
18145 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
18146 @endif send-pr
18148 .PHONY: check-send-pr maybe-check-send-pr
18149 maybe-check-send-pr:
18150 @if send-pr
18151 maybe-check-send-pr: check-send-pr
18153 check-send-pr:
18154 @r=`${PWD_COMMAND}`; export r; \
18155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18156 $(SET_LIB_PATH) \
18157 $(HOST_EXPORTS) \
18158 (cd $(HOST_SUBDIR)/send-pr && \
18159 $(MAKE) $(FLAGS_TO_PASS) check)
18161 @endif send-pr
18163 .PHONY: install-send-pr maybe-install-send-pr
18164 maybe-install-send-pr:
18165 @if send-pr
18166 maybe-install-send-pr: install-send-pr
18168 install-send-pr: installdirs
18169 @r=`${PWD_COMMAND}`; export r; \
18170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18171 $(SET_LIB_PATH) \
18172 $(HOST_EXPORTS) \
18173 (cd $(HOST_SUBDIR)/send-pr && \
18174 $(MAKE) $(FLAGS_TO_PASS) install)
18176 @endif send-pr
18178 # Other targets (info, dvi, etc.)
18180 .PHONY: maybe-info-send-pr info-send-pr
18181 maybe-info-send-pr:
18182 @if send-pr
18183 maybe-info-send-pr: info-send-pr
18185 info-send-pr: \
18186 configure-send-pr
18187 @[ -f ./send-pr/Makefile ] || exit 0; \
18188 r=`${PWD_COMMAND}`; export r; \
18189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18190 $(SET_LIB_PATH) \
18191 $(HOST_EXPORTS) \
18192 for flag in $(EXTRA_HOST_FLAGS) ; do \
18193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18194 done; \
18195 echo "Doing info in send-pr" ; \
18196 (cd $(HOST_SUBDIR)/send-pr && \
18197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18199 "RANLIB=$${RANLIB}" \
18200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18201 info) \
18202 || exit 1
18204 @endif send-pr
18206 .PHONY: maybe-dvi-send-pr dvi-send-pr
18207 maybe-dvi-send-pr:
18208 @if send-pr
18209 maybe-dvi-send-pr: dvi-send-pr
18211 dvi-send-pr: \
18212 configure-send-pr
18213 @[ -f ./send-pr/Makefile ] || exit 0; \
18214 r=`${PWD_COMMAND}`; export r; \
18215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18216 $(SET_LIB_PATH) \
18217 $(HOST_EXPORTS) \
18218 for flag in $(EXTRA_HOST_FLAGS) ; do \
18219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18220 done; \
18221 echo "Doing dvi in send-pr" ; \
18222 (cd $(HOST_SUBDIR)/send-pr && \
18223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18225 "RANLIB=$${RANLIB}" \
18226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18227 dvi) \
18228 || exit 1
18230 @endif send-pr
18232 .PHONY: maybe-html-send-pr html-send-pr
18233 maybe-html-send-pr:
18234 @if send-pr
18235 maybe-html-send-pr: html-send-pr
18237 html-send-pr: \
18238 configure-send-pr
18239 @[ -f ./send-pr/Makefile ] || exit 0; \
18240 r=`${PWD_COMMAND}`; export r; \
18241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18242 $(SET_LIB_PATH) \
18243 $(HOST_EXPORTS) \
18244 for flag in $(EXTRA_HOST_FLAGS) ; do \
18245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18246 done; \
18247 echo "Doing html in send-pr" ; \
18248 (cd $(HOST_SUBDIR)/send-pr && \
18249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18251 "RANLIB=$${RANLIB}" \
18252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18253 html) \
18254 || exit 1
18256 @endif send-pr
18258 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
18259 maybe-TAGS-send-pr:
18260 @if send-pr
18261 maybe-TAGS-send-pr: TAGS-send-pr
18263 TAGS-send-pr: \
18264 configure-send-pr
18265 @[ -f ./send-pr/Makefile ] || exit 0; \
18266 r=`${PWD_COMMAND}`; export r; \
18267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18268 $(SET_LIB_PATH) \
18269 $(HOST_EXPORTS) \
18270 for flag in $(EXTRA_HOST_FLAGS) ; do \
18271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18272 done; \
18273 echo "Doing TAGS in send-pr" ; \
18274 (cd $(HOST_SUBDIR)/send-pr && \
18275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18277 "RANLIB=$${RANLIB}" \
18278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18279 TAGS) \
18280 || exit 1
18282 @endif send-pr
18284 .PHONY: maybe-install-info-send-pr install-info-send-pr
18285 maybe-install-info-send-pr:
18286 @if send-pr
18287 maybe-install-info-send-pr: install-info-send-pr
18289 install-info-send-pr: \
18290 configure-send-pr \
18291 info-send-pr
18292 @[ -f ./send-pr/Makefile ] || exit 0; \
18293 r=`${PWD_COMMAND}`; export r; \
18294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18295 $(SET_LIB_PATH) \
18296 $(HOST_EXPORTS) \
18297 for flag in $(EXTRA_HOST_FLAGS) ; do \
18298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18299 done; \
18300 echo "Doing install-info in send-pr" ; \
18301 (cd $(HOST_SUBDIR)/send-pr && \
18302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18304 "RANLIB=$${RANLIB}" \
18305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18306 install-info) \
18307 || exit 1
18309 @endif send-pr
18311 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
18312 maybe-installcheck-send-pr:
18313 @if send-pr
18314 maybe-installcheck-send-pr: installcheck-send-pr
18316 installcheck-send-pr: \
18317 configure-send-pr
18318 @[ -f ./send-pr/Makefile ] || exit 0; \
18319 r=`${PWD_COMMAND}`; export r; \
18320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18321 $(SET_LIB_PATH) \
18322 $(HOST_EXPORTS) \
18323 for flag in $(EXTRA_HOST_FLAGS) ; do \
18324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18325 done; \
18326 echo "Doing installcheck in send-pr" ; \
18327 (cd $(HOST_SUBDIR)/send-pr && \
18328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18330 "RANLIB=$${RANLIB}" \
18331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18332 installcheck) \
18333 || exit 1
18335 @endif send-pr
18337 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
18338 maybe-mostlyclean-send-pr:
18339 @if send-pr
18340 maybe-mostlyclean-send-pr: mostlyclean-send-pr
18342 mostlyclean-send-pr:
18343 @[ -f ./send-pr/Makefile ] || exit 0; \
18344 r=`${PWD_COMMAND}`; export r; \
18345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18346 $(SET_LIB_PATH) \
18347 $(HOST_EXPORTS) \
18348 for flag in $(EXTRA_HOST_FLAGS) ; do \
18349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18350 done; \
18351 echo "Doing mostlyclean in send-pr" ; \
18352 (cd $(HOST_SUBDIR)/send-pr && \
18353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18355 "RANLIB=$${RANLIB}" \
18356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18357 mostlyclean) \
18358 || exit 1
18360 @endif send-pr
18362 .PHONY: maybe-clean-send-pr clean-send-pr
18363 maybe-clean-send-pr:
18364 @if send-pr
18365 maybe-clean-send-pr: clean-send-pr
18367 clean-send-pr:
18368 @[ -f ./send-pr/Makefile ] || exit 0; \
18369 r=`${PWD_COMMAND}`; export r; \
18370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18371 $(SET_LIB_PATH) \
18372 $(HOST_EXPORTS) \
18373 for flag in $(EXTRA_HOST_FLAGS) ; do \
18374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18375 done; \
18376 echo "Doing clean in send-pr" ; \
18377 (cd $(HOST_SUBDIR)/send-pr && \
18378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18380 "RANLIB=$${RANLIB}" \
18381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18382 clean) \
18383 || exit 1
18385 @endif send-pr
18387 .PHONY: maybe-distclean-send-pr distclean-send-pr
18388 maybe-distclean-send-pr:
18389 @if send-pr
18390 maybe-distclean-send-pr: distclean-send-pr
18392 distclean-send-pr:
18393 @[ -f ./send-pr/Makefile ] || exit 0; \
18394 r=`${PWD_COMMAND}`; export r; \
18395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18396 $(SET_LIB_PATH) \
18397 $(HOST_EXPORTS) \
18398 for flag in $(EXTRA_HOST_FLAGS) ; do \
18399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18400 done; \
18401 echo "Doing distclean in send-pr" ; \
18402 (cd $(HOST_SUBDIR)/send-pr && \
18403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18405 "RANLIB=$${RANLIB}" \
18406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18407 distclean) \
18408 || exit 1
18410 @endif send-pr
18412 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
18413 maybe-maintainer-clean-send-pr:
18414 @if send-pr
18415 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
18417 maintainer-clean-send-pr:
18418 @[ -f ./send-pr/Makefile ] || exit 0; \
18419 r=`${PWD_COMMAND}`; export r; \
18420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18421 $(SET_LIB_PATH) \
18422 $(HOST_EXPORTS) \
18423 for flag in $(EXTRA_HOST_FLAGS) ; do \
18424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18425 done; \
18426 echo "Doing maintainer-clean in send-pr" ; \
18427 (cd $(HOST_SUBDIR)/send-pr && \
18428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18430 "RANLIB=$${RANLIB}" \
18431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18432 maintainer-clean) \
18433 || exit 1
18435 @endif send-pr
18438 .PHONY: configure-shellutils maybe-configure-shellutils
18439 maybe-configure-shellutils:
18440 @if shellutils
18441 maybe-configure-shellutils: configure-shellutils
18442 configure-shellutils:
18443 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
18444 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
18445 r=`${PWD_COMMAND}`; export r; \
18446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18447 $(HOST_EXPORTS) \
18448 echo Configuring in shellutils; \
18449 cd $(HOST_SUBDIR)/shellutils || exit 1; \
18450 case $(srcdir) in \
18451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18452 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
18453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18454 esac; \
18455 srcdiroption="--srcdir=$${topdir}/shellutils"; \
18456 libsrcdir="$$s/shellutils"; \
18457 $(SHELL) $${libsrcdir}/configure \
18458 $(HOST_CONFIGARGS) $${srcdiroption} \
18459 || exit 1
18460 @endif shellutils
18462 .PHONY: all-shellutils maybe-all-shellutils
18463 maybe-all-shellutils:
18464 @if shellutils
18465 TARGET-shellutils=all
18466 maybe-all-shellutils: all-shellutils
18467 all-shellutils: configure-shellutils
18468 @r=`${PWD_COMMAND}`; export r; \
18469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18470 $(SET_LIB_PATH) \
18471 $(HOST_EXPORTS) \
18472 (cd $(HOST_SUBDIR)/shellutils && \
18473 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
18474 @endif shellutils
18476 .PHONY: check-shellutils maybe-check-shellutils
18477 maybe-check-shellutils:
18478 @if shellutils
18479 maybe-check-shellutils: check-shellutils
18481 check-shellutils:
18482 @r=`${PWD_COMMAND}`; export r; \
18483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18484 $(SET_LIB_PATH) \
18485 $(HOST_EXPORTS) \
18486 (cd $(HOST_SUBDIR)/shellutils && \
18487 $(MAKE) $(FLAGS_TO_PASS) check)
18489 @endif shellutils
18491 .PHONY: install-shellutils maybe-install-shellutils
18492 maybe-install-shellutils:
18493 @if shellutils
18494 maybe-install-shellutils: install-shellutils
18496 install-shellutils: installdirs
18497 @r=`${PWD_COMMAND}`; export r; \
18498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18499 $(SET_LIB_PATH) \
18500 $(HOST_EXPORTS) \
18501 (cd $(HOST_SUBDIR)/shellutils && \
18502 $(MAKE) $(FLAGS_TO_PASS) install)
18504 @endif shellutils
18506 # Other targets (info, dvi, etc.)
18508 .PHONY: maybe-info-shellutils info-shellutils
18509 maybe-info-shellutils:
18510 @if shellutils
18511 maybe-info-shellutils: info-shellutils
18513 info-shellutils: \
18514 configure-shellutils
18515 @[ -f ./shellutils/Makefile ] || exit 0; \
18516 r=`${PWD_COMMAND}`; export r; \
18517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18518 $(SET_LIB_PATH) \
18519 $(HOST_EXPORTS) \
18520 for flag in $(EXTRA_HOST_FLAGS) ; do \
18521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18522 done; \
18523 echo "Doing info in shellutils" ; \
18524 (cd $(HOST_SUBDIR)/shellutils && \
18525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18527 "RANLIB=$${RANLIB}" \
18528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18529 info) \
18530 || exit 1
18532 @endif shellutils
18534 .PHONY: maybe-dvi-shellutils dvi-shellutils
18535 maybe-dvi-shellutils:
18536 @if shellutils
18537 maybe-dvi-shellutils: dvi-shellutils
18539 dvi-shellutils: \
18540 configure-shellutils
18541 @[ -f ./shellutils/Makefile ] || exit 0; \
18542 r=`${PWD_COMMAND}`; export r; \
18543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18544 $(SET_LIB_PATH) \
18545 $(HOST_EXPORTS) \
18546 for flag in $(EXTRA_HOST_FLAGS) ; do \
18547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18548 done; \
18549 echo "Doing dvi in shellutils" ; \
18550 (cd $(HOST_SUBDIR)/shellutils && \
18551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18553 "RANLIB=$${RANLIB}" \
18554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18555 dvi) \
18556 || exit 1
18558 @endif shellutils
18560 .PHONY: maybe-html-shellutils html-shellutils
18561 maybe-html-shellutils:
18562 @if shellutils
18563 maybe-html-shellutils: html-shellutils
18565 html-shellutils: \
18566 configure-shellutils
18567 @[ -f ./shellutils/Makefile ] || exit 0; \
18568 r=`${PWD_COMMAND}`; export r; \
18569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18570 $(SET_LIB_PATH) \
18571 $(HOST_EXPORTS) \
18572 for flag in $(EXTRA_HOST_FLAGS) ; do \
18573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18574 done; \
18575 echo "Doing html in shellutils" ; \
18576 (cd $(HOST_SUBDIR)/shellutils && \
18577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18579 "RANLIB=$${RANLIB}" \
18580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18581 html) \
18582 || exit 1
18584 @endif shellutils
18586 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
18587 maybe-TAGS-shellutils:
18588 @if shellutils
18589 maybe-TAGS-shellutils: TAGS-shellutils
18591 TAGS-shellutils: \
18592 configure-shellutils
18593 @[ -f ./shellutils/Makefile ] || exit 0; \
18594 r=`${PWD_COMMAND}`; export r; \
18595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18596 $(SET_LIB_PATH) \
18597 $(HOST_EXPORTS) \
18598 for flag in $(EXTRA_HOST_FLAGS) ; do \
18599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18600 done; \
18601 echo "Doing TAGS in shellutils" ; \
18602 (cd $(HOST_SUBDIR)/shellutils && \
18603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18605 "RANLIB=$${RANLIB}" \
18606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18607 TAGS) \
18608 || exit 1
18610 @endif shellutils
18612 .PHONY: maybe-install-info-shellutils install-info-shellutils
18613 maybe-install-info-shellutils:
18614 @if shellutils
18615 maybe-install-info-shellutils: install-info-shellutils
18617 install-info-shellutils: \
18618 configure-shellutils \
18619 info-shellutils
18620 @[ -f ./shellutils/Makefile ] || exit 0; \
18621 r=`${PWD_COMMAND}`; export r; \
18622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18623 $(SET_LIB_PATH) \
18624 $(HOST_EXPORTS) \
18625 for flag in $(EXTRA_HOST_FLAGS) ; do \
18626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18627 done; \
18628 echo "Doing install-info in shellutils" ; \
18629 (cd $(HOST_SUBDIR)/shellutils && \
18630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18632 "RANLIB=$${RANLIB}" \
18633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18634 install-info) \
18635 || exit 1
18637 @endif shellutils
18639 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
18640 maybe-installcheck-shellutils:
18641 @if shellutils
18642 maybe-installcheck-shellutils: installcheck-shellutils
18644 installcheck-shellutils: \
18645 configure-shellutils
18646 @[ -f ./shellutils/Makefile ] || exit 0; \
18647 r=`${PWD_COMMAND}`; export r; \
18648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18649 $(SET_LIB_PATH) \
18650 $(HOST_EXPORTS) \
18651 for flag in $(EXTRA_HOST_FLAGS) ; do \
18652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18653 done; \
18654 echo "Doing installcheck in shellutils" ; \
18655 (cd $(HOST_SUBDIR)/shellutils && \
18656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18658 "RANLIB=$${RANLIB}" \
18659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18660 installcheck) \
18661 || exit 1
18663 @endif shellutils
18665 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
18666 maybe-mostlyclean-shellutils:
18667 @if shellutils
18668 maybe-mostlyclean-shellutils: mostlyclean-shellutils
18670 mostlyclean-shellutils:
18671 @[ -f ./shellutils/Makefile ] || exit 0; \
18672 r=`${PWD_COMMAND}`; export r; \
18673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18674 $(SET_LIB_PATH) \
18675 $(HOST_EXPORTS) \
18676 for flag in $(EXTRA_HOST_FLAGS) ; do \
18677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18678 done; \
18679 echo "Doing mostlyclean in shellutils" ; \
18680 (cd $(HOST_SUBDIR)/shellutils && \
18681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18683 "RANLIB=$${RANLIB}" \
18684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18685 mostlyclean) \
18686 || exit 1
18688 @endif shellutils
18690 .PHONY: maybe-clean-shellutils clean-shellutils
18691 maybe-clean-shellutils:
18692 @if shellutils
18693 maybe-clean-shellutils: clean-shellutils
18695 clean-shellutils:
18696 @[ -f ./shellutils/Makefile ] || exit 0; \
18697 r=`${PWD_COMMAND}`; export r; \
18698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18699 $(SET_LIB_PATH) \
18700 $(HOST_EXPORTS) \
18701 for flag in $(EXTRA_HOST_FLAGS) ; do \
18702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18703 done; \
18704 echo "Doing clean in shellutils" ; \
18705 (cd $(HOST_SUBDIR)/shellutils && \
18706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18708 "RANLIB=$${RANLIB}" \
18709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18710 clean) \
18711 || exit 1
18713 @endif shellutils
18715 .PHONY: maybe-distclean-shellutils distclean-shellutils
18716 maybe-distclean-shellutils:
18717 @if shellutils
18718 maybe-distclean-shellutils: distclean-shellutils
18720 distclean-shellutils:
18721 @[ -f ./shellutils/Makefile ] || exit 0; \
18722 r=`${PWD_COMMAND}`; export r; \
18723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18724 $(SET_LIB_PATH) \
18725 $(HOST_EXPORTS) \
18726 for flag in $(EXTRA_HOST_FLAGS) ; do \
18727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18728 done; \
18729 echo "Doing distclean in shellutils" ; \
18730 (cd $(HOST_SUBDIR)/shellutils && \
18731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18733 "RANLIB=$${RANLIB}" \
18734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18735 distclean) \
18736 || exit 1
18738 @endif shellutils
18740 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
18741 maybe-maintainer-clean-shellutils:
18742 @if shellutils
18743 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
18745 maintainer-clean-shellutils:
18746 @[ -f ./shellutils/Makefile ] || exit 0; \
18747 r=`${PWD_COMMAND}`; export r; \
18748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18749 $(SET_LIB_PATH) \
18750 $(HOST_EXPORTS) \
18751 for flag in $(EXTRA_HOST_FLAGS) ; do \
18752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18753 done; \
18754 echo "Doing maintainer-clean in shellutils" ; \
18755 (cd $(HOST_SUBDIR)/shellutils && \
18756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18758 "RANLIB=$${RANLIB}" \
18759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18760 maintainer-clean) \
18761 || exit 1
18763 @endif shellutils
18766 .PHONY: configure-sid maybe-configure-sid
18767 maybe-configure-sid:
18768 @if sid
18769 maybe-configure-sid: configure-sid
18770 configure-sid:
18771 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
18772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
18773 r=`${PWD_COMMAND}`; export r; \
18774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18775 $(HOST_EXPORTS) \
18776 echo Configuring in sid; \
18777 cd $(HOST_SUBDIR)/sid || exit 1; \
18778 case $(srcdir) in \
18779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18780 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
18781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18782 esac; \
18783 srcdiroption="--srcdir=$${topdir}/sid"; \
18784 libsrcdir="$$s/sid"; \
18785 $(SHELL) $${libsrcdir}/configure \
18786 $(HOST_CONFIGARGS) $${srcdiroption} \
18787 || exit 1
18788 @endif sid
18790 .PHONY: all-sid maybe-all-sid
18791 maybe-all-sid:
18792 @if sid
18793 TARGET-sid=all
18794 maybe-all-sid: all-sid
18795 all-sid: configure-sid
18796 @r=`${PWD_COMMAND}`; export r; \
18797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18798 $(SET_LIB_PATH) \
18799 $(HOST_EXPORTS) \
18800 (cd $(HOST_SUBDIR)/sid && \
18801 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
18802 @endif sid
18804 .PHONY: check-sid maybe-check-sid
18805 maybe-check-sid:
18806 @if sid
18807 maybe-check-sid: check-sid
18809 check-sid:
18810 @r=`${PWD_COMMAND}`; export r; \
18811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18812 $(SET_LIB_PATH) \
18813 $(HOST_EXPORTS) \
18814 (cd $(HOST_SUBDIR)/sid && \
18815 $(MAKE) $(FLAGS_TO_PASS) check)
18817 @endif sid
18819 .PHONY: install-sid maybe-install-sid
18820 maybe-install-sid:
18821 @if sid
18822 maybe-install-sid: install-sid
18824 install-sid: installdirs
18825 @r=`${PWD_COMMAND}`; export r; \
18826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18827 $(SET_LIB_PATH) \
18828 $(HOST_EXPORTS) \
18829 (cd $(HOST_SUBDIR)/sid && \
18830 $(MAKE) $(FLAGS_TO_PASS) install)
18832 @endif sid
18834 # Other targets (info, dvi, etc.)
18836 .PHONY: maybe-info-sid info-sid
18837 maybe-info-sid:
18838 @if sid
18839 maybe-info-sid: info-sid
18841 info-sid: \
18842 configure-sid
18843 @[ -f ./sid/Makefile ] || exit 0; \
18844 r=`${PWD_COMMAND}`; export r; \
18845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18846 $(SET_LIB_PATH) \
18847 $(HOST_EXPORTS) \
18848 for flag in $(EXTRA_HOST_FLAGS) ; do \
18849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18850 done; \
18851 echo "Doing info in sid" ; \
18852 (cd $(HOST_SUBDIR)/sid && \
18853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18855 "RANLIB=$${RANLIB}" \
18856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18857 info) \
18858 || exit 1
18860 @endif sid
18862 .PHONY: maybe-dvi-sid dvi-sid
18863 maybe-dvi-sid:
18864 @if sid
18865 maybe-dvi-sid: dvi-sid
18867 dvi-sid: \
18868 configure-sid
18869 @[ -f ./sid/Makefile ] || exit 0; \
18870 r=`${PWD_COMMAND}`; export r; \
18871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18872 $(SET_LIB_PATH) \
18873 $(HOST_EXPORTS) \
18874 for flag in $(EXTRA_HOST_FLAGS) ; do \
18875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18876 done; \
18877 echo "Doing dvi in sid" ; \
18878 (cd $(HOST_SUBDIR)/sid && \
18879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18881 "RANLIB=$${RANLIB}" \
18882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18883 dvi) \
18884 || exit 1
18886 @endif sid
18888 .PHONY: maybe-html-sid html-sid
18889 maybe-html-sid:
18890 @if sid
18891 maybe-html-sid: html-sid
18893 html-sid: \
18894 configure-sid
18895 @[ -f ./sid/Makefile ] || exit 0; \
18896 r=`${PWD_COMMAND}`; export r; \
18897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18898 $(SET_LIB_PATH) \
18899 $(HOST_EXPORTS) \
18900 for flag in $(EXTRA_HOST_FLAGS) ; do \
18901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18902 done; \
18903 echo "Doing html in sid" ; \
18904 (cd $(HOST_SUBDIR)/sid && \
18905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18907 "RANLIB=$${RANLIB}" \
18908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18909 html) \
18910 || exit 1
18912 @endif sid
18914 .PHONY: maybe-TAGS-sid TAGS-sid
18915 maybe-TAGS-sid:
18916 @if sid
18917 maybe-TAGS-sid: TAGS-sid
18919 TAGS-sid: \
18920 configure-sid
18921 @[ -f ./sid/Makefile ] || exit 0; \
18922 r=`${PWD_COMMAND}`; export r; \
18923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18924 $(SET_LIB_PATH) \
18925 $(HOST_EXPORTS) \
18926 for flag in $(EXTRA_HOST_FLAGS) ; do \
18927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18928 done; \
18929 echo "Doing TAGS in sid" ; \
18930 (cd $(HOST_SUBDIR)/sid && \
18931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18933 "RANLIB=$${RANLIB}" \
18934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18935 TAGS) \
18936 || exit 1
18938 @endif sid
18940 .PHONY: maybe-install-info-sid install-info-sid
18941 maybe-install-info-sid:
18942 @if sid
18943 maybe-install-info-sid: install-info-sid
18945 install-info-sid: \
18946 configure-sid \
18947 info-sid
18948 @[ -f ./sid/Makefile ] || exit 0; \
18949 r=`${PWD_COMMAND}`; export r; \
18950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18951 $(SET_LIB_PATH) \
18952 $(HOST_EXPORTS) \
18953 for flag in $(EXTRA_HOST_FLAGS) ; do \
18954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18955 done; \
18956 echo "Doing install-info in sid" ; \
18957 (cd $(HOST_SUBDIR)/sid && \
18958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18960 "RANLIB=$${RANLIB}" \
18961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18962 install-info) \
18963 || exit 1
18965 @endif sid
18967 .PHONY: maybe-installcheck-sid installcheck-sid
18968 maybe-installcheck-sid:
18969 @if sid
18970 maybe-installcheck-sid: installcheck-sid
18972 installcheck-sid: \
18973 configure-sid
18974 @[ -f ./sid/Makefile ] || exit 0; \
18975 r=`${PWD_COMMAND}`; export r; \
18976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18977 $(SET_LIB_PATH) \
18978 $(HOST_EXPORTS) \
18979 for flag in $(EXTRA_HOST_FLAGS) ; do \
18980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18981 done; \
18982 echo "Doing installcheck in sid" ; \
18983 (cd $(HOST_SUBDIR)/sid && \
18984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18986 "RANLIB=$${RANLIB}" \
18987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18988 installcheck) \
18989 || exit 1
18991 @endif sid
18993 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
18994 maybe-mostlyclean-sid:
18995 @if sid
18996 maybe-mostlyclean-sid: mostlyclean-sid
18998 mostlyclean-sid:
18999 @[ -f ./sid/Makefile ] || exit 0; \
19000 r=`${PWD_COMMAND}`; export r; \
19001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19002 $(SET_LIB_PATH) \
19003 $(HOST_EXPORTS) \
19004 for flag in $(EXTRA_HOST_FLAGS) ; do \
19005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19006 done; \
19007 echo "Doing mostlyclean in sid" ; \
19008 (cd $(HOST_SUBDIR)/sid && \
19009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19011 "RANLIB=$${RANLIB}" \
19012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19013 mostlyclean) \
19014 || exit 1
19016 @endif sid
19018 .PHONY: maybe-clean-sid clean-sid
19019 maybe-clean-sid:
19020 @if sid
19021 maybe-clean-sid: clean-sid
19023 clean-sid:
19024 @[ -f ./sid/Makefile ] || exit 0; \
19025 r=`${PWD_COMMAND}`; export r; \
19026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19027 $(SET_LIB_PATH) \
19028 $(HOST_EXPORTS) \
19029 for flag in $(EXTRA_HOST_FLAGS) ; do \
19030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19031 done; \
19032 echo "Doing clean in sid" ; \
19033 (cd $(HOST_SUBDIR)/sid && \
19034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19036 "RANLIB=$${RANLIB}" \
19037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19038 clean) \
19039 || exit 1
19041 @endif sid
19043 .PHONY: maybe-distclean-sid distclean-sid
19044 maybe-distclean-sid:
19045 @if sid
19046 maybe-distclean-sid: distclean-sid
19048 distclean-sid:
19049 @[ -f ./sid/Makefile ] || exit 0; \
19050 r=`${PWD_COMMAND}`; export r; \
19051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19052 $(SET_LIB_PATH) \
19053 $(HOST_EXPORTS) \
19054 for flag in $(EXTRA_HOST_FLAGS) ; do \
19055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19056 done; \
19057 echo "Doing distclean in sid" ; \
19058 (cd $(HOST_SUBDIR)/sid && \
19059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19061 "RANLIB=$${RANLIB}" \
19062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19063 distclean) \
19064 || exit 1
19066 @endif sid
19068 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
19069 maybe-maintainer-clean-sid:
19070 @if sid
19071 maybe-maintainer-clean-sid: maintainer-clean-sid
19073 maintainer-clean-sid:
19074 @[ -f ./sid/Makefile ] || exit 0; \
19075 r=`${PWD_COMMAND}`; export r; \
19076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19077 $(SET_LIB_PATH) \
19078 $(HOST_EXPORTS) \
19079 for flag in $(EXTRA_HOST_FLAGS) ; do \
19080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19081 done; \
19082 echo "Doing maintainer-clean in sid" ; \
19083 (cd $(HOST_SUBDIR)/sid && \
19084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19086 "RANLIB=$${RANLIB}" \
19087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19088 maintainer-clean) \
19089 || exit 1
19091 @endif sid
19094 .PHONY: configure-sim maybe-configure-sim
19095 maybe-configure-sim:
19096 @if sim
19097 maybe-configure-sim: configure-sim
19098 configure-sim:
19099 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
19100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
19101 r=`${PWD_COMMAND}`; export r; \
19102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19103 $(HOST_EXPORTS) \
19104 echo Configuring in sim; \
19105 cd $(HOST_SUBDIR)/sim || exit 1; \
19106 case $(srcdir) in \
19107 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19108 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
19109 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19110 esac; \
19111 srcdiroption="--srcdir=$${topdir}/sim"; \
19112 libsrcdir="$$s/sim"; \
19113 $(SHELL) $${libsrcdir}/configure \
19114 $(HOST_CONFIGARGS) $${srcdiroption} \
19115 || exit 1
19116 @endif sim
19118 .PHONY: all-sim maybe-all-sim
19119 maybe-all-sim:
19120 @if sim
19121 TARGET-sim=all
19122 maybe-all-sim: all-sim
19123 all-sim: configure-sim
19124 @r=`${PWD_COMMAND}`; export r; \
19125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19126 $(SET_LIB_PATH) \
19127 $(HOST_EXPORTS) \
19128 (cd $(HOST_SUBDIR)/sim && \
19129 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
19130 @endif sim
19132 .PHONY: check-sim maybe-check-sim
19133 maybe-check-sim:
19134 @if sim
19135 maybe-check-sim: check-sim
19137 check-sim:
19138 @r=`${PWD_COMMAND}`; export r; \
19139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19140 $(SET_LIB_PATH) \
19141 $(HOST_EXPORTS) \
19142 (cd $(HOST_SUBDIR)/sim && \
19143 $(MAKE) $(FLAGS_TO_PASS) check)
19145 @endif sim
19147 .PHONY: install-sim maybe-install-sim
19148 maybe-install-sim:
19149 @if sim
19150 maybe-install-sim: install-sim
19152 install-sim: installdirs
19153 @r=`${PWD_COMMAND}`; export r; \
19154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19155 $(SET_LIB_PATH) \
19156 $(HOST_EXPORTS) \
19157 (cd $(HOST_SUBDIR)/sim && \
19158 $(MAKE) $(FLAGS_TO_PASS) install)
19160 @endif sim
19162 # Other targets (info, dvi, etc.)
19164 .PHONY: maybe-info-sim info-sim
19165 maybe-info-sim:
19166 @if sim
19167 maybe-info-sim: info-sim
19169 info-sim: \
19170 configure-sim
19171 @[ -f ./sim/Makefile ] || exit 0; \
19172 r=`${PWD_COMMAND}`; export r; \
19173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19174 $(SET_LIB_PATH) \
19175 $(HOST_EXPORTS) \
19176 for flag in $(EXTRA_HOST_FLAGS) ; do \
19177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19178 done; \
19179 echo "Doing info in sim" ; \
19180 (cd $(HOST_SUBDIR)/sim && \
19181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19183 "RANLIB=$${RANLIB}" \
19184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19185 info) \
19186 || exit 1
19188 @endif sim
19190 .PHONY: maybe-dvi-sim dvi-sim
19191 maybe-dvi-sim:
19192 @if sim
19193 maybe-dvi-sim: dvi-sim
19195 dvi-sim: \
19196 configure-sim
19197 @[ -f ./sim/Makefile ] || exit 0; \
19198 r=`${PWD_COMMAND}`; export r; \
19199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19200 $(SET_LIB_PATH) \
19201 $(HOST_EXPORTS) \
19202 for flag in $(EXTRA_HOST_FLAGS) ; do \
19203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19204 done; \
19205 echo "Doing dvi in sim" ; \
19206 (cd $(HOST_SUBDIR)/sim && \
19207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19209 "RANLIB=$${RANLIB}" \
19210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19211 dvi) \
19212 || exit 1
19214 @endif sim
19216 .PHONY: maybe-html-sim html-sim
19217 maybe-html-sim:
19218 @if sim
19219 maybe-html-sim: html-sim
19221 html-sim: \
19222 configure-sim
19223 @[ -f ./sim/Makefile ] || exit 0; \
19224 r=`${PWD_COMMAND}`; export r; \
19225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19226 $(SET_LIB_PATH) \
19227 $(HOST_EXPORTS) \
19228 for flag in $(EXTRA_HOST_FLAGS) ; do \
19229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19230 done; \
19231 echo "Doing html in sim" ; \
19232 (cd $(HOST_SUBDIR)/sim && \
19233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19235 "RANLIB=$${RANLIB}" \
19236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19237 html) \
19238 || exit 1
19240 @endif sim
19242 .PHONY: maybe-TAGS-sim TAGS-sim
19243 maybe-TAGS-sim:
19244 @if sim
19245 maybe-TAGS-sim: TAGS-sim
19247 TAGS-sim: \
19248 configure-sim
19249 @[ -f ./sim/Makefile ] || exit 0; \
19250 r=`${PWD_COMMAND}`; export r; \
19251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19252 $(SET_LIB_PATH) \
19253 $(HOST_EXPORTS) \
19254 for flag in $(EXTRA_HOST_FLAGS) ; do \
19255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19256 done; \
19257 echo "Doing TAGS in sim" ; \
19258 (cd $(HOST_SUBDIR)/sim && \
19259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19261 "RANLIB=$${RANLIB}" \
19262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19263 TAGS) \
19264 || exit 1
19266 @endif sim
19268 .PHONY: maybe-install-info-sim install-info-sim
19269 maybe-install-info-sim:
19270 @if sim
19271 maybe-install-info-sim: install-info-sim
19273 install-info-sim: \
19274 configure-sim \
19275 info-sim
19276 @[ -f ./sim/Makefile ] || exit 0; \
19277 r=`${PWD_COMMAND}`; export r; \
19278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19279 $(SET_LIB_PATH) \
19280 $(HOST_EXPORTS) \
19281 for flag in $(EXTRA_HOST_FLAGS) ; do \
19282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19283 done; \
19284 echo "Doing install-info in sim" ; \
19285 (cd $(HOST_SUBDIR)/sim && \
19286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19288 "RANLIB=$${RANLIB}" \
19289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19290 install-info) \
19291 || exit 1
19293 @endif sim
19295 .PHONY: maybe-installcheck-sim installcheck-sim
19296 maybe-installcheck-sim:
19297 @if sim
19298 maybe-installcheck-sim: installcheck-sim
19300 installcheck-sim: \
19301 configure-sim
19302 @[ -f ./sim/Makefile ] || exit 0; \
19303 r=`${PWD_COMMAND}`; export r; \
19304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19305 $(SET_LIB_PATH) \
19306 $(HOST_EXPORTS) \
19307 for flag in $(EXTRA_HOST_FLAGS) ; do \
19308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19309 done; \
19310 echo "Doing installcheck in sim" ; \
19311 (cd $(HOST_SUBDIR)/sim && \
19312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19314 "RANLIB=$${RANLIB}" \
19315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19316 installcheck) \
19317 || exit 1
19319 @endif sim
19321 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
19322 maybe-mostlyclean-sim:
19323 @if sim
19324 maybe-mostlyclean-sim: mostlyclean-sim
19326 mostlyclean-sim:
19327 @[ -f ./sim/Makefile ] || exit 0; \
19328 r=`${PWD_COMMAND}`; export r; \
19329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19330 $(SET_LIB_PATH) \
19331 $(HOST_EXPORTS) \
19332 for flag in $(EXTRA_HOST_FLAGS) ; do \
19333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19334 done; \
19335 echo "Doing mostlyclean in sim" ; \
19336 (cd $(HOST_SUBDIR)/sim && \
19337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19339 "RANLIB=$${RANLIB}" \
19340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19341 mostlyclean) \
19342 || exit 1
19344 @endif sim
19346 .PHONY: maybe-clean-sim clean-sim
19347 maybe-clean-sim:
19348 @if sim
19349 maybe-clean-sim: clean-sim
19351 clean-sim:
19352 @[ -f ./sim/Makefile ] || exit 0; \
19353 r=`${PWD_COMMAND}`; export r; \
19354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19355 $(SET_LIB_PATH) \
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 clean in sim" ; \
19361 (cd $(HOST_SUBDIR)/sim && \
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 clean) \
19367 || exit 1
19369 @endif sim
19371 .PHONY: maybe-distclean-sim distclean-sim
19372 maybe-distclean-sim:
19373 @if sim
19374 maybe-distclean-sim: distclean-sim
19376 distclean-sim:
19377 @[ -f ./sim/Makefile ] || exit 0; \
19378 r=`${PWD_COMMAND}`; export r; \
19379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19380 $(SET_LIB_PATH) \
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 distclean in sim" ; \
19386 (cd $(HOST_SUBDIR)/sim && \
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 distclean) \
19392 || exit 1
19394 @endif sim
19396 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
19397 maybe-maintainer-clean-sim:
19398 @if sim
19399 maybe-maintainer-clean-sim: maintainer-clean-sim
19401 maintainer-clean-sim:
19402 @[ -f ./sim/Makefile ] || exit 0; \
19403 r=`${PWD_COMMAND}`; export r; \
19404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19405 $(SET_LIB_PATH) \
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 maintainer-clean in sim" ; \
19411 (cd $(HOST_SUBDIR)/sim && \
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 maintainer-clean) \
19417 || exit 1
19419 @endif sim
19422 .PHONY: configure-tar maybe-configure-tar
19423 maybe-configure-tar:
19424 @if tar
19425 maybe-configure-tar: configure-tar
19426 configure-tar:
19427 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
19428 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
19429 r=`${PWD_COMMAND}`; export r; \
19430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19431 $(HOST_EXPORTS) \
19432 echo Configuring in tar; \
19433 cd $(HOST_SUBDIR)/tar || exit 1; \
19434 case $(srcdir) in \
19435 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19436 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
19437 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19438 esac; \
19439 srcdiroption="--srcdir=$${topdir}/tar"; \
19440 libsrcdir="$$s/tar"; \
19441 $(SHELL) $${libsrcdir}/configure \
19442 $(HOST_CONFIGARGS) $${srcdiroption} \
19443 || exit 1
19444 @endif tar
19446 .PHONY: all-tar maybe-all-tar
19447 maybe-all-tar:
19448 @if tar
19449 TARGET-tar=all
19450 maybe-all-tar: all-tar
19451 all-tar: configure-tar
19452 @r=`${PWD_COMMAND}`; export r; \
19453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19454 $(SET_LIB_PATH) \
19455 $(HOST_EXPORTS) \
19456 (cd $(HOST_SUBDIR)/tar && \
19457 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
19458 @endif tar
19460 .PHONY: check-tar maybe-check-tar
19461 maybe-check-tar:
19462 @if tar
19463 maybe-check-tar: check-tar
19465 check-tar:
19466 @r=`${PWD_COMMAND}`; export r; \
19467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19468 $(SET_LIB_PATH) \
19469 $(HOST_EXPORTS) \
19470 (cd $(HOST_SUBDIR)/tar && \
19471 $(MAKE) $(FLAGS_TO_PASS) check)
19473 @endif tar
19475 .PHONY: install-tar maybe-install-tar
19476 maybe-install-tar:
19477 @if tar
19478 maybe-install-tar: install-tar
19480 install-tar: installdirs
19481 @r=`${PWD_COMMAND}`; export r; \
19482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19483 $(SET_LIB_PATH) \
19484 $(HOST_EXPORTS) \
19485 (cd $(HOST_SUBDIR)/tar && \
19486 $(MAKE) $(FLAGS_TO_PASS) install)
19488 @endif tar
19490 # Other targets (info, dvi, etc.)
19492 .PHONY: maybe-info-tar info-tar
19493 maybe-info-tar:
19494 @if tar
19495 maybe-info-tar: info-tar
19497 info-tar: \
19498 configure-tar
19499 @[ -f ./tar/Makefile ] || exit 0; \
19500 r=`${PWD_COMMAND}`; export r; \
19501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19502 $(SET_LIB_PATH) \
19503 $(HOST_EXPORTS) \
19504 for flag in $(EXTRA_HOST_FLAGS) ; do \
19505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19506 done; \
19507 echo "Doing info in tar" ; \
19508 (cd $(HOST_SUBDIR)/tar && \
19509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19511 "RANLIB=$${RANLIB}" \
19512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19513 info) \
19514 || exit 1
19516 @endif tar
19518 .PHONY: maybe-dvi-tar dvi-tar
19519 maybe-dvi-tar:
19520 @if tar
19521 maybe-dvi-tar: dvi-tar
19523 dvi-tar: \
19524 configure-tar
19525 @[ -f ./tar/Makefile ] || exit 0; \
19526 r=`${PWD_COMMAND}`; export r; \
19527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19528 $(SET_LIB_PATH) \
19529 $(HOST_EXPORTS) \
19530 for flag in $(EXTRA_HOST_FLAGS) ; do \
19531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19532 done; \
19533 echo "Doing dvi in tar" ; \
19534 (cd $(HOST_SUBDIR)/tar && \
19535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19537 "RANLIB=$${RANLIB}" \
19538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19539 dvi) \
19540 || exit 1
19542 @endif tar
19544 .PHONY: maybe-html-tar html-tar
19545 maybe-html-tar:
19546 @if tar
19547 maybe-html-tar: html-tar
19549 html-tar: \
19550 configure-tar
19551 @[ -f ./tar/Makefile ] || exit 0; \
19552 r=`${PWD_COMMAND}`; export r; \
19553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19554 $(SET_LIB_PATH) \
19555 $(HOST_EXPORTS) \
19556 for flag in $(EXTRA_HOST_FLAGS) ; do \
19557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19558 done; \
19559 echo "Doing html in tar" ; \
19560 (cd $(HOST_SUBDIR)/tar && \
19561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19563 "RANLIB=$${RANLIB}" \
19564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19565 html) \
19566 || exit 1
19568 @endif tar
19570 .PHONY: maybe-TAGS-tar TAGS-tar
19571 maybe-TAGS-tar:
19572 @if tar
19573 maybe-TAGS-tar: TAGS-tar
19575 TAGS-tar: \
19576 configure-tar
19577 @[ -f ./tar/Makefile ] || exit 0; \
19578 r=`${PWD_COMMAND}`; export r; \
19579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19580 $(SET_LIB_PATH) \
19581 $(HOST_EXPORTS) \
19582 for flag in $(EXTRA_HOST_FLAGS) ; do \
19583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19584 done; \
19585 echo "Doing TAGS in tar" ; \
19586 (cd $(HOST_SUBDIR)/tar && \
19587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19589 "RANLIB=$${RANLIB}" \
19590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19591 TAGS) \
19592 || exit 1
19594 @endif tar
19596 .PHONY: maybe-install-info-tar install-info-tar
19597 maybe-install-info-tar:
19598 @if tar
19599 maybe-install-info-tar: install-info-tar
19601 install-info-tar: \
19602 configure-tar \
19603 info-tar
19604 @[ -f ./tar/Makefile ] || exit 0; \
19605 r=`${PWD_COMMAND}`; export r; \
19606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19607 $(SET_LIB_PATH) \
19608 $(HOST_EXPORTS) \
19609 for flag in $(EXTRA_HOST_FLAGS) ; do \
19610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19611 done; \
19612 echo "Doing install-info in tar" ; \
19613 (cd $(HOST_SUBDIR)/tar && \
19614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19616 "RANLIB=$${RANLIB}" \
19617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19618 install-info) \
19619 || exit 1
19621 @endif tar
19623 .PHONY: maybe-installcheck-tar installcheck-tar
19624 maybe-installcheck-tar:
19625 @if tar
19626 maybe-installcheck-tar: installcheck-tar
19628 installcheck-tar: \
19629 configure-tar
19630 @[ -f ./tar/Makefile ] || exit 0; \
19631 r=`${PWD_COMMAND}`; export r; \
19632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19633 $(SET_LIB_PATH) \
19634 $(HOST_EXPORTS) \
19635 for flag in $(EXTRA_HOST_FLAGS) ; do \
19636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19637 done; \
19638 echo "Doing installcheck in tar" ; \
19639 (cd $(HOST_SUBDIR)/tar && \
19640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19642 "RANLIB=$${RANLIB}" \
19643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19644 installcheck) \
19645 || exit 1
19647 @endif tar
19649 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
19650 maybe-mostlyclean-tar:
19651 @if tar
19652 maybe-mostlyclean-tar: mostlyclean-tar
19654 mostlyclean-tar:
19655 @[ -f ./tar/Makefile ] || exit 0; \
19656 r=`${PWD_COMMAND}`; export r; \
19657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19658 $(SET_LIB_PATH) \
19659 $(HOST_EXPORTS) \
19660 for flag in $(EXTRA_HOST_FLAGS) ; do \
19661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19662 done; \
19663 echo "Doing mostlyclean in tar" ; \
19664 (cd $(HOST_SUBDIR)/tar && \
19665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19667 "RANLIB=$${RANLIB}" \
19668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19669 mostlyclean) \
19670 || exit 1
19672 @endif tar
19674 .PHONY: maybe-clean-tar clean-tar
19675 maybe-clean-tar:
19676 @if tar
19677 maybe-clean-tar: clean-tar
19679 clean-tar:
19680 @[ -f ./tar/Makefile ] || exit 0; \
19681 r=`${PWD_COMMAND}`; export r; \
19682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19683 $(SET_LIB_PATH) \
19684 $(HOST_EXPORTS) \
19685 for flag in $(EXTRA_HOST_FLAGS) ; do \
19686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19687 done; \
19688 echo "Doing clean in tar" ; \
19689 (cd $(HOST_SUBDIR)/tar && \
19690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19692 "RANLIB=$${RANLIB}" \
19693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19694 clean) \
19695 || exit 1
19697 @endif tar
19699 .PHONY: maybe-distclean-tar distclean-tar
19700 maybe-distclean-tar:
19701 @if tar
19702 maybe-distclean-tar: distclean-tar
19704 distclean-tar:
19705 @[ -f ./tar/Makefile ] || exit 0; \
19706 r=`${PWD_COMMAND}`; export r; \
19707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19708 $(SET_LIB_PATH) \
19709 $(HOST_EXPORTS) \
19710 for flag in $(EXTRA_HOST_FLAGS) ; do \
19711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19712 done; \
19713 echo "Doing distclean in tar" ; \
19714 (cd $(HOST_SUBDIR)/tar && \
19715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19717 "RANLIB=$${RANLIB}" \
19718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19719 distclean) \
19720 || exit 1
19722 @endif tar
19724 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
19725 maybe-maintainer-clean-tar:
19726 @if tar
19727 maybe-maintainer-clean-tar: maintainer-clean-tar
19729 maintainer-clean-tar:
19730 @[ -f ./tar/Makefile ] || exit 0; \
19731 r=`${PWD_COMMAND}`; export r; \
19732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19733 $(SET_LIB_PATH) \
19734 $(HOST_EXPORTS) \
19735 for flag in $(EXTRA_HOST_FLAGS) ; do \
19736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19737 done; \
19738 echo "Doing maintainer-clean in tar" ; \
19739 (cd $(HOST_SUBDIR)/tar && \
19740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19742 "RANLIB=$${RANLIB}" \
19743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19744 maintainer-clean) \
19745 || exit 1
19747 @endif tar
19750 .PHONY: configure-texinfo maybe-configure-texinfo
19751 maybe-configure-texinfo:
19752 @if texinfo
19753 maybe-configure-texinfo: configure-texinfo
19754 configure-texinfo:
19755 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
19756 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
19757 r=`${PWD_COMMAND}`; export r; \
19758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19759 $(HOST_EXPORTS) \
19760 echo Configuring in texinfo; \
19761 cd $(HOST_SUBDIR)/texinfo || exit 1; \
19762 case $(srcdir) in \
19763 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19764 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
19765 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19766 esac; \
19767 srcdiroption="--srcdir=$${topdir}/texinfo"; \
19768 libsrcdir="$$s/texinfo"; \
19769 $(SHELL) $${libsrcdir}/configure \
19770 $(HOST_CONFIGARGS) $${srcdiroption} \
19771 || exit 1
19772 @endif texinfo
19774 .PHONY: all-texinfo maybe-all-texinfo
19775 maybe-all-texinfo:
19776 @if texinfo
19777 TARGET-texinfo=all
19778 maybe-all-texinfo: all-texinfo
19779 all-texinfo: configure-texinfo
19780 @r=`${PWD_COMMAND}`; export r; \
19781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19782 $(SET_LIB_PATH) \
19783 $(HOST_EXPORTS) \
19784 (cd $(HOST_SUBDIR)/texinfo && \
19785 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
19786 @endif texinfo
19788 .PHONY: check-texinfo maybe-check-texinfo
19789 maybe-check-texinfo:
19790 @if texinfo
19791 maybe-check-texinfo: check-texinfo
19793 check-texinfo:
19794 @r=`${PWD_COMMAND}`; export r; \
19795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19796 $(SET_LIB_PATH) \
19797 $(HOST_EXPORTS) \
19798 (cd $(HOST_SUBDIR)/texinfo && \
19799 $(MAKE) $(FLAGS_TO_PASS) check)
19801 @endif texinfo
19803 .PHONY: install-texinfo maybe-install-texinfo
19804 maybe-install-texinfo:
19805 @if texinfo
19806 maybe-install-texinfo: install-texinfo
19808 install-texinfo:
19810 @endif texinfo
19812 # Other targets (info, dvi, etc.)
19814 .PHONY: maybe-info-texinfo info-texinfo
19815 maybe-info-texinfo:
19816 @if texinfo
19817 maybe-info-texinfo: info-texinfo
19819 info-texinfo: \
19820 configure-texinfo
19821 @[ -f ./texinfo/Makefile ] || exit 0; \
19822 r=`${PWD_COMMAND}`; export r; \
19823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19824 $(SET_LIB_PATH) \
19825 $(HOST_EXPORTS) \
19826 for flag in $(EXTRA_HOST_FLAGS) ; do \
19827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19828 done; \
19829 echo "Doing info in texinfo" ; \
19830 (cd $(HOST_SUBDIR)/texinfo && \
19831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19833 "RANLIB=$${RANLIB}" \
19834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19835 info) \
19836 || exit 1
19838 @endif texinfo
19840 .PHONY: maybe-dvi-texinfo dvi-texinfo
19841 maybe-dvi-texinfo:
19842 @if texinfo
19843 maybe-dvi-texinfo: dvi-texinfo
19845 dvi-texinfo: \
19846 configure-texinfo
19847 @[ -f ./texinfo/Makefile ] || exit 0; \
19848 r=`${PWD_COMMAND}`; export r; \
19849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19850 $(SET_LIB_PATH) \
19851 $(HOST_EXPORTS) \
19852 for flag in $(EXTRA_HOST_FLAGS) ; do \
19853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19854 done; \
19855 echo "Doing dvi in texinfo" ; \
19856 (cd $(HOST_SUBDIR)/texinfo && \
19857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19859 "RANLIB=$${RANLIB}" \
19860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19861 dvi) \
19862 || exit 1
19864 @endif texinfo
19866 .PHONY: maybe-html-texinfo html-texinfo
19867 maybe-html-texinfo:
19868 @if texinfo
19869 maybe-html-texinfo: html-texinfo
19871 html-texinfo: \
19872 configure-texinfo
19873 @[ -f ./texinfo/Makefile ] || exit 0; \
19874 r=`${PWD_COMMAND}`; export r; \
19875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19876 $(SET_LIB_PATH) \
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 html in texinfo" ; \
19882 (cd $(HOST_SUBDIR)/texinfo && \
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 html) \
19888 || exit 1
19890 @endif texinfo
19892 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
19893 maybe-TAGS-texinfo:
19894 @if texinfo
19895 maybe-TAGS-texinfo: TAGS-texinfo
19897 TAGS-texinfo: \
19898 configure-texinfo
19899 @[ -f ./texinfo/Makefile ] || exit 0; \
19900 r=`${PWD_COMMAND}`; export r; \
19901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19902 $(SET_LIB_PATH) \
19903 $(HOST_EXPORTS) \
19904 for flag in $(EXTRA_HOST_FLAGS) ; do \
19905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19906 done; \
19907 echo "Doing TAGS in texinfo" ; \
19908 (cd $(HOST_SUBDIR)/texinfo && \
19909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19911 "RANLIB=$${RANLIB}" \
19912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19913 TAGS) \
19914 || exit 1
19916 @endif texinfo
19918 .PHONY: maybe-install-info-texinfo install-info-texinfo
19919 maybe-install-info-texinfo:
19920 @if texinfo
19921 maybe-install-info-texinfo: install-info-texinfo
19923 install-info-texinfo: \
19924 configure-texinfo \
19925 info-texinfo
19926 @[ -f ./texinfo/Makefile ] || exit 0; \
19927 r=`${PWD_COMMAND}`; export r; \
19928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19929 $(SET_LIB_PATH) \
19930 $(HOST_EXPORTS) \
19931 for flag in $(EXTRA_HOST_FLAGS) ; do \
19932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19933 done; \
19934 echo "Doing install-info in texinfo" ; \
19935 (cd $(HOST_SUBDIR)/texinfo && \
19936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19938 "RANLIB=$${RANLIB}" \
19939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19940 install-info) \
19941 || exit 1
19943 @endif texinfo
19945 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
19946 maybe-installcheck-texinfo:
19947 @if texinfo
19948 maybe-installcheck-texinfo: installcheck-texinfo
19950 installcheck-texinfo: \
19951 configure-texinfo
19952 @[ -f ./texinfo/Makefile ] || exit 0; \
19953 r=`${PWD_COMMAND}`; export r; \
19954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19955 $(SET_LIB_PATH) \
19956 $(HOST_EXPORTS) \
19957 for flag in $(EXTRA_HOST_FLAGS) ; do \
19958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19959 done; \
19960 echo "Doing installcheck in texinfo" ; \
19961 (cd $(HOST_SUBDIR)/texinfo && \
19962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19964 "RANLIB=$${RANLIB}" \
19965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19966 installcheck) \
19967 || exit 1
19969 @endif texinfo
19971 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
19972 maybe-mostlyclean-texinfo:
19973 @if texinfo
19974 maybe-mostlyclean-texinfo: mostlyclean-texinfo
19976 mostlyclean-texinfo:
19977 @[ -f ./texinfo/Makefile ] || exit 0; \
19978 r=`${PWD_COMMAND}`; export r; \
19979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19980 $(SET_LIB_PATH) \
19981 $(HOST_EXPORTS) \
19982 for flag in $(EXTRA_HOST_FLAGS) ; do \
19983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19984 done; \
19985 echo "Doing mostlyclean in texinfo" ; \
19986 (cd $(HOST_SUBDIR)/texinfo && \
19987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19989 "RANLIB=$${RANLIB}" \
19990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19991 mostlyclean) \
19992 || exit 1
19994 @endif texinfo
19996 .PHONY: maybe-clean-texinfo clean-texinfo
19997 maybe-clean-texinfo:
19998 @if texinfo
19999 maybe-clean-texinfo: clean-texinfo
20001 clean-texinfo:
20002 @[ -f ./texinfo/Makefile ] || exit 0; \
20003 r=`${PWD_COMMAND}`; export r; \
20004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20005 $(SET_LIB_PATH) \
20006 $(HOST_EXPORTS) \
20007 for flag in $(EXTRA_HOST_FLAGS) ; do \
20008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20009 done; \
20010 echo "Doing clean in texinfo" ; \
20011 (cd $(HOST_SUBDIR)/texinfo && \
20012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20014 "RANLIB=$${RANLIB}" \
20015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20016 clean) \
20017 || exit 1
20019 @endif texinfo
20021 .PHONY: maybe-distclean-texinfo distclean-texinfo
20022 maybe-distclean-texinfo:
20023 @if texinfo
20024 maybe-distclean-texinfo: distclean-texinfo
20026 distclean-texinfo:
20027 @[ -f ./texinfo/Makefile ] || exit 0; \
20028 r=`${PWD_COMMAND}`; export r; \
20029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20030 $(SET_LIB_PATH) \
20031 $(HOST_EXPORTS) \
20032 for flag in $(EXTRA_HOST_FLAGS) ; do \
20033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20034 done; \
20035 echo "Doing distclean in texinfo" ; \
20036 (cd $(HOST_SUBDIR)/texinfo && \
20037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20039 "RANLIB=$${RANLIB}" \
20040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20041 distclean) \
20042 || exit 1
20044 @endif texinfo
20046 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
20047 maybe-maintainer-clean-texinfo:
20048 @if texinfo
20049 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
20051 maintainer-clean-texinfo:
20052 @[ -f ./texinfo/Makefile ] || exit 0; \
20053 r=`${PWD_COMMAND}`; export r; \
20054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20055 $(SET_LIB_PATH) \
20056 $(HOST_EXPORTS) \
20057 for flag in $(EXTRA_HOST_FLAGS) ; do \
20058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20059 done; \
20060 echo "Doing maintainer-clean in texinfo" ; \
20061 (cd $(HOST_SUBDIR)/texinfo && \
20062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20064 "RANLIB=$${RANLIB}" \
20065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20066 maintainer-clean) \
20067 || exit 1
20069 @endif texinfo
20072 .PHONY: configure-textutils maybe-configure-textutils
20073 maybe-configure-textutils:
20074 @if textutils
20075 maybe-configure-textutils: configure-textutils
20076 configure-textutils:
20077 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
20078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
20079 r=`${PWD_COMMAND}`; export r; \
20080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20081 $(HOST_EXPORTS) \
20082 echo Configuring in textutils; \
20083 cd $(HOST_SUBDIR)/textutils || exit 1; \
20084 case $(srcdir) in \
20085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20086 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
20087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20088 esac; \
20089 srcdiroption="--srcdir=$${topdir}/textutils"; \
20090 libsrcdir="$$s/textutils"; \
20091 $(SHELL) $${libsrcdir}/configure \
20092 $(HOST_CONFIGARGS) $${srcdiroption} \
20093 || exit 1
20094 @endif textutils
20096 .PHONY: all-textutils maybe-all-textutils
20097 maybe-all-textutils:
20098 @if textutils
20099 TARGET-textutils=all
20100 maybe-all-textutils: all-textutils
20101 all-textutils: configure-textutils
20102 @r=`${PWD_COMMAND}`; export r; \
20103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20104 $(SET_LIB_PATH) \
20105 $(HOST_EXPORTS) \
20106 (cd $(HOST_SUBDIR)/textutils && \
20107 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
20108 @endif textutils
20110 .PHONY: check-textutils maybe-check-textutils
20111 maybe-check-textutils:
20112 @if textutils
20113 maybe-check-textutils: check-textutils
20115 check-textutils:
20116 @r=`${PWD_COMMAND}`; export r; \
20117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20118 $(SET_LIB_PATH) \
20119 $(HOST_EXPORTS) \
20120 (cd $(HOST_SUBDIR)/textutils && \
20121 $(MAKE) $(FLAGS_TO_PASS) check)
20123 @endif textutils
20125 .PHONY: install-textutils maybe-install-textutils
20126 maybe-install-textutils:
20127 @if textutils
20128 maybe-install-textutils: install-textutils
20130 install-textutils: installdirs
20131 @r=`${PWD_COMMAND}`; export r; \
20132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20133 $(SET_LIB_PATH) \
20134 $(HOST_EXPORTS) \
20135 (cd $(HOST_SUBDIR)/textutils && \
20136 $(MAKE) $(FLAGS_TO_PASS) install)
20138 @endif textutils
20140 # Other targets (info, dvi, etc.)
20142 .PHONY: maybe-info-textutils info-textutils
20143 maybe-info-textutils:
20144 @if textutils
20145 maybe-info-textutils: info-textutils
20147 info-textutils: \
20148 configure-textutils
20149 @[ -f ./textutils/Makefile ] || exit 0; \
20150 r=`${PWD_COMMAND}`; export r; \
20151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20152 $(SET_LIB_PATH) \
20153 $(HOST_EXPORTS) \
20154 for flag in $(EXTRA_HOST_FLAGS) ; do \
20155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20156 done; \
20157 echo "Doing info in textutils" ; \
20158 (cd $(HOST_SUBDIR)/textutils && \
20159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20161 "RANLIB=$${RANLIB}" \
20162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20163 info) \
20164 || exit 1
20166 @endif textutils
20168 .PHONY: maybe-dvi-textutils dvi-textutils
20169 maybe-dvi-textutils:
20170 @if textutils
20171 maybe-dvi-textutils: dvi-textutils
20173 dvi-textutils: \
20174 configure-textutils
20175 @[ -f ./textutils/Makefile ] || exit 0; \
20176 r=`${PWD_COMMAND}`; export r; \
20177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20178 $(SET_LIB_PATH) \
20179 $(HOST_EXPORTS) \
20180 for flag in $(EXTRA_HOST_FLAGS) ; do \
20181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20182 done; \
20183 echo "Doing dvi in textutils" ; \
20184 (cd $(HOST_SUBDIR)/textutils && \
20185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20187 "RANLIB=$${RANLIB}" \
20188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20189 dvi) \
20190 || exit 1
20192 @endif textutils
20194 .PHONY: maybe-html-textutils html-textutils
20195 maybe-html-textutils:
20196 @if textutils
20197 maybe-html-textutils: html-textutils
20199 html-textutils: \
20200 configure-textutils
20201 @[ -f ./textutils/Makefile ] || exit 0; \
20202 r=`${PWD_COMMAND}`; export r; \
20203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20204 $(SET_LIB_PATH) \
20205 $(HOST_EXPORTS) \
20206 for flag in $(EXTRA_HOST_FLAGS) ; do \
20207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20208 done; \
20209 echo "Doing html in textutils" ; \
20210 (cd $(HOST_SUBDIR)/textutils && \
20211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20213 "RANLIB=$${RANLIB}" \
20214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20215 html) \
20216 || exit 1
20218 @endif textutils
20220 .PHONY: maybe-TAGS-textutils TAGS-textutils
20221 maybe-TAGS-textutils:
20222 @if textutils
20223 maybe-TAGS-textutils: TAGS-textutils
20225 TAGS-textutils: \
20226 configure-textutils
20227 @[ -f ./textutils/Makefile ] || exit 0; \
20228 r=`${PWD_COMMAND}`; export r; \
20229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20230 $(SET_LIB_PATH) \
20231 $(HOST_EXPORTS) \
20232 for flag in $(EXTRA_HOST_FLAGS) ; do \
20233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20234 done; \
20235 echo "Doing TAGS in textutils" ; \
20236 (cd $(HOST_SUBDIR)/textutils && \
20237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20239 "RANLIB=$${RANLIB}" \
20240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20241 TAGS) \
20242 || exit 1
20244 @endif textutils
20246 .PHONY: maybe-install-info-textutils install-info-textutils
20247 maybe-install-info-textutils:
20248 @if textutils
20249 maybe-install-info-textutils: install-info-textutils
20251 install-info-textutils: \
20252 configure-textutils \
20253 info-textutils
20254 @[ -f ./textutils/Makefile ] || exit 0; \
20255 r=`${PWD_COMMAND}`; export r; \
20256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20257 $(SET_LIB_PATH) \
20258 $(HOST_EXPORTS) \
20259 for flag in $(EXTRA_HOST_FLAGS) ; do \
20260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20261 done; \
20262 echo "Doing install-info in textutils" ; \
20263 (cd $(HOST_SUBDIR)/textutils && \
20264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20266 "RANLIB=$${RANLIB}" \
20267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20268 install-info) \
20269 || exit 1
20271 @endif textutils
20273 .PHONY: maybe-installcheck-textutils installcheck-textutils
20274 maybe-installcheck-textutils:
20275 @if textutils
20276 maybe-installcheck-textutils: installcheck-textutils
20278 installcheck-textutils: \
20279 configure-textutils
20280 @[ -f ./textutils/Makefile ] || exit 0; \
20281 r=`${PWD_COMMAND}`; export r; \
20282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20283 $(SET_LIB_PATH) \
20284 $(HOST_EXPORTS) \
20285 for flag in $(EXTRA_HOST_FLAGS) ; do \
20286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20287 done; \
20288 echo "Doing installcheck in textutils" ; \
20289 (cd $(HOST_SUBDIR)/textutils && \
20290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20292 "RANLIB=$${RANLIB}" \
20293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20294 installcheck) \
20295 || exit 1
20297 @endif textutils
20299 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
20300 maybe-mostlyclean-textutils:
20301 @if textutils
20302 maybe-mostlyclean-textutils: mostlyclean-textutils
20304 mostlyclean-textutils:
20305 @[ -f ./textutils/Makefile ] || exit 0; \
20306 r=`${PWD_COMMAND}`; export r; \
20307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20308 $(SET_LIB_PATH) \
20309 $(HOST_EXPORTS) \
20310 for flag in $(EXTRA_HOST_FLAGS) ; do \
20311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20312 done; \
20313 echo "Doing mostlyclean in textutils" ; \
20314 (cd $(HOST_SUBDIR)/textutils && \
20315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20317 "RANLIB=$${RANLIB}" \
20318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20319 mostlyclean) \
20320 || exit 1
20322 @endif textutils
20324 .PHONY: maybe-clean-textutils clean-textutils
20325 maybe-clean-textutils:
20326 @if textutils
20327 maybe-clean-textutils: clean-textutils
20329 clean-textutils:
20330 @[ -f ./textutils/Makefile ] || exit 0; \
20331 r=`${PWD_COMMAND}`; export r; \
20332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20333 $(SET_LIB_PATH) \
20334 $(HOST_EXPORTS) \
20335 for flag in $(EXTRA_HOST_FLAGS) ; do \
20336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20337 done; \
20338 echo "Doing clean in textutils" ; \
20339 (cd $(HOST_SUBDIR)/textutils && \
20340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20342 "RANLIB=$${RANLIB}" \
20343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20344 clean) \
20345 || exit 1
20347 @endif textutils
20349 .PHONY: maybe-distclean-textutils distclean-textutils
20350 maybe-distclean-textutils:
20351 @if textutils
20352 maybe-distclean-textutils: distclean-textutils
20354 distclean-textutils:
20355 @[ -f ./textutils/Makefile ] || exit 0; \
20356 r=`${PWD_COMMAND}`; export r; \
20357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20358 $(SET_LIB_PATH) \
20359 $(HOST_EXPORTS) \
20360 for flag in $(EXTRA_HOST_FLAGS) ; do \
20361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20362 done; \
20363 echo "Doing distclean in textutils" ; \
20364 (cd $(HOST_SUBDIR)/textutils && \
20365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20367 "RANLIB=$${RANLIB}" \
20368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20369 distclean) \
20370 || exit 1
20372 @endif textutils
20374 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
20375 maybe-maintainer-clean-textutils:
20376 @if textutils
20377 maybe-maintainer-clean-textutils: maintainer-clean-textutils
20379 maintainer-clean-textutils:
20380 @[ -f ./textutils/Makefile ] || exit 0; \
20381 r=`${PWD_COMMAND}`; export r; \
20382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20383 $(SET_LIB_PATH) \
20384 $(HOST_EXPORTS) \
20385 for flag in $(EXTRA_HOST_FLAGS) ; do \
20386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20387 done; \
20388 echo "Doing maintainer-clean in textutils" ; \
20389 (cd $(HOST_SUBDIR)/textutils && \
20390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20392 "RANLIB=$${RANLIB}" \
20393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20394 maintainer-clean) \
20395 || exit 1
20397 @endif textutils
20400 .PHONY: configure-time maybe-configure-time
20401 maybe-configure-time:
20402 @if time
20403 maybe-configure-time: configure-time
20404 configure-time:
20405 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
20406 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
20407 r=`${PWD_COMMAND}`; export r; \
20408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20409 $(HOST_EXPORTS) \
20410 echo Configuring in time; \
20411 cd $(HOST_SUBDIR)/time || exit 1; \
20412 case $(srcdir) in \
20413 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20414 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
20415 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20416 esac; \
20417 srcdiroption="--srcdir=$${topdir}/time"; \
20418 libsrcdir="$$s/time"; \
20419 $(SHELL) $${libsrcdir}/configure \
20420 $(HOST_CONFIGARGS) $${srcdiroption} \
20421 || exit 1
20422 @endif time
20424 .PHONY: all-time maybe-all-time
20425 maybe-all-time:
20426 @if time
20427 TARGET-time=all
20428 maybe-all-time: all-time
20429 all-time: configure-time
20430 @r=`${PWD_COMMAND}`; export r; \
20431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20432 $(SET_LIB_PATH) \
20433 $(HOST_EXPORTS) \
20434 (cd $(HOST_SUBDIR)/time && \
20435 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
20436 @endif time
20438 .PHONY: check-time maybe-check-time
20439 maybe-check-time:
20440 @if time
20441 maybe-check-time: check-time
20443 check-time:
20444 @r=`${PWD_COMMAND}`; export r; \
20445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20446 $(SET_LIB_PATH) \
20447 $(HOST_EXPORTS) \
20448 (cd $(HOST_SUBDIR)/time && \
20449 $(MAKE) $(FLAGS_TO_PASS) check)
20451 @endif time
20453 .PHONY: install-time maybe-install-time
20454 maybe-install-time:
20455 @if time
20456 maybe-install-time: install-time
20458 install-time: installdirs
20459 @r=`${PWD_COMMAND}`; export r; \
20460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20461 $(SET_LIB_PATH) \
20462 $(HOST_EXPORTS) \
20463 (cd $(HOST_SUBDIR)/time && \
20464 $(MAKE) $(FLAGS_TO_PASS) install)
20466 @endif time
20468 # Other targets (info, dvi, etc.)
20470 .PHONY: maybe-info-time info-time
20471 maybe-info-time:
20472 @if time
20473 maybe-info-time: info-time
20475 info-time: \
20476 configure-time
20477 @[ -f ./time/Makefile ] || exit 0; \
20478 r=`${PWD_COMMAND}`; export r; \
20479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20480 $(SET_LIB_PATH) \
20481 $(HOST_EXPORTS) \
20482 for flag in $(EXTRA_HOST_FLAGS) ; do \
20483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20484 done; \
20485 echo "Doing info in time" ; \
20486 (cd $(HOST_SUBDIR)/time && \
20487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20489 "RANLIB=$${RANLIB}" \
20490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20491 info) \
20492 || exit 1
20494 @endif time
20496 .PHONY: maybe-dvi-time dvi-time
20497 maybe-dvi-time:
20498 @if time
20499 maybe-dvi-time: dvi-time
20501 dvi-time: \
20502 configure-time
20503 @[ -f ./time/Makefile ] || exit 0; \
20504 r=`${PWD_COMMAND}`; export r; \
20505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20506 $(SET_LIB_PATH) \
20507 $(HOST_EXPORTS) \
20508 for flag in $(EXTRA_HOST_FLAGS) ; do \
20509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20510 done; \
20511 echo "Doing dvi in time" ; \
20512 (cd $(HOST_SUBDIR)/time && \
20513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20515 "RANLIB=$${RANLIB}" \
20516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20517 dvi) \
20518 || exit 1
20520 @endif time
20522 .PHONY: maybe-html-time html-time
20523 maybe-html-time:
20524 @if time
20525 maybe-html-time: html-time
20527 html-time: \
20528 configure-time
20529 @[ -f ./time/Makefile ] || exit 0; \
20530 r=`${PWD_COMMAND}`; export r; \
20531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20532 $(SET_LIB_PATH) \
20533 $(HOST_EXPORTS) \
20534 for flag in $(EXTRA_HOST_FLAGS) ; do \
20535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20536 done; \
20537 echo "Doing html in time" ; \
20538 (cd $(HOST_SUBDIR)/time && \
20539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20541 "RANLIB=$${RANLIB}" \
20542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20543 html) \
20544 || exit 1
20546 @endif time
20548 .PHONY: maybe-TAGS-time TAGS-time
20549 maybe-TAGS-time:
20550 @if time
20551 maybe-TAGS-time: TAGS-time
20553 TAGS-time: \
20554 configure-time
20555 @[ -f ./time/Makefile ] || exit 0; \
20556 r=`${PWD_COMMAND}`; export r; \
20557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20558 $(SET_LIB_PATH) \
20559 $(HOST_EXPORTS) \
20560 for flag in $(EXTRA_HOST_FLAGS) ; do \
20561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20562 done; \
20563 echo "Doing TAGS in time" ; \
20564 (cd $(HOST_SUBDIR)/time && \
20565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20567 "RANLIB=$${RANLIB}" \
20568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20569 TAGS) \
20570 || exit 1
20572 @endif time
20574 .PHONY: maybe-install-info-time install-info-time
20575 maybe-install-info-time:
20576 @if time
20577 maybe-install-info-time: install-info-time
20579 install-info-time: \
20580 configure-time \
20581 info-time
20582 @[ -f ./time/Makefile ] || exit 0; \
20583 r=`${PWD_COMMAND}`; export r; \
20584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20585 $(SET_LIB_PATH) \
20586 $(HOST_EXPORTS) \
20587 for flag in $(EXTRA_HOST_FLAGS) ; do \
20588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20589 done; \
20590 echo "Doing install-info in time" ; \
20591 (cd $(HOST_SUBDIR)/time && \
20592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20594 "RANLIB=$${RANLIB}" \
20595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20596 install-info) \
20597 || exit 1
20599 @endif time
20601 .PHONY: maybe-installcheck-time installcheck-time
20602 maybe-installcheck-time:
20603 @if time
20604 maybe-installcheck-time: installcheck-time
20606 installcheck-time: \
20607 configure-time
20608 @[ -f ./time/Makefile ] || exit 0; \
20609 r=`${PWD_COMMAND}`; export r; \
20610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20611 $(SET_LIB_PATH) \
20612 $(HOST_EXPORTS) \
20613 for flag in $(EXTRA_HOST_FLAGS) ; do \
20614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20615 done; \
20616 echo "Doing installcheck in time" ; \
20617 (cd $(HOST_SUBDIR)/time && \
20618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20620 "RANLIB=$${RANLIB}" \
20621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20622 installcheck) \
20623 || exit 1
20625 @endif time
20627 .PHONY: maybe-mostlyclean-time mostlyclean-time
20628 maybe-mostlyclean-time:
20629 @if time
20630 maybe-mostlyclean-time: mostlyclean-time
20632 mostlyclean-time:
20633 @[ -f ./time/Makefile ] || exit 0; \
20634 r=`${PWD_COMMAND}`; export r; \
20635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20636 $(SET_LIB_PATH) \
20637 $(HOST_EXPORTS) \
20638 for flag in $(EXTRA_HOST_FLAGS) ; do \
20639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20640 done; \
20641 echo "Doing mostlyclean in time" ; \
20642 (cd $(HOST_SUBDIR)/time && \
20643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20645 "RANLIB=$${RANLIB}" \
20646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20647 mostlyclean) \
20648 || exit 1
20650 @endif time
20652 .PHONY: maybe-clean-time clean-time
20653 maybe-clean-time:
20654 @if time
20655 maybe-clean-time: clean-time
20657 clean-time:
20658 @[ -f ./time/Makefile ] || exit 0; \
20659 r=`${PWD_COMMAND}`; export r; \
20660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20661 $(SET_LIB_PATH) \
20662 $(HOST_EXPORTS) \
20663 for flag in $(EXTRA_HOST_FLAGS) ; do \
20664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20665 done; \
20666 echo "Doing clean in time" ; \
20667 (cd $(HOST_SUBDIR)/time && \
20668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20670 "RANLIB=$${RANLIB}" \
20671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20672 clean) \
20673 || exit 1
20675 @endif time
20677 .PHONY: maybe-distclean-time distclean-time
20678 maybe-distclean-time:
20679 @if time
20680 maybe-distclean-time: distclean-time
20682 distclean-time:
20683 @[ -f ./time/Makefile ] || exit 0; \
20684 r=`${PWD_COMMAND}`; export r; \
20685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20686 $(SET_LIB_PATH) \
20687 $(HOST_EXPORTS) \
20688 for flag in $(EXTRA_HOST_FLAGS) ; do \
20689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20690 done; \
20691 echo "Doing distclean in time" ; \
20692 (cd $(HOST_SUBDIR)/time && \
20693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20695 "RANLIB=$${RANLIB}" \
20696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20697 distclean) \
20698 || exit 1
20700 @endif time
20702 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
20703 maybe-maintainer-clean-time:
20704 @if time
20705 maybe-maintainer-clean-time: maintainer-clean-time
20707 maintainer-clean-time:
20708 @[ -f ./time/Makefile ] || exit 0; \
20709 r=`${PWD_COMMAND}`; export r; \
20710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20711 $(SET_LIB_PATH) \
20712 $(HOST_EXPORTS) \
20713 for flag in $(EXTRA_HOST_FLAGS) ; do \
20714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20715 done; \
20716 echo "Doing maintainer-clean in time" ; \
20717 (cd $(HOST_SUBDIR)/time && \
20718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20720 "RANLIB=$${RANLIB}" \
20721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20722 maintainer-clean) \
20723 || exit 1
20725 @endif time
20728 .PHONY: configure-uudecode maybe-configure-uudecode
20729 maybe-configure-uudecode:
20730 @if uudecode
20731 maybe-configure-uudecode: configure-uudecode
20732 configure-uudecode:
20733 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
20734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
20735 r=`${PWD_COMMAND}`; export r; \
20736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20737 $(HOST_EXPORTS) \
20738 echo Configuring in uudecode; \
20739 cd $(HOST_SUBDIR)/uudecode || exit 1; \
20740 case $(srcdir) in \
20741 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20742 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
20743 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20744 esac; \
20745 srcdiroption="--srcdir=$${topdir}/uudecode"; \
20746 libsrcdir="$$s/uudecode"; \
20747 $(SHELL) $${libsrcdir}/configure \
20748 $(HOST_CONFIGARGS) $${srcdiroption} \
20749 || exit 1
20750 @endif uudecode
20752 .PHONY: all-uudecode maybe-all-uudecode
20753 maybe-all-uudecode:
20754 @if uudecode
20755 TARGET-uudecode=all
20756 maybe-all-uudecode: all-uudecode
20757 all-uudecode: configure-uudecode
20758 @r=`${PWD_COMMAND}`; export r; \
20759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20760 $(SET_LIB_PATH) \
20761 $(HOST_EXPORTS) \
20762 (cd $(HOST_SUBDIR)/uudecode && \
20763 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
20764 @endif uudecode
20766 .PHONY: check-uudecode maybe-check-uudecode
20767 maybe-check-uudecode:
20768 @if uudecode
20769 maybe-check-uudecode: check-uudecode
20771 check-uudecode:
20772 @r=`${PWD_COMMAND}`; export r; \
20773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20774 $(SET_LIB_PATH) \
20775 $(HOST_EXPORTS) \
20776 (cd $(HOST_SUBDIR)/uudecode && \
20777 $(MAKE) $(FLAGS_TO_PASS) check)
20779 @endif uudecode
20781 .PHONY: install-uudecode maybe-install-uudecode
20782 maybe-install-uudecode:
20783 @if uudecode
20784 maybe-install-uudecode: install-uudecode
20786 install-uudecode: installdirs
20787 @r=`${PWD_COMMAND}`; export r; \
20788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20789 $(SET_LIB_PATH) \
20790 $(HOST_EXPORTS) \
20791 (cd $(HOST_SUBDIR)/uudecode && \
20792 $(MAKE) $(FLAGS_TO_PASS) install)
20794 @endif uudecode
20796 # Other targets (info, dvi, etc.)
20798 .PHONY: maybe-info-uudecode info-uudecode
20799 maybe-info-uudecode:
20800 @if uudecode
20801 maybe-info-uudecode: info-uudecode
20803 info-uudecode: \
20804 configure-uudecode
20805 @[ -f ./uudecode/Makefile ] || exit 0; \
20806 r=`${PWD_COMMAND}`; export r; \
20807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20808 $(SET_LIB_PATH) \
20809 $(HOST_EXPORTS) \
20810 for flag in $(EXTRA_HOST_FLAGS) ; do \
20811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20812 done; \
20813 echo "Doing info in uudecode" ; \
20814 (cd $(HOST_SUBDIR)/uudecode && \
20815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20817 "RANLIB=$${RANLIB}" \
20818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20819 info) \
20820 || exit 1
20822 @endif uudecode
20824 .PHONY: maybe-dvi-uudecode dvi-uudecode
20825 maybe-dvi-uudecode:
20826 @if uudecode
20827 maybe-dvi-uudecode: dvi-uudecode
20829 dvi-uudecode: \
20830 configure-uudecode
20831 @[ -f ./uudecode/Makefile ] || exit 0; \
20832 r=`${PWD_COMMAND}`; export r; \
20833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20834 $(SET_LIB_PATH) \
20835 $(HOST_EXPORTS) \
20836 for flag in $(EXTRA_HOST_FLAGS) ; do \
20837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20838 done; \
20839 echo "Doing dvi in uudecode" ; \
20840 (cd $(HOST_SUBDIR)/uudecode && \
20841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20843 "RANLIB=$${RANLIB}" \
20844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20845 dvi) \
20846 || exit 1
20848 @endif uudecode
20850 .PHONY: maybe-html-uudecode html-uudecode
20851 maybe-html-uudecode:
20852 @if uudecode
20853 maybe-html-uudecode: html-uudecode
20855 html-uudecode: \
20856 configure-uudecode
20857 @[ -f ./uudecode/Makefile ] || exit 0; \
20858 r=`${PWD_COMMAND}`; export r; \
20859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20860 $(SET_LIB_PATH) \
20861 $(HOST_EXPORTS) \
20862 for flag in $(EXTRA_HOST_FLAGS) ; do \
20863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20864 done; \
20865 echo "Doing html in uudecode" ; \
20866 (cd $(HOST_SUBDIR)/uudecode && \
20867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20869 "RANLIB=$${RANLIB}" \
20870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20871 html) \
20872 || exit 1
20874 @endif uudecode
20876 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
20877 maybe-TAGS-uudecode:
20878 @if uudecode
20879 maybe-TAGS-uudecode: TAGS-uudecode
20881 TAGS-uudecode: \
20882 configure-uudecode
20883 @[ -f ./uudecode/Makefile ] || exit 0; \
20884 r=`${PWD_COMMAND}`; export r; \
20885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20886 $(SET_LIB_PATH) \
20887 $(HOST_EXPORTS) \
20888 for flag in $(EXTRA_HOST_FLAGS) ; do \
20889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20890 done; \
20891 echo "Doing TAGS in uudecode" ; \
20892 (cd $(HOST_SUBDIR)/uudecode && \
20893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20895 "RANLIB=$${RANLIB}" \
20896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20897 TAGS) \
20898 || exit 1
20900 @endif uudecode
20902 .PHONY: maybe-install-info-uudecode install-info-uudecode
20903 maybe-install-info-uudecode:
20904 @if uudecode
20905 maybe-install-info-uudecode: install-info-uudecode
20907 install-info-uudecode: \
20908 configure-uudecode \
20909 info-uudecode
20910 @[ -f ./uudecode/Makefile ] || exit 0; \
20911 r=`${PWD_COMMAND}`; export r; \
20912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20913 $(SET_LIB_PATH) \
20914 $(HOST_EXPORTS) \
20915 for flag in $(EXTRA_HOST_FLAGS) ; do \
20916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20917 done; \
20918 echo "Doing install-info in uudecode" ; \
20919 (cd $(HOST_SUBDIR)/uudecode && \
20920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20922 "RANLIB=$${RANLIB}" \
20923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20924 install-info) \
20925 || exit 1
20927 @endif uudecode
20929 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
20930 maybe-installcheck-uudecode:
20931 @if uudecode
20932 maybe-installcheck-uudecode: installcheck-uudecode
20934 installcheck-uudecode: \
20935 configure-uudecode
20936 @[ -f ./uudecode/Makefile ] || exit 0; \
20937 r=`${PWD_COMMAND}`; export r; \
20938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20939 $(SET_LIB_PATH) \
20940 $(HOST_EXPORTS) \
20941 for flag in $(EXTRA_HOST_FLAGS) ; do \
20942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20943 done; \
20944 echo "Doing installcheck in uudecode" ; \
20945 (cd $(HOST_SUBDIR)/uudecode && \
20946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20948 "RANLIB=$${RANLIB}" \
20949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20950 installcheck) \
20951 || exit 1
20953 @endif uudecode
20955 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
20956 maybe-mostlyclean-uudecode:
20957 @if uudecode
20958 maybe-mostlyclean-uudecode: mostlyclean-uudecode
20960 mostlyclean-uudecode:
20961 @[ -f ./uudecode/Makefile ] || exit 0; \
20962 r=`${PWD_COMMAND}`; export r; \
20963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20964 $(SET_LIB_PATH) \
20965 $(HOST_EXPORTS) \
20966 for flag in $(EXTRA_HOST_FLAGS) ; do \
20967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20968 done; \
20969 echo "Doing mostlyclean in uudecode" ; \
20970 (cd $(HOST_SUBDIR)/uudecode && \
20971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20973 "RANLIB=$${RANLIB}" \
20974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20975 mostlyclean) \
20976 || exit 1
20978 @endif uudecode
20980 .PHONY: maybe-clean-uudecode clean-uudecode
20981 maybe-clean-uudecode:
20982 @if uudecode
20983 maybe-clean-uudecode: clean-uudecode
20985 clean-uudecode:
20986 @[ -f ./uudecode/Makefile ] || exit 0; \
20987 r=`${PWD_COMMAND}`; export r; \
20988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20989 $(SET_LIB_PATH) \
20990 $(HOST_EXPORTS) \
20991 for flag in $(EXTRA_HOST_FLAGS) ; do \
20992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20993 done; \
20994 echo "Doing clean in uudecode" ; \
20995 (cd $(HOST_SUBDIR)/uudecode && \
20996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20998 "RANLIB=$${RANLIB}" \
20999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21000 clean) \
21001 || exit 1
21003 @endif uudecode
21005 .PHONY: maybe-distclean-uudecode distclean-uudecode
21006 maybe-distclean-uudecode:
21007 @if uudecode
21008 maybe-distclean-uudecode: distclean-uudecode
21010 distclean-uudecode:
21011 @[ -f ./uudecode/Makefile ] || exit 0; \
21012 r=`${PWD_COMMAND}`; export r; \
21013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21014 $(SET_LIB_PATH) \
21015 $(HOST_EXPORTS) \
21016 for flag in $(EXTRA_HOST_FLAGS) ; do \
21017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21018 done; \
21019 echo "Doing distclean in uudecode" ; \
21020 (cd $(HOST_SUBDIR)/uudecode && \
21021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21023 "RANLIB=$${RANLIB}" \
21024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21025 distclean) \
21026 || exit 1
21028 @endif uudecode
21030 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
21031 maybe-maintainer-clean-uudecode:
21032 @if uudecode
21033 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
21035 maintainer-clean-uudecode:
21036 @[ -f ./uudecode/Makefile ] || exit 0; \
21037 r=`${PWD_COMMAND}`; export r; \
21038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21039 $(SET_LIB_PATH) \
21040 $(HOST_EXPORTS) \
21041 for flag in $(EXTRA_HOST_FLAGS) ; do \
21042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21043 done; \
21044 echo "Doing maintainer-clean in uudecode" ; \
21045 (cd $(HOST_SUBDIR)/uudecode && \
21046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21048 "RANLIB=$${RANLIB}" \
21049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21050 maintainer-clean) \
21051 || exit 1
21053 @endif uudecode
21056 .PHONY: configure-wdiff maybe-configure-wdiff
21057 maybe-configure-wdiff:
21058 @if wdiff
21059 maybe-configure-wdiff: configure-wdiff
21060 configure-wdiff:
21061 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
21062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
21063 r=`${PWD_COMMAND}`; export r; \
21064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21065 $(HOST_EXPORTS) \
21066 echo Configuring in wdiff; \
21067 cd $(HOST_SUBDIR)/wdiff || exit 1; \
21068 case $(srcdir) in \
21069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21070 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
21071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21072 esac; \
21073 srcdiroption="--srcdir=$${topdir}/wdiff"; \
21074 libsrcdir="$$s/wdiff"; \
21075 $(SHELL) $${libsrcdir}/configure \
21076 $(HOST_CONFIGARGS) $${srcdiroption} \
21077 || exit 1
21078 @endif wdiff
21080 .PHONY: all-wdiff maybe-all-wdiff
21081 maybe-all-wdiff:
21082 @if wdiff
21083 TARGET-wdiff=all
21084 maybe-all-wdiff: all-wdiff
21085 all-wdiff: configure-wdiff
21086 @r=`${PWD_COMMAND}`; export r; \
21087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21088 $(SET_LIB_PATH) \
21089 $(HOST_EXPORTS) \
21090 (cd $(HOST_SUBDIR)/wdiff && \
21091 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
21092 @endif wdiff
21094 .PHONY: check-wdiff maybe-check-wdiff
21095 maybe-check-wdiff:
21096 @if wdiff
21097 maybe-check-wdiff: check-wdiff
21099 check-wdiff:
21100 @r=`${PWD_COMMAND}`; export r; \
21101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21102 $(SET_LIB_PATH) \
21103 $(HOST_EXPORTS) \
21104 (cd $(HOST_SUBDIR)/wdiff && \
21105 $(MAKE) $(FLAGS_TO_PASS) check)
21107 @endif wdiff
21109 .PHONY: install-wdiff maybe-install-wdiff
21110 maybe-install-wdiff:
21111 @if wdiff
21112 maybe-install-wdiff: install-wdiff
21114 install-wdiff: installdirs
21115 @r=`${PWD_COMMAND}`; export r; \
21116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21117 $(SET_LIB_PATH) \
21118 $(HOST_EXPORTS) \
21119 (cd $(HOST_SUBDIR)/wdiff && \
21120 $(MAKE) $(FLAGS_TO_PASS) install)
21122 @endif wdiff
21124 # Other targets (info, dvi, etc.)
21126 .PHONY: maybe-info-wdiff info-wdiff
21127 maybe-info-wdiff:
21128 @if wdiff
21129 maybe-info-wdiff: info-wdiff
21131 info-wdiff: \
21132 configure-wdiff
21133 @[ -f ./wdiff/Makefile ] || exit 0; \
21134 r=`${PWD_COMMAND}`; export r; \
21135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21136 $(SET_LIB_PATH) \
21137 $(HOST_EXPORTS) \
21138 for flag in $(EXTRA_HOST_FLAGS) ; do \
21139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21140 done; \
21141 echo "Doing info in wdiff" ; \
21142 (cd $(HOST_SUBDIR)/wdiff && \
21143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21145 "RANLIB=$${RANLIB}" \
21146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21147 info) \
21148 || exit 1
21150 @endif wdiff
21152 .PHONY: maybe-dvi-wdiff dvi-wdiff
21153 maybe-dvi-wdiff:
21154 @if wdiff
21155 maybe-dvi-wdiff: dvi-wdiff
21157 dvi-wdiff: \
21158 configure-wdiff
21159 @[ -f ./wdiff/Makefile ] || exit 0; \
21160 r=`${PWD_COMMAND}`; export r; \
21161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21162 $(SET_LIB_PATH) \
21163 $(HOST_EXPORTS) \
21164 for flag in $(EXTRA_HOST_FLAGS) ; do \
21165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21166 done; \
21167 echo "Doing dvi in wdiff" ; \
21168 (cd $(HOST_SUBDIR)/wdiff && \
21169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21171 "RANLIB=$${RANLIB}" \
21172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21173 dvi) \
21174 || exit 1
21176 @endif wdiff
21178 .PHONY: maybe-html-wdiff html-wdiff
21179 maybe-html-wdiff:
21180 @if wdiff
21181 maybe-html-wdiff: html-wdiff
21183 html-wdiff: \
21184 configure-wdiff
21185 @[ -f ./wdiff/Makefile ] || exit 0; \
21186 r=`${PWD_COMMAND}`; export r; \
21187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21188 $(SET_LIB_PATH) \
21189 $(HOST_EXPORTS) \
21190 for flag in $(EXTRA_HOST_FLAGS) ; do \
21191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21192 done; \
21193 echo "Doing html in wdiff" ; \
21194 (cd $(HOST_SUBDIR)/wdiff && \
21195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21197 "RANLIB=$${RANLIB}" \
21198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21199 html) \
21200 || exit 1
21202 @endif wdiff
21204 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
21205 maybe-TAGS-wdiff:
21206 @if wdiff
21207 maybe-TAGS-wdiff: TAGS-wdiff
21209 TAGS-wdiff: \
21210 configure-wdiff
21211 @[ -f ./wdiff/Makefile ] || exit 0; \
21212 r=`${PWD_COMMAND}`; export r; \
21213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21214 $(SET_LIB_PATH) \
21215 $(HOST_EXPORTS) \
21216 for flag in $(EXTRA_HOST_FLAGS) ; do \
21217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21218 done; \
21219 echo "Doing TAGS in wdiff" ; \
21220 (cd $(HOST_SUBDIR)/wdiff && \
21221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21223 "RANLIB=$${RANLIB}" \
21224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21225 TAGS) \
21226 || exit 1
21228 @endif wdiff
21230 .PHONY: maybe-install-info-wdiff install-info-wdiff
21231 maybe-install-info-wdiff:
21232 @if wdiff
21233 maybe-install-info-wdiff: install-info-wdiff
21235 install-info-wdiff: \
21236 configure-wdiff \
21237 info-wdiff
21238 @[ -f ./wdiff/Makefile ] || exit 0; \
21239 r=`${PWD_COMMAND}`; export r; \
21240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21241 $(SET_LIB_PATH) \
21242 $(HOST_EXPORTS) \
21243 for flag in $(EXTRA_HOST_FLAGS) ; do \
21244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21245 done; \
21246 echo "Doing install-info in wdiff" ; \
21247 (cd $(HOST_SUBDIR)/wdiff && \
21248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21250 "RANLIB=$${RANLIB}" \
21251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21252 install-info) \
21253 || exit 1
21255 @endif wdiff
21257 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
21258 maybe-installcheck-wdiff:
21259 @if wdiff
21260 maybe-installcheck-wdiff: installcheck-wdiff
21262 installcheck-wdiff: \
21263 configure-wdiff
21264 @[ -f ./wdiff/Makefile ] || exit 0; \
21265 r=`${PWD_COMMAND}`; export r; \
21266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21267 $(SET_LIB_PATH) \
21268 $(HOST_EXPORTS) \
21269 for flag in $(EXTRA_HOST_FLAGS) ; do \
21270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21271 done; \
21272 echo "Doing installcheck in wdiff" ; \
21273 (cd $(HOST_SUBDIR)/wdiff && \
21274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21276 "RANLIB=$${RANLIB}" \
21277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21278 installcheck) \
21279 || exit 1
21281 @endif wdiff
21283 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
21284 maybe-mostlyclean-wdiff:
21285 @if wdiff
21286 maybe-mostlyclean-wdiff: mostlyclean-wdiff
21288 mostlyclean-wdiff:
21289 @[ -f ./wdiff/Makefile ] || exit 0; \
21290 r=`${PWD_COMMAND}`; export r; \
21291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21292 $(SET_LIB_PATH) \
21293 $(HOST_EXPORTS) \
21294 for flag in $(EXTRA_HOST_FLAGS) ; do \
21295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21296 done; \
21297 echo "Doing mostlyclean in wdiff" ; \
21298 (cd $(HOST_SUBDIR)/wdiff && \
21299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21301 "RANLIB=$${RANLIB}" \
21302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21303 mostlyclean) \
21304 || exit 1
21306 @endif wdiff
21308 .PHONY: maybe-clean-wdiff clean-wdiff
21309 maybe-clean-wdiff:
21310 @if wdiff
21311 maybe-clean-wdiff: clean-wdiff
21313 clean-wdiff:
21314 @[ -f ./wdiff/Makefile ] || exit 0; \
21315 r=`${PWD_COMMAND}`; export r; \
21316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21317 $(SET_LIB_PATH) \
21318 $(HOST_EXPORTS) \
21319 for flag in $(EXTRA_HOST_FLAGS) ; do \
21320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21321 done; \
21322 echo "Doing clean in wdiff" ; \
21323 (cd $(HOST_SUBDIR)/wdiff && \
21324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21326 "RANLIB=$${RANLIB}" \
21327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21328 clean) \
21329 || exit 1
21331 @endif wdiff
21333 .PHONY: maybe-distclean-wdiff distclean-wdiff
21334 maybe-distclean-wdiff:
21335 @if wdiff
21336 maybe-distclean-wdiff: distclean-wdiff
21338 distclean-wdiff:
21339 @[ -f ./wdiff/Makefile ] || exit 0; \
21340 r=`${PWD_COMMAND}`; export r; \
21341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21342 $(SET_LIB_PATH) \
21343 $(HOST_EXPORTS) \
21344 for flag in $(EXTRA_HOST_FLAGS) ; do \
21345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21346 done; \
21347 echo "Doing distclean in wdiff" ; \
21348 (cd $(HOST_SUBDIR)/wdiff && \
21349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21351 "RANLIB=$${RANLIB}" \
21352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21353 distclean) \
21354 || exit 1
21356 @endif wdiff
21358 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
21359 maybe-maintainer-clean-wdiff:
21360 @if wdiff
21361 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
21363 maintainer-clean-wdiff:
21364 @[ -f ./wdiff/Makefile ] || exit 0; \
21365 r=`${PWD_COMMAND}`; export r; \
21366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21367 $(SET_LIB_PATH) \
21368 $(HOST_EXPORTS) \
21369 for flag in $(EXTRA_HOST_FLAGS) ; do \
21370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21371 done; \
21372 echo "Doing maintainer-clean in wdiff" ; \
21373 (cd $(HOST_SUBDIR)/wdiff && \
21374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21376 "RANLIB=$${RANLIB}" \
21377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21378 maintainer-clean) \
21379 || exit 1
21381 @endif wdiff
21384 .PHONY: configure-zip maybe-configure-zip
21385 maybe-configure-zip:
21386 @if zip
21387 maybe-configure-zip: configure-zip
21388 configure-zip:
21389 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
21390 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
21391 r=`${PWD_COMMAND}`; export r; \
21392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21393 $(HOST_EXPORTS) \
21394 echo Configuring in zip; \
21395 cd $(HOST_SUBDIR)/zip || exit 1; \
21396 case $(srcdir) in \
21397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21398 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
21399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21400 esac; \
21401 srcdiroption="--srcdir=$${topdir}/zip"; \
21402 libsrcdir="$$s/zip"; \
21403 $(SHELL) $${libsrcdir}/configure \
21404 $(HOST_CONFIGARGS) $${srcdiroption} \
21405 || exit 1
21406 @endif zip
21408 .PHONY: all-zip maybe-all-zip
21409 maybe-all-zip:
21410 @if zip
21411 TARGET-zip=all
21412 maybe-all-zip: all-zip
21413 all-zip: configure-zip
21414 @r=`${PWD_COMMAND}`; export r; \
21415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21416 $(SET_LIB_PATH) \
21417 $(HOST_EXPORTS) \
21418 (cd $(HOST_SUBDIR)/zip && \
21419 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
21420 @endif zip
21422 .PHONY: check-zip maybe-check-zip
21423 maybe-check-zip:
21424 @if zip
21425 maybe-check-zip: check-zip
21427 # This module is only tested in a native toolchain.
21428 check-zip:
21429 @if [ '$(host)' = '$(target)' ] ; then \
21430 r=`${PWD_COMMAND}`; export r; \
21431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21432 $(SET_LIB_PATH) \
21433 $(HOST_EXPORTS) \
21434 (cd $(HOST_SUBDIR)/zip && \
21435 $(MAKE) $(FLAGS_TO_PASS) check); \
21438 @endif zip
21440 .PHONY: install-zip maybe-install-zip
21441 maybe-install-zip:
21442 @if zip
21443 maybe-install-zip: install-zip
21445 install-zip: installdirs
21446 @r=`${PWD_COMMAND}`; export r; \
21447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21448 $(SET_LIB_PATH) \
21449 $(HOST_EXPORTS) \
21450 (cd $(HOST_SUBDIR)/zip && \
21451 $(MAKE) $(FLAGS_TO_PASS) install)
21453 @endif zip
21455 # Other targets (info, dvi, etc.)
21457 .PHONY: maybe-info-zip info-zip
21458 maybe-info-zip:
21459 @if zip
21460 maybe-info-zip: info-zip
21462 info-zip: \
21463 configure-zip
21464 @[ -f ./zip/Makefile ] || exit 0; \
21465 r=`${PWD_COMMAND}`; export r; \
21466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21467 $(SET_LIB_PATH) \
21468 $(HOST_EXPORTS) \
21469 for flag in $(EXTRA_HOST_FLAGS) ; do \
21470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21471 done; \
21472 echo "Doing info in zip" ; \
21473 (cd $(HOST_SUBDIR)/zip && \
21474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21476 "RANLIB=$${RANLIB}" \
21477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21478 info) \
21479 || exit 1
21481 @endif zip
21483 .PHONY: maybe-dvi-zip dvi-zip
21484 maybe-dvi-zip:
21485 @if zip
21486 maybe-dvi-zip: dvi-zip
21488 dvi-zip: \
21489 configure-zip
21490 @[ -f ./zip/Makefile ] || exit 0; \
21491 r=`${PWD_COMMAND}`; export r; \
21492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21493 $(SET_LIB_PATH) \
21494 $(HOST_EXPORTS) \
21495 for flag in $(EXTRA_HOST_FLAGS) ; do \
21496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21497 done; \
21498 echo "Doing dvi in zip" ; \
21499 (cd $(HOST_SUBDIR)/zip && \
21500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21502 "RANLIB=$${RANLIB}" \
21503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21504 dvi) \
21505 || exit 1
21507 @endif zip
21509 .PHONY: maybe-html-zip html-zip
21510 maybe-html-zip:
21511 @if zip
21512 maybe-html-zip: html-zip
21514 html-zip: \
21515 configure-zip
21516 @[ -f ./zip/Makefile ] || exit 0; \
21517 r=`${PWD_COMMAND}`; export r; \
21518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21519 $(SET_LIB_PATH) \
21520 $(HOST_EXPORTS) \
21521 for flag in $(EXTRA_HOST_FLAGS) ; do \
21522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21523 done; \
21524 echo "Doing html in zip" ; \
21525 (cd $(HOST_SUBDIR)/zip && \
21526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21528 "RANLIB=$${RANLIB}" \
21529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21530 html) \
21531 || exit 1
21533 @endif zip
21535 .PHONY: maybe-TAGS-zip TAGS-zip
21536 maybe-TAGS-zip:
21537 @if zip
21538 maybe-TAGS-zip: TAGS-zip
21540 TAGS-zip: \
21541 configure-zip
21542 @[ -f ./zip/Makefile ] || exit 0; \
21543 r=`${PWD_COMMAND}`; export r; \
21544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21545 $(SET_LIB_PATH) \
21546 $(HOST_EXPORTS) \
21547 for flag in $(EXTRA_HOST_FLAGS) ; do \
21548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21549 done; \
21550 echo "Doing TAGS in zip" ; \
21551 (cd $(HOST_SUBDIR)/zip && \
21552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21554 "RANLIB=$${RANLIB}" \
21555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21556 TAGS) \
21557 || exit 1
21559 @endif zip
21561 .PHONY: maybe-install-info-zip install-info-zip
21562 maybe-install-info-zip:
21563 @if zip
21564 maybe-install-info-zip: install-info-zip
21566 install-info-zip: \
21567 configure-zip \
21568 info-zip
21569 @[ -f ./zip/Makefile ] || exit 0; \
21570 r=`${PWD_COMMAND}`; export r; \
21571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21572 $(SET_LIB_PATH) \
21573 $(HOST_EXPORTS) \
21574 for flag in $(EXTRA_HOST_FLAGS) ; do \
21575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21576 done; \
21577 echo "Doing install-info in zip" ; \
21578 (cd $(HOST_SUBDIR)/zip && \
21579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21581 "RANLIB=$${RANLIB}" \
21582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21583 install-info) \
21584 || exit 1
21586 @endif zip
21588 .PHONY: maybe-installcheck-zip installcheck-zip
21589 maybe-installcheck-zip:
21590 @if zip
21591 maybe-installcheck-zip: installcheck-zip
21593 installcheck-zip: \
21594 configure-zip
21595 @[ -f ./zip/Makefile ] || exit 0; \
21596 r=`${PWD_COMMAND}`; export r; \
21597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21598 $(SET_LIB_PATH) \
21599 $(HOST_EXPORTS) \
21600 for flag in $(EXTRA_HOST_FLAGS) ; do \
21601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21602 done; \
21603 echo "Doing installcheck in zip" ; \
21604 (cd $(HOST_SUBDIR)/zip && \
21605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21607 "RANLIB=$${RANLIB}" \
21608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21609 installcheck) \
21610 || exit 1
21612 @endif zip
21614 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
21615 maybe-mostlyclean-zip:
21616 @if zip
21617 maybe-mostlyclean-zip: mostlyclean-zip
21619 mostlyclean-zip:
21620 @[ -f ./zip/Makefile ] || exit 0; \
21621 r=`${PWD_COMMAND}`; export r; \
21622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21623 $(SET_LIB_PATH) \
21624 $(HOST_EXPORTS) \
21625 for flag in $(EXTRA_HOST_FLAGS) ; do \
21626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21627 done; \
21628 echo "Doing mostlyclean in zip" ; \
21629 (cd $(HOST_SUBDIR)/zip && \
21630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21632 "RANLIB=$${RANLIB}" \
21633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21634 mostlyclean) \
21635 || exit 1
21637 @endif zip
21639 .PHONY: maybe-clean-zip clean-zip
21640 maybe-clean-zip:
21641 @if zip
21642 maybe-clean-zip: clean-zip
21644 clean-zip:
21645 @[ -f ./zip/Makefile ] || exit 0; \
21646 r=`${PWD_COMMAND}`; export r; \
21647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21648 $(SET_LIB_PATH) \
21649 $(HOST_EXPORTS) \
21650 for flag in $(EXTRA_HOST_FLAGS) ; do \
21651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21652 done; \
21653 echo "Doing clean in zip" ; \
21654 (cd $(HOST_SUBDIR)/zip && \
21655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21657 "RANLIB=$${RANLIB}" \
21658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21659 clean) \
21660 || exit 1
21662 @endif zip
21664 .PHONY: maybe-distclean-zip distclean-zip
21665 maybe-distclean-zip:
21666 @if zip
21667 maybe-distclean-zip: distclean-zip
21669 distclean-zip:
21670 @[ -f ./zip/Makefile ] || exit 0; \
21671 r=`${PWD_COMMAND}`; export r; \
21672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21673 $(SET_LIB_PATH) \
21674 $(HOST_EXPORTS) \
21675 for flag in $(EXTRA_HOST_FLAGS) ; do \
21676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21677 done; \
21678 echo "Doing distclean in zip" ; \
21679 (cd $(HOST_SUBDIR)/zip && \
21680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21682 "RANLIB=$${RANLIB}" \
21683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21684 distclean) \
21685 || exit 1
21687 @endif zip
21689 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
21690 maybe-maintainer-clean-zip:
21691 @if zip
21692 maybe-maintainer-clean-zip: maintainer-clean-zip
21694 maintainer-clean-zip:
21695 @[ -f ./zip/Makefile ] || exit 0; \
21696 r=`${PWD_COMMAND}`; export r; \
21697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21698 $(SET_LIB_PATH) \
21699 $(HOST_EXPORTS) \
21700 for flag in $(EXTRA_HOST_FLAGS) ; do \
21701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21702 done; \
21703 echo "Doing maintainer-clean in zip" ; \
21704 (cd $(HOST_SUBDIR)/zip && \
21705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21707 "RANLIB=$${RANLIB}" \
21708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21709 maintainer-clean) \
21710 || exit 1
21712 @endif zip
21715 .PHONY: configure-zlib maybe-configure-zlib
21716 maybe-configure-zlib:
21717 @if zlib
21718 maybe-configure-zlib: configure-zlib
21719 configure-zlib:
21720 @test -f stage_last && exit 0; \
21721 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
21722 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
21723 r=`${PWD_COMMAND}`; export r; \
21724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21725 $(HOST_EXPORTS) \
21726 echo Configuring in zlib; \
21727 cd $(HOST_SUBDIR)/zlib || exit 1; \
21728 case $(srcdir) in \
21729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21730 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
21731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21732 esac; \
21733 srcdiroption="--srcdir=$${topdir}/zlib"; \
21734 libsrcdir="$$s/zlib"; \
21735 $(SHELL) $${libsrcdir}/configure \
21736 $(HOST_CONFIGARGS) $${srcdiroption} \
21737 || exit 1
21738 @endif zlib
21740 .PHONY: all-zlib maybe-all-zlib
21741 maybe-all-zlib:
21742 @if zlib
21743 TARGET-zlib=all
21744 maybe-all-zlib: all-zlib
21745 all-zlib: configure-zlib
21746 @test -f stage_last && exit 0; \
21747 r=`${PWD_COMMAND}`; export r; \
21748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21749 $(SET_LIB_PATH) \
21750 $(HOST_EXPORTS) \
21751 (cd $(HOST_SUBDIR)/zlib && \
21752 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
21753 @endif zlib
21755 .PHONY: check-zlib maybe-check-zlib
21756 maybe-check-zlib:
21757 @if zlib
21758 maybe-check-zlib: check-zlib
21760 check-zlib:
21762 @endif zlib
21764 .PHONY: install-zlib maybe-install-zlib
21765 maybe-install-zlib:
21766 @if zlib
21767 maybe-install-zlib: install-zlib
21769 install-zlib:
21771 @endif zlib
21773 # Other targets (info, dvi, etc.)
21775 .PHONY: maybe-info-zlib info-zlib
21776 maybe-info-zlib:
21777 @if zlib
21778 maybe-info-zlib: info-zlib
21780 info-zlib: \
21781 configure-zlib
21782 @[ -f ./zlib/Makefile ] || exit 0; \
21783 r=`${PWD_COMMAND}`; export r; \
21784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21785 $(SET_LIB_PATH) \
21786 $(HOST_EXPORTS) \
21787 for flag in $(EXTRA_HOST_FLAGS) ; do \
21788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21789 done; \
21790 echo "Doing info in zlib" ; \
21791 (cd $(HOST_SUBDIR)/zlib && \
21792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21794 "RANLIB=$${RANLIB}" \
21795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21796 info) \
21797 || exit 1
21799 @endif zlib
21801 .PHONY: maybe-dvi-zlib dvi-zlib
21802 maybe-dvi-zlib:
21803 @if zlib
21804 maybe-dvi-zlib: dvi-zlib
21806 dvi-zlib: \
21807 configure-zlib
21808 @[ -f ./zlib/Makefile ] || exit 0; \
21809 r=`${PWD_COMMAND}`; export r; \
21810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21811 $(SET_LIB_PATH) \
21812 $(HOST_EXPORTS) \
21813 for flag in $(EXTRA_HOST_FLAGS) ; do \
21814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21815 done; \
21816 echo "Doing dvi in zlib" ; \
21817 (cd $(HOST_SUBDIR)/zlib && \
21818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21820 "RANLIB=$${RANLIB}" \
21821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21822 dvi) \
21823 || exit 1
21825 @endif zlib
21827 .PHONY: maybe-html-zlib html-zlib
21828 maybe-html-zlib:
21829 @if zlib
21830 maybe-html-zlib: html-zlib
21832 html-zlib: \
21833 configure-zlib
21834 @[ -f ./zlib/Makefile ] || exit 0; \
21835 r=`${PWD_COMMAND}`; export r; \
21836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21837 $(SET_LIB_PATH) \
21838 $(HOST_EXPORTS) \
21839 for flag in $(EXTRA_HOST_FLAGS) ; do \
21840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21841 done; \
21842 echo "Doing html in zlib" ; \
21843 (cd $(HOST_SUBDIR)/zlib && \
21844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21846 "RANLIB=$${RANLIB}" \
21847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21848 html) \
21849 || exit 1
21851 @endif zlib
21853 .PHONY: maybe-TAGS-zlib TAGS-zlib
21854 maybe-TAGS-zlib:
21855 @if zlib
21856 maybe-TAGS-zlib: TAGS-zlib
21858 TAGS-zlib: \
21859 configure-zlib
21860 @[ -f ./zlib/Makefile ] || exit 0; \
21861 r=`${PWD_COMMAND}`; export r; \
21862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21863 $(SET_LIB_PATH) \
21864 $(HOST_EXPORTS) \
21865 for flag in $(EXTRA_HOST_FLAGS) ; do \
21866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21867 done; \
21868 echo "Doing TAGS in zlib" ; \
21869 (cd $(HOST_SUBDIR)/zlib && \
21870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21872 "RANLIB=$${RANLIB}" \
21873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21874 TAGS) \
21875 || exit 1
21877 @endif zlib
21879 .PHONY: maybe-install-info-zlib install-info-zlib
21880 maybe-install-info-zlib:
21881 @if zlib
21882 maybe-install-info-zlib: install-info-zlib
21884 install-info-zlib: \
21885 configure-zlib \
21886 info-zlib
21887 @[ -f ./zlib/Makefile ] || exit 0; \
21888 r=`${PWD_COMMAND}`; export r; \
21889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21890 $(SET_LIB_PATH) \
21891 $(HOST_EXPORTS) \
21892 for flag in $(EXTRA_HOST_FLAGS) ; do \
21893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21894 done; \
21895 echo "Doing install-info in zlib" ; \
21896 (cd $(HOST_SUBDIR)/zlib && \
21897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21899 "RANLIB=$${RANLIB}" \
21900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21901 install-info) \
21902 || exit 1
21904 @endif zlib
21906 .PHONY: maybe-installcheck-zlib installcheck-zlib
21907 maybe-installcheck-zlib:
21908 @if zlib
21909 maybe-installcheck-zlib: installcheck-zlib
21911 installcheck-zlib: \
21912 configure-zlib
21913 @[ -f ./zlib/Makefile ] || exit 0; \
21914 r=`${PWD_COMMAND}`; export r; \
21915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21916 $(SET_LIB_PATH) \
21917 $(HOST_EXPORTS) \
21918 for flag in $(EXTRA_HOST_FLAGS) ; do \
21919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21920 done; \
21921 echo "Doing installcheck in zlib" ; \
21922 (cd $(HOST_SUBDIR)/zlib && \
21923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21925 "RANLIB=$${RANLIB}" \
21926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21927 installcheck) \
21928 || exit 1
21930 @endif zlib
21932 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
21933 maybe-mostlyclean-zlib:
21934 @if zlib
21935 maybe-mostlyclean-zlib: mostlyclean-zlib
21937 mostlyclean-zlib:
21938 @[ -f ./zlib/Makefile ] || exit 0; \
21939 r=`${PWD_COMMAND}`; export r; \
21940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21941 $(SET_LIB_PATH) \
21942 $(HOST_EXPORTS) \
21943 for flag in $(EXTRA_HOST_FLAGS) ; do \
21944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21945 done; \
21946 echo "Doing mostlyclean in zlib" ; \
21947 (cd $(HOST_SUBDIR)/zlib && \
21948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21950 "RANLIB=$${RANLIB}" \
21951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21952 mostlyclean) \
21953 || exit 1
21955 @endif zlib
21957 .PHONY: maybe-clean-zlib clean-zlib
21958 maybe-clean-zlib:
21959 @if zlib
21960 maybe-clean-zlib: clean-zlib
21962 clean-zlib:
21963 @[ -f ./zlib/Makefile ] || exit 0; \
21964 r=`${PWD_COMMAND}`; export r; \
21965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21966 $(SET_LIB_PATH) \
21967 $(HOST_EXPORTS) \
21968 for flag in $(EXTRA_HOST_FLAGS) ; do \
21969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21970 done; \
21971 echo "Doing clean in zlib" ; \
21972 (cd $(HOST_SUBDIR)/zlib && \
21973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21975 "RANLIB=$${RANLIB}" \
21976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21977 clean) \
21978 || exit 1
21980 @endif zlib
21982 .PHONY: maybe-distclean-zlib distclean-zlib
21983 maybe-distclean-zlib:
21984 @if zlib
21985 maybe-distclean-zlib: distclean-zlib
21987 distclean-zlib:
21988 @[ -f ./zlib/Makefile ] || exit 0; \
21989 r=`${PWD_COMMAND}`; export r; \
21990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21991 $(SET_LIB_PATH) \
21992 $(HOST_EXPORTS) \
21993 for flag in $(EXTRA_HOST_FLAGS) ; do \
21994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21995 done; \
21996 echo "Doing distclean in zlib" ; \
21997 (cd $(HOST_SUBDIR)/zlib && \
21998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22000 "RANLIB=$${RANLIB}" \
22001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22002 distclean) \
22003 || exit 1
22005 @endif zlib
22007 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
22008 maybe-maintainer-clean-zlib:
22009 @if zlib
22010 maybe-maintainer-clean-zlib: maintainer-clean-zlib
22012 maintainer-clean-zlib:
22013 @[ -f ./zlib/Makefile ] || exit 0; \
22014 r=`${PWD_COMMAND}`; export r; \
22015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22016 $(SET_LIB_PATH) \
22017 $(HOST_EXPORTS) \
22018 for flag in $(EXTRA_HOST_FLAGS) ; do \
22019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22020 done; \
22021 echo "Doing maintainer-clean in zlib" ; \
22022 (cd $(HOST_SUBDIR)/zlib && \
22023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22025 "RANLIB=$${RANLIB}" \
22026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22027 maintainer-clean) \
22028 || exit 1
22030 @endif zlib
22033 .PHONY: configure-gdb maybe-configure-gdb
22034 maybe-configure-gdb:
22035 @if gdb
22036 maybe-configure-gdb: configure-gdb
22037 configure-gdb:
22038 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
22039 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
22040 r=`${PWD_COMMAND}`; export r; \
22041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22042 $(HOST_EXPORTS) \
22043 echo Configuring in gdb; \
22044 cd $(HOST_SUBDIR)/gdb || exit 1; \
22045 case $(srcdir) in \
22046 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22047 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
22048 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22049 esac; \
22050 srcdiroption="--srcdir=$${topdir}/gdb"; \
22051 libsrcdir="$$s/gdb"; \
22052 $(SHELL) $${libsrcdir}/configure \
22053 $(HOST_CONFIGARGS) $${srcdiroption} \
22054 || exit 1
22055 @endif gdb
22057 .PHONY: all-gdb maybe-all-gdb
22058 maybe-all-gdb:
22059 @if gdb
22060 TARGET-gdb=all
22061 maybe-all-gdb: all-gdb
22062 all-gdb: configure-gdb
22063 @r=`${PWD_COMMAND}`; export r; \
22064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22065 $(SET_LIB_PATH) \
22066 $(HOST_EXPORTS) \
22067 (cd $(HOST_SUBDIR)/gdb && \
22068 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
22069 @endif gdb
22071 .PHONY: check-gdb maybe-check-gdb
22072 maybe-check-gdb:
22073 @if gdb
22074 maybe-check-gdb: check-gdb
22076 check-gdb:
22077 @r=`${PWD_COMMAND}`; export r; \
22078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22079 $(SET_LIB_PATH) \
22080 $(HOST_EXPORTS) \
22081 (cd $(HOST_SUBDIR)/gdb && \
22082 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
22084 @endif gdb
22086 .PHONY: install-gdb maybe-install-gdb
22087 maybe-install-gdb:
22088 @if gdb
22089 maybe-install-gdb: install-gdb
22091 install-gdb: installdirs
22092 @r=`${PWD_COMMAND}`; export r; \
22093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22094 $(SET_LIB_PATH) \
22095 $(HOST_EXPORTS) \
22096 (cd $(HOST_SUBDIR)/gdb && \
22097 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
22099 @endif gdb
22101 # Other targets (info, dvi, etc.)
22103 .PHONY: maybe-info-gdb info-gdb
22104 maybe-info-gdb:
22105 @if gdb
22106 maybe-info-gdb: info-gdb
22108 info-gdb: \
22109 configure-gdb
22110 @[ -f ./gdb/Makefile ] || exit 0; \
22111 r=`${PWD_COMMAND}`; export r; \
22112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22113 $(SET_LIB_PATH) \
22114 $(HOST_EXPORTS) \
22115 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22117 done; \
22118 echo "Doing info in gdb" ; \
22119 (cd $(HOST_SUBDIR)/gdb && \
22120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22122 "RANLIB=$${RANLIB}" \
22123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22124 info) \
22125 || exit 1
22127 @endif gdb
22129 .PHONY: maybe-dvi-gdb dvi-gdb
22130 maybe-dvi-gdb:
22131 @if gdb
22132 maybe-dvi-gdb: dvi-gdb
22134 dvi-gdb: \
22135 configure-gdb
22136 @[ -f ./gdb/Makefile ] || exit 0; \
22137 r=`${PWD_COMMAND}`; export r; \
22138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22139 $(SET_LIB_PATH) \
22140 $(HOST_EXPORTS) \
22141 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22143 done; \
22144 echo "Doing dvi in gdb" ; \
22145 (cd $(HOST_SUBDIR)/gdb && \
22146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22148 "RANLIB=$${RANLIB}" \
22149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22150 dvi) \
22151 || exit 1
22153 @endif gdb
22155 .PHONY: maybe-html-gdb html-gdb
22156 maybe-html-gdb:
22157 @if gdb
22158 maybe-html-gdb: html-gdb
22160 html-gdb: \
22161 configure-gdb
22162 @[ -f ./gdb/Makefile ] || exit 0; \
22163 r=`${PWD_COMMAND}`; export r; \
22164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22165 $(SET_LIB_PATH) \
22166 $(HOST_EXPORTS) \
22167 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22169 done; \
22170 echo "Doing html in gdb" ; \
22171 (cd $(HOST_SUBDIR)/gdb && \
22172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22174 "RANLIB=$${RANLIB}" \
22175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22176 html) \
22177 || exit 1
22179 @endif gdb
22181 .PHONY: maybe-TAGS-gdb TAGS-gdb
22182 maybe-TAGS-gdb:
22183 @if gdb
22184 maybe-TAGS-gdb: TAGS-gdb
22186 TAGS-gdb: \
22187 configure-gdb
22188 @[ -f ./gdb/Makefile ] || exit 0; \
22189 r=`${PWD_COMMAND}`; export r; \
22190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22191 $(SET_LIB_PATH) \
22192 $(HOST_EXPORTS) \
22193 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22195 done; \
22196 echo "Doing TAGS in gdb" ; \
22197 (cd $(HOST_SUBDIR)/gdb && \
22198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22200 "RANLIB=$${RANLIB}" \
22201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22202 TAGS) \
22203 || exit 1
22205 @endif gdb
22207 .PHONY: maybe-install-info-gdb install-info-gdb
22208 maybe-install-info-gdb:
22209 @if gdb
22210 maybe-install-info-gdb: install-info-gdb
22212 install-info-gdb: \
22213 configure-gdb \
22214 info-gdb
22215 @[ -f ./gdb/Makefile ] || exit 0; \
22216 r=`${PWD_COMMAND}`; export r; \
22217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22218 $(SET_LIB_PATH) \
22219 $(HOST_EXPORTS) \
22220 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22222 done; \
22223 echo "Doing install-info in gdb" ; \
22224 (cd $(HOST_SUBDIR)/gdb && \
22225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22227 "RANLIB=$${RANLIB}" \
22228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22229 install-info) \
22230 || exit 1
22232 @endif gdb
22234 .PHONY: maybe-installcheck-gdb installcheck-gdb
22235 maybe-installcheck-gdb:
22236 @if gdb
22237 maybe-installcheck-gdb: installcheck-gdb
22239 installcheck-gdb: \
22240 configure-gdb
22241 @[ -f ./gdb/Makefile ] || exit 0; \
22242 r=`${PWD_COMMAND}`; export r; \
22243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22244 $(SET_LIB_PATH) \
22245 $(HOST_EXPORTS) \
22246 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22248 done; \
22249 echo "Doing installcheck in gdb" ; \
22250 (cd $(HOST_SUBDIR)/gdb && \
22251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22253 "RANLIB=$${RANLIB}" \
22254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22255 installcheck) \
22256 || exit 1
22258 @endif gdb
22260 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
22261 maybe-mostlyclean-gdb:
22262 @if gdb
22263 maybe-mostlyclean-gdb: mostlyclean-gdb
22265 mostlyclean-gdb:
22266 @[ -f ./gdb/Makefile ] || exit 0; \
22267 r=`${PWD_COMMAND}`; export r; \
22268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22269 $(SET_LIB_PATH) \
22270 $(HOST_EXPORTS) \
22271 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22273 done; \
22274 echo "Doing mostlyclean in gdb" ; \
22275 (cd $(HOST_SUBDIR)/gdb && \
22276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22278 "RANLIB=$${RANLIB}" \
22279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22280 mostlyclean) \
22281 || exit 1
22283 @endif gdb
22285 .PHONY: maybe-clean-gdb clean-gdb
22286 maybe-clean-gdb:
22287 @if gdb
22288 maybe-clean-gdb: clean-gdb
22290 clean-gdb:
22291 @[ -f ./gdb/Makefile ] || exit 0; \
22292 r=`${PWD_COMMAND}`; export r; \
22293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22294 $(SET_LIB_PATH) \
22295 $(HOST_EXPORTS) \
22296 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22298 done; \
22299 echo "Doing clean in gdb" ; \
22300 (cd $(HOST_SUBDIR)/gdb && \
22301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22303 "RANLIB=$${RANLIB}" \
22304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22305 clean) \
22306 || exit 1
22308 @endif gdb
22310 .PHONY: maybe-distclean-gdb distclean-gdb
22311 maybe-distclean-gdb:
22312 @if gdb
22313 maybe-distclean-gdb: distclean-gdb
22315 distclean-gdb:
22316 @[ -f ./gdb/Makefile ] || exit 0; \
22317 r=`${PWD_COMMAND}`; export r; \
22318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22319 $(SET_LIB_PATH) \
22320 $(HOST_EXPORTS) \
22321 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22323 done; \
22324 echo "Doing distclean in gdb" ; \
22325 (cd $(HOST_SUBDIR)/gdb && \
22326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22328 "RANLIB=$${RANLIB}" \
22329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22330 distclean) \
22331 || exit 1
22333 @endif gdb
22335 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
22336 maybe-maintainer-clean-gdb:
22337 @if gdb
22338 maybe-maintainer-clean-gdb: maintainer-clean-gdb
22340 maintainer-clean-gdb:
22341 @[ -f ./gdb/Makefile ] || exit 0; \
22342 r=`${PWD_COMMAND}`; export r; \
22343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22344 $(SET_LIB_PATH) \
22345 $(HOST_EXPORTS) \
22346 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22348 done; \
22349 echo "Doing maintainer-clean in gdb" ; \
22350 (cd $(HOST_SUBDIR)/gdb && \
22351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22353 "RANLIB=$${RANLIB}" \
22354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22355 maintainer-clean) \
22356 || exit 1
22358 @endif gdb
22361 .PHONY: configure-expect maybe-configure-expect
22362 maybe-configure-expect:
22363 @if expect
22364 maybe-configure-expect: configure-expect
22365 configure-expect:
22366 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
22367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
22368 r=`${PWD_COMMAND}`; export r; \
22369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22370 $(HOST_EXPORTS) \
22371 echo Configuring in expect; \
22372 cd $(HOST_SUBDIR)/expect || exit 1; \
22373 case $(srcdir) in \
22374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22375 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
22376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22377 esac; \
22378 srcdiroption="--srcdir=$${topdir}/expect"; \
22379 libsrcdir="$$s/expect"; \
22380 $(SHELL) $${libsrcdir}/configure \
22381 $(HOST_CONFIGARGS) $${srcdiroption} \
22382 || exit 1
22383 @endif expect
22385 .PHONY: all-expect maybe-all-expect
22386 maybe-all-expect:
22387 @if expect
22388 TARGET-expect=all
22389 maybe-all-expect: all-expect
22390 all-expect: configure-expect
22391 @r=`${PWD_COMMAND}`; export r; \
22392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22393 $(SET_LIB_PATH) \
22394 $(HOST_EXPORTS) \
22395 (cd $(HOST_SUBDIR)/expect && \
22396 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
22397 @endif expect
22399 .PHONY: check-expect maybe-check-expect
22400 maybe-check-expect:
22401 @if expect
22402 maybe-check-expect: check-expect
22404 check-expect:
22405 @r=`${PWD_COMMAND}`; export r; \
22406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22407 $(SET_LIB_PATH) \
22408 $(HOST_EXPORTS) \
22409 (cd $(HOST_SUBDIR)/expect && \
22410 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
22412 @endif expect
22414 .PHONY: install-expect maybe-install-expect
22415 maybe-install-expect:
22416 @if expect
22417 maybe-install-expect: install-expect
22419 install-expect: installdirs
22420 @r=`${PWD_COMMAND}`; export r; \
22421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22422 $(SET_LIB_PATH) \
22423 $(HOST_EXPORTS) \
22424 (cd $(HOST_SUBDIR)/expect && \
22425 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
22427 @endif expect
22429 # Other targets (info, dvi, etc.)
22431 .PHONY: maybe-info-expect info-expect
22432 maybe-info-expect:
22433 @if expect
22434 maybe-info-expect: info-expect
22436 info-expect: \
22437 configure-expect
22438 @[ -f ./expect/Makefile ] || exit 0; \
22439 r=`${PWD_COMMAND}`; export r; \
22440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22441 $(SET_LIB_PATH) \
22442 $(HOST_EXPORTS) \
22443 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22445 done; \
22446 echo "Doing info in expect" ; \
22447 (cd $(HOST_SUBDIR)/expect && \
22448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22450 "RANLIB=$${RANLIB}" \
22451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22452 info) \
22453 || exit 1
22455 @endif expect
22457 .PHONY: maybe-dvi-expect dvi-expect
22458 maybe-dvi-expect:
22459 @if expect
22460 maybe-dvi-expect: dvi-expect
22462 dvi-expect: \
22463 configure-expect
22464 @[ -f ./expect/Makefile ] || exit 0; \
22465 r=`${PWD_COMMAND}`; export r; \
22466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22467 $(SET_LIB_PATH) \
22468 $(HOST_EXPORTS) \
22469 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22471 done; \
22472 echo "Doing dvi in expect" ; \
22473 (cd $(HOST_SUBDIR)/expect && \
22474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22476 "RANLIB=$${RANLIB}" \
22477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22478 dvi) \
22479 || exit 1
22481 @endif expect
22483 .PHONY: maybe-html-expect html-expect
22484 maybe-html-expect:
22485 @if expect
22486 maybe-html-expect: html-expect
22488 html-expect: \
22489 configure-expect
22490 @[ -f ./expect/Makefile ] || exit 0; \
22491 r=`${PWD_COMMAND}`; export r; \
22492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22493 $(SET_LIB_PATH) \
22494 $(HOST_EXPORTS) \
22495 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22497 done; \
22498 echo "Doing html in expect" ; \
22499 (cd $(HOST_SUBDIR)/expect && \
22500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22502 "RANLIB=$${RANLIB}" \
22503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22504 html) \
22505 || exit 1
22507 @endif expect
22509 .PHONY: maybe-TAGS-expect TAGS-expect
22510 maybe-TAGS-expect:
22511 @if expect
22512 maybe-TAGS-expect: TAGS-expect
22514 TAGS-expect: \
22515 configure-expect
22516 @[ -f ./expect/Makefile ] || exit 0; \
22517 r=`${PWD_COMMAND}`; export r; \
22518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22519 $(SET_LIB_PATH) \
22520 $(HOST_EXPORTS) \
22521 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22523 done; \
22524 echo "Doing TAGS in expect" ; \
22525 (cd $(HOST_SUBDIR)/expect && \
22526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22528 "RANLIB=$${RANLIB}" \
22529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22530 TAGS) \
22531 || exit 1
22533 @endif expect
22535 .PHONY: maybe-install-info-expect install-info-expect
22536 maybe-install-info-expect:
22537 @if expect
22538 maybe-install-info-expect: install-info-expect
22540 install-info-expect: \
22541 configure-expect \
22542 info-expect
22543 @[ -f ./expect/Makefile ] || exit 0; \
22544 r=`${PWD_COMMAND}`; export r; \
22545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22546 $(SET_LIB_PATH) \
22547 $(HOST_EXPORTS) \
22548 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22550 done; \
22551 echo "Doing install-info in expect" ; \
22552 (cd $(HOST_SUBDIR)/expect && \
22553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22555 "RANLIB=$${RANLIB}" \
22556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22557 install-info) \
22558 || exit 1
22560 @endif expect
22562 .PHONY: maybe-installcheck-expect installcheck-expect
22563 maybe-installcheck-expect:
22564 @if expect
22565 maybe-installcheck-expect: installcheck-expect
22567 installcheck-expect: \
22568 configure-expect
22569 @[ -f ./expect/Makefile ] || exit 0; \
22570 r=`${PWD_COMMAND}`; export r; \
22571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22572 $(SET_LIB_PATH) \
22573 $(HOST_EXPORTS) \
22574 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22576 done; \
22577 echo "Doing installcheck in expect" ; \
22578 (cd $(HOST_SUBDIR)/expect && \
22579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22581 "RANLIB=$${RANLIB}" \
22582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22583 installcheck) \
22584 || exit 1
22586 @endif expect
22588 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
22589 maybe-mostlyclean-expect:
22590 @if expect
22591 maybe-mostlyclean-expect: mostlyclean-expect
22593 mostlyclean-expect:
22594 @[ -f ./expect/Makefile ] || exit 0; \
22595 r=`${PWD_COMMAND}`; export r; \
22596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22597 $(SET_LIB_PATH) \
22598 $(HOST_EXPORTS) \
22599 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22601 done; \
22602 echo "Doing mostlyclean in expect" ; \
22603 (cd $(HOST_SUBDIR)/expect && \
22604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22606 "RANLIB=$${RANLIB}" \
22607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22608 mostlyclean) \
22609 || exit 1
22611 @endif expect
22613 .PHONY: maybe-clean-expect clean-expect
22614 maybe-clean-expect:
22615 @if expect
22616 maybe-clean-expect: clean-expect
22618 clean-expect:
22619 @[ -f ./expect/Makefile ] || exit 0; \
22620 r=`${PWD_COMMAND}`; export r; \
22621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22622 $(SET_LIB_PATH) \
22623 $(HOST_EXPORTS) \
22624 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22626 done; \
22627 echo "Doing clean in expect" ; \
22628 (cd $(HOST_SUBDIR)/expect && \
22629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22631 "RANLIB=$${RANLIB}" \
22632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22633 clean) \
22634 || exit 1
22636 @endif expect
22638 .PHONY: maybe-distclean-expect distclean-expect
22639 maybe-distclean-expect:
22640 @if expect
22641 maybe-distclean-expect: distclean-expect
22643 distclean-expect:
22644 @[ -f ./expect/Makefile ] || exit 0; \
22645 r=`${PWD_COMMAND}`; export r; \
22646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22647 $(SET_LIB_PATH) \
22648 $(HOST_EXPORTS) \
22649 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22651 done; \
22652 echo "Doing distclean in expect" ; \
22653 (cd $(HOST_SUBDIR)/expect && \
22654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22656 "RANLIB=$${RANLIB}" \
22657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22658 distclean) \
22659 || exit 1
22661 @endif expect
22663 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
22664 maybe-maintainer-clean-expect:
22665 @if expect
22666 maybe-maintainer-clean-expect: maintainer-clean-expect
22668 maintainer-clean-expect:
22669 @[ -f ./expect/Makefile ] || exit 0; \
22670 r=`${PWD_COMMAND}`; export r; \
22671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22672 $(SET_LIB_PATH) \
22673 $(HOST_EXPORTS) \
22674 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22676 done; \
22677 echo "Doing maintainer-clean in expect" ; \
22678 (cd $(HOST_SUBDIR)/expect && \
22679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22681 "RANLIB=$${RANLIB}" \
22682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22683 maintainer-clean) \
22684 || exit 1
22686 @endif expect
22689 .PHONY: configure-guile maybe-configure-guile
22690 maybe-configure-guile:
22691 @if guile
22692 maybe-configure-guile: configure-guile
22693 configure-guile:
22694 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
22695 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
22696 r=`${PWD_COMMAND}`; export r; \
22697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22698 $(HOST_EXPORTS) \
22699 echo Configuring in guile; \
22700 cd $(HOST_SUBDIR)/guile || exit 1; \
22701 case $(srcdir) in \
22702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22703 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
22704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22705 esac; \
22706 srcdiroption="--srcdir=$${topdir}/guile"; \
22707 libsrcdir="$$s/guile"; \
22708 $(SHELL) $${libsrcdir}/configure \
22709 $(HOST_CONFIGARGS) $${srcdiroption} \
22710 || exit 1
22711 @endif guile
22713 .PHONY: all-guile maybe-all-guile
22714 maybe-all-guile:
22715 @if guile
22716 TARGET-guile=all
22717 maybe-all-guile: all-guile
22718 all-guile: configure-guile
22719 @r=`${PWD_COMMAND}`; export r; \
22720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22721 $(SET_LIB_PATH) \
22722 $(HOST_EXPORTS) \
22723 (cd $(HOST_SUBDIR)/guile && \
22724 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
22725 @endif guile
22727 .PHONY: check-guile maybe-check-guile
22728 maybe-check-guile:
22729 @if guile
22730 maybe-check-guile: check-guile
22732 check-guile:
22733 @r=`${PWD_COMMAND}`; export r; \
22734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22735 $(SET_LIB_PATH) \
22736 $(HOST_EXPORTS) \
22737 (cd $(HOST_SUBDIR)/guile && \
22738 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
22740 @endif guile
22742 .PHONY: install-guile maybe-install-guile
22743 maybe-install-guile:
22744 @if guile
22745 maybe-install-guile: install-guile
22747 install-guile: installdirs
22748 @r=`${PWD_COMMAND}`; export r; \
22749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22750 $(SET_LIB_PATH) \
22751 $(HOST_EXPORTS) \
22752 (cd $(HOST_SUBDIR)/guile && \
22753 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
22755 @endif guile
22757 # Other targets (info, dvi, etc.)
22759 .PHONY: maybe-info-guile info-guile
22760 maybe-info-guile:
22761 @if guile
22762 maybe-info-guile: info-guile
22764 info-guile: \
22765 configure-guile
22766 @[ -f ./guile/Makefile ] || exit 0; \
22767 r=`${PWD_COMMAND}`; export r; \
22768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22769 $(SET_LIB_PATH) \
22770 $(HOST_EXPORTS) \
22771 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22773 done; \
22774 echo "Doing info in guile" ; \
22775 (cd $(HOST_SUBDIR)/guile && \
22776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22778 "RANLIB=$${RANLIB}" \
22779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22780 info) \
22781 || exit 1
22783 @endif guile
22785 .PHONY: maybe-dvi-guile dvi-guile
22786 maybe-dvi-guile:
22787 @if guile
22788 maybe-dvi-guile: dvi-guile
22790 dvi-guile: \
22791 configure-guile
22792 @[ -f ./guile/Makefile ] || exit 0; \
22793 r=`${PWD_COMMAND}`; export r; \
22794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22795 $(SET_LIB_PATH) \
22796 $(HOST_EXPORTS) \
22797 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22799 done; \
22800 echo "Doing dvi in guile" ; \
22801 (cd $(HOST_SUBDIR)/guile && \
22802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22804 "RANLIB=$${RANLIB}" \
22805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22806 dvi) \
22807 || exit 1
22809 @endif guile
22811 .PHONY: maybe-html-guile html-guile
22812 maybe-html-guile:
22813 @if guile
22814 maybe-html-guile: html-guile
22816 html-guile: \
22817 configure-guile
22818 @[ -f ./guile/Makefile ] || exit 0; \
22819 r=`${PWD_COMMAND}`; export r; \
22820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22821 $(SET_LIB_PATH) \
22822 $(HOST_EXPORTS) \
22823 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22825 done; \
22826 echo "Doing html in guile" ; \
22827 (cd $(HOST_SUBDIR)/guile && \
22828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22830 "RANLIB=$${RANLIB}" \
22831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22832 html) \
22833 || exit 1
22835 @endif guile
22837 .PHONY: maybe-TAGS-guile TAGS-guile
22838 maybe-TAGS-guile:
22839 @if guile
22840 maybe-TAGS-guile: TAGS-guile
22842 TAGS-guile: \
22843 configure-guile
22844 @[ -f ./guile/Makefile ] || exit 0; \
22845 r=`${PWD_COMMAND}`; export r; \
22846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22847 $(SET_LIB_PATH) \
22848 $(HOST_EXPORTS) \
22849 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22851 done; \
22852 echo "Doing TAGS in guile" ; \
22853 (cd $(HOST_SUBDIR)/guile && \
22854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22856 "RANLIB=$${RANLIB}" \
22857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22858 TAGS) \
22859 || exit 1
22861 @endif guile
22863 .PHONY: maybe-install-info-guile install-info-guile
22864 maybe-install-info-guile:
22865 @if guile
22866 maybe-install-info-guile: install-info-guile
22868 install-info-guile: \
22869 configure-guile \
22870 info-guile
22871 @[ -f ./guile/Makefile ] || exit 0; \
22872 r=`${PWD_COMMAND}`; export r; \
22873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22874 $(SET_LIB_PATH) \
22875 $(HOST_EXPORTS) \
22876 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22878 done; \
22879 echo "Doing install-info in guile" ; \
22880 (cd $(HOST_SUBDIR)/guile && \
22881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22883 "RANLIB=$${RANLIB}" \
22884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22885 install-info) \
22886 || exit 1
22888 @endif guile
22890 .PHONY: maybe-installcheck-guile installcheck-guile
22891 maybe-installcheck-guile:
22892 @if guile
22893 maybe-installcheck-guile: installcheck-guile
22895 installcheck-guile: \
22896 configure-guile
22897 @[ -f ./guile/Makefile ] || exit 0; \
22898 r=`${PWD_COMMAND}`; export r; \
22899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22900 $(SET_LIB_PATH) \
22901 $(HOST_EXPORTS) \
22902 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22904 done; \
22905 echo "Doing installcheck in guile" ; \
22906 (cd $(HOST_SUBDIR)/guile && \
22907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22909 "RANLIB=$${RANLIB}" \
22910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22911 installcheck) \
22912 || exit 1
22914 @endif guile
22916 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
22917 maybe-mostlyclean-guile:
22918 @if guile
22919 maybe-mostlyclean-guile: mostlyclean-guile
22921 mostlyclean-guile:
22922 @[ -f ./guile/Makefile ] || exit 0; \
22923 r=`${PWD_COMMAND}`; export r; \
22924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22925 $(SET_LIB_PATH) \
22926 $(HOST_EXPORTS) \
22927 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22929 done; \
22930 echo "Doing mostlyclean in guile" ; \
22931 (cd $(HOST_SUBDIR)/guile && \
22932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22934 "RANLIB=$${RANLIB}" \
22935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22936 mostlyclean) \
22937 || exit 1
22939 @endif guile
22941 .PHONY: maybe-clean-guile clean-guile
22942 maybe-clean-guile:
22943 @if guile
22944 maybe-clean-guile: clean-guile
22946 clean-guile:
22947 @[ -f ./guile/Makefile ] || exit 0; \
22948 r=`${PWD_COMMAND}`; export r; \
22949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22950 $(SET_LIB_PATH) \
22951 $(HOST_EXPORTS) \
22952 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22954 done; \
22955 echo "Doing clean in guile" ; \
22956 (cd $(HOST_SUBDIR)/guile && \
22957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22959 "RANLIB=$${RANLIB}" \
22960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22961 clean) \
22962 || exit 1
22964 @endif guile
22966 .PHONY: maybe-distclean-guile distclean-guile
22967 maybe-distclean-guile:
22968 @if guile
22969 maybe-distclean-guile: distclean-guile
22971 distclean-guile:
22972 @[ -f ./guile/Makefile ] || exit 0; \
22973 r=`${PWD_COMMAND}`; export r; \
22974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22975 $(SET_LIB_PATH) \
22976 $(HOST_EXPORTS) \
22977 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22979 done; \
22980 echo "Doing distclean in guile" ; \
22981 (cd $(HOST_SUBDIR)/guile && \
22982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22984 "RANLIB=$${RANLIB}" \
22985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22986 distclean) \
22987 || exit 1
22989 @endif guile
22991 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
22992 maybe-maintainer-clean-guile:
22993 @if guile
22994 maybe-maintainer-clean-guile: maintainer-clean-guile
22996 maintainer-clean-guile:
22997 @[ -f ./guile/Makefile ] || exit 0; \
22998 r=`${PWD_COMMAND}`; export r; \
22999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23000 $(SET_LIB_PATH) \
23001 $(HOST_EXPORTS) \
23002 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23004 done; \
23005 echo "Doing maintainer-clean in guile" ; \
23006 (cd $(HOST_SUBDIR)/guile && \
23007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23009 "RANLIB=$${RANLIB}" \
23010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23011 maintainer-clean) \
23012 || exit 1
23014 @endif guile
23017 .PHONY: configure-tk maybe-configure-tk
23018 maybe-configure-tk:
23019 @if tk
23020 maybe-configure-tk: configure-tk
23021 configure-tk:
23022 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
23023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
23024 r=`${PWD_COMMAND}`; export r; \
23025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23026 $(HOST_EXPORTS) \
23027 echo Configuring in tk; \
23028 cd $(HOST_SUBDIR)/tk || exit 1; \
23029 case $(srcdir) in \
23030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23031 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
23032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23033 esac; \
23034 srcdiroption="--srcdir=$${topdir}/tk"; \
23035 libsrcdir="$$s/tk"; \
23036 $(SHELL) $${libsrcdir}/configure \
23037 $(HOST_CONFIGARGS) $${srcdiroption} \
23038 || exit 1
23039 @endif tk
23041 .PHONY: all-tk maybe-all-tk
23042 maybe-all-tk:
23043 @if tk
23044 TARGET-tk=all
23045 maybe-all-tk: all-tk
23046 all-tk: configure-tk
23047 @r=`${PWD_COMMAND}`; export r; \
23048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23049 $(SET_LIB_PATH) \
23050 $(HOST_EXPORTS) \
23051 (cd $(HOST_SUBDIR)/tk && \
23052 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
23053 @endif tk
23055 .PHONY: check-tk maybe-check-tk
23056 maybe-check-tk:
23057 @if tk
23058 maybe-check-tk: check-tk
23060 check-tk:
23061 @r=`${PWD_COMMAND}`; export r; \
23062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23063 $(SET_LIB_PATH) \
23064 $(HOST_EXPORTS) \
23065 (cd $(HOST_SUBDIR)/tk && \
23066 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
23068 @endif tk
23070 .PHONY: install-tk maybe-install-tk
23071 maybe-install-tk:
23072 @if tk
23073 maybe-install-tk: install-tk
23075 install-tk: installdirs
23076 @r=`${PWD_COMMAND}`; export r; \
23077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23078 $(SET_LIB_PATH) \
23079 $(HOST_EXPORTS) \
23080 (cd $(HOST_SUBDIR)/tk && \
23081 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
23083 @endif tk
23085 # Other targets (info, dvi, etc.)
23087 .PHONY: maybe-info-tk info-tk
23088 maybe-info-tk:
23089 @if tk
23090 maybe-info-tk: info-tk
23092 info-tk: \
23093 configure-tk
23094 @[ -f ./tk/Makefile ] || exit 0; \
23095 r=`${PWD_COMMAND}`; export r; \
23096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23097 $(SET_LIB_PATH) \
23098 $(HOST_EXPORTS) \
23099 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23101 done; \
23102 echo "Doing info in tk" ; \
23103 (cd $(HOST_SUBDIR)/tk && \
23104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23106 "RANLIB=$${RANLIB}" \
23107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23108 info) \
23109 || exit 1
23111 @endif tk
23113 .PHONY: maybe-dvi-tk dvi-tk
23114 maybe-dvi-tk:
23115 @if tk
23116 maybe-dvi-tk: dvi-tk
23118 dvi-tk: \
23119 configure-tk
23120 @[ -f ./tk/Makefile ] || exit 0; \
23121 r=`${PWD_COMMAND}`; export r; \
23122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23123 $(SET_LIB_PATH) \
23124 $(HOST_EXPORTS) \
23125 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23127 done; \
23128 echo "Doing dvi in tk" ; \
23129 (cd $(HOST_SUBDIR)/tk && \
23130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23132 "RANLIB=$${RANLIB}" \
23133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23134 dvi) \
23135 || exit 1
23137 @endif tk
23139 .PHONY: maybe-html-tk html-tk
23140 maybe-html-tk:
23141 @if tk
23142 maybe-html-tk: html-tk
23144 html-tk: \
23145 configure-tk
23146 @[ -f ./tk/Makefile ] || exit 0; \
23147 r=`${PWD_COMMAND}`; export r; \
23148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23149 $(SET_LIB_PATH) \
23150 $(HOST_EXPORTS) \
23151 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23153 done; \
23154 echo "Doing html in tk" ; \
23155 (cd $(HOST_SUBDIR)/tk && \
23156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23158 "RANLIB=$${RANLIB}" \
23159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23160 html) \
23161 || exit 1
23163 @endif tk
23165 .PHONY: maybe-TAGS-tk TAGS-tk
23166 maybe-TAGS-tk:
23167 @if tk
23168 maybe-TAGS-tk: TAGS-tk
23170 TAGS-tk: \
23171 configure-tk
23172 @[ -f ./tk/Makefile ] || exit 0; \
23173 r=`${PWD_COMMAND}`; export r; \
23174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23175 $(SET_LIB_PATH) \
23176 $(HOST_EXPORTS) \
23177 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23179 done; \
23180 echo "Doing TAGS in tk" ; \
23181 (cd $(HOST_SUBDIR)/tk && \
23182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23184 "RANLIB=$${RANLIB}" \
23185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23186 TAGS) \
23187 || exit 1
23189 @endif tk
23191 .PHONY: maybe-install-info-tk install-info-tk
23192 maybe-install-info-tk:
23193 @if tk
23194 maybe-install-info-tk: install-info-tk
23196 install-info-tk: \
23197 configure-tk \
23198 info-tk
23199 @[ -f ./tk/Makefile ] || exit 0; \
23200 r=`${PWD_COMMAND}`; export r; \
23201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23202 $(SET_LIB_PATH) \
23203 $(HOST_EXPORTS) \
23204 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23206 done; \
23207 echo "Doing install-info in tk" ; \
23208 (cd $(HOST_SUBDIR)/tk && \
23209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23211 "RANLIB=$${RANLIB}" \
23212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23213 install-info) \
23214 || exit 1
23216 @endif tk
23218 .PHONY: maybe-installcheck-tk installcheck-tk
23219 maybe-installcheck-tk:
23220 @if tk
23221 maybe-installcheck-tk: installcheck-tk
23223 installcheck-tk: \
23224 configure-tk
23225 @[ -f ./tk/Makefile ] || exit 0; \
23226 r=`${PWD_COMMAND}`; export r; \
23227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23228 $(SET_LIB_PATH) \
23229 $(HOST_EXPORTS) \
23230 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23232 done; \
23233 echo "Doing installcheck in tk" ; \
23234 (cd $(HOST_SUBDIR)/tk && \
23235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23237 "RANLIB=$${RANLIB}" \
23238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23239 installcheck) \
23240 || exit 1
23242 @endif tk
23244 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
23245 maybe-mostlyclean-tk:
23246 @if tk
23247 maybe-mostlyclean-tk: mostlyclean-tk
23249 mostlyclean-tk:
23250 @[ -f ./tk/Makefile ] || exit 0; \
23251 r=`${PWD_COMMAND}`; export r; \
23252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23253 $(SET_LIB_PATH) \
23254 $(HOST_EXPORTS) \
23255 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23257 done; \
23258 echo "Doing mostlyclean in tk" ; \
23259 (cd $(HOST_SUBDIR)/tk && \
23260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23262 "RANLIB=$${RANLIB}" \
23263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23264 mostlyclean) \
23265 || exit 1
23267 @endif tk
23269 .PHONY: maybe-clean-tk clean-tk
23270 maybe-clean-tk:
23271 @if tk
23272 maybe-clean-tk: clean-tk
23274 clean-tk:
23275 @[ -f ./tk/Makefile ] || exit 0; \
23276 r=`${PWD_COMMAND}`; export r; \
23277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23278 $(SET_LIB_PATH) \
23279 $(HOST_EXPORTS) \
23280 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23282 done; \
23283 echo "Doing clean in tk" ; \
23284 (cd $(HOST_SUBDIR)/tk && \
23285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23287 "RANLIB=$${RANLIB}" \
23288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23289 clean) \
23290 || exit 1
23292 @endif tk
23294 .PHONY: maybe-distclean-tk distclean-tk
23295 maybe-distclean-tk:
23296 @if tk
23297 maybe-distclean-tk: distclean-tk
23299 distclean-tk:
23300 @[ -f ./tk/Makefile ] || exit 0; \
23301 r=`${PWD_COMMAND}`; export r; \
23302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23303 $(SET_LIB_PATH) \
23304 $(HOST_EXPORTS) \
23305 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23307 done; \
23308 echo "Doing distclean in tk" ; \
23309 (cd $(HOST_SUBDIR)/tk && \
23310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23312 "RANLIB=$${RANLIB}" \
23313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23314 distclean) \
23315 || exit 1
23317 @endif tk
23319 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
23320 maybe-maintainer-clean-tk:
23321 @if tk
23322 maybe-maintainer-clean-tk: maintainer-clean-tk
23324 maintainer-clean-tk:
23325 @[ -f ./tk/Makefile ] || exit 0; \
23326 r=`${PWD_COMMAND}`; export r; \
23327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23328 $(SET_LIB_PATH) \
23329 $(HOST_EXPORTS) \
23330 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23332 done; \
23333 echo "Doing maintainer-clean in tk" ; \
23334 (cd $(HOST_SUBDIR)/tk && \
23335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23337 "RANLIB=$${RANLIB}" \
23338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23339 maintainer-clean) \
23340 || exit 1
23342 @endif tk
23345 .PHONY: configure-libtermcap maybe-configure-libtermcap
23346 maybe-configure-libtermcap:
23347 @if libtermcap
23348 maybe-configure-libtermcap: configure-libtermcap
23349 configure-libtermcap:
23350 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
23351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
23352 r=`${PWD_COMMAND}`; export r; \
23353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23354 $(HOST_EXPORTS) \
23355 echo Configuring in libtermcap; \
23356 cd $(HOST_SUBDIR)/libtermcap || exit 1; \
23357 case $(srcdir) in \
23358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23359 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
23360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23361 esac; \
23362 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23363 libsrcdir="$$s/libtermcap"; \
23364 $(SHELL) $${libsrcdir}/configure \
23365 $(HOST_CONFIGARGS) $${srcdiroption} \
23366 || exit 1
23367 @endif libtermcap
23369 .PHONY: all-libtermcap maybe-all-libtermcap
23370 maybe-all-libtermcap:
23371 @if libtermcap
23372 TARGET-libtermcap=all
23373 maybe-all-libtermcap: all-libtermcap
23374 all-libtermcap: configure-libtermcap
23375 @r=`${PWD_COMMAND}`; export r; \
23376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23377 $(SET_LIB_PATH) \
23378 $(HOST_EXPORTS) \
23379 (cd $(HOST_SUBDIR)/libtermcap && \
23380 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
23381 @endif libtermcap
23383 .PHONY: check-libtermcap maybe-check-libtermcap
23384 maybe-check-libtermcap:
23385 @if libtermcap
23386 maybe-check-libtermcap: check-libtermcap
23388 check-libtermcap:
23390 @endif libtermcap
23392 .PHONY: install-libtermcap maybe-install-libtermcap
23393 maybe-install-libtermcap:
23394 @if libtermcap
23395 maybe-install-libtermcap: install-libtermcap
23397 install-libtermcap: installdirs
23398 @r=`${PWD_COMMAND}`; export r; \
23399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23400 $(SET_LIB_PATH) \
23401 $(HOST_EXPORTS) \
23402 (cd $(HOST_SUBDIR)/libtermcap && \
23403 $(MAKE) $(FLAGS_TO_PASS) install)
23405 @endif libtermcap
23407 # Other targets (info, dvi, etc.)
23409 .PHONY: maybe-info-libtermcap info-libtermcap
23410 maybe-info-libtermcap:
23411 @if libtermcap
23412 maybe-info-libtermcap: info-libtermcap
23414 info-libtermcap: \
23415 configure-libtermcap
23416 @[ -f ./libtermcap/Makefile ] || exit 0; \
23417 r=`${PWD_COMMAND}`; export r; \
23418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23419 $(SET_LIB_PATH) \
23420 $(HOST_EXPORTS) \
23421 for flag in $(EXTRA_HOST_FLAGS) ; do \
23422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23423 done; \
23424 echo "Doing info in libtermcap" ; \
23425 (cd $(HOST_SUBDIR)/libtermcap && \
23426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23428 "RANLIB=$${RANLIB}" \
23429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23430 info) \
23431 || exit 1
23433 @endif libtermcap
23435 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
23436 maybe-dvi-libtermcap:
23437 @if libtermcap
23438 maybe-dvi-libtermcap: dvi-libtermcap
23440 dvi-libtermcap: \
23441 configure-libtermcap
23442 @[ -f ./libtermcap/Makefile ] || exit 0; \
23443 r=`${PWD_COMMAND}`; export r; \
23444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23445 $(SET_LIB_PATH) \
23446 $(HOST_EXPORTS) \
23447 for flag in $(EXTRA_HOST_FLAGS) ; do \
23448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23449 done; \
23450 echo "Doing dvi in libtermcap" ; \
23451 (cd $(HOST_SUBDIR)/libtermcap && \
23452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23454 "RANLIB=$${RANLIB}" \
23455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23456 dvi) \
23457 || exit 1
23459 @endif libtermcap
23461 .PHONY: maybe-html-libtermcap html-libtermcap
23462 maybe-html-libtermcap:
23463 @if libtermcap
23464 maybe-html-libtermcap: html-libtermcap
23466 html-libtermcap: \
23467 configure-libtermcap
23468 @[ -f ./libtermcap/Makefile ] || exit 0; \
23469 r=`${PWD_COMMAND}`; export r; \
23470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23471 $(SET_LIB_PATH) \
23472 $(HOST_EXPORTS) \
23473 for flag in $(EXTRA_HOST_FLAGS) ; do \
23474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23475 done; \
23476 echo "Doing html in libtermcap" ; \
23477 (cd $(HOST_SUBDIR)/libtermcap && \
23478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23480 "RANLIB=$${RANLIB}" \
23481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23482 html) \
23483 || exit 1
23485 @endif libtermcap
23487 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
23488 maybe-TAGS-libtermcap:
23489 @if libtermcap
23490 maybe-TAGS-libtermcap: TAGS-libtermcap
23492 TAGS-libtermcap: \
23493 configure-libtermcap
23494 @[ -f ./libtermcap/Makefile ] || exit 0; \
23495 r=`${PWD_COMMAND}`; export r; \
23496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23497 $(SET_LIB_PATH) \
23498 $(HOST_EXPORTS) \
23499 for flag in $(EXTRA_HOST_FLAGS) ; do \
23500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23501 done; \
23502 echo "Doing TAGS in libtermcap" ; \
23503 (cd $(HOST_SUBDIR)/libtermcap && \
23504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23506 "RANLIB=$${RANLIB}" \
23507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23508 TAGS) \
23509 || exit 1
23511 @endif libtermcap
23513 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
23514 maybe-install-info-libtermcap:
23515 @if libtermcap
23516 maybe-install-info-libtermcap: install-info-libtermcap
23518 install-info-libtermcap: \
23519 configure-libtermcap \
23520 info-libtermcap
23521 @[ -f ./libtermcap/Makefile ] || exit 0; \
23522 r=`${PWD_COMMAND}`; export r; \
23523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23524 $(SET_LIB_PATH) \
23525 $(HOST_EXPORTS) \
23526 for flag in $(EXTRA_HOST_FLAGS) ; do \
23527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23528 done; \
23529 echo "Doing install-info in libtermcap" ; \
23530 (cd $(HOST_SUBDIR)/libtermcap && \
23531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23533 "RANLIB=$${RANLIB}" \
23534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23535 install-info) \
23536 || exit 1
23538 @endif libtermcap
23540 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
23541 maybe-installcheck-libtermcap:
23542 @if libtermcap
23543 maybe-installcheck-libtermcap: installcheck-libtermcap
23545 installcheck-libtermcap: \
23546 configure-libtermcap
23547 @[ -f ./libtermcap/Makefile ] || exit 0; \
23548 r=`${PWD_COMMAND}`; export r; \
23549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23550 $(SET_LIB_PATH) \
23551 $(HOST_EXPORTS) \
23552 for flag in $(EXTRA_HOST_FLAGS) ; do \
23553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23554 done; \
23555 echo "Doing installcheck in libtermcap" ; \
23556 (cd $(HOST_SUBDIR)/libtermcap && \
23557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23559 "RANLIB=$${RANLIB}" \
23560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23561 installcheck) \
23562 || exit 1
23564 @endif libtermcap
23566 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
23567 maybe-mostlyclean-libtermcap:
23568 @if libtermcap
23569 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
23571 # libtermcap doesn't support mostlyclean.
23572 mostlyclean-libtermcap:
23574 @endif libtermcap
23576 .PHONY: maybe-clean-libtermcap clean-libtermcap
23577 maybe-clean-libtermcap:
23578 @if libtermcap
23579 maybe-clean-libtermcap: clean-libtermcap
23581 # libtermcap doesn't support clean.
23582 clean-libtermcap:
23584 @endif libtermcap
23586 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
23587 maybe-distclean-libtermcap:
23588 @if libtermcap
23589 maybe-distclean-libtermcap: distclean-libtermcap
23591 # libtermcap doesn't support distclean.
23592 distclean-libtermcap:
23594 @endif libtermcap
23596 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
23597 maybe-maintainer-clean-libtermcap:
23598 @if libtermcap
23599 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
23601 # libtermcap doesn't support maintainer-clean.
23602 maintainer-clean-libtermcap:
23604 @endif libtermcap
23607 .PHONY: configure-utils maybe-configure-utils
23608 maybe-configure-utils:
23609 @if utils
23610 maybe-configure-utils: configure-utils
23611 configure-utils:
23612 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
23613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
23614 r=`${PWD_COMMAND}`; export r; \
23615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23616 $(HOST_EXPORTS) \
23617 echo Configuring in utils; \
23618 cd $(HOST_SUBDIR)/utils || exit 1; \
23619 case $(srcdir) in \
23620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23621 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
23622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23623 esac; \
23624 srcdiroption="--srcdir=$${topdir}/utils"; \
23625 libsrcdir="$$s/utils"; \
23626 $(SHELL) $${libsrcdir}/configure \
23627 $(HOST_CONFIGARGS) $${srcdiroption} \
23628 || exit 1
23629 @endif utils
23631 .PHONY: all-utils maybe-all-utils
23632 maybe-all-utils:
23633 @if utils
23634 TARGET-utils=all
23635 maybe-all-utils: all-utils
23636 all-utils: configure-utils
23637 @r=`${PWD_COMMAND}`; export r; \
23638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23639 $(SET_LIB_PATH) \
23640 $(HOST_EXPORTS) \
23641 (cd $(HOST_SUBDIR)/utils && \
23642 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
23643 @endif utils
23645 .PHONY: check-utils maybe-check-utils
23646 maybe-check-utils:
23647 @if utils
23648 maybe-check-utils: check-utils
23650 check-utils:
23652 @endif utils
23654 .PHONY: install-utils maybe-install-utils
23655 maybe-install-utils:
23656 @if utils
23657 maybe-install-utils: install-utils
23659 install-utils: installdirs
23660 @r=`${PWD_COMMAND}`; export r; \
23661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23662 $(SET_LIB_PATH) \
23663 $(HOST_EXPORTS) \
23664 (cd $(HOST_SUBDIR)/utils && \
23665 $(MAKE) $(FLAGS_TO_PASS) install)
23667 @endif utils
23669 # Other targets (info, dvi, etc.)
23671 .PHONY: maybe-info-utils info-utils
23672 maybe-info-utils:
23673 @if utils
23674 maybe-info-utils: info-utils
23676 info-utils: \
23677 configure-utils
23678 @[ -f ./utils/Makefile ] || exit 0; \
23679 r=`${PWD_COMMAND}`; export r; \
23680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23681 $(SET_LIB_PATH) \
23682 $(HOST_EXPORTS) \
23683 for flag in $(EXTRA_HOST_FLAGS) ; do \
23684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23685 done; \
23686 echo "Doing info in utils" ; \
23687 (cd $(HOST_SUBDIR)/utils && \
23688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23690 "RANLIB=$${RANLIB}" \
23691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23692 info) \
23693 || exit 1
23695 @endif utils
23697 .PHONY: maybe-dvi-utils dvi-utils
23698 maybe-dvi-utils:
23699 @if utils
23700 maybe-dvi-utils: dvi-utils
23702 dvi-utils: \
23703 configure-utils
23704 @[ -f ./utils/Makefile ] || exit 0; \
23705 r=`${PWD_COMMAND}`; export r; \
23706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23707 $(SET_LIB_PATH) \
23708 $(HOST_EXPORTS) \
23709 for flag in $(EXTRA_HOST_FLAGS) ; do \
23710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23711 done; \
23712 echo "Doing dvi in utils" ; \
23713 (cd $(HOST_SUBDIR)/utils && \
23714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23716 "RANLIB=$${RANLIB}" \
23717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23718 dvi) \
23719 || exit 1
23721 @endif utils
23723 .PHONY: maybe-html-utils html-utils
23724 maybe-html-utils:
23725 @if utils
23726 maybe-html-utils: html-utils
23728 html-utils: \
23729 configure-utils
23730 @[ -f ./utils/Makefile ] || exit 0; \
23731 r=`${PWD_COMMAND}`; export r; \
23732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23733 $(SET_LIB_PATH) \
23734 $(HOST_EXPORTS) \
23735 for flag in $(EXTRA_HOST_FLAGS) ; do \
23736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23737 done; \
23738 echo "Doing html in utils" ; \
23739 (cd $(HOST_SUBDIR)/utils && \
23740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23742 "RANLIB=$${RANLIB}" \
23743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23744 html) \
23745 || exit 1
23747 @endif utils
23749 .PHONY: maybe-TAGS-utils TAGS-utils
23750 maybe-TAGS-utils:
23751 @if utils
23752 maybe-TAGS-utils: TAGS-utils
23754 TAGS-utils: \
23755 configure-utils
23756 @[ -f ./utils/Makefile ] || exit 0; \
23757 r=`${PWD_COMMAND}`; export r; \
23758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23759 $(SET_LIB_PATH) \
23760 $(HOST_EXPORTS) \
23761 for flag in $(EXTRA_HOST_FLAGS) ; do \
23762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23763 done; \
23764 echo "Doing TAGS in utils" ; \
23765 (cd $(HOST_SUBDIR)/utils && \
23766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23768 "RANLIB=$${RANLIB}" \
23769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23770 TAGS) \
23771 || exit 1
23773 @endif utils
23775 .PHONY: maybe-install-info-utils install-info-utils
23776 maybe-install-info-utils:
23777 @if utils
23778 maybe-install-info-utils: install-info-utils
23780 install-info-utils: \
23781 configure-utils \
23782 info-utils
23783 @[ -f ./utils/Makefile ] || exit 0; \
23784 r=`${PWD_COMMAND}`; export r; \
23785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23786 $(SET_LIB_PATH) \
23787 $(HOST_EXPORTS) \
23788 for flag in $(EXTRA_HOST_FLAGS) ; do \
23789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23790 done; \
23791 echo "Doing install-info in utils" ; \
23792 (cd $(HOST_SUBDIR)/utils && \
23793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23795 "RANLIB=$${RANLIB}" \
23796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23797 install-info) \
23798 || exit 1
23800 @endif utils
23802 .PHONY: maybe-installcheck-utils installcheck-utils
23803 maybe-installcheck-utils:
23804 @if utils
23805 maybe-installcheck-utils: installcheck-utils
23807 installcheck-utils: \
23808 configure-utils
23809 @[ -f ./utils/Makefile ] || exit 0; \
23810 r=`${PWD_COMMAND}`; export r; \
23811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23812 $(SET_LIB_PATH) \
23813 $(HOST_EXPORTS) \
23814 for flag in $(EXTRA_HOST_FLAGS) ; do \
23815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23816 done; \
23817 echo "Doing installcheck in utils" ; \
23818 (cd $(HOST_SUBDIR)/utils && \
23819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23821 "RANLIB=$${RANLIB}" \
23822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23823 installcheck) \
23824 || exit 1
23826 @endif utils
23828 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
23829 maybe-mostlyclean-utils:
23830 @if utils
23831 maybe-mostlyclean-utils: mostlyclean-utils
23833 mostlyclean-utils:
23834 @[ -f ./utils/Makefile ] || exit 0; \
23835 r=`${PWD_COMMAND}`; export r; \
23836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23837 $(SET_LIB_PATH) \
23838 $(HOST_EXPORTS) \
23839 for flag in $(EXTRA_HOST_FLAGS) ; do \
23840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23841 done; \
23842 echo "Doing mostlyclean in utils" ; \
23843 (cd $(HOST_SUBDIR)/utils && \
23844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23846 "RANLIB=$${RANLIB}" \
23847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23848 mostlyclean) \
23849 || exit 1
23851 @endif utils
23853 .PHONY: maybe-clean-utils clean-utils
23854 maybe-clean-utils:
23855 @if utils
23856 maybe-clean-utils: clean-utils
23858 clean-utils:
23859 @[ -f ./utils/Makefile ] || exit 0; \
23860 r=`${PWD_COMMAND}`; export r; \
23861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23862 $(SET_LIB_PATH) \
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 clean in utils" ; \
23868 (cd $(HOST_SUBDIR)/utils && \
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 clean) \
23874 || exit 1
23876 @endif utils
23878 .PHONY: maybe-distclean-utils distclean-utils
23879 maybe-distclean-utils:
23880 @if utils
23881 maybe-distclean-utils: distclean-utils
23883 distclean-utils:
23884 @[ -f ./utils/Makefile ] || exit 0; \
23885 r=`${PWD_COMMAND}`; export r; \
23886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23887 $(SET_LIB_PATH) \
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 distclean in utils" ; \
23893 (cd $(HOST_SUBDIR)/utils && \
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 distclean) \
23899 || exit 1
23901 @endif utils
23903 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
23904 maybe-maintainer-clean-utils:
23905 @if utils
23906 maybe-maintainer-clean-utils: maintainer-clean-utils
23908 maintainer-clean-utils:
23909 @[ -f ./utils/Makefile ] || exit 0; \
23910 r=`${PWD_COMMAND}`; export r; \
23911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23912 $(SET_LIB_PATH) \
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 maintainer-clean in utils" ; \
23918 (cd $(HOST_SUBDIR)/utils && \
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 maintainer-clean) \
23924 || exit 1
23926 @endif utils
23929 .PHONY: configure-gnattools maybe-configure-gnattools
23930 maybe-configure-gnattools:
23931 @if gnattools
23932 maybe-configure-gnattools: configure-gnattools
23933 configure-gnattools:
23934 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
23935 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
23936 r=`${PWD_COMMAND}`; export r; \
23937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23938 $(HOST_EXPORTS) \
23939 echo Configuring in gnattools; \
23940 cd $(HOST_SUBDIR)/gnattools || exit 1; \
23941 case $(srcdir) in \
23942 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23943 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
23944 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23945 esac; \
23946 srcdiroption="--srcdir=$${topdir}/gnattools"; \
23947 libsrcdir="$$s/gnattools"; \
23948 $(SHELL) $${libsrcdir}/configure \
23949 $(HOST_CONFIGARGS) $${srcdiroption} \
23950 || exit 1
23951 @endif gnattools
23953 .PHONY: all-gnattools maybe-all-gnattools
23954 maybe-all-gnattools:
23955 @if gnattools
23956 TARGET-gnattools=all
23957 maybe-all-gnattools: all-gnattools
23958 all-gnattools: configure-gnattools
23959 @r=`${PWD_COMMAND}`; export r; \
23960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23961 $(SET_LIB_PATH) \
23962 $(HOST_EXPORTS) \
23963 (cd $(HOST_SUBDIR)/gnattools && \
23964 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
23965 @endif gnattools
23967 .PHONY: check-gnattools maybe-check-gnattools
23968 maybe-check-gnattools:
23969 @if gnattools
23970 maybe-check-gnattools: check-gnattools
23972 check-gnattools:
23973 @r=`${PWD_COMMAND}`; export r; \
23974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23975 $(SET_LIB_PATH) \
23976 $(HOST_EXPORTS) \
23977 (cd $(HOST_SUBDIR)/gnattools && \
23978 $(MAKE) $(FLAGS_TO_PASS) check)
23980 @endif gnattools
23982 .PHONY: install-gnattools maybe-install-gnattools
23983 maybe-install-gnattools:
23984 @if gnattools
23985 maybe-install-gnattools: install-gnattools
23987 install-gnattools: installdirs
23988 @r=`${PWD_COMMAND}`; export r; \
23989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23990 $(SET_LIB_PATH) \
23991 $(HOST_EXPORTS) \
23992 (cd $(HOST_SUBDIR)/gnattools && \
23993 $(MAKE) $(FLAGS_TO_PASS) install)
23995 @endif gnattools
23997 # Other targets (info, dvi, etc.)
23999 .PHONY: maybe-info-gnattools info-gnattools
24000 maybe-info-gnattools:
24001 @if gnattools
24002 maybe-info-gnattools: info-gnattools
24004 info-gnattools: \
24005 configure-gnattools
24006 @[ -f ./gnattools/Makefile ] || exit 0; \
24007 r=`${PWD_COMMAND}`; export r; \
24008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24009 $(SET_LIB_PATH) \
24010 $(HOST_EXPORTS) \
24011 for flag in $(EXTRA_HOST_FLAGS) ; do \
24012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24013 done; \
24014 echo "Doing info in gnattools" ; \
24015 (cd $(HOST_SUBDIR)/gnattools && \
24016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24018 "RANLIB=$${RANLIB}" \
24019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24020 info) \
24021 || exit 1
24023 @endif gnattools
24025 .PHONY: maybe-dvi-gnattools dvi-gnattools
24026 maybe-dvi-gnattools:
24027 @if gnattools
24028 maybe-dvi-gnattools: dvi-gnattools
24030 dvi-gnattools: \
24031 configure-gnattools
24032 @[ -f ./gnattools/Makefile ] || exit 0; \
24033 r=`${PWD_COMMAND}`; export r; \
24034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24035 $(SET_LIB_PATH) \
24036 $(HOST_EXPORTS) \
24037 for flag in $(EXTRA_HOST_FLAGS) ; do \
24038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24039 done; \
24040 echo "Doing dvi in gnattools" ; \
24041 (cd $(HOST_SUBDIR)/gnattools && \
24042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24044 "RANLIB=$${RANLIB}" \
24045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24046 dvi) \
24047 || exit 1
24049 @endif gnattools
24051 .PHONY: maybe-html-gnattools html-gnattools
24052 maybe-html-gnattools:
24053 @if gnattools
24054 maybe-html-gnattools: html-gnattools
24056 html-gnattools: \
24057 configure-gnattools
24058 @[ -f ./gnattools/Makefile ] || exit 0; \
24059 r=`${PWD_COMMAND}`; export r; \
24060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24061 $(SET_LIB_PATH) \
24062 $(HOST_EXPORTS) \
24063 for flag in $(EXTRA_HOST_FLAGS) ; do \
24064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24065 done; \
24066 echo "Doing html in gnattools" ; \
24067 (cd $(HOST_SUBDIR)/gnattools && \
24068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24070 "RANLIB=$${RANLIB}" \
24071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24072 html) \
24073 || exit 1
24075 @endif gnattools
24077 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
24078 maybe-TAGS-gnattools:
24079 @if gnattools
24080 maybe-TAGS-gnattools: TAGS-gnattools
24082 TAGS-gnattools: \
24083 configure-gnattools
24084 @[ -f ./gnattools/Makefile ] || exit 0; \
24085 r=`${PWD_COMMAND}`; export r; \
24086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24087 $(SET_LIB_PATH) \
24088 $(HOST_EXPORTS) \
24089 for flag in $(EXTRA_HOST_FLAGS) ; do \
24090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24091 done; \
24092 echo "Doing TAGS in gnattools" ; \
24093 (cd $(HOST_SUBDIR)/gnattools && \
24094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24096 "RANLIB=$${RANLIB}" \
24097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24098 TAGS) \
24099 || exit 1
24101 @endif gnattools
24103 .PHONY: maybe-install-info-gnattools install-info-gnattools
24104 maybe-install-info-gnattools:
24105 @if gnattools
24106 maybe-install-info-gnattools: install-info-gnattools
24108 install-info-gnattools: \
24109 configure-gnattools \
24110 info-gnattools
24111 @[ -f ./gnattools/Makefile ] || exit 0; \
24112 r=`${PWD_COMMAND}`; export r; \
24113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24114 $(SET_LIB_PATH) \
24115 $(HOST_EXPORTS) \
24116 for flag in $(EXTRA_HOST_FLAGS) ; do \
24117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24118 done; \
24119 echo "Doing install-info in gnattools" ; \
24120 (cd $(HOST_SUBDIR)/gnattools && \
24121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24123 "RANLIB=$${RANLIB}" \
24124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24125 install-info) \
24126 || exit 1
24128 @endif gnattools
24130 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
24131 maybe-installcheck-gnattools:
24132 @if gnattools
24133 maybe-installcheck-gnattools: installcheck-gnattools
24135 installcheck-gnattools: \
24136 configure-gnattools
24137 @[ -f ./gnattools/Makefile ] || exit 0; \
24138 r=`${PWD_COMMAND}`; export r; \
24139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24140 $(SET_LIB_PATH) \
24141 $(HOST_EXPORTS) \
24142 for flag in $(EXTRA_HOST_FLAGS) ; do \
24143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24144 done; \
24145 echo "Doing installcheck in gnattools" ; \
24146 (cd $(HOST_SUBDIR)/gnattools && \
24147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24149 "RANLIB=$${RANLIB}" \
24150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24151 installcheck) \
24152 || exit 1
24154 @endif gnattools
24156 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
24157 maybe-mostlyclean-gnattools:
24158 @if gnattools
24159 maybe-mostlyclean-gnattools: mostlyclean-gnattools
24161 mostlyclean-gnattools:
24162 @[ -f ./gnattools/Makefile ] || exit 0; \
24163 r=`${PWD_COMMAND}`; export r; \
24164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24165 $(SET_LIB_PATH) \
24166 $(HOST_EXPORTS) \
24167 for flag in $(EXTRA_HOST_FLAGS) ; do \
24168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24169 done; \
24170 echo "Doing mostlyclean in gnattools" ; \
24171 (cd $(HOST_SUBDIR)/gnattools && \
24172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24174 "RANLIB=$${RANLIB}" \
24175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24176 mostlyclean) \
24177 || exit 1
24179 @endif gnattools
24181 .PHONY: maybe-clean-gnattools clean-gnattools
24182 maybe-clean-gnattools:
24183 @if gnattools
24184 maybe-clean-gnattools: clean-gnattools
24186 clean-gnattools:
24187 @[ -f ./gnattools/Makefile ] || exit 0; \
24188 r=`${PWD_COMMAND}`; export r; \
24189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24190 $(SET_LIB_PATH) \
24191 $(HOST_EXPORTS) \
24192 for flag in $(EXTRA_HOST_FLAGS) ; do \
24193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24194 done; \
24195 echo "Doing clean in gnattools" ; \
24196 (cd $(HOST_SUBDIR)/gnattools && \
24197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24199 "RANLIB=$${RANLIB}" \
24200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24201 clean) \
24202 || exit 1
24204 @endif gnattools
24206 .PHONY: maybe-distclean-gnattools distclean-gnattools
24207 maybe-distclean-gnattools:
24208 @if gnattools
24209 maybe-distclean-gnattools: distclean-gnattools
24211 distclean-gnattools:
24212 @[ -f ./gnattools/Makefile ] || exit 0; \
24213 r=`${PWD_COMMAND}`; export r; \
24214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24215 $(SET_LIB_PATH) \
24216 $(HOST_EXPORTS) \
24217 for flag in $(EXTRA_HOST_FLAGS) ; do \
24218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24219 done; \
24220 echo "Doing distclean in gnattools" ; \
24221 (cd $(HOST_SUBDIR)/gnattools && \
24222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24224 "RANLIB=$${RANLIB}" \
24225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24226 distclean) \
24227 || exit 1
24229 @endif gnattools
24231 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
24232 maybe-maintainer-clean-gnattools:
24233 @if gnattools
24234 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
24236 maintainer-clean-gnattools:
24237 @[ -f ./gnattools/Makefile ] || exit 0; \
24238 r=`${PWD_COMMAND}`; export r; \
24239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24240 $(SET_LIB_PATH) \
24241 $(HOST_EXPORTS) \
24242 for flag in $(EXTRA_HOST_FLAGS) ; do \
24243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24244 done; \
24245 echo "Doing maintainer-clean in gnattools" ; \
24246 (cd $(HOST_SUBDIR)/gnattools && \
24247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24249 "RANLIB=$${RANLIB}" \
24250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24251 maintainer-clean) \
24252 || exit 1
24254 @endif gnattools
24258 # ---------------------------------------
24259 # Modules which run on the target machine
24260 # ---------------------------------------
24262 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
24263 maybe-configure-target-libstdc++-v3:
24264 @if target-libstdc++-v3
24265 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
24267 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24268 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
24269 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24270 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
24271 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24273 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24274 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
24275 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24276 r=`${PWD_COMMAND}`; export r; \
24277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24278 $(SET_LIB_PATH) \
24279 $(RAW_CXX_TARGET_EXPORTS) \
24280 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
24281 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
24282 case $(srcdir) in \
24283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24284 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
24285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24286 esac; \
24287 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
24288 libsrcdir="$$s/libstdc++-v3"; \
24289 rm -f no-such-file || : ; \
24290 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24291 $(TARGET_CONFIGARGS) $${srcdiroption} \
24292 --with-target-subdir="$(TARGET_SUBDIR)" \
24293 || exit 1
24294 @endif target-libstdc++-v3
24296 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
24297 maybe-all-target-libstdc++-v3:
24298 @if target-libstdc++-v3
24299 TARGET-target-libstdc++-v3=all
24300 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
24301 all-target-libstdc++-v3: configure-target-libstdc++-v3
24302 @r=`${PWD_COMMAND}`; export r; \
24303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24304 $(SET_LIB_PATH) \
24305 $(RAW_CXX_TARGET_EXPORTS) \
24306 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24307 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
24308 @endif target-libstdc++-v3
24310 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
24311 maybe-check-target-libstdc++-v3:
24312 @if target-libstdc++-v3
24313 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
24315 check-target-libstdc++-v3:
24316 @r=`${PWD_COMMAND}`; export r; \
24317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24318 $(SET_LIB_PATH) \
24319 $(RAW_CXX_TARGET_EXPORTS) \
24320 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24321 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
24323 @endif target-libstdc++-v3
24325 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
24326 maybe-install-target-libstdc++-v3:
24327 @if target-libstdc++-v3
24328 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
24330 install-target-libstdc++-v3: installdirs
24331 @r=`${PWD_COMMAND}`; export r; \
24332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24333 $(SET_LIB_PATH) \
24334 $(RAW_CXX_TARGET_EXPORTS) \
24335 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24336 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24338 @endif target-libstdc++-v3
24340 # Other targets (info, dvi, etc.)
24342 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
24343 maybe-info-target-libstdc++-v3:
24344 @if target-libstdc++-v3
24345 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
24347 info-target-libstdc++-v3: \
24348 configure-target-libstdc++-v3
24349 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24350 r=`${PWD_COMMAND}`; export r; \
24351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24352 $(SET_LIB_PATH) \
24353 $(RAW_CXX_TARGET_EXPORTS) \
24354 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24355 for flag in $(EXTRA_TARGET_FLAGS); do \
24356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24357 done; \
24358 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24361 "RANLIB=$${RANLIB}" \
24362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24363 info) \
24364 || exit 1
24366 @endif target-libstdc++-v3
24368 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
24369 maybe-dvi-target-libstdc++-v3:
24370 @if target-libstdc++-v3
24371 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
24373 dvi-target-libstdc++-v3: \
24374 configure-target-libstdc++-v3
24375 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24376 r=`${PWD_COMMAND}`; export r; \
24377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24378 $(SET_LIB_PATH) \
24379 $(RAW_CXX_TARGET_EXPORTS) \
24380 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24381 for flag in $(EXTRA_TARGET_FLAGS); do \
24382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24383 done; \
24384 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24387 "RANLIB=$${RANLIB}" \
24388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24389 dvi) \
24390 || exit 1
24392 @endif target-libstdc++-v3
24394 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
24395 maybe-html-target-libstdc++-v3:
24396 @if target-libstdc++-v3
24397 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
24399 html-target-libstdc++-v3: \
24400 configure-target-libstdc++-v3
24401 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24402 r=`${PWD_COMMAND}`; export r; \
24403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24404 $(SET_LIB_PATH) \
24405 $(RAW_CXX_TARGET_EXPORTS) \
24406 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24407 for flag in $(EXTRA_TARGET_FLAGS); do \
24408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24409 done; \
24410 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24413 "RANLIB=$${RANLIB}" \
24414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24415 html) \
24416 || exit 1
24418 @endif target-libstdc++-v3
24420 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
24421 maybe-TAGS-target-libstdc++-v3:
24422 @if target-libstdc++-v3
24423 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
24425 TAGS-target-libstdc++-v3: \
24426 configure-target-libstdc++-v3
24427 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24428 r=`${PWD_COMMAND}`; export r; \
24429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24430 $(SET_LIB_PATH) \
24431 $(RAW_CXX_TARGET_EXPORTS) \
24432 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24433 for flag in $(EXTRA_TARGET_FLAGS); do \
24434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24435 done; \
24436 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24439 "RANLIB=$${RANLIB}" \
24440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24441 TAGS) \
24442 || exit 1
24444 @endif target-libstdc++-v3
24446 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
24447 maybe-install-info-target-libstdc++-v3:
24448 @if target-libstdc++-v3
24449 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
24451 install-info-target-libstdc++-v3: \
24452 configure-target-libstdc++-v3 \
24453 info-target-libstdc++-v3
24454 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24455 r=`${PWD_COMMAND}`; export r; \
24456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24457 $(SET_LIB_PATH) \
24458 $(RAW_CXX_TARGET_EXPORTS) \
24459 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24460 for flag in $(EXTRA_TARGET_FLAGS); do \
24461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24462 done; \
24463 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24466 "RANLIB=$${RANLIB}" \
24467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24468 install-info) \
24469 || exit 1
24471 @endif target-libstdc++-v3
24473 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
24474 maybe-installcheck-target-libstdc++-v3:
24475 @if target-libstdc++-v3
24476 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
24478 installcheck-target-libstdc++-v3: \
24479 configure-target-libstdc++-v3
24480 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24481 r=`${PWD_COMMAND}`; export r; \
24482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24483 $(SET_LIB_PATH) \
24484 $(RAW_CXX_TARGET_EXPORTS) \
24485 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24486 for flag in $(EXTRA_TARGET_FLAGS); do \
24487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24488 done; \
24489 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24492 "RANLIB=$${RANLIB}" \
24493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24494 installcheck) \
24495 || exit 1
24497 @endif target-libstdc++-v3
24499 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
24500 maybe-mostlyclean-target-libstdc++-v3:
24501 @if target-libstdc++-v3
24502 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
24504 mostlyclean-target-libstdc++-v3:
24505 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24506 r=`${PWD_COMMAND}`; export r; \
24507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24508 $(SET_LIB_PATH) \
24509 $(RAW_CXX_TARGET_EXPORTS) \
24510 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24511 for flag in $(EXTRA_TARGET_FLAGS); do \
24512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24513 done; \
24514 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24517 "RANLIB=$${RANLIB}" \
24518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24519 mostlyclean) \
24520 || exit 1
24522 @endif target-libstdc++-v3
24524 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
24525 maybe-clean-target-libstdc++-v3:
24526 @if target-libstdc++-v3
24527 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
24529 clean-target-libstdc++-v3:
24530 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24531 r=`${PWD_COMMAND}`; export r; \
24532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24533 $(SET_LIB_PATH) \
24534 $(RAW_CXX_TARGET_EXPORTS) \
24535 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24536 for flag in $(EXTRA_TARGET_FLAGS); do \
24537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24538 done; \
24539 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24542 "RANLIB=$${RANLIB}" \
24543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24544 clean) \
24545 || exit 1
24547 @endif target-libstdc++-v3
24549 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
24550 maybe-distclean-target-libstdc++-v3:
24551 @if target-libstdc++-v3
24552 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
24554 distclean-target-libstdc++-v3:
24555 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24556 r=`${PWD_COMMAND}`; export r; \
24557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24558 $(SET_LIB_PATH) \
24559 $(RAW_CXX_TARGET_EXPORTS) \
24560 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24561 for flag in $(EXTRA_TARGET_FLAGS); do \
24562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24563 done; \
24564 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24567 "RANLIB=$${RANLIB}" \
24568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24569 distclean) \
24570 || exit 1
24572 @endif target-libstdc++-v3
24574 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
24575 maybe-maintainer-clean-target-libstdc++-v3:
24576 @if target-libstdc++-v3
24577 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
24579 maintainer-clean-target-libstdc++-v3:
24580 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24581 r=`${PWD_COMMAND}`; export r; \
24582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24583 $(SET_LIB_PATH) \
24584 $(RAW_CXX_TARGET_EXPORTS) \
24585 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24586 for flag in $(EXTRA_TARGET_FLAGS); do \
24587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24588 done; \
24589 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24592 "RANLIB=$${RANLIB}" \
24593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24594 maintainer-clean) \
24595 || exit 1
24597 @endif target-libstdc++-v3
24600 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
24601 maybe-configure-target-libmudflap:
24602 @if target-libmudflap
24603 maybe-configure-target-libmudflap: configure-target-libmudflap
24605 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24606 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
24607 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24608 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
24609 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
24611 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
24612 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
24613 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24614 r=`${PWD_COMMAND}`; export r; \
24615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24616 $(SET_LIB_PATH) \
24617 $(NORMAL_TARGET_EXPORTS) \
24618 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
24619 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
24620 case $(srcdir) in \
24621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24622 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
24623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24624 esac; \
24625 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
24626 libsrcdir="$$s/libmudflap"; \
24627 rm -f no-such-file || : ; \
24628 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24629 $(TARGET_CONFIGARGS) $${srcdiroption} \
24630 --with-target-subdir="$(TARGET_SUBDIR)" \
24631 || exit 1
24632 @endif target-libmudflap
24634 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
24635 maybe-all-target-libmudflap:
24636 @if target-libmudflap
24637 TARGET-target-libmudflap=all
24638 maybe-all-target-libmudflap: all-target-libmudflap
24639 all-target-libmudflap: configure-target-libmudflap
24640 @r=`${PWD_COMMAND}`; export r; \
24641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24642 $(SET_LIB_PATH) \
24643 $(NORMAL_TARGET_EXPORTS) \
24644 (cd $(TARGET_SUBDIR)/libmudflap && \
24645 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
24646 @endif target-libmudflap
24648 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
24649 maybe-check-target-libmudflap:
24650 @if target-libmudflap
24651 maybe-check-target-libmudflap: check-target-libmudflap
24653 check-target-libmudflap:
24654 @r=`${PWD_COMMAND}`; export r; \
24655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24656 $(SET_LIB_PATH) \
24657 $(NORMAL_TARGET_EXPORTS) \
24658 (cd $(TARGET_SUBDIR)/libmudflap && \
24659 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24661 @endif target-libmudflap
24663 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
24664 maybe-install-target-libmudflap:
24665 @if target-libmudflap
24666 maybe-install-target-libmudflap: install-target-libmudflap
24668 install-target-libmudflap: installdirs
24669 @r=`${PWD_COMMAND}`; export r; \
24670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24671 $(SET_LIB_PATH) \
24672 $(NORMAL_TARGET_EXPORTS) \
24673 (cd $(TARGET_SUBDIR)/libmudflap && \
24674 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24676 @endif target-libmudflap
24678 # Other targets (info, dvi, etc.)
24680 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
24681 maybe-info-target-libmudflap:
24682 @if target-libmudflap
24683 maybe-info-target-libmudflap: info-target-libmudflap
24685 info-target-libmudflap: \
24686 configure-target-libmudflap
24687 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24688 r=`${PWD_COMMAND}`; export r; \
24689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24690 $(SET_LIB_PATH) \
24691 $(NORMAL_TARGET_EXPORTS) \
24692 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
24693 for flag in $(EXTRA_TARGET_FLAGS); do \
24694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24695 done; \
24696 (cd $(TARGET_SUBDIR)/libmudflap && \
24697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24699 "RANLIB=$${RANLIB}" \
24700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24701 info) \
24702 || exit 1
24704 @endif target-libmudflap
24706 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
24707 maybe-dvi-target-libmudflap:
24708 @if target-libmudflap
24709 maybe-dvi-target-libmudflap: dvi-target-libmudflap
24711 dvi-target-libmudflap: \
24712 configure-target-libmudflap
24713 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24714 r=`${PWD_COMMAND}`; export r; \
24715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24716 $(SET_LIB_PATH) \
24717 $(NORMAL_TARGET_EXPORTS) \
24718 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
24719 for flag in $(EXTRA_TARGET_FLAGS); do \
24720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24721 done; \
24722 (cd $(TARGET_SUBDIR)/libmudflap && \
24723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24725 "RANLIB=$${RANLIB}" \
24726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24727 dvi) \
24728 || exit 1
24730 @endif target-libmudflap
24732 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
24733 maybe-html-target-libmudflap:
24734 @if target-libmudflap
24735 maybe-html-target-libmudflap: html-target-libmudflap
24737 html-target-libmudflap: \
24738 configure-target-libmudflap
24739 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24740 r=`${PWD_COMMAND}`; export r; \
24741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24742 $(SET_LIB_PATH) \
24743 $(NORMAL_TARGET_EXPORTS) \
24744 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
24745 for flag in $(EXTRA_TARGET_FLAGS); do \
24746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24747 done; \
24748 (cd $(TARGET_SUBDIR)/libmudflap && \
24749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24751 "RANLIB=$${RANLIB}" \
24752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24753 html) \
24754 || exit 1
24756 @endif target-libmudflap
24758 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
24759 maybe-TAGS-target-libmudflap:
24760 @if target-libmudflap
24761 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
24763 TAGS-target-libmudflap: \
24764 configure-target-libmudflap
24765 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24766 r=`${PWD_COMMAND}`; export r; \
24767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24768 $(SET_LIB_PATH) \
24769 $(NORMAL_TARGET_EXPORTS) \
24770 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
24771 for flag in $(EXTRA_TARGET_FLAGS); do \
24772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24773 done; \
24774 (cd $(TARGET_SUBDIR)/libmudflap && \
24775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24777 "RANLIB=$${RANLIB}" \
24778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24779 TAGS) \
24780 || exit 1
24782 @endif target-libmudflap
24784 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
24785 maybe-install-info-target-libmudflap:
24786 @if target-libmudflap
24787 maybe-install-info-target-libmudflap: install-info-target-libmudflap
24789 install-info-target-libmudflap: \
24790 configure-target-libmudflap \
24791 info-target-libmudflap
24792 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24793 r=`${PWD_COMMAND}`; export r; \
24794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24795 $(SET_LIB_PATH) \
24796 $(NORMAL_TARGET_EXPORTS) \
24797 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
24798 for flag in $(EXTRA_TARGET_FLAGS); do \
24799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24800 done; \
24801 (cd $(TARGET_SUBDIR)/libmudflap && \
24802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24804 "RANLIB=$${RANLIB}" \
24805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24806 install-info) \
24807 || exit 1
24809 @endif target-libmudflap
24811 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
24812 maybe-installcheck-target-libmudflap:
24813 @if target-libmudflap
24814 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
24816 installcheck-target-libmudflap: \
24817 configure-target-libmudflap
24818 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24819 r=`${PWD_COMMAND}`; export r; \
24820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24821 $(SET_LIB_PATH) \
24822 $(NORMAL_TARGET_EXPORTS) \
24823 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
24824 for flag in $(EXTRA_TARGET_FLAGS); do \
24825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24826 done; \
24827 (cd $(TARGET_SUBDIR)/libmudflap && \
24828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24830 "RANLIB=$${RANLIB}" \
24831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24832 installcheck) \
24833 || exit 1
24835 @endif target-libmudflap
24837 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
24838 maybe-mostlyclean-target-libmudflap:
24839 @if target-libmudflap
24840 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
24842 mostlyclean-target-libmudflap:
24843 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24844 r=`${PWD_COMMAND}`; export r; \
24845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24846 $(SET_LIB_PATH) \
24847 $(NORMAL_TARGET_EXPORTS) \
24848 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
24849 for flag in $(EXTRA_TARGET_FLAGS); do \
24850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24851 done; \
24852 (cd $(TARGET_SUBDIR)/libmudflap && \
24853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24855 "RANLIB=$${RANLIB}" \
24856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24857 mostlyclean) \
24858 || exit 1
24860 @endif target-libmudflap
24862 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
24863 maybe-clean-target-libmudflap:
24864 @if target-libmudflap
24865 maybe-clean-target-libmudflap: clean-target-libmudflap
24867 clean-target-libmudflap:
24868 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24869 r=`${PWD_COMMAND}`; export r; \
24870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24871 $(SET_LIB_PATH) \
24872 $(NORMAL_TARGET_EXPORTS) \
24873 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
24874 for flag in $(EXTRA_TARGET_FLAGS); do \
24875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24876 done; \
24877 (cd $(TARGET_SUBDIR)/libmudflap && \
24878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24880 "RANLIB=$${RANLIB}" \
24881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24882 clean) \
24883 || exit 1
24885 @endif target-libmudflap
24887 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
24888 maybe-distclean-target-libmudflap:
24889 @if target-libmudflap
24890 maybe-distclean-target-libmudflap: distclean-target-libmudflap
24892 distclean-target-libmudflap:
24893 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24894 r=`${PWD_COMMAND}`; export r; \
24895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24896 $(SET_LIB_PATH) \
24897 $(NORMAL_TARGET_EXPORTS) \
24898 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
24899 for flag in $(EXTRA_TARGET_FLAGS); do \
24900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24901 done; \
24902 (cd $(TARGET_SUBDIR)/libmudflap && \
24903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24905 "RANLIB=$${RANLIB}" \
24906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24907 distclean) \
24908 || exit 1
24910 @endif target-libmudflap
24912 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
24913 maybe-maintainer-clean-target-libmudflap:
24914 @if target-libmudflap
24915 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
24917 maintainer-clean-target-libmudflap:
24918 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24919 r=`${PWD_COMMAND}`; export r; \
24920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24921 $(SET_LIB_PATH) \
24922 $(NORMAL_TARGET_EXPORTS) \
24923 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
24924 for flag in $(EXTRA_TARGET_FLAGS); do \
24925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24926 done; \
24927 (cd $(TARGET_SUBDIR)/libmudflap && \
24928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24930 "RANLIB=$${RANLIB}" \
24931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24932 maintainer-clean) \
24933 || exit 1
24935 @endif target-libmudflap
24938 .PHONY: configure-target-newlib maybe-configure-target-newlib
24939 maybe-configure-target-newlib:
24940 @if target-newlib
24941 maybe-configure-target-newlib: configure-target-newlib
24943 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24944 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
24945 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24946 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
24947 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
24949 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
24950 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
24951 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24952 r=`${PWD_COMMAND}`; export r; \
24953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24954 $(SET_LIB_PATH) \
24955 $(NORMAL_TARGET_EXPORTS) \
24956 echo Configuring in $(TARGET_SUBDIR)/newlib; \
24957 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
24958 case $(srcdir) in \
24959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24960 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
24961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24962 esac; \
24963 srcdiroption="--srcdir=$${topdir}/newlib"; \
24964 libsrcdir="$$s/newlib"; \
24965 rm -f no-such-file || : ; \
24966 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24967 $(TARGET_CONFIGARGS) $${srcdiroption} \
24968 --with-target-subdir="$(TARGET_SUBDIR)" \
24969 || exit 1
24970 @endif target-newlib
24972 .PHONY: all-target-newlib maybe-all-target-newlib
24973 maybe-all-target-newlib:
24974 @if target-newlib
24975 TARGET-target-newlib=all
24976 maybe-all-target-newlib: all-target-newlib
24977 all-target-newlib: configure-target-newlib
24978 @r=`${PWD_COMMAND}`; export r; \
24979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24980 $(SET_LIB_PATH) \
24981 $(NORMAL_TARGET_EXPORTS) \
24982 (cd $(TARGET_SUBDIR)/newlib && \
24983 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
24984 @endif target-newlib
24986 .PHONY: check-target-newlib maybe-check-target-newlib
24987 maybe-check-target-newlib:
24988 @if target-newlib
24989 maybe-check-target-newlib: check-target-newlib
24991 check-target-newlib:
24992 @r=`${PWD_COMMAND}`; export r; \
24993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24994 $(SET_LIB_PATH) \
24995 $(NORMAL_TARGET_EXPORTS) \
24996 (cd $(TARGET_SUBDIR)/newlib && \
24997 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24999 @endif target-newlib
25001 .PHONY: install-target-newlib maybe-install-target-newlib
25002 maybe-install-target-newlib:
25003 @if target-newlib
25004 maybe-install-target-newlib: install-target-newlib
25006 install-target-newlib: installdirs
25007 @r=`${PWD_COMMAND}`; export r; \
25008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25009 $(SET_LIB_PATH) \
25010 $(NORMAL_TARGET_EXPORTS) \
25011 (cd $(TARGET_SUBDIR)/newlib && \
25012 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25014 @endif target-newlib
25016 # Other targets (info, dvi, etc.)
25018 .PHONY: maybe-info-target-newlib info-target-newlib
25019 maybe-info-target-newlib:
25020 @if target-newlib
25021 maybe-info-target-newlib: info-target-newlib
25023 info-target-newlib: \
25024 configure-target-newlib
25025 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25026 r=`${PWD_COMMAND}`; export r; \
25027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25028 $(SET_LIB_PATH) \
25029 $(NORMAL_TARGET_EXPORTS) \
25030 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
25031 for flag in $(EXTRA_TARGET_FLAGS); do \
25032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25033 done; \
25034 (cd $(TARGET_SUBDIR)/newlib && \
25035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25037 "RANLIB=$${RANLIB}" \
25038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25039 info) \
25040 || exit 1
25042 @endif target-newlib
25044 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
25045 maybe-dvi-target-newlib:
25046 @if target-newlib
25047 maybe-dvi-target-newlib: dvi-target-newlib
25049 dvi-target-newlib: \
25050 configure-target-newlib
25051 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25052 r=`${PWD_COMMAND}`; export r; \
25053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25054 $(SET_LIB_PATH) \
25055 $(NORMAL_TARGET_EXPORTS) \
25056 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
25057 for flag in $(EXTRA_TARGET_FLAGS); do \
25058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25059 done; \
25060 (cd $(TARGET_SUBDIR)/newlib && \
25061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25063 "RANLIB=$${RANLIB}" \
25064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25065 dvi) \
25066 || exit 1
25068 @endif target-newlib
25070 .PHONY: maybe-html-target-newlib html-target-newlib
25071 maybe-html-target-newlib:
25072 @if target-newlib
25073 maybe-html-target-newlib: html-target-newlib
25075 html-target-newlib: \
25076 configure-target-newlib
25077 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25078 r=`${PWD_COMMAND}`; export r; \
25079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25080 $(SET_LIB_PATH) \
25081 $(NORMAL_TARGET_EXPORTS) \
25082 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
25083 for flag in $(EXTRA_TARGET_FLAGS); do \
25084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25085 done; \
25086 (cd $(TARGET_SUBDIR)/newlib && \
25087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25089 "RANLIB=$${RANLIB}" \
25090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25091 html) \
25092 || exit 1
25094 @endif target-newlib
25096 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
25097 maybe-TAGS-target-newlib:
25098 @if target-newlib
25099 maybe-TAGS-target-newlib: TAGS-target-newlib
25101 TAGS-target-newlib: \
25102 configure-target-newlib
25103 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25104 r=`${PWD_COMMAND}`; export r; \
25105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25106 $(SET_LIB_PATH) \
25107 $(NORMAL_TARGET_EXPORTS) \
25108 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
25109 for flag in $(EXTRA_TARGET_FLAGS); do \
25110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25111 done; \
25112 (cd $(TARGET_SUBDIR)/newlib && \
25113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25115 "RANLIB=$${RANLIB}" \
25116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25117 TAGS) \
25118 || exit 1
25120 @endif target-newlib
25122 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
25123 maybe-install-info-target-newlib:
25124 @if target-newlib
25125 maybe-install-info-target-newlib: install-info-target-newlib
25127 install-info-target-newlib: \
25128 configure-target-newlib \
25129 info-target-newlib
25130 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25131 r=`${PWD_COMMAND}`; export r; \
25132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25133 $(SET_LIB_PATH) \
25134 $(NORMAL_TARGET_EXPORTS) \
25135 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
25136 for flag in $(EXTRA_TARGET_FLAGS); do \
25137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25138 done; \
25139 (cd $(TARGET_SUBDIR)/newlib && \
25140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25142 "RANLIB=$${RANLIB}" \
25143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25144 install-info) \
25145 || exit 1
25147 @endif target-newlib
25149 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
25150 maybe-installcheck-target-newlib:
25151 @if target-newlib
25152 maybe-installcheck-target-newlib: installcheck-target-newlib
25154 installcheck-target-newlib: \
25155 configure-target-newlib
25156 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25157 r=`${PWD_COMMAND}`; export r; \
25158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25159 $(SET_LIB_PATH) \
25160 $(NORMAL_TARGET_EXPORTS) \
25161 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
25162 for flag in $(EXTRA_TARGET_FLAGS); do \
25163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25164 done; \
25165 (cd $(TARGET_SUBDIR)/newlib && \
25166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25168 "RANLIB=$${RANLIB}" \
25169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25170 installcheck) \
25171 || exit 1
25173 @endif target-newlib
25175 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
25176 maybe-mostlyclean-target-newlib:
25177 @if target-newlib
25178 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
25180 mostlyclean-target-newlib:
25181 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25182 r=`${PWD_COMMAND}`; export r; \
25183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25184 $(SET_LIB_PATH) \
25185 $(NORMAL_TARGET_EXPORTS) \
25186 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
25187 for flag in $(EXTRA_TARGET_FLAGS); do \
25188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25189 done; \
25190 (cd $(TARGET_SUBDIR)/newlib && \
25191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25193 "RANLIB=$${RANLIB}" \
25194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25195 mostlyclean) \
25196 || exit 1
25198 @endif target-newlib
25200 .PHONY: maybe-clean-target-newlib clean-target-newlib
25201 maybe-clean-target-newlib:
25202 @if target-newlib
25203 maybe-clean-target-newlib: clean-target-newlib
25205 clean-target-newlib:
25206 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25207 r=`${PWD_COMMAND}`; export r; \
25208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25209 $(SET_LIB_PATH) \
25210 $(NORMAL_TARGET_EXPORTS) \
25211 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
25212 for flag in $(EXTRA_TARGET_FLAGS); do \
25213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25214 done; \
25215 (cd $(TARGET_SUBDIR)/newlib && \
25216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25218 "RANLIB=$${RANLIB}" \
25219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25220 clean) \
25221 || exit 1
25223 @endif target-newlib
25225 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
25226 maybe-distclean-target-newlib:
25227 @if target-newlib
25228 maybe-distclean-target-newlib: distclean-target-newlib
25230 distclean-target-newlib:
25231 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25232 r=`${PWD_COMMAND}`; export r; \
25233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25234 $(SET_LIB_PATH) \
25235 $(NORMAL_TARGET_EXPORTS) \
25236 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
25237 for flag in $(EXTRA_TARGET_FLAGS); do \
25238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25239 done; \
25240 (cd $(TARGET_SUBDIR)/newlib && \
25241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25243 "RANLIB=$${RANLIB}" \
25244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25245 distclean) \
25246 || exit 1
25248 @endif target-newlib
25250 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
25251 maybe-maintainer-clean-target-newlib:
25252 @if target-newlib
25253 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
25255 maintainer-clean-target-newlib:
25256 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25257 r=`${PWD_COMMAND}`; export r; \
25258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25259 $(SET_LIB_PATH) \
25260 $(NORMAL_TARGET_EXPORTS) \
25261 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
25262 for flag in $(EXTRA_TARGET_FLAGS); do \
25263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25264 done; \
25265 (cd $(TARGET_SUBDIR)/newlib && \
25266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25268 "RANLIB=$${RANLIB}" \
25269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25270 maintainer-clean) \
25271 || exit 1
25273 @endif target-newlib
25276 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
25277 maybe-configure-target-libgfortran:
25278 @if target-libgfortran
25279 maybe-configure-target-libgfortran: configure-target-libgfortran
25281 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25282 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
25283 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25284 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
25285 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
25287 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
25288 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
25289 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25290 r=`${PWD_COMMAND}`; export r; \
25291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25292 $(SET_LIB_PATH) \
25293 $(NORMAL_TARGET_EXPORTS) \
25294 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
25295 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
25296 case $(srcdir) in \
25297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25298 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
25299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25300 esac; \
25301 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
25302 libsrcdir="$$s/libgfortran"; \
25303 rm -f no-such-file || : ; \
25304 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25305 $(TARGET_CONFIGARGS) $${srcdiroption} \
25306 --with-target-subdir="$(TARGET_SUBDIR)" \
25307 || exit 1
25308 @endif target-libgfortran
25310 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
25311 maybe-all-target-libgfortran:
25312 @if target-libgfortran
25313 TARGET-target-libgfortran=all
25314 maybe-all-target-libgfortran: all-target-libgfortran
25315 all-target-libgfortran: configure-target-libgfortran
25316 @r=`${PWD_COMMAND}`; export r; \
25317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25318 $(SET_LIB_PATH) \
25319 $(NORMAL_TARGET_EXPORTS) \
25320 (cd $(TARGET_SUBDIR)/libgfortran && \
25321 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
25322 @endif target-libgfortran
25324 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
25325 maybe-check-target-libgfortran:
25326 @if target-libgfortran
25327 maybe-check-target-libgfortran: check-target-libgfortran
25329 check-target-libgfortran:
25330 @r=`${PWD_COMMAND}`; export r; \
25331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25332 $(SET_LIB_PATH) \
25333 $(NORMAL_TARGET_EXPORTS) \
25334 (cd $(TARGET_SUBDIR)/libgfortran && \
25335 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25337 @endif target-libgfortran
25339 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
25340 maybe-install-target-libgfortran:
25341 @if target-libgfortran
25342 maybe-install-target-libgfortran: install-target-libgfortran
25344 install-target-libgfortran: installdirs
25345 @r=`${PWD_COMMAND}`; export r; \
25346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25347 $(SET_LIB_PATH) \
25348 $(NORMAL_TARGET_EXPORTS) \
25349 (cd $(TARGET_SUBDIR)/libgfortran && \
25350 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25352 @endif target-libgfortran
25354 # Other targets (info, dvi, etc.)
25356 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
25357 maybe-info-target-libgfortran:
25358 @if target-libgfortran
25359 maybe-info-target-libgfortran: info-target-libgfortran
25361 info-target-libgfortran: \
25362 configure-target-libgfortran
25363 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25364 r=`${PWD_COMMAND}`; export r; \
25365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25366 $(SET_LIB_PATH) \
25367 $(NORMAL_TARGET_EXPORTS) \
25368 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
25369 for flag in $(EXTRA_TARGET_FLAGS); do \
25370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25371 done; \
25372 (cd $(TARGET_SUBDIR)/libgfortran && \
25373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25375 "RANLIB=$${RANLIB}" \
25376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25377 info) \
25378 || exit 1
25380 @endif target-libgfortran
25382 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
25383 maybe-dvi-target-libgfortran:
25384 @if target-libgfortran
25385 maybe-dvi-target-libgfortran: dvi-target-libgfortran
25387 dvi-target-libgfortran: \
25388 configure-target-libgfortran
25389 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25390 r=`${PWD_COMMAND}`; export r; \
25391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25392 $(SET_LIB_PATH) \
25393 $(NORMAL_TARGET_EXPORTS) \
25394 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
25395 for flag in $(EXTRA_TARGET_FLAGS); do \
25396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25397 done; \
25398 (cd $(TARGET_SUBDIR)/libgfortran && \
25399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25401 "RANLIB=$${RANLIB}" \
25402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25403 dvi) \
25404 || exit 1
25406 @endif target-libgfortran
25408 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
25409 maybe-html-target-libgfortran:
25410 @if target-libgfortran
25411 maybe-html-target-libgfortran: html-target-libgfortran
25413 html-target-libgfortran: \
25414 configure-target-libgfortran
25415 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25416 r=`${PWD_COMMAND}`; export r; \
25417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25418 $(SET_LIB_PATH) \
25419 $(NORMAL_TARGET_EXPORTS) \
25420 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
25421 for flag in $(EXTRA_TARGET_FLAGS); do \
25422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25423 done; \
25424 (cd $(TARGET_SUBDIR)/libgfortran && \
25425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25427 "RANLIB=$${RANLIB}" \
25428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25429 html) \
25430 || exit 1
25432 @endif target-libgfortran
25434 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
25435 maybe-TAGS-target-libgfortran:
25436 @if target-libgfortran
25437 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
25439 TAGS-target-libgfortran: \
25440 configure-target-libgfortran
25441 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25442 r=`${PWD_COMMAND}`; export r; \
25443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25444 $(SET_LIB_PATH) \
25445 $(NORMAL_TARGET_EXPORTS) \
25446 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
25447 for flag in $(EXTRA_TARGET_FLAGS); do \
25448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25449 done; \
25450 (cd $(TARGET_SUBDIR)/libgfortran && \
25451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25453 "RANLIB=$${RANLIB}" \
25454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25455 TAGS) \
25456 || exit 1
25458 @endif target-libgfortran
25460 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
25461 maybe-install-info-target-libgfortran:
25462 @if target-libgfortran
25463 maybe-install-info-target-libgfortran: install-info-target-libgfortran
25465 install-info-target-libgfortran: \
25466 configure-target-libgfortran \
25467 info-target-libgfortran
25468 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25469 r=`${PWD_COMMAND}`; export r; \
25470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25471 $(SET_LIB_PATH) \
25472 $(NORMAL_TARGET_EXPORTS) \
25473 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
25474 for flag in $(EXTRA_TARGET_FLAGS); do \
25475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25476 done; \
25477 (cd $(TARGET_SUBDIR)/libgfortran && \
25478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25480 "RANLIB=$${RANLIB}" \
25481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25482 install-info) \
25483 || exit 1
25485 @endif target-libgfortran
25487 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
25488 maybe-installcheck-target-libgfortran:
25489 @if target-libgfortran
25490 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
25492 installcheck-target-libgfortran: \
25493 configure-target-libgfortran
25494 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25495 r=`${PWD_COMMAND}`; export r; \
25496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25497 $(SET_LIB_PATH) \
25498 $(NORMAL_TARGET_EXPORTS) \
25499 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
25500 for flag in $(EXTRA_TARGET_FLAGS); do \
25501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25502 done; \
25503 (cd $(TARGET_SUBDIR)/libgfortran && \
25504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25506 "RANLIB=$${RANLIB}" \
25507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25508 installcheck) \
25509 || exit 1
25511 @endif target-libgfortran
25513 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
25514 maybe-mostlyclean-target-libgfortran:
25515 @if target-libgfortran
25516 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
25518 mostlyclean-target-libgfortran:
25519 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25520 r=`${PWD_COMMAND}`; export r; \
25521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25522 $(SET_LIB_PATH) \
25523 $(NORMAL_TARGET_EXPORTS) \
25524 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
25525 for flag in $(EXTRA_TARGET_FLAGS); do \
25526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25527 done; \
25528 (cd $(TARGET_SUBDIR)/libgfortran && \
25529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25531 "RANLIB=$${RANLIB}" \
25532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25533 mostlyclean) \
25534 || exit 1
25536 @endif target-libgfortran
25538 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
25539 maybe-clean-target-libgfortran:
25540 @if target-libgfortran
25541 maybe-clean-target-libgfortran: clean-target-libgfortran
25543 clean-target-libgfortran:
25544 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25545 r=`${PWD_COMMAND}`; export r; \
25546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25547 $(SET_LIB_PATH) \
25548 $(NORMAL_TARGET_EXPORTS) \
25549 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
25550 for flag in $(EXTRA_TARGET_FLAGS); do \
25551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25552 done; \
25553 (cd $(TARGET_SUBDIR)/libgfortran && \
25554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25556 "RANLIB=$${RANLIB}" \
25557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25558 clean) \
25559 || exit 1
25561 @endif target-libgfortran
25563 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
25564 maybe-distclean-target-libgfortran:
25565 @if target-libgfortran
25566 maybe-distclean-target-libgfortran: distclean-target-libgfortran
25568 distclean-target-libgfortran:
25569 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25570 r=`${PWD_COMMAND}`; export r; \
25571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25572 $(SET_LIB_PATH) \
25573 $(NORMAL_TARGET_EXPORTS) \
25574 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
25575 for flag in $(EXTRA_TARGET_FLAGS); do \
25576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25577 done; \
25578 (cd $(TARGET_SUBDIR)/libgfortran && \
25579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25581 "RANLIB=$${RANLIB}" \
25582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25583 distclean) \
25584 || exit 1
25586 @endif target-libgfortran
25588 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
25589 maybe-maintainer-clean-target-libgfortran:
25590 @if target-libgfortran
25591 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
25593 maintainer-clean-target-libgfortran:
25594 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25595 r=`${PWD_COMMAND}`; export r; \
25596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25597 $(SET_LIB_PATH) \
25598 $(NORMAL_TARGET_EXPORTS) \
25599 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
25600 for flag in $(EXTRA_TARGET_FLAGS); do \
25601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25602 done; \
25603 (cd $(TARGET_SUBDIR)/libgfortran && \
25604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25606 "RANLIB=$${RANLIB}" \
25607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25608 maintainer-clean) \
25609 || exit 1
25611 @endif target-libgfortran
25614 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
25615 maybe-configure-target-libobjc:
25616 @if target-libobjc
25617 maybe-configure-target-libobjc: configure-target-libobjc
25619 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25620 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
25621 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25622 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
25623 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
25625 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
25626 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
25627 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25628 r=`${PWD_COMMAND}`; export r; \
25629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25630 $(SET_LIB_PATH) \
25631 $(NORMAL_TARGET_EXPORTS) \
25632 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
25633 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
25634 case $(srcdir) in \
25635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25636 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
25637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25638 esac; \
25639 srcdiroption="--srcdir=$${topdir}/libobjc"; \
25640 libsrcdir="$$s/libobjc"; \
25641 rm -f no-such-file || : ; \
25642 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25643 $(TARGET_CONFIGARGS) $${srcdiroption} \
25644 --with-target-subdir="$(TARGET_SUBDIR)" \
25645 || exit 1
25646 @endif target-libobjc
25648 .PHONY: all-target-libobjc maybe-all-target-libobjc
25649 maybe-all-target-libobjc:
25650 @if target-libobjc
25651 TARGET-target-libobjc=all
25652 maybe-all-target-libobjc: all-target-libobjc
25653 all-target-libobjc: configure-target-libobjc
25654 @r=`${PWD_COMMAND}`; export r; \
25655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25656 $(SET_LIB_PATH) \
25657 $(NORMAL_TARGET_EXPORTS) \
25658 (cd $(TARGET_SUBDIR)/libobjc && \
25659 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
25660 @endif target-libobjc
25662 .PHONY: check-target-libobjc maybe-check-target-libobjc
25663 maybe-check-target-libobjc:
25664 @if target-libobjc
25665 maybe-check-target-libobjc: check-target-libobjc
25667 check-target-libobjc:
25668 @r=`${PWD_COMMAND}`; export r; \
25669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25670 $(SET_LIB_PATH) \
25671 $(NORMAL_TARGET_EXPORTS) \
25672 (cd $(TARGET_SUBDIR)/libobjc && \
25673 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25675 @endif target-libobjc
25677 .PHONY: install-target-libobjc maybe-install-target-libobjc
25678 maybe-install-target-libobjc:
25679 @if target-libobjc
25680 maybe-install-target-libobjc: install-target-libobjc
25682 install-target-libobjc: installdirs
25683 @r=`${PWD_COMMAND}`; export r; \
25684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25685 $(SET_LIB_PATH) \
25686 $(NORMAL_TARGET_EXPORTS) \
25687 (cd $(TARGET_SUBDIR)/libobjc && \
25688 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25690 @endif target-libobjc
25692 # Other targets (info, dvi, etc.)
25694 .PHONY: maybe-info-target-libobjc info-target-libobjc
25695 maybe-info-target-libobjc:
25696 @if target-libobjc
25697 maybe-info-target-libobjc: info-target-libobjc
25699 info-target-libobjc: \
25700 configure-target-libobjc
25701 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25702 r=`${PWD_COMMAND}`; export r; \
25703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25704 $(SET_LIB_PATH) \
25705 $(NORMAL_TARGET_EXPORTS) \
25706 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
25707 for flag in $(EXTRA_TARGET_FLAGS); do \
25708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25709 done; \
25710 (cd $(TARGET_SUBDIR)/libobjc && \
25711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25713 "RANLIB=$${RANLIB}" \
25714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25715 info) \
25716 || exit 1
25718 @endif target-libobjc
25720 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
25721 maybe-dvi-target-libobjc:
25722 @if target-libobjc
25723 maybe-dvi-target-libobjc: dvi-target-libobjc
25725 dvi-target-libobjc: \
25726 configure-target-libobjc
25727 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25728 r=`${PWD_COMMAND}`; export r; \
25729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25730 $(SET_LIB_PATH) \
25731 $(NORMAL_TARGET_EXPORTS) \
25732 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
25733 for flag in $(EXTRA_TARGET_FLAGS); do \
25734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25735 done; \
25736 (cd $(TARGET_SUBDIR)/libobjc && \
25737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25739 "RANLIB=$${RANLIB}" \
25740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25741 dvi) \
25742 || exit 1
25744 @endif target-libobjc
25746 .PHONY: maybe-html-target-libobjc html-target-libobjc
25747 maybe-html-target-libobjc:
25748 @if target-libobjc
25749 maybe-html-target-libobjc: html-target-libobjc
25751 html-target-libobjc: \
25752 configure-target-libobjc
25753 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25754 r=`${PWD_COMMAND}`; export r; \
25755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25756 $(SET_LIB_PATH) \
25757 $(NORMAL_TARGET_EXPORTS) \
25758 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
25759 for flag in $(EXTRA_TARGET_FLAGS); do \
25760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25761 done; \
25762 (cd $(TARGET_SUBDIR)/libobjc && \
25763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25765 "RANLIB=$${RANLIB}" \
25766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25767 html) \
25768 || exit 1
25770 @endif target-libobjc
25772 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
25773 maybe-TAGS-target-libobjc:
25774 @if target-libobjc
25775 maybe-TAGS-target-libobjc: TAGS-target-libobjc
25777 TAGS-target-libobjc: \
25778 configure-target-libobjc
25779 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25780 r=`${PWD_COMMAND}`; export r; \
25781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25782 $(SET_LIB_PATH) \
25783 $(NORMAL_TARGET_EXPORTS) \
25784 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
25785 for flag in $(EXTRA_TARGET_FLAGS); do \
25786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25787 done; \
25788 (cd $(TARGET_SUBDIR)/libobjc && \
25789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25791 "RANLIB=$${RANLIB}" \
25792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25793 TAGS) \
25794 || exit 1
25796 @endif target-libobjc
25798 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
25799 maybe-install-info-target-libobjc:
25800 @if target-libobjc
25801 maybe-install-info-target-libobjc: install-info-target-libobjc
25803 install-info-target-libobjc: \
25804 configure-target-libobjc \
25805 info-target-libobjc
25806 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25807 r=`${PWD_COMMAND}`; export r; \
25808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25809 $(SET_LIB_PATH) \
25810 $(NORMAL_TARGET_EXPORTS) \
25811 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
25812 for flag in $(EXTRA_TARGET_FLAGS); do \
25813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25814 done; \
25815 (cd $(TARGET_SUBDIR)/libobjc && \
25816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25818 "RANLIB=$${RANLIB}" \
25819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25820 install-info) \
25821 || exit 1
25823 @endif target-libobjc
25825 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
25826 maybe-installcheck-target-libobjc:
25827 @if target-libobjc
25828 maybe-installcheck-target-libobjc: installcheck-target-libobjc
25830 installcheck-target-libobjc: \
25831 configure-target-libobjc
25832 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25833 r=`${PWD_COMMAND}`; export r; \
25834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25835 $(SET_LIB_PATH) \
25836 $(NORMAL_TARGET_EXPORTS) \
25837 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
25838 for flag in $(EXTRA_TARGET_FLAGS); do \
25839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25840 done; \
25841 (cd $(TARGET_SUBDIR)/libobjc && \
25842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25844 "RANLIB=$${RANLIB}" \
25845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25846 installcheck) \
25847 || exit 1
25849 @endif target-libobjc
25851 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
25852 maybe-mostlyclean-target-libobjc:
25853 @if target-libobjc
25854 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
25856 mostlyclean-target-libobjc:
25857 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25858 r=`${PWD_COMMAND}`; export r; \
25859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25860 $(SET_LIB_PATH) \
25861 $(NORMAL_TARGET_EXPORTS) \
25862 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
25863 for flag in $(EXTRA_TARGET_FLAGS); do \
25864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25865 done; \
25866 (cd $(TARGET_SUBDIR)/libobjc && \
25867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25869 "RANLIB=$${RANLIB}" \
25870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25871 mostlyclean) \
25872 || exit 1
25874 @endif target-libobjc
25876 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
25877 maybe-clean-target-libobjc:
25878 @if target-libobjc
25879 maybe-clean-target-libobjc: clean-target-libobjc
25881 clean-target-libobjc:
25882 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25883 r=`${PWD_COMMAND}`; export r; \
25884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25885 $(SET_LIB_PATH) \
25886 $(NORMAL_TARGET_EXPORTS) \
25887 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
25888 for flag in $(EXTRA_TARGET_FLAGS); do \
25889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25890 done; \
25891 (cd $(TARGET_SUBDIR)/libobjc && \
25892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25894 "RANLIB=$${RANLIB}" \
25895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25896 clean) \
25897 || exit 1
25899 @endif target-libobjc
25901 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
25902 maybe-distclean-target-libobjc:
25903 @if target-libobjc
25904 maybe-distclean-target-libobjc: distclean-target-libobjc
25906 distclean-target-libobjc:
25907 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25908 r=`${PWD_COMMAND}`; export r; \
25909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25910 $(SET_LIB_PATH) \
25911 $(NORMAL_TARGET_EXPORTS) \
25912 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
25913 for flag in $(EXTRA_TARGET_FLAGS); do \
25914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25915 done; \
25916 (cd $(TARGET_SUBDIR)/libobjc && \
25917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25919 "RANLIB=$${RANLIB}" \
25920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25921 distclean) \
25922 || exit 1
25924 @endif target-libobjc
25926 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
25927 maybe-maintainer-clean-target-libobjc:
25928 @if target-libobjc
25929 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
25931 maintainer-clean-target-libobjc:
25932 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25933 r=`${PWD_COMMAND}`; export r; \
25934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25935 $(SET_LIB_PATH) \
25936 $(NORMAL_TARGET_EXPORTS) \
25937 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
25938 for flag in $(EXTRA_TARGET_FLAGS); do \
25939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25940 done; \
25941 (cd $(TARGET_SUBDIR)/libobjc && \
25942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25944 "RANLIB=$${RANLIB}" \
25945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25946 maintainer-clean) \
25947 || exit 1
25949 @endif target-libobjc
25952 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
25953 maybe-configure-target-libtermcap:
25954 @if target-libtermcap
25955 maybe-configure-target-libtermcap: configure-target-libtermcap
25957 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25958 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
25959 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25960 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
25961 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
25963 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
25964 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
25965 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25966 r=`${PWD_COMMAND}`; export r; \
25967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25968 $(SET_LIB_PATH) \
25969 $(NORMAL_TARGET_EXPORTS) \
25970 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
25971 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
25972 case $(srcdir) in \
25973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25974 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
25975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25976 esac; \
25977 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
25978 libsrcdir="$$s/libtermcap"; \
25979 rm -f no-such-file || : ; \
25980 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25981 $(TARGET_CONFIGARGS) $${srcdiroption} \
25982 --with-target-subdir="$(TARGET_SUBDIR)" \
25983 || exit 1
25984 @endif target-libtermcap
25986 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
25987 maybe-all-target-libtermcap:
25988 @if target-libtermcap
25989 TARGET-target-libtermcap=all
25990 maybe-all-target-libtermcap: all-target-libtermcap
25991 all-target-libtermcap: configure-target-libtermcap
25992 @r=`${PWD_COMMAND}`; export r; \
25993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25994 $(SET_LIB_PATH) \
25995 $(NORMAL_TARGET_EXPORTS) \
25996 (cd $(TARGET_SUBDIR)/libtermcap && \
25997 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
25998 @endif target-libtermcap
26000 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
26001 maybe-check-target-libtermcap:
26002 @if target-libtermcap
26003 maybe-check-target-libtermcap: check-target-libtermcap
26005 # Dummy target for uncheckable module.
26006 check-target-libtermcap:
26008 @endif target-libtermcap
26010 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
26011 maybe-install-target-libtermcap:
26012 @if target-libtermcap
26013 maybe-install-target-libtermcap: install-target-libtermcap
26015 install-target-libtermcap: installdirs
26016 @r=`${PWD_COMMAND}`; export r; \
26017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26018 $(SET_LIB_PATH) \
26019 $(NORMAL_TARGET_EXPORTS) \
26020 (cd $(TARGET_SUBDIR)/libtermcap && \
26021 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26023 @endif target-libtermcap
26025 # Other targets (info, dvi, etc.)
26027 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
26028 maybe-info-target-libtermcap:
26029 @if target-libtermcap
26030 maybe-info-target-libtermcap: info-target-libtermcap
26032 info-target-libtermcap: \
26033 configure-target-libtermcap
26034 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26035 r=`${PWD_COMMAND}`; export r; \
26036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26037 $(SET_LIB_PATH) \
26038 $(NORMAL_TARGET_EXPORTS) \
26039 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
26040 for flag in $(EXTRA_TARGET_FLAGS); do \
26041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26042 done; \
26043 (cd $(TARGET_SUBDIR)/libtermcap && \
26044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26046 "RANLIB=$${RANLIB}" \
26047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26048 info) \
26049 || exit 1
26051 @endif target-libtermcap
26053 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
26054 maybe-dvi-target-libtermcap:
26055 @if target-libtermcap
26056 maybe-dvi-target-libtermcap: dvi-target-libtermcap
26058 dvi-target-libtermcap: \
26059 configure-target-libtermcap
26060 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26061 r=`${PWD_COMMAND}`; export r; \
26062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26063 $(SET_LIB_PATH) \
26064 $(NORMAL_TARGET_EXPORTS) \
26065 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
26066 for flag in $(EXTRA_TARGET_FLAGS); do \
26067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26068 done; \
26069 (cd $(TARGET_SUBDIR)/libtermcap && \
26070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26072 "RANLIB=$${RANLIB}" \
26073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26074 dvi) \
26075 || exit 1
26077 @endif target-libtermcap
26079 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
26080 maybe-html-target-libtermcap:
26081 @if target-libtermcap
26082 maybe-html-target-libtermcap: html-target-libtermcap
26084 html-target-libtermcap: \
26085 configure-target-libtermcap
26086 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26087 r=`${PWD_COMMAND}`; export r; \
26088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26089 $(SET_LIB_PATH) \
26090 $(NORMAL_TARGET_EXPORTS) \
26091 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
26092 for flag in $(EXTRA_TARGET_FLAGS); do \
26093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26094 done; \
26095 (cd $(TARGET_SUBDIR)/libtermcap && \
26096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26098 "RANLIB=$${RANLIB}" \
26099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26100 html) \
26101 || exit 1
26103 @endif target-libtermcap
26105 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
26106 maybe-TAGS-target-libtermcap:
26107 @if target-libtermcap
26108 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
26110 TAGS-target-libtermcap: \
26111 configure-target-libtermcap
26112 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26113 r=`${PWD_COMMAND}`; export r; \
26114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26115 $(SET_LIB_PATH) \
26116 $(NORMAL_TARGET_EXPORTS) \
26117 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
26118 for flag in $(EXTRA_TARGET_FLAGS); do \
26119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26120 done; \
26121 (cd $(TARGET_SUBDIR)/libtermcap && \
26122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26124 "RANLIB=$${RANLIB}" \
26125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26126 TAGS) \
26127 || exit 1
26129 @endif target-libtermcap
26131 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
26132 maybe-install-info-target-libtermcap:
26133 @if target-libtermcap
26134 maybe-install-info-target-libtermcap: install-info-target-libtermcap
26136 install-info-target-libtermcap: \
26137 configure-target-libtermcap \
26138 info-target-libtermcap
26139 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26140 r=`${PWD_COMMAND}`; export r; \
26141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26142 $(SET_LIB_PATH) \
26143 $(NORMAL_TARGET_EXPORTS) \
26144 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
26145 for flag in $(EXTRA_TARGET_FLAGS); do \
26146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26147 done; \
26148 (cd $(TARGET_SUBDIR)/libtermcap && \
26149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26151 "RANLIB=$${RANLIB}" \
26152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26153 install-info) \
26154 || exit 1
26156 @endif target-libtermcap
26158 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
26159 maybe-installcheck-target-libtermcap:
26160 @if target-libtermcap
26161 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
26163 installcheck-target-libtermcap: \
26164 configure-target-libtermcap
26165 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26166 r=`${PWD_COMMAND}`; export r; \
26167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26168 $(SET_LIB_PATH) \
26169 $(NORMAL_TARGET_EXPORTS) \
26170 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
26171 for flag in $(EXTRA_TARGET_FLAGS); do \
26172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26173 done; \
26174 (cd $(TARGET_SUBDIR)/libtermcap && \
26175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26177 "RANLIB=$${RANLIB}" \
26178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26179 installcheck) \
26180 || exit 1
26182 @endif target-libtermcap
26184 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
26185 maybe-mostlyclean-target-libtermcap:
26186 @if target-libtermcap
26187 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
26189 # libtermcap doesn't support mostlyclean.
26190 mostlyclean-target-libtermcap:
26192 @endif target-libtermcap
26194 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
26195 maybe-clean-target-libtermcap:
26196 @if target-libtermcap
26197 maybe-clean-target-libtermcap: clean-target-libtermcap
26199 # libtermcap doesn't support clean.
26200 clean-target-libtermcap:
26202 @endif target-libtermcap
26204 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
26205 maybe-distclean-target-libtermcap:
26206 @if target-libtermcap
26207 maybe-distclean-target-libtermcap: distclean-target-libtermcap
26209 # libtermcap doesn't support distclean.
26210 distclean-target-libtermcap:
26212 @endif target-libtermcap
26214 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
26215 maybe-maintainer-clean-target-libtermcap:
26216 @if target-libtermcap
26217 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
26219 # libtermcap doesn't support maintainer-clean.
26220 maintainer-clean-target-libtermcap:
26222 @endif target-libtermcap
26225 .PHONY: configure-target-winsup maybe-configure-target-winsup
26226 maybe-configure-target-winsup:
26227 @if target-winsup
26228 maybe-configure-target-winsup: configure-target-winsup
26230 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26231 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
26232 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26233 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
26234 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
26236 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
26237 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
26238 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26239 r=`${PWD_COMMAND}`; export r; \
26240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26241 $(SET_LIB_PATH) \
26242 $(NORMAL_TARGET_EXPORTS) \
26243 echo Configuring in $(TARGET_SUBDIR)/winsup; \
26244 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
26245 case $(srcdir) in \
26246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26247 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
26248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26249 esac; \
26250 srcdiroption="--srcdir=$${topdir}/winsup"; \
26251 libsrcdir="$$s/winsup"; \
26252 rm -f no-such-file || : ; \
26253 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26254 $(TARGET_CONFIGARGS) $${srcdiroption} \
26255 --with-target-subdir="$(TARGET_SUBDIR)" \
26256 || exit 1
26257 @endif target-winsup
26259 .PHONY: all-target-winsup maybe-all-target-winsup
26260 maybe-all-target-winsup:
26261 @if target-winsup
26262 TARGET-target-winsup=all
26263 maybe-all-target-winsup: all-target-winsup
26264 all-target-winsup: configure-target-winsup
26265 @r=`${PWD_COMMAND}`; export r; \
26266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26267 $(SET_LIB_PATH) \
26268 $(NORMAL_TARGET_EXPORTS) \
26269 (cd $(TARGET_SUBDIR)/winsup && \
26270 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
26271 @endif target-winsup
26273 .PHONY: check-target-winsup maybe-check-target-winsup
26274 maybe-check-target-winsup:
26275 @if target-winsup
26276 maybe-check-target-winsup: check-target-winsup
26278 check-target-winsup:
26279 @r=`${PWD_COMMAND}`; export r; \
26280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26281 $(SET_LIB_PATH) \
26282 $(NORMAL_TARGET_EXPORTS) \
26283 (cd $(TARGET_SUBDIR)/winsup && \
26284 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26286 @endif target-winsup
26288 .PHONY: install-target-winsup maybe-install-target-winsup
26289 maybe-install-target-winsup:
26290 @if target-winsup
26291 maybe-install-target-winsup: install-target-winsup
26293 install-target-winsup: installdirs
26294 @r=`${PWD_COMMAND}`; export r; \
26295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26296 $(SET_LIB_PATH) \
26297 $(NORMAL_TARGET_EXPORTS) \
26298 (cd $(TARGET_SUBDIR)/winsup && \
26299 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26301 @endif target-winsup
26303 # Other targets (info, dvi, etc.)
26305 .PHONY: maybe-info-target-winsup info-target-winsup
26306 maybe-info-target-winsup:
26307 @if target-winsup
26308 maybe-info-target-winsup: info-target-winsup
26310 info-target-winsup: \
26311 configure-target-winsup
26312 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26313 r=`${PWD_COMMAND}`; export r; \
26314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26315 $(SET_LIB_PATH) \
26316 $(NORMAL_TARGET_EXPORTS) \
26317 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
26318 for flag in $(EXTRA_TARGET_FLAGS); do \
26319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26320 done; \
26321 (cd $(TARGET_SUBDIR)/winsup && \
26322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26324 "RANLIB=$${RANLIB}" \
26325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26326 info) \
26327 || exit 1
26329 @endif target-winsup
26331 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
26332 maybe-dvi-target-winsup:
26333 @if target-winsup
26334 maybe-dvi-target-winsup: dvi-target-winsup
26336 dvi-target-winsup: \
26337 configure-target-winsup
26338 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26339 r=`${PWD_COMMAND}`; export r; \
26340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26341 $(SET_LIB_PATH) \
26342 $(NORMAL_TARGET_EXPORTS) \
26343 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
26344 for flag in $(EXTRA_TARGET_FLAGS); do \
26345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26346 done; \
26347 (cd $(TARGET_SUBDIR)/winsup && \
26348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26350 "RANLIB=$${RANLIB}" \
26351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26352 dvi) \
26353 || exit 1
26355 @endif target-winsup
26357 .PHONY: maybe-html-target-winsup html-target-winsup
26358 maybe-html-target-winsup:
26359 @if target-winsup
26360 maybe-html-target-winsup: html-target-winsup
26362 html-target-winsup: \
26363 configure-target-winsup
26364 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26365 r=`${PWD_COMMAND}`; export r; \
26366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26367 $(SET_LIB_PATH) \
26368 $(NORMAL_TARGET_EXPORTS) \
26369 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
26370 for flag in $(EXTRA_TARGET_FLAGS); do \
26371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26372 done; \
26373 (cd $(TARGET_SUBDIR)/winsup && \
26374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26376 "RANLIB=$${RANLIB}" \
26377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26378 html) \
26379 || exit 1
26381 @endif target-winsup
26383 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
26384 maybe-TAGS-target-winsup:
26385 @if target-winsup
26386 maybe-TAGS-target-winsup: TAGS-target-winsup
26388 TAGS-target-winsup: \
26389 configure-target-winsup
26390 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26391 r=`${PWD_COMMAND}`; export r; \
26392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26393 $(SET_LIB_PATH) \
26394 $(NORMAL_TARGET_EXPORTS) \
26395 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
26396 for flag in $(EXTRA_TARGET_FLAGS); do \
26397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26398 done; \
26399 (cd $(TARGET_SUBDIR)/winsup && \
26400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26402 "RANLIB=$${RANLIB}" \
26403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26404 TAGS) \
26405 || exit 1
26407 @endif target-winsup
26409 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
26410 maybe-install-info-target-winsup:
26411 @if target-winsup
26412 maybe-install-info-target-winsup: install-info-target-winsup
26414 install-info-target-winsup: \
26415 configure-target-winsup \
26416 info-target-winsup
26417 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26418 r=`${PWD_COMMAND}`; export r; \
26419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26420 $(SET_LIB_PATH) \
26421 $(NORMAL_TARGET_EXPORTS) \
26422 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
26423 for flag in $(EXTRA_TARGET_FLAGS); do \
26424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26425 done; \
26426 (cd $(TARGET_SUBDIR)/winsup && \
26427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26429 "RANLIB=$${RANLIB}" \
26430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26431 install-info) \
26432 || exit 1
26434 @endif target-winsup
26436 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
26437 maybe-installcheck-target-winsup:
26438 @if target-winsup
26439 maybe-installcheck-target-winsup: installcheck-target-winsup
26441 installcheck-target-winsup: \
26442 configure-target-winsup
26443 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26444 r=`${PWD_COMMAND}`; export r; \
26445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26446 $(SET_LIB_PATH) \
26447 $(NORMAL_TARGET_EXPORTS) \
26448 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
26449 for flag in $(EXTRA_TARGET_FLAGS); do \
26450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26451 done; \
26452 (cd $(TARGET_SUBDIR)/winsup && \
26453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26455 "RANLIB=$${RANLIB}" \
26456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26457 installcheck) \
26458 || exit 1
26460 @endif target-winsup
26462 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
26463 maybe-mostlyclean-target-winsup:
26464 @if target-winsup
26465 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
26467 mostlyclean-target-winsup:
26468 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26469 r=`${PWD_COMMAND}`; export r; \
26470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26471 $(SET_LIB_PATH) \
26472 $(NORMAL_TARGET_EXPORTS) \
26473 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
26474 for flag in $(EXTRA_TARGET_FLAGS); do \
26475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26476 done; \
26477 (cd $(TARGET_SUBDIR)/winsup && \
26478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26480 "RANLIB=$${RANLIB}" \
26481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26482 mostlyclean) \
26483 || exit 1
26485 @endif target-winsup
26487 .PHONY: maybe-clean-target-winsup clean-target-winsup
26488 maybe-clean-target-winsup:
26489 @if target-winsup
26490 maybe-clean-target-winsup: clean-target-winsup
26492 clean-target-winsup:
26493 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26494 r=`${PWD_COMMAND}`; export r; \
26495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26496 $(SET_LIB_PATH) \
26497 $(NORMAL_TARGET_EXPORTS) \
26498 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
26499 for flag in $(EXTRA_TARGET_FLAGS); do \
26500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26501 done; \
26502 (cd $(TARGET_SUBDIR)/winsup && \
26503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26505 "RANLIB=$${RANLIB}" \
26506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26507 clean) \
26508 || exit 1
26510 @endif target-winsup
26512 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
26513 maybe-distclean-target-winsup:
26514 @if target-winsup
26515 maybe-distclean-target-winsup: distclean-target-winsup
26517 distclean-target-winsup:
26518 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26519 r=`${PWD_COMMAND}`; export r; \
26520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26521 $(SET_LIB_PATH) \
26522 $(NORMAL_TARGET_EXPORTS) \
26523 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
26524 for flag in $(EXTRA_TARGET_FLAGS); do \
26525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26526 done; \
26527 (cd $(TARGET_SUBDIR)/winsup && \
26528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26530 "RANLIB=$${RANLIB}" \
26531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26532 distclean) \
26533 || exit 1
26535 @endif target-winsup
26537 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
26538 maybe-maintainer-clean-target-winsup:
26539 @if target-winsup
26540 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
26542 maintainer-clean-target-winsup:
26543 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26544 r=`${PWD_COMMAND}`; export r; \
26545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26546 $(SET_LIB_PATH) \
26547 $(NORMAL_TARGET_EXPORTS) \
26548 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
26549 for flag in $(EXTRA_TARGET_FLAGS); do \
26550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26551 done; \
26552 (cd $(TARGET_SUBDIR)/winsup && \
26553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26555 "RANLIB=$${RANLIB}" \
26556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26557 maintainer-clean) \
26558 || exit 1
26560 @endif target-winsup
26563 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
26564 maybe-configure-target-libgloss:
26565 @if target-libgloss
26566 maybe-configure-target-libgloss: configure-target-libgloss
26568 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26569 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
26570 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26571 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
26572 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
26574 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
26575 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
26576 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26577 r=`${PWD_COMMAND}`; export r; \
26578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26579 $(SET_LIB_PATH) \
26580 $(NORMAL_TARGET_EXPORTS) \
26581 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
26582 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
26583 case $(srcdir) in \
26584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26585 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
26586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26587 esac; \
26588 srcdiroption="--srcdir=$${topdir}/libgloss"; \
26589 libsrcdir="$$s/libgloss"; \
26590 rm -f no-such-file || : ; \
26591 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26592 $(TARGET_CONFIGARGS) $${srcdiroption} \
26593 --with-target-subdir="$(TARGET_SUBDIR)" \
26594 || exit 1
26595 @endif target-libgloss
26597 .PHONY: all-target-libgloss maybe-all-target-libgloss
26598 maybe-all-target-libgloss:
26599 @if target-libgloss
26600 TARGET-target-libgloss=all
26601 maybe-all-target-libgloss: all-target-libgloss
26602 all-target-libgloss: configure-target-libgloss
26603 @r=`${PWD_COMMAND}`; export r; \
26604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26605 $(SET_LIB_PATH) \
26606 $(NORMAL_TARGET_EXPORTS) \
26607 (cd $(TARGET_SUBDIR)/libgloss && \
26608 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
26609 @endif target-libgloss
26611 .PHONY: check-target-libgloss maybe-check-target-libgloss
26612 maybe-check-target-libgloss:
26613 @if target-libgloss
26614 maybe-check-target-libgloss: check-target-libgloss
26616 # Dummy target for uncheckable module.
26617 check-target-libgloss:
26619 @endif target-libgloss
26621 .PHONY: install-target-libgloss maybe-install-target-libgloss
26622 maybe-install-target-libgloss:
26623 @if target-libgloss
26624 maybe-install-target-libgloss: install-target-libgloss
26626 install-target-libgloss: installdirs
26627 @r=`${PWD_COMMAND}`; export r; \
26628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26629 $(SET_LIB_PATH) \
26630 $(NORMAL_TARGET_EXPORTS) \
26631 (cd $(TARGET_SUBDIR)/libgloss && \
26632 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26634 @endif target-libgloss
26636 # Other targets (info, dvi, etc.)
26638 .PHONY: maybe-info-target-libgloss info-target-libgloss
26639 maybe-info-target-libgloss:
26640 @if target-libgloss
26641 maybe-info-target-libgloss: info-target-libgloss
26643 info-target-libgloss: \
26644 configure-target-libgloss
26645 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26646 r=`${PWD_COMMAND}`; export r; \
26647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26648 $(SET_LIB_PATH) \
26649 $(NORMAL_TARGET_EXPORTS) \
26650 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
26651 for flag in $(EXTRA_TARGET_FLAGS); do \
26652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26653 done; \
26654 (cd $(TARGET_SUBDIR)/libgloss && \
26655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26657 "RANLIB=$${RANLIB}" \
26658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26659 info) \
26660 || exit 1
26662 @endif target-libgloss
26664 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
26665 maybe-dvi-target-libgloss:
26666 @if target-libgloss
26667 maybe-dvi-target-libgloss: dvi-target-libgloss
26669 dvi-target-libgloss: \
26670 configure-target-libgloss
26671 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26672 r=`${PWD_COMMAND}`; export r; \
26673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26674 $(SET_LIB_PATH) \
26675 $(NORMAL_TARGET_EXPORTS) \
26676 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
26677 for flag in $(EXTRA_TARGET_FLAGS); do \
26678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26679 done; \
26680 (cd $(TARGET_SUBDIR)/libgloss && \
26681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26683 "RANLIB=$${RANLIB}" \
26684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26685 dvi) \
26686 || exit 1
26688 @endif target-libgloss
26690 .PHONY: maybe-html-target-libgloss html-target-libgloss
26691 maybe-html-target-libgloss:
26692 @if target-libgloss
26693 maybe-html-target-libgloss: html-target-libgloss
26695 html-target-libgloss: \
26696 configure-target-libgloss
26697 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26698 r=`${PWD_COMMAND}`; export r; \
26699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26700 $(SET_LIB_PATH) \
26701 $(NORMAL_TARGET_EXPORTS) \
26702 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
26703 for flag in $(EXTRA_TARGET_FLAGS); do \
26704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26705 done; \
26706 (cd $(TARGET_SUBDIR)/libgloss && \
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 html) \
26712 || exit 1
26714 @endif target-libgloss
26716 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
26717 maybe-TAGS-target-libgloss:
26718 @if target-libgloss
26719 maybe-TAGS-target-libgloss: TAGS-target-libgloss
26721 TAGS-target-libgloss: \
26722 configure-target-libgloss
26723 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26724 r=`${PWD_COMMAND}`; export r; \
26725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26726 $(SET_LIB_PATH) \
26727 $(NORMAL_TARGET_EXPORTS) \
26728 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
26729 for flag in $(EXTRA_TARGET_FLAGS); do \
26730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26731 done; \
26732 (cd $(TARGET_SUBDIR)/libgloss && \
26733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26735 "RANLIB=$${RANLIB}" \
26736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26737 TAGS) \
26738 || exit 1
26740 @endif target-libgloss
26742 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
26743 maybe-install-info-target-libgloss:
26744 @if target-libgloss
26745 maybe-install-info-target-libgloss: install-info-target-libgloss
26747 install-info-target-libgloss: \
26748 configure-target-libgloss \
26749 info-target-libgloss
26750 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26751 r=`${PWD_COMMAND}`; export r; \
26752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26753 $(SET_LIB_PATH) \
26754 $(NORMAL_TARGET_EXPORTS) \
26755 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
26756 for flag in $(EXTRA_TARGET_FLAGS); do \
26757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26758 done; \
26759 (cd $(TARGET_SUBDIR)/libgloss && \
26760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26762 "RANLIB=$${RANLIB}" \
26763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26764 install-info) \
26765 || exit 1
26767 @endif target-libgloss
26769 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
26770 maybe-installcheck-target-libgloss:
26771 @if target-libgloss
26772 maybe-installcheck-target-libgloss: installcheck-target-libgloss
26774 installcheck-target-libgloss: \
26775 configure-target-libgloss
26776 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26777 r=`${PWD_COMMAND}`; export r; \
26778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26779 $(SET_LIB_PATH) \
26780 $(NORMAL_TARGET_EXPORTS) \
26781 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
26782 for flag in $(EXTRA_TARGET_FLAGS); do \
26783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26784 done; \
26785 (cd $(TARGET_SUBDIR)/libgloss && \
26786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26788 "RANLIB=$${RANLIB}" \
26789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26790 installcheck) \
26791 || exit 1
26793 @endif target-libgloss
26795 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
26796 maybe-mostlyclean-target-libgloss:
26797 @if target-libgloss
26798 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
26800 mostlyclean-target-libgloss:
26801 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26802 r=`${PWD_COMMAND}`; export r; \
26803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26804 $(SET_LIB_PATH) \
26805 $(NORMAL_TARGET_EXPORTS) \
26806 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
26807 for flag in $(EXTRA_TARGET_FLAGS); do \
26808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26809 done; \
26810 (cd $(TARGET_SUBDIR)/libgloss && \
26811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26813 "RANLIB=$${RANLIB}" \
26814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26815 mostlyclean) \
26816 || exit 1
26818 @endif target-libgloss
26820 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
26821 maybe-clean-target-libgloss:
26822 @if target-libgloss
26823 maybe-clean-target-libgloss: clean-target-libgloss
26825 clean-target-libgloss:
26826 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26827 r=`${PWD_COMMAND}`; export r; \
26828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26829 $(SET_LIB_PATH) \
26830 $(NORMAL_TARGET_EXPORTS) \
26831 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
26832 for flag in $(EXTRA_TARGET_FLAGS); do \
26833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26834 done; \
26835 (cd $(TARGET_SUBDIR)/libgloss && \
26836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26838 "RANLIB=$${RANLIB}" \
26839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26840 clean) \
26841 || exit 1
26843 @endif target-libgloss
26845 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
26846 maybe-distclean-target-libgloss:
26847 @if target-libgloss
26848 maybe-distclean-target-libgloss: distclean-target-libgloss
26850 distclean-target-libgloss:
26851 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26852 r=`${PWD_COMMAND}`; export r; \
26853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26854 $(SET_LIB_PATH) \
26855 $(NORMAL_TARGET_EXPORTS) \
26856 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
26857 for flag in $(EXTRA_TARGET_FLAGS); do \
26858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26859 done; \
26860 (cd $(TARGET_SUBDIR)/libgloss && \
26861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26863 "RANLIB=$${RANLIB}" \
26864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26865 distclean) \
26866 || exit 1
26868 @endif target-libgloss
26870 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
26871 maybe-maintainer-clean-target-libgloss:
26872 @if target-libgloss
26873 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
26875 maintainer-clean-target-libgloss:
26876 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26877 r=`${PWD_COMMAND}`; export r; \
26878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26879 $(SET_LIB_PATH) \
26880 $(NORMAL_TARGET_EXPORTS) \
26881 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
26882 for flag in $(EXTRA_TARGET_FLAGS); do \
26883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26884 done; \
26885 (cd $(TARGET_SUBDIR)/libgloss && \
26886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26888 "RANLIB=$${RANLIB}" \
26889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26890 maintainer-clean) \
26891 || exit 1
26893 @endif target-libgloss
26896 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
26897 maybe-configure-target-libiberty:
26898 @if target-libiberty
26899 maybe-configure-target-libiberty: configure-target-libiberty
26901 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26902 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
26903 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26904 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
26905 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
26907 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
26908 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
26909 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26910 r=`${PWD_COMMAND}`; export r; \
26911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26912 $(SET_LIB_PATH) \
26913 $(NORMAL_TARGET_EXPORTS) \
26914 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
26915 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
26916 case $(srcdir) in \
26917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26918 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
26919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26920 esac; \
26921 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26922 libsrcdir="$$s/libiberty"; \
26923 rm -f no-such-file || : ; \
26924 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26925 $(TARGET_CONFIGARGS) $${srcdiroption} \
26926 --with-target-subdir="$(TARGET_SUBDIR)" \
26927 || exit 1
26928 @endif target-libiberty
26930 .PHONY: all-target-libiberty maybe-all-target-libiberty
26931 maybe-all-target-libiberty:
26932 @if target-libiberty
26933 TARGET-target-libiberty=all
26934 maybe-all-target-libiberty: all-target-libiberty
26935 all-target-libiberty: configure-target-libiberty
26936 @r=`${PWD_COMMAND}`; export r; \
26937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26938 $(SET_LIB_PATH) \
26939 $(NORMAL_TARGET_EXPORTS) \
26940 (cd $(TARGET_SUBDIR)/libiberty && \
26941 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
26942 @endif target-libiberty
26944 .PHONY: check-target-libiberty maybe-check-target-libiberty
26945 maybe-check-target-libiberty:
26946 @if target-libiberty
26947 maybe-check-target-libiberty: check-target-libiberty
26949 check-target-libiberty:
26950 @r=`${PWD_COMMAND}`; export r; \
26951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26952 $(SET_LIB_PATH) \
26953 $(NORMAL_TARGET_EXPORTS) \
26954 (cd $(TARGET_SUBDIR)/libiberty && \
26955 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26957 @endif target-libiberty
26959 .PHONY: install-target-libiberty maybe-install-target-libiberty
26960 maybe-install-target-libiberty:
26961 @if target-libiberty
26962 maybe-install-target-libiberty: install-target-libiberty
26964 install-target-libiberty: installdirs
26965 @r=`${PWD_COMMAND}`; export r; \
26966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26967 $(SET_LIB_PATH) \
26968 $(NORMAL_TARGET_EXPORTS) \
26969 (cd $(TARGET_SUBDIR)/libiberty && \
26970 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26972 @endif target-libiberty
26974 # Other targets (info, dvi, etc.)
26976 .PHONY: maybe-info-target-libiberty info-target-libiberty
26977 maybe-info-target-libiberty:
26978 @if target-libiberty
26979 maybe-info-target-libiberty: info-target-libiberty
26981 info-target-libiberty: \
26982 configure-target-libiberty
26983 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26984 r=`${PWD_COMMAND}`; export r; \
26985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26986 $(SET_LIB_PATH) \
26987 $(NORMAL_TARGET_EXPORTS) \
26988 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
26989 for flag in $(EXTRA_TARGET_FLAGS); do \
26990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26991 done; \
26992 (cd $(TARGET_SUBDIR)/libiberty && \
26993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26995 "RANLIB=$${RANLIB}" \
26996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26997 info) \
26998 || exit 1
27000 @endif target-libiberty
27002 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
27003 maybe-dvi-target-libiberty:
27004 @if target-libiberty
27005 maybe-dvi-target-libiberty: dvi-target-libiberty
27007 dvi-target-libiberty: \
27008 configure-target-libiberty
27009 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27010 r=`${PWD_COMMAND}`; export r; \
27011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27012 $(SET_LIB_PATH) \
27013 $(NORMAL_TARGET_EXPORTS) \
27014 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
27015 for flag in $(EXTRA_TARGET_FLAGS); do \
27016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27017 done; \
27018 (cd $(TARGET_SUBDIR)/libiberty && \
27019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27021 "RANLIB=$${RANLIB}" \
27022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27023 dvi) \
27024 || exit 1
27026 @endif target-libiberty
27028 .PHONY: maybe-html-target-libiberty html-target-libiberty
27029 maybe-html-target-libiberty:
27030 @if target-libiberty
27031 maybe-html-target-libiberty: html-target-libiberty
27033 html-target-libiberty: \
27034 configure-target-libiberty
27035 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27036 r=`${PWD_COMMAND}`; export r; \
27037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27038 $(SET_LIB_PATH) \
27039 $(NORMAL_TARGET_EXPORTS) \
27040 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
27041 for flag in $(EXTRA_TARGET_FLAGS); do \
27042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27043 done; \
27044 (cd $(TARGET_SUBDIR)/libiberty && \
27045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27047 "RANLIB=$${RANLIB}" \
27048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27049 html) \
27050 || exit 1
27052 @endif target-libiberty
27054 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
27055 maybe-TAGS-target-libiberty:
27056 @if target-libiberty
27057 maybe-TAGS-target-libiberty: TAGS-target-libiberty
27059 TAGS-target-libiberty: \
27060 configure-target-libiberty
27061 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27062 r=`${PWD_COMMAND}`; export r; \
27063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27064 $(SET_LIB_PATH) \
27065 $(NORMAL_TARGET_EXPORTS) \
27066 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
27067 for flag in $(EXTRA_TARGET_FLAGS); do \
27068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27069 done; \
27070 (cd $(TARGET_SUBDIR)/libiberty && \
27071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27073 "RANLIB=$${RANLIB}" \
27074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27075 TAGS) \
27076 || exit 1
27078 @endif target-libiberty
27080 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
27081 maybe-install-info-target-libiberty:
27082 @if target-libiberty
27083 maybe-install-info-target-libiberty: install-info-target-libiberty
27085 install-info-target-libiberty: \
27086 configure-target-libiberty \
27087 info-target-libiberty
27088 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27089 r=`${PWD_COMMAND}`; export r; \
27090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27091 $(SET_LIB_PATH) \
27092 $(NORMAL_TARGET_EXPORTS) \
27093 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
27094 for flag in $(EXTRA_TARGET_FLAGS); do \
27095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27096 done; \
27097 (cd $(TARGET_SUBDIR)/libiberty && \
27098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27100 "RANLIB=$${RANLIB}" \
27101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27102 install-info) \
27103 || exit 1
27105 @endif target-libiberty
27107 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
27108 maybe-installcheck-target-libiberty:
27109 @if target-libiberty
27110 maybe-installcheck-target-libiberty: installcheck-target-libiberty
27112 installcheck-target-libiberty: \
27113 configure-target-libiberty
27114 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27115 r=`${PWD_COMMAND}`; export r; \
27116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27117 $(SET_LIB_PATH) \
27118 $(NORMAL_TARGET_EXPORTS) \
27119 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
27120 for flag in $(EXTRA_TARGET_FLAGS); do \
27121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27122 done; \
27123 (cd $(TARGET_SUBDIR)/libiberty && \
27124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27126 "RANLIB=$${RANLIB}" \
27127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27128 installcheck) \
27129 || exit 1
27131 @endif target-libiberty
27133 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
27134 maybe-mostlyclean-target-libiberty:
27135 @if target-libiberty
27136 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
27138 mostlyclean-target-libiberty:
27139 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27140 r=`${PWD_COMMAND}`; export r; \
27141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27142 $(SET_LIB_PATH) \
27143 $(NORMAL_TARGET_EXPORTS) \
27144 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
27145 for flag in $(EXTRA_TARGET_FLAGS); do \
27146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27147 done; \
27148 (cd $(TARGET_SUBDIR)/libiberty && \
27149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27151 "RANLIB=$${RANLIB}" \
27152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27153 mostlyclean) \
27154 || exit 1
27156 @endif target-libiberty
27158 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
27159 maybe-clean-target-libiberty:
27160 @if target-libiberty
27161 maybe-clean-target-libiberty: clean-target-libiberty
27163 clean-target-libiberty:
27164 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27165 r=`${PWD_COMMAND}`; export r; \
27166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27167 $(SET_LIB_PATH) \
27168 $(NORMAL_TARGET_EXPORTS) \
27169 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
27170 for flag in $(EXTRA_TARGET_FLAGS); do \
27171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27172 done; \
27173 (cd $(TARGET_SUBDIR)/libiberty && \
27174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27176 "RANLIB=$${RANLIB}" \
27177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27178 clean) \
27179 || exit 1
27181 @endif target-libiberty
27183 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
27184 maybe-distclean-target-libiberty:
27185 @if target-libiberty
27186 maybe-distclean-target-libiberty: distclean-target-libiberty
27188 distclean-target-libiberty:
27189 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27190 r=`${PWD_COMMAND}`; export r; \
27191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27192 $(SET_LIB_PATH) \
27193 $(NORMAL_TARGET_EXPORTS) \
27194 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
27195 for flag in $(EXTRA_TARGET_FLAGS); do \
27196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27197 done; \
27198 (cd $(TARGET_SUBDIR)/libiberty && \
27199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27201 "RANLIB=$${RANLIB}" \
27202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27203 distclean) \
27204 || exit 1
27206 @endif target-libiberty
27208 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
27209 maybe-maintainer-clean-target-libiberty:
27210 @if target-libiberty
27211 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
27213 maintainer-clean-target-libiberty:
27214 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27215 r=`${PWD_COMMAND}`; export r; \
27216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27217 $(SET_LIB_PATH) \
27218 $(NORMAL_TARGET_EXPORTS) \
27219 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
27220 for flag in $(EXTRA_TARGET_FLAGS); do \
27221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27222 done; \
27223 (cd $(TARGET_SUBDIR)/libiberty && \
27224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27226 "RANLIB=$${RANLIB}" \
27227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27228 maintainer-clean) \
27229 || exit 1
27231 @endif target-libiberty
27234 .PHONY: configure-target-gperf maybe-configure-target-gperf
27235 maybe-configure-target-gperf:
27236 @if target-gperf
27237 maybe-configure-target-gperf: configure-target-gperf
27239 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27240 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
27241 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27242 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
27243 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
27245 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
27246 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
27247 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27248 r=`${PWD_COMMAND}`; export r; \
27249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27250 $(SET_LIB_PATH) \
27251 $(NORMAL_TARGET_EXPORTS) \
27252 echo Configuring in $(TARGET_SUBDIR)/gperf; \
27253 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
27254 case $(srcdir) in \
27255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27256 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
27257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27258 esac; \
27259 srcdiroption="--srcdir=$${topdir}/gperf"; \
27260 libsrcdir="$$s/gperf"; \
27261 rm -f no-such-file || : ; \
27262 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27263 $(TARGET_CONFIGARGS) $${srcdiroption} \
27264 --with-target-subdir="$(TARGET_SUBDIR)" \
27265 || exit 1
27266 @endif target-gperf
27268 .PHONY: all-target-gperf maybe-all-target-gperf
27269 maybe-all-target-gperf:
27270 @if target-gperf
27271 TARGET-target-gperf=all
27272 maybe-all-target-gperf: all-target-gperf
27273 all-target-gperf: configure-target-gperf
27274 @r=`${PWD_COMMAND}`; export r; \
27275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27276 $(SET_LIB_PATH) \
27277 $(NORMAL_TARGET_EXPORTS) \
27278 (cd $(TARGET_SUBDIR)/gperf && \
27279 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
27280 @endif target-gperf
27282 .PHONY: check-target-gperf maybe-check-target-gperf
27283 maybe-check-target-gperf:
27284 @if target-gperf
27285 maybe-check-target-gperf: check-target-gperf
27287 check-target-gperf:
27288 @r=`${PWD_COMMAND}`; export r; \
27289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27290 $(SET_LIB_PATH) \
27291 $(NORMAL_TARGET_EXPORTS) \
27292 (cd $(TARGET_SUBDIR)/gperf && \
27293 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27295 @endif target-gperf
27297 .PHONY: install-target-gperf maybe-install-target-gperf
27298 maybe-install-target-gperf:
27299 @if target-gperf
27300 maybe-install-target-gperf: install-target-gperf
27302 install-target-gperf: installdirs
27303 @r=`${PWD_COMMAND}`; export r; \
27304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27305 $(SET_LIB_PATH) \
27306 $(NORMAL_TARGET_EXPORTS) \
27307 (cd $(TARGET_SUBDIR)/gperf && \
27308 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27310 @endif target-gperf
27312 # Other targets (info, dvi, etc.)
27314 .PHONY: maybe-info-target-gperf info-target-gperf
27315 maybe-info-target-gperf:
27316 @if target-gperf
27317 maybe-info-target-gperf: info-target-gperf
27319 info-target-gperf: \
27320 configure-target-gperf
27321 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27322 r=`${PWD_COMMAND}`; export r; \
27323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27324 $(SET_LIB_PATH) \
27325 $(NORMAL_TARGET_EXPORTS) \
27326 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
27327 for flag in $(EXTRA_TARGET_FLAGS); do \
27328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27329 done; \
27330 (cd $(TARGET_SUBDIR)/gperf && \
27331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27333 "RANLIB=$${RANLIB}" \
27334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27335 info) \
27336 || exit 1
27338 @endif target-gperf
27340 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
27341 maybe-dvi-target-gperf:
27342 @if target-gperf
27343 maybe-dvi-target-gperf: dvi-target-gperf
27345 dvi-target-gperf: \
27346 configure-target-gperf
27347 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27348 r=`${PWD_COMMAND}`; export r; \
27349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27350 $(SET_LIB_PATH) \
27351 $(NORMAL_TARGET_EXPORTS) \
27352 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
27353 for flag in $(EXTRA_TARGET_FLAGS); do \
27354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27355 done; \
27356 (cd $(TARGET_SUBDIR)/gperf && \
27357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27359 "RANLIB=$${RANLIB}" \
27360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27361 dvi) \
27362 || exit 1
27364 @endif target-gperf
27366 .PHONY: maybe-html-target-gperf html-target-gperf
27367 maybe-html-target-gperf:
27368 @if target-gperf
27369 maybe-html-target-gperf: html-target-gperf
27371 html-target-gperf: \
27372 configure-target-gperf
27373 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27374 r=`${PWD_COMMAND}`; export r; \
27375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27376 $(SET_LIB_PATH) \
27377 $(NORMAL_TARGET_EXPORTS) \
27378 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
27379 for flag in $(EXTRA_TARGET_FLAGS); do \
27380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27381 done; \
27382 (cd $(TARGET_SUBDIR)/gperf && \
27383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27385 "RANLIB=$${RANLIB}" \
27386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27387 html) \
27388 || exit 1
27390 @endif target-gperf
27392 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
27393 maybe-TAGS-target-gperf:
27394 @if target-gperf
27395 maybe-TAGS-target-gperf: TAGS-target-gperf
27397 TAGS-target-gperf: \
27398 configure-target-gperf
27399 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27400 r=`${PWD_COMMAND}`; export r; \
27401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27402 $(SET_LIB_PATH) \
27403 $(NORMAL_TARGET_EXPORTS) \
27404 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
27405 for flag in $(EXTRA_TARGET_FLAGS); do \
27406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27407 done; \
27408 (cd $(TARGET_SUBDIR)/gperf && \
27409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27411 "RANLIB=$${RANLIB}" \
27412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27413 TAGS) \
27414 || exit 1
27416 @endif target-gperf
27418 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
27419 maybe-install-info-target-gperf:
27420 @if target-gperf
27421 maybe-install-info-target-gperf: install-info-target-gperf
27423 install-info-target-gperf: \
27424 configure-target-gperf \
27425 info-target-gperf
27426 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27427 r=`${PWD_COMMAND}`; export r; \
27428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27429 $(SET_LIB_PATH) \
27430 $(NORMAL_TARGET_EXPORTS) \
27431 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
27432 for flag in $(EXTRA_TARGET_FLAGS); do \
27433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27434 done; \
27435 (cd $(TARGET_SUBDIR)/gperf && \
27436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27438 "RANLIB=$${RANLIB}" \
27439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27440 install-info) \
27441 || exit 1
27443 @endif target-gperf
27445 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
27446 maybe-installcheck-target-gperf:
27447 @if target-gperf
27448 maybe-installcheck-target-gperf: installcheck-target-gperf
27450 installcheck-target-gperf: \
27451 configure-target-gperf
27452 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27453 r=`${PWD_COMMAND}`; export r; \
27454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27455 $(SET_LIB_PATH) \
27456 $(NORMAL_TARGET_EXPORTS) \
27457 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
27458 for flag in $(EXTRA_TARGET_FLAGS); do \
27459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27460 done; \
27461 (cd $(TARGET_SUBDIR)/gperf && \
27462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27464 "RANLIB=$${RANLIB}" \
27465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27466 installcheck) \
27467 || exit 1
27469 @endif target-gperf
27471 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
27472 maybe-mostlyclean-target-gperf:
27473 @if target-gperf
27474 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
27476 mostlyclean-target-gperf:
27477 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27478 r=`${PWD_COMMAND}`; export r; \
27479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27480 $(SET_LIB_PATH) \
27481 $(NORMAL_TARGET_EXPORTS) \
27482 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
27483 for flag in $(EXTRA_TARGET_FLAGS); do \
27484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27485 done; \
27486 (cd $(TARGET_SUBDIR)/gperf && \
27487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27489 "RANLIB=$${RANLIB}" \
27490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27491 mostlyclean) \
27492 || exit 1
27494 @endif target-gperf
27496 .PHONY: maybe-clean-target-gperf clean-target-gperf
27497 maybe-clean-target-gperf:
27498 @if target-gperf
27499 maybe-clean-target-gperf: clean-target-gperf
27501 clean-target-gperf:
27502 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27503 r=`${PWD_COMMAND}`; export r; \
27504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27505 $(SET_LIB_PATH) \
27506 $(NORMAL_TARGET_EXPORTS) \
27507 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
27508 for flag in $(EXTRA_TARGET_FLAGS); do \
27509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27510 done; \
27511 (cd $(TARGET_SUBDIR)/gperf && \
27512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27514 "RANLIB=$${RANLIB}" \
27515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27516 clean) \
27517 || exit 1
27519 @endif target-gperf
27521 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
27522 maybe-distclean-target-gperf:
27523 @if target-gperf
27524 maybe-distclean-target-gperf: distclean-target-gperf
27526 distclean-target-gperf:
27527 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27528 r=`${PWD_COMMAND}`; export r; \
27529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27530 $(SET_LIB_PATH) \
27531 $(NORMAL_TARGET_EXPORTS) \
27532 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
27533 for flag in $(EXTRA_TARGET_FLAGS); do \
27534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27535 done; \
27536 (cd $(TARGET_SUBDIR)/gperf && \
27537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27539 "RANLIB=$${RANLIB}" \
27540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27541 distclean) \
27542 || exit 1
27544 @endif target-gperf
27546 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
27547 maybe-maintainer-clean-target-gperf:
27548 @if target-gperf
27549 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
27551 maintainer-clean-target-gperf:
27552 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27553 r=`${PWD_COMMAND}`; export r; \
27554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27555 $(SET_LIB_PATH) \
27556 $(NORMAL_TARGET_EXPORTS) \
27557 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
27558 for flag in $(EXTRA_TARGET_FLAGS); do \
27559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27560 done; \
27561 (cd $(TARGET_SUBDIR)/gperf && \
27562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27564 "RANLIB=$${RANLIB}" \
27565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27566 maintainer-clean) \
27567 || exit 1
27569 @endif target-gperf
27572 .PHONY: configure-target-examples maybe-configure-target-examples
27573 maybe-configure-target-examples:
27574 @if target-examples
27575 maybe-configure-target-examples: configure-target-examples
27577 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27578 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
27579 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27580 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
27581 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
27583 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
27584 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
27585 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27586 r=`${PWD_COMMAND}`; export r; \
27587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27588 $(SET_LIB_PATH) \
27589 $(NORMAL_TARGET_EXPORTS) \
27590 echo Configuring in $(TARGET_SUBDIR)/examples; \
27591 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
27592 case $(srcdir) in \
27593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27594 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
27595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27596 esac; \
27597 srcdiroption="--srcdir=$${topdir}/examples"; \
27598 libsrcdir="$$s/examples"; \
27599 rm -f no-such-file || : ; \
27600 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27601 $(TARGET_CONFIGARGS) $${srcdiroption} \
27602 --with-target-subdir="$(TARGET_SUBDIR)" \
27603 || exit 1
27604 @endif target-examples
27606 .PHONY: all-target-examples maybe-all-target-examples
27607 maybe-all-target-examples:
27608 @if target-examples
27609 TARGET-target-examples=all
27610 maybe-all-target-examples: all-target-examples
27611 all-target-examples: configure-target-examples
27612 @r=`${PWD_COMMAND}`; export r; \
27613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27614 $(SET_LIB_PATH) \
27615 $(NORMAL_TARGET_EXPORTS) \
27616 (cd $(TARGET_SUBDIR)/examples && \
27617 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
27618 @endif target-examples
27620 .PHONY: check-target-examples maybe-check-target-examples
27621 maybe-check-target-examples:
27622 @if target-examples
27623 maybe-check-target-examples: check-target-examples
27625 # Dummy target for uncheckable module.
27626 check-target-examples:
27628 @endif target-examples
27630 .PHONY: install-target-examples maybe-install-target-examples
27631 maybe-install-target-examples:
27632 @if target-examples
27633 maybe-install-target-examples: install-target-examples
27635 # Dummy target for uninstallable.
27636 install-target-examples:
27638 @endif target-examples
27640 # Other targets (info, dvi, etc.)
27642 .PHONY: maybe-info-target-examples info-target-examples
27643 maybe-info-target-examples:
27644 @if target-examples
27645 maybe-info-target-examples: info-target-examples
27647 info-target-examples: \
27648 configure-target-examples
27649 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27650 r=`${PWD_COMMAND}`; export r; \
27651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27652 $(SET_LIB_PATH) \
27653 $(NORMAL_TARGET_EXPORTS) \
27654 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
27655 for flag in $(EXTRA_TARGET_FLAGS); do \
27656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27657 done; \
27658 (cd $(TARGET_SUBDIR)/examples && \
27659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27661 "RANLIB=$${RANLIB}" \
27662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27663 info) \
27664 || exit 1
27666 @endif target-examples
27668 .PHONY: maybe-dvi-target-examples dvi-target-examples
27669 maybe-dvi-target-examples:
27670 @if target-examples
27671 maybe-dvi-target-examples: dvi-target-examples
27673 dvi-target-examples: \
27674 configure-target-examples
27675 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27676 r=`${PWD_COMMAND}`; export r; \
27677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27678 $(SET_LIB_PATH) \
27679 $(NORMAL_TARGET_EXPORTS) \
27680 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
27681 for flag in $(EXTRA_TARGET_FLAGS); do \
27682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27683 done; \
27684 (cd $(TARGET_SUBDIR)/examples && \
27685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27687 "RANLIB=$${RANLIB}" \
27688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27689 dvi) \
27690 || exit 1
27692 @endif target-examples
27694 .PHONY: maybe-html-target-examples html-target-examples
27695 maybe-html-target-examples:
27696 @if target-examples
27697 maybe-html-target-examples: html-target-examples
27699 html-target-examples: \
27700 configure-target-examples
27701 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27702 r=`${PWD_COMMAND}`; export r; \
27703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27704 $(SET_LIB_PATH) \
27705 $(NORMAL_TARGET_EXPORTS) \
27706 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
27707 for flag in $(EXTRA_TARGET_FLAGS); do \
27708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27709 done; \
27710 (cd $(TARGET_SUBDIR)/examples && \
27711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27713 "RANLIB=$${RANLIB}" \
27714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27715 html) \
27716 || exit 1
27718 @endif target-examples
27720 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
27721 maybe-TAGS-target-examples:
27722 @if target-examples
27723 maybe-TAGS-target-examples: TAGS-target-examples
27725 TAGS-target-examples: \
27726 configure-target-examples
27727 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27728 r=`${PWD_COMMAND}`; export r; \
27729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27730 $(SET_LIB_PATH) \
27731 $(NORMAL_TARGET_EXPORTS) \
27732 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
27733 for flag in $(EXTRA_TARGET_FLAGS); do \
27734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27735 done; \
27736 (cd $(TARGET_SUBDIR)/examples && \
27737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27739 "RANLIB=$${RANLIB}" \
27740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27741 TAGS) \
27742 || exit 1
27744 @endif target-examples
27746 .PHONY: maybe-install-info-target-examples install-info-target-examples
27747 maybe-install-info-target-examples:
27748 @if target-examples
27749 maybe-install-info-target-examples: install-info-target-examples
27751 install-info-target-examples: \
27752 configure-target-examples \
27753 info-target-examples
27754 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27755 r=`${PWD_COMMAND}`; export r; \
27756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27757 $(SET_LIB_PATH) \
27758 $(NORMAL_TARGET_EXPORTS) \
27759 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
27760 for flag in $(EXTRA_TARGET_FLAGS); do \
27761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27762 done; \
27763 (cd $(TARGET_SUBDIR)/examples && \
27764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27766 "RANLIB=$${RANLIB}" \
27767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27768 install-info) \
27769 || exit 1
27771 @endif target-examples
27773 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
27774 maybe-installcheck-target-examples:
27775 @if target-examples
27776 maybe-installcheck-target-examples: installcheck-target-examples
27778 installcheck-target-examples: \
27779 configure-target-examples
27780 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27781 r=`${PWD_COMMAND}`; export r; \
27782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27783 $(SET_LIB_PATH) \
27784 $(NORMAL_TARGET_EXPORTS) \
27785 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
27786 for flag in $(EXTRA_TARGET_FLAGS); do \
27787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27788 done; \
27789 (cd $(TARGET_SUBDIR)/examples && \
27790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27792 "RANLIB=$${RANLIB}" \
27793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27794 installcheck) \
27795 || exit 1
27797 @endif target-examples
27799 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
27800 maybe-mostlyclean-target-examples:
27801 @if target-examples
27802 maybe-mostlyclean-target-examples: mostlyclean-target-examples
27804 mostlyclean-target-examples:
27805 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27806 r=`${PWD_COMMAND}`; export r; \
27807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27808 $(SET_LIB_PATH) \
27809 $(NORMAL_TARGET_EXPORTS) \
27810 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
27811 for flag in $(EXTRA_TARGET_FLAGS); do \
27812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27813 done; \
27814 (cd $(TARGET_SUBDIR)/examples && \
27815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27817 "RANLIB=$${RANLIB}" \
27818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27819 mostlyclean) \
27820 || exit 1
27822 @endif target-examples
27824 .PHONY: maybe-clean-target-examples clean-target-examples
27825 maybe-clean-target-examples:
27826 @if target-examples
27827 maybe-clean-target-examples: clean-target-examples
27829 clean-target-examples:
27830 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27831 r=`${PWD_COMMAND}`; export r; \
27832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27833 $(SET_LIB_PATH) \
27834 $(NORMAL_TARGET_EXPORTS) \
27835 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
27836 for flag in $(EXTRA_TARGET_FLAGS); do \
27837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27838 done; \
27839 (cd $(TARGET_SUBDIR)/examples && \
27840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27842 "RANLIB=$${RANLIB}" \
27843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27844 clean) \
27845 || exit 1
27847 @endif target-examples
27849 .PHONY: maybe-distclean-target-examples distclean-target-examples
27850 maybe-distclean-target-examples:
27851 @if target-examples
27852 maybe-distclean-target-examples: distclean-target-examples
27854 distclean-target-examples:
27855 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27856 r=`${PWD_COMMAND}`; export r; \
27857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27858 $(SET_LIB_PATH) \
27859 $(NORMAL_TARGET_EXPORTS) \
27860 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
27861 for flag in $(EXTRA_TARGET_FLAGS); do \
27862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27863 done; \
27864 (cd $(TARGET_SUBDIR)/examples && \
27865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27867 "RANLIB=$${RANLIB}" \
27868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27869 distclean) \
27870 || exit 1
27872 @endif target-examples
27874 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
27875 maybe-maintainer-clean-target-examples:
27876 @if target-examples
27877 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
27879 maintainer-clean-target-examples:
27880 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27881 r=`${PWD_COMMAND}`; export r; \
27882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27883 $(SET_LIB_PATH) \
27884 $(NORMAL_TARGET_EXPORTS) \
27885 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
27886 for flag in $(EXTRA_TARGET_FLAGS); do \
27887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27888 done; \
27889 (cd $(TARGET_SUBDIR)/examples && \
27890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27892 "RANLIB=$${RANLIB}" \
27893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27894 maintainer-clean) \
27895 || exit 1
27897 @endif target-examples
27900 .PHONY: configure-target-libffi maybe-configure-target-libffi
27901 maybe-configure-target-libffi:
27902 @if target-libffi
27903 maybe-configure-target-libffi: configure-target-libffi
27905 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27906 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
27907 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27908 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
27909 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
27911 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
27912 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
27913 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27914 r=`${PWD_COMMAND}`; export r; \
27915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27916 $(SET_LIB_PATH) \
27917 $(NORMAL_TARGET_EXPORTS) \
27918 echo Configuring in $(TARGET_SUBDIR)/libffi; \
27919 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
27920 case $(srcdir) in \
27921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27922 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
27923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27924 esac; \
27925 srcdiroption="--srcdir=$${topdir}/libffi"; \
27926 libsrcdir="$$s/libffi"; \
27927 rm -f no-such-file || : ; \
27928 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27929 $(TARGET_CONFIGARGS) $${srcdiroption} \
27930 --with-target-subdir="$(TARGET_SUBDIR)" \
27931 || exit 1
27932 @endif target-libffi
27934 .PHONY: all-target-libffi maybe-all-target-libffi
27935 maybe-all-target-libffi:
27936 @if target-libffi
27937 TARGET-target-libffi=all
27938 maybe-all-target-libffi: all-target-libffi
27939 all-target-libffi: configure-target-libffi
27940 @r=`${PWD_COMMAND}`; export r; \
27941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27942 $(SET_LIB_PATH) \
27943 $(NORMAL_TARGET_EXPORTS) \
27944 (cd $(TARGET_SUBDIR)/libffi && \
27945 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
27946 @endif target-libffi
27948 .PHONY: check-target-libffi maybe-check-target-libffi
27949 maybe-check-target-libffi:
27950 @if target-libffi
27951 maybe-check-target-libffi: check-target-libffi
27953 check-target-libffi:
27954 @r=`${PWD_COMMAND}`; export r; \
27955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27956 $(SET_LIB_PATH) \
27957 $(NORMAL_TARGET_EXPORTS) \
27958 (cd $(TARGET_SUBDIR)/libffi && \
27959 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27961 @endif target-libffi
27963 .PHONY: install-target-libffi maybe-install-target-libffi
27964 maybe-install-target-libffi:
27965 @if target-libffi
27966 maybe-install-target-libffi: install-target-libffi
27968 install-target-libffi: installdirs
27969 @r=`${PWD_COMMAND}`; export r; \
27970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27971 $(SET_LIB_PATH) \
27972 $(NORMAL_TARGET_EXPORTS) \
27973 (cd $(TARGET_SUBDIR)/libffi && \
27974 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27976 @endif target-libffi
27978 # Other targets (info, dvi, etc.)
27980 .PHONY: maybe-info-target-libffi info-target-libffi
27981 maybe-info-target-libffi:
27982 @if target-libffi
27983 maybe-info-target-libffi: info-target-libffi
27985 info-target-libffi: \
27986 configure-target-libffi
27987 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27988 r=`${PWD_COMMAND}`; export r; \
27989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27990 $(SET_LIB_PATH) \
27991 $(NORMAL_TARGET_EXPORTS) \
27992 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
27993 for flag in $(EXTRA_TARGET_FLAGS); do \
27994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27995 done; \
27996 (cd $(TARGET_SUBDIR)/libffi && \
27997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27999 "RANLIB=$${RANLIB}" \
28000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28001 info) \
28002 || exit 1
28004 @endif target-libffi
28006 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
28007 maybe-dvi-target-libffi:
28008 @if target-libffi
28009 maybe-dvi-target-libffi: dvi-target-libffi
28011 dvi-target-libffi: \
28012 configure-target-libffi
28013 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28014 r=`${PWD_COMMAND}`; export r; \
28015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28016 $(SET_LIB_PATH) \
28017 $(NORMAL_TARGET_EXPORTS) \
28018 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
28019 for flag in $(EXTRA_TARGET_FLAGS); do \
28020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28021 done; \
28022 (cd $(TARGET_SUBDIR)/libffi && \
28023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28025 "RANLIB=$${RANLIB}" \
28026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28027 dvi) \
28028 || exit 1
28030 @endif target-libffi
28032 .PHONY: maybe-html-target-libffi html-target-libffi
28033 maybe-html-target-libffi:
28034 @if target-libffi
28035 maybe-html-target-libffi: html-target-libffi
28037 html-target-libffi: \
28038 configure-target-libffi
28039 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28040 r=`${PWD_COMMAND}`; export r; \
28041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28042 $(SET_LIB_PATH) \
28043 $(NORMAL_TARGET_EXPORTS) \
28044 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
28045 for flag in $(EXTRA_TARGET_FLAGS); do \
28046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28047 done; \
28048 (cd $(TARGET_SUBDIR)/libffi && \
28049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28051 "RANLIB=$${RANLIB}" \
28052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28053 html) \
28054 || exit 1
28056 @endif target-libffi
28058 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
28059 maybe-TAGS-target-libffi:
28060 @if target-libffi
28061 maybe-TAGS-target-libffi: TAGS-target-libffi
28063 TAGS-target-libffi: \
28064 configure-target-libffi
28065 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28066 r=`${PWD_COMMAND}`; export r; \
28067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28068 $(SET_LIB_PATH) \
28069 $(NORMAL_TARGET_EXPORTS) \
28070 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
28071 for flag in $(EXTRA_TARGET_FLAGS); do \
28072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28073 done; \
28074 (cd $(TARGET_SUBDIR)/libffi && \
28075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28077 "RANLIB=$${RANLIB}" \
28078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28079 TAGS) \
28080 || exit 1
28082 @endif target-libffi
28084 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
28085 maybe-install-info-target-libffi:
28086 @if target-libffi
28087 maybe-install-info-target-libffi: install-info-target-libffi
28089 install-info-target-libffi: \
28090 configure-target-libffi \
28091 info-target-libffi
28092 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28093 r=`${PWD_COMMAND}`; export r; \
28094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28095 $(SET_LIB_PATH) \
28096 $(NORMAL_TARGET_EXPORTS) \
28097 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
28098 for flag in $(EXTRA_TARGET_FLAGS); do \
28099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28100 done; \
28101 (cd $(TARGET_SUBDIR)/libffi && \
28102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28104 "RANLIB=$${RANLIB}" \
28105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28106 install-info) \
28107 || exit 1
28109 @endif target-libffi
28111 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
28112 maybe-installcheck-target-libffi:
28113 @if target-libffi
28114 maybe-installcheck-target-libffi: installcheck-target-libffi
28116 installcheck-target-libffi: \
28117 configure-target-libffi
28118 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28119 r=`${PWD_COMMAND}`; export r; \
28120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28121 $(SET_LIB_PATH) \
28122 $(NORMAL_TARGET_EXPORTS) \
28123 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
28124 for flag in $(EXTRA_TARGET_FLAGS); do \
28125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28126 done; \
28127 (cd $(TARGET_SUBDIR)/libffi && \
28128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28130 "RANLIB=$${RANLIB}" \
28131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28132 installcheck) \
28133 || exit 1
28135 @endif target-libffi
28137 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
28138 maybe-mostlyclean-target-libffi:
28139 @if target-libffi
28140 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
28142 mostlyclean-target-libffi:
28143 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28144 r=`${PWD_COMMAND}`; export r; \
28145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28146 $(SET_LIB_PATH) \
28147 $(NORMAL_TARGET_EXPORTS) \
28148 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
28149 for flag in $(EXTRA_TARGET_FLAGS); do \
28150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28151 done; \
28152 (cd $(TARGET_SUBDIR)/libffi && \
28153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28155 "RANLIB=$${RANLIB}" \
28156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28157 mostlyclean) \
28158 || exit 1
28160 @endif target-libffi
28162 .PHONY: maybe-clean-target-libffi clean-target-libffi
28163 maybe-clean-target-libffi:
28164 @if target-libffi
28165 maybe-clean-target-libffi: clean-target-libffi
28167 clean-target-libffi:
28168 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28169 r=`${PWD_COMMAND}`; export r; \
28170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28171 $(SET_LIB_PATH) \
28172 $(NORMAL_TARGET_EXPORTS) \
28173 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
28174 for flag in $(EXTRA_TARGET_FLAGS); do \
28175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28176 done; \
28177 (cd $(TARGET_SUBDIR)/libffi && \
28178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28180 "RANLIB=$${RANLIB}" \
28181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28182 clean) \
28183 || exit 1
28185 @endif target-libffi
28187 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
28188 maybe-distclean-target-libffi:
28189 @if target-libffi
28190 maybe-distclean-target-libffi: distclean-target-libffi
28192 distclean-target-libffi:
28193 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28194 r=`${PWD_COMMAND}`; export r; \
28195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28196 $(SET_LIB_PATH) \
28197 $(NORMAL_TARGET_EXPORTS) \
28198 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
28199 for flag in $(EXTRA_TARGET_FLAGS); do \
28200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28201 done; \
28202 (cd $(TARGET_SUBDIR)/libffi && \
28203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28205 "RANLIB=$${RANLIB}" \
28206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28207 distclean) \
28208 || exit 1
28210 @endif target-libffi
28212 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
28213 maybe-maintainer-clean-target-libffi:
28214 @if target-libffi
28215 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
28217 maintainer-clean-target-libffi:
28218 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28219 r=`${PWD_COMMAND}`; export r; \
28220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28221 $(SET_LIB_PATH) \
28222 $(NORMAL_TARGET_EXPORTS) \
28223 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
28224 for flag in $(EXTRA_TARGET_FLAGS); do \
28225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28226 done; \
28227 (cd $(TARGET_SUBDIR)/libffi && \
28228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28230 "RANLIB=$${RANLIB}" \
28231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28232 maintainer-clean) \
28233 || exit 1
28235 @endif target-libffi
28238 .PHONY: configure-target-libjava maybe-configure-target-libjava
28239 maybe-configure-target-libjava:
28240 @if target-libjava
28241 maybe-configure-target-libjava: configure-target-libjava
28243 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28244 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
28245 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28246 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
28247 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
28249 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
28250 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
28251 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28252 r=`${PWD_COMMAND}`; export r; \
28253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28254 $(SET_LIB_PATH) \
28255 $(RAW_CXX_TARGET_EXPORTS) \
28256 echo Configuring in $(TARGET_SUBDIR)/libjava; \
28257 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
28258 case $(srcdir) in \
28259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28260 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
28261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28262 esac; \
28263 srcdiroption="--srcdir=$${topdir}/libjava"; \
28264 libsrcdir="$$s/libjava"; \
28265 rm -f no-such-file || : ; \
28266 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28267 $(TARGET_CONFIGARGS) $${srcdiroption} \
28268 --with-target-subdir="$(TARGET_SUBDIR)" \
28269 || exit 1
28270 @endif target-libjava
28272 .PHONY: all-target-libjava maybe-all-target-libjava
28273 maybe-all-target-libjava:
28274 @if target-libjava
28275 TARGET-target-libjava=all
28276 maybe-all-target-libjava: all-target-libjava
28277 all-target-libjava: configure-target-libjava
28278 @r=`${PWD_COMMAND}`; export r; \
28279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28280 $(SET_LIB_PATH) \
28281 $(RAW_CXX_TARGET_EXPORTS) \
28282 (cd $(TARGET_SUBDIR)/libjava && \
28283 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
28284 @endif target-libjava
28286 .PHONY: check-target-libjava maybe-check-target-libjava
28287 maybe-check-target-libjava:
28288 @if target-libjava
28289 maybe-check-target-libjava: check-target-libjava
28291 check-target-libjava:
28292 @r=`${PWD_COMMAND}`; export r; \
28293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28294 $(SET_LIB_PATH) \
28295 $(RAW_CXX_TARGET_EXPORTS) \
28296 (cd $(TARGET_SUBDIR)/libjava && \
28297 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28299 @endif target-libjava
28301 .PHONY: install-target-libjava maybe-install-target-libjava
28302 maybe-install-target-libjava:
28303 @if target-libjava
28304 maybe-install-target-libjava: install-target-libjava
28306 install-target-libjava: installdirs
28307 @r=`${PWD_COMMAND}`; export r; \
28308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28309 $(SET_LIB_PATH) \
28310 $(RAW_CXX_TARGET_EXPORTS) \
28311 (cd $(TARGET_SUBDIR)/libjava && \
28312 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28314 @endif target-libjava
28316 # Other targets (info, dvi, etc.)
28318 .PHONY: maybe-info-target-libjava info-target-libjava
28319 maybe-info-target-libjava:
28320 @if target-libjava
28321 maybe-info-target-libjava: info-target-libjava
28323 info-target-libjava: \
28324 configure-target-libjava
28325 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28326 r=`${PWD_COMMAND}`; export r; \
28327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28328 $(SET_LIB_PATH) \
28329 $(RAW_CXX_TARGET_EXPORTS) \
28330 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
28331 for flag in $(EXTRA_TARGET_FLAGS); do \
28332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28333 done; \
28334 (cd $(TARGET_SUBDIR)/libjava && \
28335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28337 "RANLIB=$${RANLIB}" \
28338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28339 info) \
28340 || exit 1
28342 @endif target-libjava
28344 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
28345 maybe-dvi-target-libjava:
28346 @if target-libjava
28347 maybe-dvi-target-libjava: dvi-target-libjava
28349 dvi-target-libjava: \
28350 configure-target-libjava
28351 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28352 r=`${PWD_COMMAND}`; export r; \
28353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28354 $(SET_LIB_PATH) \
28355 $(RAW_CXX_TARGET_EXPORTS) \
28356 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
28357 for flag in $(EXTRA_TARGET_FLAGS); do \
28358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28359 done; \
28360 (cd $(TARGET_SUBDIR)/libjava && \
28361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28363 "RANLIB=$${RANLIB}" \
28364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28365 dvi) \
28366 || exit 1
28368 @endif target-libjava
28370 .PHONY: maybe-html-target-libjava html-target-libjava
28371 maybe-html-target-libjava:
28372 @if target-libjava
28373 maybe-html-target-libjava: html-target-libjava
28375 html-target-libjava: \
28376 configure-target-libjava
28377 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28378 r=`${PWD_COMMAND}`; export r; \
28379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28380 $(SET_LIB_PATH) \
28381 $(RAW_CXX_TARGET_EXPORTS) \
28382 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
28383 for flag in $(EXTRA_TARGET_FLAGS); do \
28384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28385 done; \
28386 (cd $(TARGET_SUBDIR)/libjava && \
28387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28389 "RANLIB=$${RANLIB}" \
28390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28391 html) \
28392 || exit 1
28394 @endif target-libjava
28396 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
28397 maybe-TAGS-target-libjava:
28398 @if target-libjava
28399 maybe-TAGS-target-libjava: TAGS-target-libjava
28401 TAGS-target-libjava: \
28402 configure-target-libjava
28403 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28404 r=`${PWD_COMMAND}`; export r; \
28405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28406 $(SET_LIB_PATH) \
28407 $(RAW_CXX_TARGET_EXPORTS) \
28408 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
28409 for flag in $(EXTRA_TARGET_FLAGS); do \
28410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28411 done; \
28412 (cd $(TARGET_SUBDIR)/libjava && \
28413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28415 "RANLIB=$${RANLIB}" \
28416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28417 TAGS) \
28418 || exit 1
28420 @endif target-libjava
28422 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
28423 maybe-install-info-target-libjava:
28424 @if target-libjava
28425 maybe-install-info-target-libjava: install-info-target-libjava
28427 install-info-target-libjava: \
28428 configure-target-libjava \
28429 info-target-libjava
28430 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28431 r=`${PWD_COMMAND}`; export r; \
28432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28433 $(SET_LIB_PATH) \
28434 $(RAW_CXX_TARGET_EXPORTS) \
28435 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
28436 for flag in $(EXTRA_TARGET_FLAGS); do \
28437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28438 done; \
28439 (cd $(TARGET_SUBDIR)/libjava && \
28440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28442 "RANLIB=$${RANLIB}" \
28443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28444 install-info) \
28445 || exit 1
28447 @endif target-libjava
28449 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
28450 maybe-installcheck-target-libjava:
28451 @if target-libjava
28452 maybe-installcheck-target-libjava: installcheck-target-libjava
28454 installcheck-target-libjava: \
28455 configure-target-libjava
28456 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28457 r=`${PWD_COMMAND}`; export r; \
28458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28459 $(SET_LIB_PATH) \
28460 $(RAW_CXX_TARGET_EXPORTS) \
28461 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
28462 for flag in $(EXTRA_TARGET_FLAGS); do \
28463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28464 done; \
28465 (cd $(TARGET_SUBDIR)/libjava && \
28466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28468 "RANLIB=$${RANLIB}" \
28469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28470 installcheck) \
28471 || exit 1
28473 @endif target-libjava
28475 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
28476 maybe-mostlyclean-target-libjava:
28477 @if target-libjava
28478 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
28480 mostlyclean-target-libjava:
28481 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28482 r=`${PWD_COMMAND}`; export r; \
28483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28484 $(SET_LIB_PATH) \
28485 $(RAW_CXX_TARGET_EXPORTS) \
28486 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
28487 for flag in $(EXTRA_TARGET_FLAGS); do \
28488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28489 done; \
28490 (cd $(TARGET_SUBDIR)/libjava && \
28491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28493 "RANLIB=$${RANLIB}" \
28494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28495 mostlyclean) \
28496 || exit 1
28498 @endif target-libjava
28500 .PHONY: maybe-clean-target-libjava clean-target-libjava
28501 maybe-clean-target-libjava:
28502 @if target-libjava
28503 maybe-clean-target-libjava: clean-target-libjava
28505 clean-target-libjava:
28506 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28507 r=`${PWD_COMMAND}`; export r; \
28508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28509 $(SET_LIB_PATH) \
28510 $(RAW_CXX_TARGET_EXPORTS) \
28511 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
28512 for flag in $(EXTRA_TARGET_FLAGS); do \
28513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28514 done; \
28515 (cd $(TARGET_SUBDIR)/libjava && \
28516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28518 "RANLIB=$${RANLIB}" \
28519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28520 clean) \
28521 || exit 1
28523 @endif target-libjava
28525 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
28526 maybe-distclean-target-libjava:
28527 @if target-libjava
28528 maybe-distclean-target-libjava: distclean-target-libjava
28530 distclean-target-libjava:
28531 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28532 r=`${PWD_COMMAND}`; export r; \
28533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28534 $(SET_LIB_PATH) \
28535 $(RAW_CXX_TARGET_EXPORTS) \
28536 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
28537 for flag in $(EXTRA_TARGET_FLAGS); do \
28538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28539 done; \
28540 (cd $(TARGET_SUBDIR)/libjava && \
28541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28543 "RANLIB=$${RANLIB}" \
28544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28545 distclean) \
28546 || exit 1
28548 @endif target-libjava
28550 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
28551 maybe-maintainer-clean-target-libjava:
28552 @if target-libjava
28553 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
28555 maintainer-clean-target-libjava:
28556 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28557 r=`${PWD_COMMAND}`; export r; \
28558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28559 $(SET_LIB_PATH) \
28560 $(RAW_CXX_TARGET_EXPORTS) \
28561 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
28562 for flag in $(EXTRA_TARGET_FLAGS); do \
28563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28564 done; \
28565 (cd $(TARGET_SUBDIR)/libjava && \
28566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28568 "RANLIB=$${RANLIB}" \
28569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28570 maintainer-clean) \
28571 || exit 1
28573 @endif target-libjava
28576 .PHONY: configure-target-zlib maybe-configure-target-zlib
28577 maybe-configure-target-zlib:
28578 @if target-zlib
28579 maybe-configure-target-zlib: configure-target-zlib
28581 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28582 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
28583 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28584 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
28585 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
28587 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
28588 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
28589 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28590 r=`${PWD_COMMAND}`; export r; \
28591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28592 $(SET_LIB_PATH) \
28593 $(NORMAL_TARGET_EXPORTS) \
28594 echo Configuring in $(TARGET_SUBDIR)/zlib; \
28595 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
28596 case $(srcdir) in \
28597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28598 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
28599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28600 esac; \
28601 srcdiroption="--srcdir=$${topdir}/zlib"; \
28602 libsrcdir="$$s/zlib"; \
28603 rm -f no-such-file || : ; \
28604 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28605 $(TARGET_CONFIGARGS) $${srcdiroption} \
28606 --with-target-subdir="$(TARGET_SUBDIR)" \
28607 || exit 1
28608 @endif target-zlib
28610 .PHONY: all-target-zlib maybe-all-target-zlib
28611 maybe-all-target-zlib:
28612 @if target-zlib
28613 TARGET-target-zlib=all
28614 maybe-all-target-zlib: all-target-zlib
28615 all-target-zlib: configure-target-zlib
28616 @r=`${PWD_COMMAND}`; export r; \
28617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28618 $(SET_LIB_PATH) \
28619 $(NORMAL_TARGET_EXPORTS) \
28620 (cd $(TARGET_SUBDIR)/zlib && \
28621 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
28622 @endif target-zlib
28624 .PHONY: check-target-zlib maybe-check-target-zlib
28625 maybe-check-target-zlib:
28626 @if target-zlib
28627 maybe-check-target-zlib: check-target-zlib
28629 check-target-zlib:
28630 @r=`${PWD_COMMAND}`; export r; \
28631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28632 $(SET_LIB_PATH) \
28633 $(NORMAL_TARGET_EXPORTS) \
28634 (cd $(TARGET_SUBDIR)/zlib && \
28635 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28637 @endif target-zlib
28639 .PHONY: install-target-zlib maybe-install-target-zlib
28640 maybe-install-target-zlib:
28641 @if target-zlib
28642 maybe-install-target-zlib: install-target-zlib
28644 install-target-zlib: installdirs
28645 @r=`${PWD_COMMAND}`; export r; \
28646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28647 $(SET_LIB_PATH) \
28648 $(NORMAL_TARGET_EXPORTS) \
28649 (cd $(TARGET_SUBDIR)/zlib && \
28650 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28652 @endif target-zlib
28654 # Other targets (info, dvi, etc.)
28656 .PHONY: maybe-info-target-zlib info-target-zlib
28657 maybe-info-target-zlib:
28658 @if target-zlib
28659 maybe-info-target-zlib: info-target-zlib
28661 info-target-zlib: \
28662 configure-target-zlib
28663 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28664 r=`${PWD_COMMAND}`; export r; \
28665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28666 $(SET_LIB_PATH) \
28667 $(NORMAL_TARGET_EXPORTS) \
28668 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
28669 for flag in $(EXTRA_TARGET_FLAGS); do \
28670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28671 done; \
28672 (cd $(TARGET_SUBDIR)/zlib && \
28673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28675 "RANLIB=$${RANLIB}" \
28676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28677 info) \
28678 || exit 1
28680 @endif target-zlib
28682 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
28683 maybe-dvi-target-zlib:
28684 @if target-zlib
28685 maybe-dvi-target-zlib: dvi-target-zlib
28687 dvi-target-zlib: \
28688 configure-target-zlib
28689 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28690 r=`${PWD_COMMAND}`; export r; \
28691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28692 $(SET_LIB_PATH) \
28693 $(NORMAL_TARGET_EXPORTS) \
28694 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
28695 for flag in $(EXTRA_TARGET_FLAGS); do \
28696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28697 done; \
28698 (cd $(TARGET_SUBDIR)/zlib && \
28699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28701 "RANLIB=$${RANLIB}" \
28702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28703 dvi) \
28704 || exit 1
28706 @endif target-zlib
28708 .PHONY: maybe-html-target-zlib html-target-zlib
28709 maybe-html-target-zlib:
28710 @if target-zlib
28711 maybe-html-target-zlib: html-target-zlib
28713 html-target-zlib: \
28714 configure-target-zlib
28715 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28716 r=`${PWD_COMMAND}`; export r; \
28717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28718 $(SET_LIB_PATH) \
28719 $(NORMAL_TARGET_EXPORTS) \
28720 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
28721 for flag in $(EXTRA_TARGET_FLAGS); do \
28722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28723 done; \
28724 (cd $(TARGET_SUBDIR)/zlib && \
28725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28727 "RANLIB=$${RANLIB}" \
28728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28729 html) \
28730 || exit 1
28732 @endif target-zlib
28734 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
28735 maybe-TAGS-target-zlib:
28736 @if target-zlib
28737 maybe-TAGS-target-zlib: TAGS-target-zlib
28739 TAGS-target-zlib: \
28740 configure-target-zlib
28741 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28742 r=`${PWD_COMMAND}`; export r; \
28743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28744 $(SET_LIB_PATH) \
28745 $(NORMAL_TARGET_EXPORTS) \
28746 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
28747 for flag in $(EXTRA_TARGET_FLAGS); do \
28748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28749 done; \
28750 (cd $(TARGET_SUBDIR)/zlib && \
28751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28753 "RANLIB=$${RANLIB}" \
28754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28755 TAGS) \
28756 || exit 1
28758 @endif target-zlib
28760 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
28761 maybe-install-info-target-zlib:
28762 @if target-zlib
28763 maybe-install-info-target-zlib: install-info-target-zlib
28765 install-info-target-zlib: \
28766 configure-target-zlib \
28767 info-target-zlib
28768 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28769 r=`${PWD_COMMAND}`; export r; \
28770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28771 $(SET_LIB_PATH) \
28772 $(NORMAL_TARGET_EXPORTS) \
28773 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
28774 for flag in $(EXTRA_TARGET_FLAGS); do \
28775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28776 done; \
28777 (cd $(TARGET_SUBDIR)/zlib && \
28778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28780 "RANLIB=$${RANLIB}" \
28781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28782 install-info) \
28783 || exit 1
28785 @endif target-zlib
28787 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
28788 maybe-installcheck-target-zlib:
28789 @if target-zlib
28790 maybe-installcheck-target-zlib: installcheck-target-zlib
28792 installcheck-target-zlib: \
28793 configure-target-zlib
28794 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28795 r=`${PWD_COMMAND}`; export r; \
28796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28797 $(SET_LIB_PATH) \
28798 $(NORMAL_TARGET_EXPORTS) \
28799 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
28800 for flag in $(EXTRA_TARGET_FLAGS); do \
28801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28802 done; \
28803 (cd $(TARGET_SUBDIR)/zlib && \
28804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28806 "RANLIB=$${RANLIB}" \
28807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28808 installcheck) \
28809 || exit 1
28811 @endif target-zlib
28813 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
28814 maybe-mostlyclean-target-zlib:
28815 @if target-zlib
28816 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
28818 mostlyclean-target-zlib:
28819 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28820 r=`${PWD_COMMAND}`; export r; \
28821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28822 $(SET_LIB_PATH) \
28823 $(NORMAL_TARGET_EXPORTS) \
28824 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
28825 for flag in $(EXTRA_TARGET_FLAGS); do \
28826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28827 done; \
28828 (cd $(TARGET_SUBDIR)/zlib && \
28829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28831 "RANLIB=$${RANLIB}" \
28832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28833 mostlyclean) \
28834 || exit 1
28836 @endif target-zlib
28838 .PHONY: maybe-clean-target-zlib clean-target-zlib
28839 maybe-clean-target-zlib:
28840 @if target-zlib
28841 maybe-clean-target-zlib: clean-target-zlib
28843 clean-target-zlib:
28844 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28845 r=`${PWD_COMMAND}`; export r; \
28846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28847 $(SET_LIB_PATH) \
28848 $(NORMAL_TARGET_EXPORTS) \
28849 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
28850 for flag in $(EXTRA_TARGET_FLAGS); do \
28851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28852 done; \
28853 (cd $(TARGET_SUBDIR)/zlib && \
28854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28856 "RANLIB=$${RANLIB}" \
28857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28858 clean) \
28859 || exit 1
28861 @endif target-zlib
28863 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
28864 maybe-distclean-target-zlib:
28865 @if target-zlib
28866 maybe-distclean-target-zlib: distclean-target-zlib
28868 distclean-target-zlib:
28869 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28870 r=`${PWD_COMMAND}`; export r; \
28871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28872 $(SET_LIB_PATH) \
28873 $(NORMAL_TARGET_EXPORTS) \
28874 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
28875 for flag in $(EXTRA_TARGET_FLAGS); do \
28876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28877 done; \
28878 (cd $(TARGET_SUBDIR)/zlib && \
28879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28881 "RANLIB=$${RANLIB}" \
28882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28883 distclean) \
28884 || exit 1
28886 @endif target-zlib
28888 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
28889 maybe-maintainer-clean-target-zlib:
28890 @if target-zlib
28891 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
28893 maintainer-clean-target-zlib:
28894 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28895 r=`${PWD_COMMAND}`; export r; \
28896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28897 $(SET_LIB_PATH) \
28898 $(NORMAL_TARGET_EXPORTS) \
28899 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
28900 for flag in $(EXTRA_TARGET_FLAGS); do \
28901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28902 done; \
28903 (cd $(TARGET_SUBDIR)/zlib && \
28904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28906 "RANLIB=$${RANLIB}" \
28907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28908 maintainer-clean) \
28909 || exit 1
28911 @endif target-zlib
28914 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
28915 maybe-configure-target-boehm-gc:
28916 @if target-boehm-gc
28917 maybe-configure-target-boehm-gc: configure-target-boehm-gc
28919 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28920 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
28921 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
28922 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
28923 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
28925 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
28926 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
28927 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
28928 r=`${PWD_COMMAND}`; export r; \
28929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28930 $(SET_LIB_PATH) \
28931 $(NORMAL_TARGET_EXPORTS) \
28932 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
28933 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
28934 case $(srcdir) in \
28935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28936 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
28937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28938 esac; \
28939 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
28940 libsrcdir="$$s/boehm-gc"; \
28941 rm -f no-such-file || : ; \
28942 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28943 $(TARGET_CONFIGARGS) $${srcdiroption} \
28944 --with-target-subdir="$(TARGET_SUBDIR)" \
28945 || exit 1
28946 @endif target-boehm-gc
28948 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
28949 maybe-all-target-boehm-gc:
28950 @if target-boehm-gc
28951 TARGET-target-boehm-gc=all
28952 maybe-all-target-boehm-gc: all-target-boehm-gc
28953 all-target-boehm-gc: configure-target-boehm-gc
28954 @r=`${PWD_COMMAND}`; export r; \
28955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28956 $(SET_LIB_PATH) \
28957 $(NORMAL_TARGET_EXPORTS) \
28958 (cd $(TARGET_SUBDIR)/boehm-gc && \
28959 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
28960 @endif target-boehm-gc
28962 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
28963 maybe-check-target-boehm-gc:
28964 @if target-boehm-gc
28965 maybe-check-target-boehm-gc: check-target-boehm-gc
28967 check-target-boehm-gc:
28968 @r=`${PWD_COMMAND}`; export r; \
28969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28970 $(SET_LIB_PATH) \
28971 $(NORMAL_TARGET_EXPORTS) \
28972 (cd $(TARGET_SUBDIR)/boehm-gc && \
28973 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28975 @endif target-boehm-gc
28977 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
28978 maybe-install-target-boehm-gc:
28979 @if target-boehm-gc
28980 maybe-install-target-boehm-gc: install-target-boehm-gc
28982 install-target-boehm-gc: installdirs
28983 @r=`${PWD_COMMAND}`; export r; \
28984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28985 $(SET_LIB_PATH) \
28986 $(NORMAL_TARGET_EXPORTS) \
28987 (cd $(TARGET_SUBDIR)/boehm-gc && \
28988 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28990 @endif target-boehm-gc
28992 # Other targets (info, dvi, etc.)
28994 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
28995 maybe-info-target-boehm-gc:
28996 @if target-boehm-gc
28997 maybe-info-target-boehm-gc: info-target-boehm-gc
28999 info-target-boehm-gc: \
29000 configure-target-boehm-gc
29001 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29002 r=`${PWD_COMMAND}`; export r; \
29003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29004 $(SET_LIB_PATH) \
29005 $(NORMAL_TARGET_EXPORTS) \
29006 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
29007 for flag in $(EXTRA_TARGET_FLAGS); do \
29008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29009 done; \
29010 (cd $(TARGET_SUBDIR)/boehm-gc && \
29011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29013 "RANLIB=$${RANLIB}" \
29014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29015 info) \
29016 || exit 1
29018 @endif target-boehm-gc
29020 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
29021 maybe-dvi-target-boehm-gc:
29022 @if target-boehm-gc
29023 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
29025 dvi-target-boehm-gc: \
29026 configure-target-boehm-gc
29027 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29028 r=`${PWD_COMMAND}`; export r; \
29029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29030 $(SET_LIB_PATH) \
29031 $(NORMAL_TARGET_EXPORTS) \
29032 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
29033 for flag in $(EXTRA_TARGET_FLAGS); do \
29034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29035 done; \
29036 (cd $(TARGET_SUBDIR)/boehm-gc && \
29037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29039 "RANLIB=$${RANLIB}" \
29040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29041 dvi) \
29042 || exit 1
29044 @endif target-boehm-gc
29046 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
29047 maybe-html-target-boehm-gc:
29048 @if target-boehm-gc
29049 maybe-html-target-boehm-gc: html-target-boehm-gc
29051 html-target-boehm-gc: \
29052 configure-target-boehm-gc
29053 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29054 r=`${PWD_COMMAND}`; export r; \
29055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29056 $(SET_LIB_PATH) \
29057 $(NORMAL_TARGET_EXPORTS) \
29058 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
29059 for flag in $(EXTRA_TARGET_FLAGS); do \
29060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29061 done; \
29062 (cd $(TARGET_SUBDIR)/boehm-gc && \
29063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29065 "RANLIB=$${RANLIB}" \
29066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29067 html) \
29068 || exit 1
29070 @endif target-boehm-gc
29072 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
29073 maybe-TAGS-target-boehm-gc:
29074 @if target-boehm-gc
29075 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
29077 TAGS-target-boehm-gc: \
29078 configure-target-boehm-gc
29079 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29080 r=`${PWD_COMMAND}`; export r; \
29081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29082 $(SET_LIB_PATH) \
29083 $(NORMAL_TARGET_EXPORTS) \
29084 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
29085 for flag in $(EXTRA_TARGET_FLAGS); do \
29086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29087 done; \
29088 (cd $(TARGET_SUBDIR)/boehm-gc && \
29089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29091 "RANLIB=$${RANLIB}" \
29092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29093 TAGS) \
29094 || exit 1
29096 @endif target-boehm-gc
29098 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
29099 maybe-install-info-target-boehm-gc:
29100 @if target-boehm-gc
29101 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
29103 install-info-target-boehm-gc: \
29104 configure-target-boehm-gc \
29105 info-target-boehm-gc
29106 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29107 r=`${PWD_COMMAND}`; export r; \
29108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29109 $(SET_LIB_PATH) \
29110 $(NORMAL_TARGET_EXPORTS) \
29111 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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 install-info) \
29121 || exit 1
29123 @endif target-boehm-gc
29125 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
29126 maybe-installcheck-target-boehm-gc:
29127 @if target-boehm-gc
29128 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
29130 installcheck-target-boehm-gc: \
29131 configure-target-boehm-gc
29132 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29133 r=`${PWD_COMMAND}`; export r; \
29134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29135 $(SET_LIB_PATH) \
29136 $(NORMAL_TARGET_EXPORTS) \
29137 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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 installcheck) \
29147 || exit 1
29149 @endif target-boehm-gc
29151 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
29152 maybe-mostlyclean-target-boehm-gc:
29153 @if target-boehm-gc
29154 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
29156 mostlyclean-target-boehm-gc:
29157 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29158 r=`${PWD_COMMAND}`; export r; \
29159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29160 $(SET_LIB_PATH) \
29161 $(NORMAL_TARGET_EXPORTS) \
29162 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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 mostlyclean) \
29172 || exit 1
29174 @endif target-boehm-gc
29176 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
29177 maybe-clean-target-boehm-gc:
29178 @if target-boehm-gc
29179 maybe-clean-target-boehm-gc: clean-target-boehm-gc
29181 clean-target-boehm-gc:
29182 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29183 r=`${PWD_COMMAND}`; export r; \
29184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29185 $(SET_LIB_PATH) \
29186 $(NORMAL_TARGET_EXPORTS) \
29187 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29188 for flag in $(EXTRA_TARGET_FLAGS); do \
29189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29190 done; \
29191 (cd $(TARGET_SUBDIR)/boehm-gc && \
29192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29194 "RANLIB=$${RANLIB}" \
29195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29196 clean) \
29197 || exit 1
29199 @endif target-boehm-gc
29201 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
29202 maybe-distclean-target-boehm-gc:
29203 @if target-boehm-gc
29204 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
29206 distclean-target-boehm-gc:
29207 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29208 r=`${PWD_COMMAND}`; export r; \
29209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29210 $(SET_LIB_PATH) \
29211 $(NORMAL_TARGET_EXPORTS) \
29212 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29213 for flag in $(EXTRA_TARGET_FLAGS); do \
29214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29215 done; \
29216 (cd $(TARGET_SUBDIR)/boehm-gc && \
29217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29219 "RANLIB=$${RANLIB}" \
29220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29221 distclean) \
29222 || exit 1
29224 @endif target-boehm-gc
29226 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
29227 maybe-maintainer-clean-target-boehm-gc:
29228 @if target-boehm-gc
29229 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
29231 maintainer-clean-target-boehm-gc:
29232 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29233 r=`${PWD_COMMAND}`; export r; \
29234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29235 $(SET_LIB_PATH) \
29236 $(NORMAL_TARGET_EXPORTS) \
29237 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29238 for flag in $(EXTRA_TARGET_FLAGS); do \
29239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29240 done; \
29241 (cd $(TARGET_SUBDIR)/boehm-gc && \
29242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29244 "RANLIB=$${RANLIB}" \
29245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29246 maintainer-clean) \
29247 || exit 1
29249 @endif target-boehm-gc
29252 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
29253 maybe-configure-target-qthreads:
29254 @if target-qthreads
29255 maybe-configure-target-qthreads: configure-target-qthreads
29257 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29258 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
29259 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29260 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
29261 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
29263 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
29264 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
29265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29266 r=`${PWD_COMMAND}`; export r; \
29267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29268 $(SET_LIB_PATH) \
29269 $(NORMAL_TARGET_EXPORTS) \
29270 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
29271 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
29272 case $(srcdir) in \
29273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29274 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
29275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29276 esac; \
29277 srcdiroption="--srcdir=$${topdir}/qthreads"; \
29278 libsrcdir="$$s/qthreads"; \
29279 rm -f no-such-file || : ; \
29280 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29281 $(TARGET_CONFIGARGS) $${srcdiroption} \
29282 --with-target-subdir="$(TARGET_SUBDIR)" \
29283 || exit 1
29284 @endif target-qthreads
29286 .PHONY: all-target-qthreads maybe-all-target-qthreads
29287 maybe-all-target-qthreads:
29288 @if target-qthreads
29289 TARGET-target-qthreads=all
29290 maybe-all-target-qthreads: all-target-qthreads
29291 all-target-qthreads: configure-target-qthreads
29292 @r=`${PWD_COMMAND}`; export r; \
29293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29294 $(SET_LIB_PATH) \
29295 $(NORMAL_TARGET_EXPORTS) \
29296 (cd $(TARGET_SUBDIR)/qthreads && \
29297 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
29298 @endif target-qthreads
29300 .PHONY: check-target-qthreads maybe-check-target-qthreads
29301 maybe-check-target-qthreads:
29302 @if target-qthreads
29303 maybe-check-target-qthreads: check-target-qthreads
29305 check-target-qthreads:
29306 @r=`${PWD_COMMAND}`; export r; \
29307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29308 $(SET_LIB_PATH) \
29309 $(NORMAL_TARGET_EXPORTS) \
29310 (cd $(TARGET_SUBDIR)/qthreads && \
29311 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29313 @endif target-qthreads
29315 .PHONY: install-target-qthreads maybe-install-target-qthreads
29316 maybe-install-target-qthreads:
29317 @if target-qthreads
29318 maybe-install-target-qthreads: install-target-qthreads
29320 install-target-qthreads: installdirs
29321 @r=`${PWD_COMMAND}`; export r; \
29322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29323 $(SET_LIB_PATH) \
29324 $(NORMAL_TARGET_EXPORTS) \
29325 (cd $(TARGET_SUBDIR)/qthreads && \
29326 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29328 @endif target-qthreads
29330 # Other targets (info, dvi, etc.)
29332 .PHONY: maybe-info-target-qthreads info-target-qthreads
29333 maybe-info-target-qthreads:
29334 @if target-qthreads
29335 maybe-info-target-qthreads: info-target-qthreads
29337 info-target-qthreads: \
29338 configure-target-qthreads
29339 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29340 r=`${PWD_COMMAND}`; export r; \
29341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29342 $(SET_LIB_PATH) \
29343 $(NORMAL_TARGET_EXPORTS) \
29344 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
29345 for flag in $(EXTRA_TARGET_FLAGS); do \
29346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29347 done; \
29348 (cd $(TARGET_SUBDIR)/qthreads && \
29349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29351 "RANLIB=$${RANLIB}" \
29352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29353 info) \
29354 || exit 1
29356 @endif target-qthreads
29358 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
29359 maybe-dvi-target-qthreads:
29360 @if target-qthreads
29361 maybe-dvi-target-qthreads: dvi-target-qthreads
29363 dvi-target-qthreads: \
29364 configure-target-qthreads
29365 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29366 r=`${PWD_COMMAND}`; export r; \
29367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29368 $(SET_LIB_PATH) \
29369 $(NORMAL_TARGET_EXPORTS) \
29370 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
29371 for flag in $(EXTRA_TARGET_FLAGS); do \
29372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29373 done; \
29374 (cd $(TARGET_SUBDIR)/qthreads && \
29375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29377 "RANLIB=$${RANLIB}" \
29378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29379 dvi) \
29380 || exit 1
29382 @endif target-qthreads
29384 .PHONY: maybe-html-target-qthreads html-target-qthreads
29385 maybe-html-target-qthreads:
29386 @if target-qthreads
29387 maybe-html-target-qthreads: html-target-qthreads
29389 html-target-qthreads: \
29390 configure-target-qthreads
29391 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29392 r=`${PWD_COMMAND}`; export r; \
29393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29394 $(SET_LIB_PATH) \
29395 $(NORMAL_TARGET_EXPORTS) \
29396 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
29397 for flag in $(EXTRA_TARGET_FLAGS); do \
29398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29399 done; \
29400 (cd $(TARGET_SUBDIR)/qthreads && \
29401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29403 "RANLIB=$${RANLIB}" \
29404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29405 html) \
29406 || exit 1
29408 @endif target-qthreads
29410 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
29411 maybe-TAGS-target-qthreads:
29412 @if target-qthreads
29413 maybe-TAGS-target-qthreads: TAGS-target-qthreads
29415 TAGS-target-qthreads: \
29416 configure-target-qthreads
29417 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29418 r=`${PWD_COMMAND}`; export r; \
29419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29420 $(SET_LIB_PATH) \
29421 $(NORMAL_TARGET_EXPORTS) \
29422 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
29423 for flag in $(EXTRA_TARGET_FLAGS); do \
29424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29425 done; \
29426 (cd $(TARGET_SUBDIR)/qthreads && \
29427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29429 "RANLIB=$${RANLIB}" \
29430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29431 TAGS) \
29432 || exit 1
29434 @endif target-qthreads
29436 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
29437 maybe-install-info-target-qthreads:
29438 @if target-qthreads
29439 maybe-install-info-target-qthreads: install-info-target-qthreads
29441 install-info-target-qthreads: \
29442 configure-target-qthreads \
29443 info-target-qthreads
29444 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29445 r=`${PWD_COMMAND}`; export r; \
29446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29447 $(SET_LIB_PATH) \
29448 $(NORMAL_TARGET_EXPORTS) \
29449 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
29450 for flag in $(EXTRA_TARGET_FLAGS); do \
29451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29452 done; \
29453 (cd $(TARGET_SUBDIR)/qthreads && \
29454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29456 "RANLIB=$${RANLIB}" \
29457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29458 install-info) \
29459 || exit 1
29461 @endif target-qthreads
29463 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
29464 maybe-installcheck-target-qthreads:
29465 @if target-qthreads
29466 maybe-installcheck-target-qthreads: installcheck-target-qthreads
29468 installcheck-target-qthreads: \
29469 configure-target-qthreads
29470 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29471 r=`${PWD_COMMAND}`; export r; \
29472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29473 $(SET_LIB_PATH) \
29474 $(NORMAL_TARGET_EXPORTS) \
29475 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
29476 for flag in $(EXTRA_TARGET_FLAGS); do \
29477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29478 done; \
29479 (cd $(TARGET_SUBDIR)/qthreads && \
29480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29482 "RANLIB=$${RANLIB}" \
29483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29484 installcheck) \
29485 || exit 1
29487 @endif target-qthreads
29489 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
29490 maybe-mostlyclean-target-qthreads:
29491 @if target-qthreads
29492 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
29494 mostlyclean-target-qthreads:
29495 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29496 r=`${PWD_COMMAND}`; export r; \
29497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29498 $(SET_LIB_PATH) \
29499 $(NORMAL_TARGET_EXPORTS) \
29500 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
29501 for flag in $(EXTRA_TARGET_FLAGS); do \
29502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29503 done; \
29504 (cd $(TARGET_SUBDIR)/qthreads && \
29505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29507 "RANLIB=$${RANLIB}" \
29508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29509 mostlyclean) \
29510 || exit 1
29512 @endif target-qthreads
29514 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
29515 maybe-clean-target-qthreads:
29516 @if target-qthreads
29517 maybe-clean-target-qthreads: clean-target-qthreads
29519 clean-target-qthreads:
29520 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29521 r=`${PWD_COMMAND}`; export r; \
29522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29523 $(SET_LIB_PATH) \
29524 $(NORMAL_TARGET_EXPORTS) \
29525 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
29526 for flag in $(EXTRA_TARGET_FLAGS); do \
29527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29528 done; \
29529 (cd $(TARGET_SUBDIR)/qthreads && \
29530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29532 "RANLIB=$${RANLIB}" \
29533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29534 clean) \
29535 || exit 1
29537 @endif target-qthreads
29539 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
29540 maybe-distclean-target-qthreads:
29541 @if target-qthreads
29542 maybe-distclean-target-qthreads: distclean-target-qthreads
29544 distclean-target-qthreads:
29545 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29546 r=`${PWD_COMMAND}`; export r; \
29547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29548 $(SET_LIB_PATH) \
29549 $(NORMAL_TARGET_EXPORTS) \
29550 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
29551 for flag in $(EXTRA_TARGET_FLAGS); do \
29552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29553 done; \
29554 (cd $(TARGET_SUBDIR)/qthreads && \
29555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29557 "RANLIB=$${RANLIB}" \
29558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29559 distclean) \
29560 || exit 1
29562 @endif target-qthreads
29564 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
29565 maybe-maintainer-clean-target-qthreads:
29566 @if target-qthreads
29567 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
29569 maintainer-clean-target-qthreads:
29570 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29571 r=`${PWD_COMMAND}`; export r; \
29572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29573 $(SET_LIB_PATH) \
29574 $(NORMAL_TARGET_EXPORTS) \
29575 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
29576 for flag in $(EXTRA_TARGET_FLAGS); do \
29577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29578 done; \
29579 (cd $(TARGET_SUBDIR)/qthreads && \
29580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29582 "RANLIB=$${RANLIB}" \
29583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29584 maintainer-clean) \
29585 || exit 1
29587 @endif target-qthreads
29590 .PHONY: configure-target-rda maybe-configure-target-rda
29591 maybe-configure-target-rda:
29592 @if target-rda
29593 maybe-configure-target-rda: configure-target-rda
29595 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29596 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
29597 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29598 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
29599 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
29601 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
29602 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
29603 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29604 r=`${PWD_COMMAND}`; export r; \
29605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29606 $(SET_LIB_PATH) \
29607 $(NORMAL_TARGET_EXPORTS) \
29608 echo Configuring in $(TARGET_SUBDIR)/rda; \
29609 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
29610 case $(srcdir) in \
29611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29612 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
29613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29614 esac; \
29615 srcdiroption="--srcdir=$${topdir}/rda"; \
29616 libsrcdir="$$s/rda"; \
29617 rm -f no-such-file || : ; \
29618 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29619 $(TARGET_CONFIGARGS) $${srcdiroption} \
29620 --with-target-subdir="$(TARGET_SUBDIR)" \
29621 || exit 1
29622 @endif target-rda
29624 .PHONY: all-target-rda maybe-all-target-rda
29625 maybe-all-target-rda:
29626 @if target-rda
29627 TARGET-target-rda=all
29628 maybe-all-target-rda: all-target-rda
29629 all-target-rda: configure-target-rda
29630 @r=`${PWD_COMMAND}`; export r; \
29631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29632 $(SET_LIB_PATH) \
29633 $(NORMAL_TARGET_EXPORTS) \
29634 (cd $(TARGET_SUBDIR)/rda && \
29635 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
29636 @endif target-rda
29638 .PHONY: check-target-rda maybe-check-target-rda
29639 maybe-check-target-rda:
29640 @if target-rda
29641 maybe-check-target-rda: check-target-rda
29643 check-target-rda:
29644 @r=`${PWD_COMMAND}`; export r; \
29645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29646 $(SET_LIB_PATH) \
29647 $(NORMAL_TARGET_EXPORTS) \
29648 (cd $(TARGET_SUBDIR)/rda && \
29649 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29651 @endif target-rda
29653 .PHONY: install-target-rda maybe-install-target-rda
29654 maybe-install-target-rda:
29655 @if target-rda
29656 maybe-install-target-rda: install-target-rda
29658 install-target-rda: installdirs
29659 @r=`${PWD_COMMAND}`; export r; \
29660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29661 $(SET_LIB_PATH) \
29662 $(NORMAL_TARGET_EXPORTS) \
29663 (cd $(TARGET_SUBDIR)/rda && \
29664 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29666 @endif target-rda
29668 # Other targets (info, dvi, etc.)
29670 .PHONY: maybe-info-target-rda info-target-rda
29671 maybe-info-target-rda:
29672 @if target-rda
29673 maybe-info-target-rda: info-target-rda
29675 info-target-rda: \
29676 configure-target-rda
29677 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29678 r=`${PWD_COMMAND}`; export r; \
29679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29680 $(SET_LIB_PATH) \
29681 $(NORMAL_TARGET_EXPORTS) \
29682 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
29683 for flag in $(EXTRA_TARGET_FLAGS); do \
29684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29685 done; \
29686 (cd $(TARGET_SUBDIR)/rda && \
29687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29689 "RANLIB=$${RANLIB}" \
29690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29691 info) \
29692 || exit 1
29694 @endif target-rda
29696 .PHONY: maybe-dvi-target-rda dvi-target-rda
29697 maybe-dvi-target-rda:
29698 @if target-rda
29699 maybe-dvi-target-rda: dvi-target-rda
29701 dvi-target-rda: \
29702 configure-target-rda
29703 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29704 r=`${PWD_COMMAND}`; export r; \
29705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29706 $(SET_LIB_PATH) \
29707 $(NORMAL_TARGET_EXPORTS) \
29708 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
29709 for flag in $(EXTRA_TARGET_FLAGS); do \
29710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29711 done; \
29712 (cd $(TARGET_SUBDIR)/rda && \
29713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29715 "RANLIB=$${RANLIB}" \
29716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29717 dvi) \
29718 || exit 1
29720 @endif target-rda
29722 .PHONY: maybe-html-target-rda html-target-rda
29723 maybe-html-target-rda:
29724 @if target-rda
29725 maybe-html-target-rda: html-target-rda
29727 html-target-rda: \
29728 configure-target-rda
29729 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29730 r=`${PWD_COMMAND}`; export r; \
29731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29732 $(SET_LIB_PATH) \
29733 $(NORMAL_TARGET_EXPORTS) \
29734 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
29735 for flag in $(EXTRA_TARGET_FLAGS); do \
29736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29737 done; \
29738 (cd $(TARGET_SUBDIR)/rda && \
29739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29741 "RANLIB=$${RANLIB}" \
29742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29743 html) \
29744 || exit 1
29746 @endif target-rda
29748 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
29749 maybe-TAGS-target-rda:
29750 @if target-rda
29751 maybe-TAGS-target-rda: TAGS-target-rda
29753 TAGS-target-rda: \
29754 configure-target-rda
29755 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29756 r=`${PWD_COMMAND}`; export r; \
29757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29758 $(SET_LIB_PATH) \
29759 $(NORMAL_TARGET_EXPORTS) \
29760 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
29761 for flag in $(EXTRA_TARGET_FLAGS); do \
29762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29763 done; \
29764 (cd $(TARGET_SUBDIR)/rda && \
29765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29767 "RANLIB=$${RANLIB}" \
29768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29769 TAGS) \
29770 || exit 1
29772 @endif target-rda
29774 .PHONY: maybe-install-info-target-rda install-info-target-rda
29775 maybe-install-info-target-rda:
29776 @if target-rda
29777 maybe-install-info-target-rda: install-info-target-rda
29779 install-info-target-rda: \
29780 configure-target-rda \
29781 info-target-rda
29782 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29783 r=`${PWD_COMMAND}`; export r; \
29784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29785 $(SET_LIB_PATH) \
29786 $(NORMAL_TARGET_EXPORTS) \
29787 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
29788 for flag in $(EXTRA_TARGET_FLAGS); do \
29789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29790 done; \
29791 (cd $(TARGET_SUBDIR)/rda && \
29792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29794 "RANLIB=$${RANLIB}" \
29795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29796 install-info) \
29797 || exit 1
29799 @endif target-rda
29801 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
29802 maybe-installcheck-target-rda:
29803 @if target-rda
29804 maybe-installcheck-target-rda: installcheck-target-rda
29806 installcheck-target-rda: \
29807 configure-target-rda
29808 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29809 r=`${PWD_COMMAND}`; export r; \
29810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29811 $(SET_LIB_PATH) \
29812 $(NORMAL_TARGET_EXPORTS) \
29813 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
29814 for flag in $(EXTRA_TARGET_FLAGS); do \
29815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29816 done; \
29817 (cd $(TARGET_SUBDIR)/rda && \
29818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29820 "RANLIB=$${RANLIB}" \
29821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29822 installcheck) \
29823 || exit 1
29825 @endif target-rda
29827 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
29828 maybe-mostlyclean-target-rda:
29829 @if target-rda
29830 maybe-mostlyclean-target-rda: mostlyclean-target-rda
29832 mostlyclean-target-rda:
29833 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29834 r=`${PWD_COMMAND}`; export r; \
29835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29836 $(SET_LIB_PATH) \
29837 $(NORMAL_TARGET_EXPORTS) \
29838 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
29839 for flag in $(EXTRA_TARGET_FLAGS); do \
29840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29841 done; \
29842 (cd $(TARGET_SUBDIR)/rda && \
29843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29845 "RANLIB=$${RANLIB}" \
29846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29847 mostlyclean) \
29848 || exit 1
29850 @endif target-rda
29852 .PHONY: maybe-clean-target-rda clean-target-rda
29853 maybe-clean-target-rda:
29854 @if target-rda
29855 maybe-clean-target-rda: clean-target-rda
29857 clean-target-rda:
29858 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29859 r=`${PWD_COMMAND}`; export r; \
29860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29861 $(SET_LIB_PATH) \
29862 $(NORMAL_TARGET_EXPORTS) \
29863 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
29864 for flag in $(EXTRA_TARGET_FLAGS); do \
29865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29866 done; \
29867 (cd $(TARGET_SUBDIR)/rda && \
29868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29870 "RANLIB=$${RANLIB}" \
29871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29872 clean) \
29873 || exit 1
29875 @endif target-rda
29877 .PHONY: maybe-distclean-target-rda distclean-target-rda
29878 maybe-distclean-target-rda:
29879 @if target-rda
29880 maybe-distclean-target-rda: distclean-target-rda
29882 distclean-target-rda:
29883 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29884 r=`${PWD_COMMAND}`; export r; \
29885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29886 $(SET_LIB_PATH) \
29887 $(NORMAL_TARGET_EXPORTS) \
29888 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
29889 for flag in $(EXTRA_TARGET_FLAGS); do \
29890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29891 done; \
29892 (cd $(TARGET_SUBDIR)/rda && \
29893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29895 "RANLIB=$${RANLIB}" \
29896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29897 distclean) \
29898 || exit 1
29900 @endif target-rda
29902 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
29903 maybe-maintainer-clean-target-rda:
29904 @if target-rda
29905 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
29907 maintainer-clean-target-rda:
29908 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29909 r=`${PWD_COMMAND}`; export r; \
29910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29911 $(SET_LIB_PATH) \
29912 $(NORMAL_TARGET_EXPORTS) \
29913 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
29914 for flag in $(EXTRA_TARGET_FLAGS); do \
29915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29916 done; \
29917 (cd $(TARGET_SUBDIR)/rda && \
29918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29920 "RANLIB=$${RANLIB}" \
29921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29922 maintainer-clean) \
29923 || exit 1
29925 @endif target-rda
29928 .PHONY: configure-target-libada maybe-configure-target-libada
29929 maybe-configure-target-libada:
29930 @if target-libada
29931 maybe-configure-target-libada: configure-target-libada
29933 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29934 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
29935 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
29936 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
29937 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
29939 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
29940 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
29941 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
29942 r=`${PWD_COMMAND}`; export r; \
29943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29944 $(SET_LIB_PATH) \
29945 $(NORMAL_TARGET_EXPORTS) \
29946 echo Configuring in $(TARGET_SUBDIR)/libada; \
29947 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
29948 case $(srcdir) in \
29949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29950 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
29951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29952 esac; \
29953 srcdiroption="--srcdir=$${topdir}/libada"; \
29954 libsrcdir="$$s/libada"; \
29955 rm -f no-such-file || : ; \
29956 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29957 $(TARGET_CONFIGARGS) $${srcdiroption} \
29958 --with-target-subdir="$(TARGET_SUBDIR)" \
29959 || exit 1
29960 @endif target-libada
29962 .PHONY: all-target-libada maybe-all-target-libada
29963 maybe-all-target-libada:
29964 @if target-libada
29965 TARGET-target-libada=all
29966 maybe-all-target-libada: all-target-libada
29967 all-target-libada: configure-target-libada
29968 @r=`${PWD_COMMAND}`; export r; \
29969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29970 $(SET_LIB_PATH) \
29971 $(NORMAL_TARGET_EXPORTS) \
29972 (cd $(TARGET_SUBDIR)/libada && \
29973 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
29974 @endif target-libada
29976 .PHONY: check-target-libada maybe-check-target-libada
29977 maybe-check-target-libada:
29978 @if target-libada
29979 maybe-check-target-libada: check-target-libada
29981 check-target-libada:
29982 @r=`${PWD_COMMAND}`; export r; \
29983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29984 $(SET_LIB_PATH) \
29985 $(NORMAL_TARGET_EXPORTS) \
29986 (cd $(TARGET_SUBDIR)/libada && \
29987 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29989 @endif target-libada
29991 .PHONY: install-target-libada maybe-install-target-libada
29992 maybe-install-target-libada:
29993 @if target-libada
29994 maybe-install-target-libada: install-target-libada
29996 install-target-libada: installdirs
29997 @r=`${PWD_COMMAND}`; export r; \
29998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29999 $(SET_LIB_PATH) \
30000 $(NORMAL_TARGET_EXPORTS) \
30001 (cd $(TARGET_SUBDIR)/libada && \
30002 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30004 @endif target-libada
30006 # Other targets (info, dvi, etc.)
30008 .PHONY: maybe-info-target-libada info-target-libada
30009 maybe-info-target-libada:
30010 @if target-libada
30011 maybe-info-target-libada: info-target-libada
30013 info-target-libada: \
30014 configure-target-libada
30015 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30016 r=`${PWD_COMMAND}`; export r; \
30017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30018 $(SET_LIB_PATH) \
30019 $(NORMAL_TARGET_EXPORTS) \
30020 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
30021 for flag in $(EXTRA_TARGET_FLAGS); do \
30022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30023 done; \
30024 (cd $(TARGET_SUBDIR)/libada && \
30025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30027 "RANLIB=$${RANLIB}" \
30028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30029 info) \
30030 || exit 1
30032 @endif target-libada
30034 .PHONY: maybe-dvi-target-libada dvi-target-libada
30035 maybe-dvi-target-libada:
30036 @if target-libada
30037 maybe-dvi-target-libada: dvi-target-libada
30039 dvi-target-libada: \
30040 configure-target-libada
30041 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30042 r=`${PWD_COMMAND}`; export r; \
30043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30044 $(SET_LIB_PATH) \
30045 $(NORMAL_TARGET_EXPORTS) \
30046 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
30047 for flag in $(EXTRA_TARGET_FLAGS); do \
30048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30049 done; \
30050 (cd $(TARGET_SUBDIR)/libada && \
30051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30053 "RANLIB=$${RANLIB}" \
30054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30055 dvi) \
30056 || exit 1
30058 @endif target-libada
30060 .PHONY: maybe-html-target-libada html-target-libada
30061 maybe-html-target-libada:
30062 @if target-libada
30063 maybe-html-target-libada: html-target-libada
30065 html-target-libada: \
30066 configure-target-libada
30067 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30068 r=`${PWD_COMMAND}`; export r; \
30069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30070 $(SET_LIB_PATH) \
30071 $(NORMAL_TARGET_EXPORTS) \
30072 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
30073 for flag in $(EXTRA_TARGET_FLAGS); do \
30074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30075 done; \
30076 (cd $(TARGET_SUBDIR)/libada && \
30077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30079 "RANLIB=$${RANLIB}" \
30080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30081 html) \
30082 || exit 1
30084 @endif target-libada
30086 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
30087 maybe-TAGS-target-libada:
30088 @if target-libada
30089 maybe-TAGS-target-libada: TAGS-target-libada
30091 TAGS-target-libada: \
30092 configure-target-libada
30093 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30094 r=`${PWD_COMMAND}`; export r; \
30095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30096 $(SET_LIB_PATH) \
30097 $(NORMAL_TARGET_EXPORTS) \
30098 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
30099 for flag in $(EXTRA_TARGET_FLAGS); do \
30100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30101 done; \
30102 (cd $(TARGET_SUBDIR)/libada && \
30103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30105 "RANLIB=$${RANLIB}" \
30106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30107 TAGS) \
30108 || exit 1
30110 @endif target-libada
30112 .PHONY: maybe-install-info-target-libada install-info-target-libada
30113 maybe-install-info-target-libada:
30114 @if target-libada
30115 maybe-install-info-target-libada: install-info-target-libada
30117 install-info-target-libada: \
30118 configure-target-libada \
30119 info-target-libada
30120 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30121 r=`${PWD_COMMAND}`; export r; \
30122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30123 $(SET_LIB_PATH) \
30124 $(NORMAL_TARGET_EXPORTS) \
30125 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
30126 for flag in $(EXTRA_TARGET_FLAGS); do \
30127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30128 done; \
30129 (cd $(TARGET_SUBDIR)/libada && \
30130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30132 "RANLIB=$${RANLIB}" \
30133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30134 install-info) \
30135 || exit 1
30137 @endif target-libada
30139 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
30140 maybe-installcheck-target-libada:
30141 @if target-libada
30142 maybe-installcheck-target-libada: installcheck-target-libada
30144 installcheck-target-libada: \
30145 configure-target-libada
30146 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30147 r=`${PWD_COMMAND}`; export r; \
30148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30149 $(SET_LIB_PATH) \
30150 $(NORMAL_TARGET_EXPORTS) \
30151 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
30152 for flag in $(EXTRA_TARGET_FLAGS); do \
30153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30154 done; \
30155 (cd $(TARGET_SUBDIR)/libada && \
30156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30158 "RANLIB=$${RANLIB}" \
30159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30160 installcheck) \
30161 || exit 1
30163 @endif target-libada
30165 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
30166 maybe-mostlyclean-target-libada:
30167 @if target-libada
30168 maybe-mostlyclean-target-libada: mostlyclean-target-libada
30170 mostlyclean-target-libada:
30171 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30172 r=`${PWD_COMMAND}`; export r; \
30173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30174 $(SET_LIB_PATH) \
30175 $(NORMAL_TARGET_EXPORTS) \
30176 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
30177 for flag in $(EXTRA_TARGET_FLAGS); do \
30178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30179 done; \
30180 (cd $(TARGET_SUBDIR)/libada && \
30181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30183 "RANLIB=$${RANLIB}" \
30184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30185 mostlyclean) \
30186 || exit 1
30188 @endif target-libada
30190 .PHONY: maybe-clean-target-libada clean-target-libada
30191 maybe-clean-target-libada:
30192 @if target-libada
30193 maybe-clean-target-libada: clean-target-libada
30195 clean-target-libada:
30196 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30197 r=`${PWD_COMMAND}`; export r; \
30198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30199 $(SET_LIB_PATH) \
30200 $(NORMAL_TARGET_EXPORTS) \
30201 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
30202 for flag in $(EXTRA_TARGET_FLAGS); do \
30203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30204 done; \
30205 (cd $(TARGET_SUBDIR)/libada && \
30206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30208 "RANLIB=$${RANLIB}" \
30209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30210 clean) \
30211 || exit 1
30213 @endif target-libada
30215 .PHONY: maybe-distclean-target-libada distclean-target-libada
30216 maybe-distclean-target-libada:
30217 @if target-libada
30218 maybe-distclean-target-libada: distclean-target-libada
30220 distclean-target-libada:
30221 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30222 r=`${PWD_COMMAND}`; export r; \
30223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30224 $(SET_LIB_PATH) \
30225 $(NORMAL_TARGET_EXPORTS) \
30226 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
30227 for flag in $(EXTRA_TARGET_FLAGS); do \
30228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30229 done; \
30230 (cd $(TARGET_SUBDIR)/libada && \
30231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30233 "RANLIB=$${RANLIB}" \
30234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30235 distclean) \
30236 || exit 1
30238 @endif target-libada
30240 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
30241 maybe-maintainer-clean-target-libada:
30242 @if target-libada
30243 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
30245 maintainer-clean-target-libada:
30246 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30247 r=`${PWD_COMMAND}`; export r; \
30248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30249 $(SET_LIB_PATH) \
30250 $(NORMAL_TARGET_EXPORTS) \
30251 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
30252 for flag in $(EXTRA_TARGET_FLAGS); do \
30253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30254 done; \
30255 (cd $(TARGET_SUBDIR)/libada && \
30256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30258 "RANLIB=$${RANLIB}" \
30259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30260 maintainer-clean) \
30261 || exit 1
30263 @endif target-libada
30267 # ----------
30268 # GCC module
30269 # ----------
30271 @if gcc-no-bootstrap
30272 # GCC has some more recursive targets, which trigger the old
30273 # (but still current, until the toplevel bootstrap project
30274 # is finished) compiler bootstrapping rules.
30276 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
30277 .PHONY: $(GCC_STRAP_TARGETS)
30278 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
30279 @r=`${PWD_COMMAND}`; export r; \
30280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30281 $(SET_LIB_PATH) \
30282 $(HOST_EXPORTS) \
30283 echo "Bootstrapping the compiler"; \
30284 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
30285 @r=`${PWD_COMMAND}`; export r; \
30286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30287 case "$@" in \
30288 *bootstrap4-lean ) \
30289 msg="Comparing stage3 and stage4 of the compiler"; \
30290 compare=compare3-lean ;; \
30291 *bootstrap4 ) \
30292 msg="Comparing stage3 and stage4 of the compiler"; \
30293 compare=compare3 ;; \
30294 *-lean ) \
30295 msg="Comparing stage2 and stage3 of the compiler"; \
30296 compare=compare-lean ;; \
30297 * ) \
30298 msg="Comparing stage2 and stage3 of the compiler"; \
30299 compare=compare ;; \
30300 esac; \
30301 $(SET_LIB_PATH) \
30302 $(HOST_EXPORTS) \
30303 echo "$$msg"; \
30304 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
30305 @r=`${PWD_COMMAND}`; export r; \
30306 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30307 $(SET_LIB_PATH) \
30308 echo "Building runtime libraries"; \
30309 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30311 profiledbootstrap: all-prebootstrap configure-gcc
30312 @r=`${PWD_COMMAND}`; export r; \
30313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30314 $(SET_LIB_PATH) \
30315 $(HOST_EXPORTS) \
30316 echo "Bootstrapping training compiler"; \
30317 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
30318 @r=`${PWD_COMMAND}`; export r; \
30319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30320 $(SET_LIB_PATH) \
30321 $(HOST_EXPORTS) \
30322 echo "Building feedback based compiler"; \
30323 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
30324 @r=`${PWD_COMMAND}`; export r; \
30325 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30326 $(SET_LIB_PATH) \
30327 echo "Building runtime libraries"; \
30328 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30330 .PHONY: cross
30331 cross: all-build all-gas all-ld
30332 @r=`${PWD_COMMAND}`; export r; \
30333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30334 $(SET_LIB_PATH) \
30335 $(HOST_EXPORTS) \
30336 echo "Building the C and C++ compiler"; \
30337 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
30338 @r=`${PWD_COMMAND}`; export r; \
30339 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30340 $(SET_LIB_PATH) \
30341 echo "Building runtime libraries"; \
30342 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
30343 @endif gcc-no-bootstrap
30345 @if gcc
30346 .PHONY: check-gcc-c++
30347 check-gcc-c++:
30348 @if [ -f ./gcc/Makefile ] ; then \
30349 r=`${PWD_COMMAND}`; export r; \
30350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30351 $(SET_LIB_PATH) \
30352 $(HOST_EXPORTS) \
30353 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
30354 else \
30355 true; \
30358 .PHONY: check-c++
30359 check-c++: check-target-libstdc++-v3 check-gcc-c++
30361 # Install the gcc headers files, but not the fixed include files,
30362 # which Cygnus is not allowed to distribute. This rule is very
30363 # dependent on the workings of the gcc Makefile.in.
30364 .PHONY: gcc-no-fixedincludes
30365 gcc-no-fixedincludes:
30366 @if [ -f ./gcc/Makefile ]; then \
30367 rm -rf gcc/tmp-include; \
30368 mv gcc/include gcc/tmp-include 2>/dev/null; \
30369 mkdir gcc/include; \
30370 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
30371 touch gcc/stmp-fixinc gcc/include/fixed; \
30372 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
30373 r=`${PWD_COMMAND}`; export r; \
30374 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30375 $(SET_LIB_PATH) \
30376 $(HOST_EXPORTS) \
30377 (cd ./gcc && \
30378 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
30379 rm -rf gcc/include; \
30380 mv gcc/tmp-include gcc/include 2>/dev/null; \
30381 else true; fi
30382 @endif gcc
30384 # ---------------------
30385 # GCC bootstrap support
30386 # ---------------------
30388 # We track the current stage (the one in 'gcc') in the stage_current file.
30389 # stage_last instead tracks the stage that was built last. These targets
30390 # are dummy when toplevel bootstrap is not active.
30392 .PHONY: unstage
30393 unstage:
30394 @if gcc-bootstrap
30395 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
30396 @endif gcc-bootstrap
30398 .PHONY: stage
30399 stage:
30400 @if gcc-bootstrap
30401 @$(MAKE) `cat stage_current`-end
30402 @endif gcc-bootstrap
30404 # We name the build directories for the various stages "stage1-gcc",
30405 # "stage2-gcc","stage3-gcc", etc.
30407 # Since the 'compare' process will fail (on debugging information) if any
30408 # directory names are different, we need to link the gcc directory for
30409 # the previous stage to a constant name ('gcc-prev'), and to make the name of
30410 # the build directories constant as well. For the latter, we use naked names
30411 # like 'gcc', because the scripts in that directory assume it. We use
30412 # mv on platforms where symlinks to directories do not work or are not
30413 # reliable.
30415 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
30416 # be kept, so that libraries can find it. Ick!
30418 # It would be best to preinstall gcc into a staging area (and in the
30419 # future, gather there all prebootstrap packages). This would allow
30420 # assemblers and linkers can be bootstrapped as well as the compiler
30421 # (both in a combined tree, or separately). This however requires some
30422 # change to the gcc driver, again in order to avoid comparison failures.
30424 # Bugs: This is crippled when doing parallel make, the `make all-host'
30425 # and `make all-target' phases can be parallelized.
30428 # 'touch' doesn't work right on some platforms.
30429 STAMP = echo timestamp >
30431 # Only build the C compiler for stage1, because that is the only one that
30432 # we can guarantee will build with the native compiler, and also it is the
30433 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
30434 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
30435 # overrideable (for a bootstrap build stage1 also builds gcc.info).
30437 STAGE1_CFLAGS=@stage1_cflags@
30438 STAGE1_LANGUAGES=@stage1_languages@
30440 # We only want to compare .o files, so set this!
30441 objext = .o
30443 # Flags to pass to stage2 and later makes.
30444 POSTSTAGE1_FLAGS_TO_PASS = \
30445 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
30446 STAGE_PREFIX=$$r/stage-gcc/ \
30447 CFLAGS="$(BOOT_CFLAGS)" \
30448 ADAC="\$$(CC)"
30450 # For stage 1:
30451 # * We force-disable intermodule optimizations, even if
30452 # --enable-intermodule was passed, since the installed compiler probably
30453 # can't handle them. Luckily, autoconf always respects
30454 # the last argument when conflicting --enable arguments are passed.
30455 # * Likewise, we force-disable coverage flags, since the installed compiler
30456 # probably has never heard of them.
30457 # * We build only C (and possibly Ada).
30460 .PHONY: stage1-start stage1-end
30462 stage1-start::
30463 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30464 echo stage1 > stage_current ; \
30465 echo stage1 > stage_last; \
30466 $(mkinstalldirs) $(HOST_SUBDIR)
30467 @if bfd
30468 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
30469 mkdir stage1-bfd; \
30470 set stage1-bfd bfd ; \
30471 @CREATE_LINK_TO_DIR@
30472 @endif bfd
30473 @if opcodes
30474 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
30475 mkdir stage1-opcodes; \
30476 set stage1-opcodes opcodes ; \
30477 @CREATE_LINK_TO_DIR@
30478 @endif opcodes
30479 @if binutils
30480 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
30481 mkdir stage1-binutils; \
30482 set stage1-binutils binutils ; \
30483 @CREATE_LINK_TO_DIR@
30484 @endif binutils
30485 @if gas
30486 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
30487 mkdir stage1-gas; \
30488 set stage1-gas gas ; \
30489 @CREATE_LINK_TO_DIR@
30490 @endif gas
30491 @if gcc
30492 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
30493 mkdir stage1-gcc; \
30494 set stage1-gcc gcc ; \
30495 @CREATE_LINK_TO_DIR@
30496 @endif gcc
30497 @if intl
30498 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
30499 mkdir stage1-intl; \
30500 set stage1-intl intl ; \
30501 @CREATE_LINK_TO_DIR@
30502 @endif intl
30503 @if ld
30504 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
30505 mkdir stage1-ld; \
30506 set stage1-ld ld ; \
30507 @CREATE_LINK_TO_DIR@
30508 @endif ld
30509 @if libcpp
30510 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
30511 mkdir stage1-libcpp; \
30512 set stage1-libcpp libcpp ; \
30513 @CREATE_LINK_TO_DIR@
30514 @endif libcpp
30515 @if libiberty
30516 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
30517 mkdir stage1-libiberty; \
30518 set stage1-libiberty libiberty ; \
30519 @CREATE_LINK_TO_DIR@
30520 @endif libiberty
30521 @if zlib
30522 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
30523 mkdir stage1-zlib; \
30524 set stage1-zlib zlib ; \
30525 @CREATE_LINK_TO_DIR@
30526 @endif zlib
30528 stage1-end::
30529 @rm -f stage_current
30530 @if bfd
30531 @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
30532 @UNDO_LINK_TO_DIR@
30533 @endif bfd
30534 @if opcodes
30535 @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
30536 @UNDO_LINK_TO_DIR@
30537 @endif opcodes
30538 @if binutils
30539 @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
30540 @UNDO_LINK_TO_DIR@
30541 @endif binutils
30542 @if gas
30543 @cd $(HOST_SUBDIR); set gas stage1-gas ; \
30544 @UNDO_LINK_TO_DIR@
30545 @endif gas
30546 @if gcc
30547 @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
30548 @UNDO_LINK_TO_DIR@
30549 @endif gcc
30550 @if intl
30551 @cd $(HOST_SUBDIR); set intl stage1-intl ; \
30552 @UNDO_LINK_TO_DIR@
30553 @endif intl
30554 @if ld
30555 @cd $(HOST_SUBDIR); set ld stage1-ld ; \
30556 @UNDO_LINK_TO_DIR@
30557 @endif ld
30558 @if libcpp
30559 @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
30560 @UNDO_LINK_TO_DIR@
30561 @endif libcpp
30562 @if libiberty
30563 @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
30564 @UNDO_LINK_TO_DIR@
30565 @endif libiberty
30566 @if zlib
30567 @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
30568 @UNDO_LINK_TO_DIR@
30569 @endif zlib
30571 # Bubble a bugfix through all the stages up to stage 1. They
30572 # are remade, but not reconfigured. The next stage (if any) will not
30573 # be reconfigured as well.
30574 .PHONY: stage1-bubble
30575 stage1-bubble::
30576 @if test -f stage1-lean ; then \
30577 echo Skipping rebuild of stage1 ; \
30578 else \
30579 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
30582 .PHONY: all-stage1 clean-stage1
30583 all-stage1: \
30584 maybe-all-stage1-bfd \
30585 maybe-all-stage1-opcodes \
30586 maybe-all-stage1-binutils \
30587 maybe-all-stage1-gas \
30588 maybe-all-stage1-gcc \
30589 maybe-all-stage1-intl \
30590 maybe-all-stage1-ld \
30591 maybe-all-stage1-libcpp \
30592 maybe-all-stage1-libiberty \
30593 maybe-all-stage1-zlib
30595 do-clean: clean-stage1
30596 clean-stage1: \
30597 maybe-clean-stage1-bfd \
30598 maybe-clean-stage1-opcodes \
30599 maybe-clean-stage1-binutils \
30600 maybe-clean-stage1-gas \
30601 maybe-clean-stage1-gcc \
30602 maybe-clean-stage1-intl \
30603 maybe-clean-stage1-ld \
30604 maybe-clean-stage1-libcpp \
30605 maybe-clean-stage1-libiberty \
30606 maybe-clean-stage1-zlib
30609 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
30610 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
30611 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
30613 maybe-configure-stage1-bfd:
30614 maybe-all-stage1-bfd:
30615 maybe-clean-stage1-bfd:
30617 @if bfd-bootstrap
30618 maybe-configure-stage1-bfd: configure-stage1-bfd
30619 configure-stage1-bfd:
30620 @$(MAKE) stage1-start
30621 @[ -f bfd/Makefile ] && exit 0 || : ; \
30622 r=`${PWD_COMMAND}`; export r; \
30623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30624 $(HOST_EXPORTS) \
30625 echo Configuring stage 1 in bfd ; \
30626 cd $(HOST_SUBDIR)/bfd || exit 1; \
30627 case $(srcdir) in \
30628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30629 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
30630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30631 esac; \
30632 srcdiroption="--srcdir=$${topdir}/bfd"; \
30633 libsrcdir="$$s/bfd"; \
30634 $(SHELL) $${libsrcdir}/configure \
30635 $(HOST_CONFIGARGS) $${srcdiroption} \
30636 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30638 maybe-all-stage1-bfd: all-stage1-bfd
30639 all-stage1-bfd: configure-stage1-bfd
30640 @$(MAKE) stage1-start
30641 @r=`${PWD_COMMAND}`; export r; \
30642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30643 $(HOST_EXPORTS) \
30644 cd $(HOST_SUBDIR)/bfd && \
30645 $(MAKE) $(FLAGS_TO_PASS) \
30646 CFLAGS="$(STAGE1_CFLAGS)"
30648 maybe-clean-stage1-bfd: clean-stage1-bfd
30649 clean-stage1-bfd:
30650 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
30651 || exit 0 ; \
30652 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
30653 cd $(HOST_SUBDIR)/bfd && \
30654 $(MAKE) $(FLAGS_TO_PASS) \
30655 CFLAGS="$(STAGE1_CFLAGS)" clean
30656 @endif bfd-bootstrap
30659 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
30660 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
30661 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
30663 maybe-configure-stage1-opcodes:
30664 maybe-all-stage1-opcodes:
30665 maybe-clean-stage1-opcodes:
30667 @if opcodes-bootstrap
30668 maybe-configure-stage1-opcodes: configure-stage1-opcodes
30669 configure-stage1-opcodes:
30670 @$(MAKE) stage1-start
30671 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30672 r=`${PWD_COMMAND}`; export r; \
30673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30674 $(HOST_EXPORTS) \
30675 echo Configuring stage 1 in opcodes ; \
30676 cd $(HOST_SUBDIR)/opcodes || exit 1; \
30677 case $(srcdir) in \
30678 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30679 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
30680 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30681 esac; \
30682 srcdiroption="--srcdir=$${topdir}/opcodes"; \
30683 libsrcdir="$$s/opcodes"; \
30684 $(SHELL) $${libsrcdir}/configure \
30685 $(HOST_CONFIGARGS) $${srcdiroption} \
30686 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30688 maybe-all-stage1-opcodes: all-stage1-opcodes
30689 all-stage1-opcodes: configure-stage1-opcodes
30690 @$(MAKE) stage1-start
30691 @r=`${PWD_COMMAND}`; export r; \
30692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30693 $(HOST_EXPORTS) \
30694 cd $(HOST_SUBDIR)/opcodes && \
30695 $(MAKE) $(FLAGS_TO_PASS) \
30696 CFLAGS="$(STAGE1_CFLAGS)"
30698 maybe-clean-stage1-opcodes: clean-stage1-opcodes
30699 clean-stage1-opcodes:
30700 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
30701 || exit 0 ; \
30702 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
30703 cd $(HOST_SUBDIR)/opcodes && \
30704 $(MAKE) $(FLAGS_TO_PASS) \
30705 CFLAGS="$(STAGE1_CFLAGS)" clean
30706 @endif opcodes-bootstrap
30709 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
30710 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
30711 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
30713 maybe-configure-stage1-binutils:
30714 maybe-all-stage1-binutils:
30715 maybe-clean-stage1-binutils:
30717 @if binutils-bootstrap
30718 maybe-configure-stage1-binutils: configure-stage1-binutils
30719 configure-stage1-binutils:
30720 @$(MAKE) stage1-start
30721 @[ -f binutils/Makefile ] && exit 0 || : ; \
30722 r=`${PWD_COMMAND}`; export r; \
30723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30724 $(HOST_EXPORTS) \
30725 echo Configuring stage 1 in binutils ; \
30726 cd $(HOST_SUBDIR)/binutils || exit 1; \
30727 case $(srcdir) in \
30728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30729 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
30730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30731 esac; \
30732 srcdiroption="--srcdir=$${topdir}/binutils"; \
30733 libsrcdir="$$s/binutils"; \
30734 $(SHELL) $${libsrcdir}/configure \
30735 $(HOST_CONFIGARGS) $${srcdiroption} \
30736 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30738 maybe-all-stage1-binutils: all-stage1-binutils
30739 all-stage1-binutils: configure-stage1-binutils
30740 @$(MAKE) stage1-start
30741 @r=`${PWD_COMMAND}`; export r; \
30742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30743 $(HOST_EXPORTS) \
30744 cd $(HOST_SUBDIR)/binutils && \
30745 $(MAKE) $(FLAGS_TO_PASS) \
30746 CFLAGS="$(STAGE1_CFLAGS)"
30748 maybe-clean-stage1-binutils: clean-stage1-binutils
30749 clean-stage1-binutils:
30750 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
30751 || exit 0 ; \
30752 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
30753 cd $(HOST_SUBDIR)/binutils && \
30754 $(MAKE) $(FLAGS_TO_PASS) \
30755 CFLAGS="$(STAGE1_CFLAGS)" clean
30756 @endif binutils-bootstrap
30759 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
30760 .PHONY: all-stage1-gas maybe-all-stage1-gas
30761 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
30763 maybe-configure-stage1-gas:
30764 maybe-all-stage1-gas:
30765 maybe-clean-stage1-gas:
30767 @if gas-bootstrap
30768 maybe-configure-stage1-gas: configure-stage1-gas
30769 configure-stage1-gas:
30770 @$(MAKE) stage1-start
30771 @[ -f gas/Makefile ] && exit 0 || : ; \
30772 r=`${PWD_COMMAND}`; export r; \
30773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30774 $(HOST_EXPORTS) \
30775 echo Configuring stage 1 in gas ; \
30776 cd $(HOST_SUBDIR)/gas || exit 1; \
30777 case $(srcdir) in \
30778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30779 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
30780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30781 esac; \
30782 srcdiroption="--srcdir=$${topdir}/gas"; \
30783 libsrcdir="$$s/gas"; \
30784 $(SHELL) $${libsrcdir}/configure \
30785 $(HOST_CONFIGARGS) $${srcdiroption} \
30786 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30788 maybe-all-stage1-gas: all-stage1-gas
30789 all-stage1-gas: configure-stage1-gas
30790 @$(MAKE) stage1-start
30791 @r=`${PWD_COMMAND}`; export r; \
30792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30793 $(HOST_EXPORTS) \
30794 cd $(HOST_SUBDIR)/gas && \
30795 $(MAKE) $(FLAGS_TO_PASS) \
30796 CFLAGS="$(STAGE1_CFLAGS)"
30798 maybe-clean-stage1-gas: clean-stage1-gas
30799 clean-stage1-gas:
30800 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
30801 || exit 0 ; \
30802 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
30803 cd $(HOST_SUBDIR)/gas && \
30804 $(MAKE) $(FLAGS_TO_PASS) \
30805 CFLAGS="$(STAGE1_CFLAGS)" clean
30806 @endif gas-bootstrap
30809 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
30810 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
30811 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
30813 maybe-configure-stage1-gcc:
30814 maybe-all-stage1-gcc:
30815 maybe-clean-stage1-gcc:
30817 @if gcc-bootstrap
30818 maybe-configure-stage1-gcc: configure-stage1-gcc
30819 configure-stage1-gcc:
30820 @$(MAKE) stage1-start
30821 @[ -f gcc/Makefile ] && exit 0 || : ; \
30822 r=`${PWD_COMMAND}`; export r; \
30823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30824 $(HOST_EXPORTS) \
30825 echo Configuring stage 1 in gcc ; \
30826 cd $(HOST_SUBDIR)/gcc || exit 1; \
30827 case $(srcdir) in \
30828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30829 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
30830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30831 esac; \
30832 srcdiroption="--srcdir=$${topdir}/gcc"; \
30833 libsrcdir="$$s/gcc"; \
30834 $(SHELL) $${libsrcdir}/configure \
30835 $(HOST_CONFIGARGS) $${srcdiroption} \
30836 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30838 maybe-all-stage1-gcc: all-stage1-gcc
30839 all-stage1-gcc: configure-stage1-gcc
30840 @$(MAKE) stage1-start
30841 @r=`${PWD_COMMAND}`; export r; \
30842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30843 $(HOST_EXPORTS) \
30844 cd $(HOST_SUBDIR)/gcc && \
30845 $(MAKE) $(FLAGS_TO_PASS) \
30846 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
30848 maybe-clean-stage1-gcc: clean-stage1-gcc
30849 clean-stage1-gcc:
30850 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
30851 || exit 0 ; \
30852 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
30853 cd $(HOST_SUBDIR)/gcc && \
30854 $(MAKE) $(FLAGS_TO_PASS) \
30855 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
30856 @endif gcc-bootstrap
30859 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
30860 .PHONY: all-stage1-intl maybe-all-stage1-intl
30861 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
30863 maybe-configure-stage1-intl:
30864 maybe-all-stage1-intl:
30865 maybe-clean-stage1-intl:
30867 @if intl-bootstrap
30868 maybe-configure-stage1-intl: configure-stage1-intl
30869 configure-stage1-intl:
30870 @$(MAKE) stage1-start
30871 @[ -f intl/Makefile ] && exit 0 || : ; \
30872 r=`${PWD_COMMAND}`; export r; \
30873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30874 $(HOST_EXPORTS) \
30875 echo Configuring stage 1 in intl ; \
30876 cd $(HOST_SUBDIR)/intl || exit 1; \
30877 case $(srcdir) in \
30878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30879 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
30880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30881 esac; \
30882 srcdiroption="--srcdir=$${topdir}/intl"; \
30883 libsrcdir="$$s/intl"; \
30884 $(SHELL) $${libsrcdir}/configure \
30885 $(HOST_CONFIGARGS) $${srcdiroption} \
30886 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30888 maybe-all-stage1-intl: all-stage1-intl
30889 all-stage1-intl: configure-stage1-intl
30890 @$(MAKE) stage1-start
30891 @r=`${PWD_COMMAND}`; export r; \
30892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30893 $(HOST_EXPORTS) \
30894 cd $(HOST_SUBDIR)/intl && \
30895 $(MAKE) $(FLAGS_TO_PASS) \
30896 CFLAGS="$(STAGE1_CFLAGS)"
30898 maybe-clean-stage1-intl: clean-stage1-intl
30899 clean-stage1-intl:
30900 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
30901 || exit 0 ; \
30902 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
30903 cd $(HOST_SUBDIR)/intl && \
30904 $(MAKE) $(FLAGS_TO_PASS) \
30905 CFLAGS="$(STAGE1_CFLAGS)" clean
30906 @endif intl-bootstrap
30909 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
30910 .PHONY: all-stage1-ld maybe-all-stage1-ld
30911 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
30913 maybe-configure-stage1-ld:
30914 maybe-all-stage1-ld:
30915 maybe-clean-stage1-ld:
30917 @if ld-bootstrap
30918 maybe-configure-stage1-ld: configure-stage1-ld
30919 configure-stage1-ld:
30920 @$(MAKE) stage1-start
30921 @[ -f ld/Makefile ] && exit 0 || : ; \
30922 r=`${PWD_COMMAND}`; export r; \
30923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30924 $(HOST_EXPORTS) \
30925 echo Configuring stage 1 in ld ; \
30926 cd $(HOST_SUBDIR)/ld || exit 1; \
30927 case $(srcdir) in \
30928 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30929 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
30930 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30931 esac; \
30932 srcdiroption="--srcdir=$${topdir}/ld"; \
30933 libsrcdir="$$s/ld"; \
30934 $(SHELL) $${libsrcdir}/configure \
30935 $(HOST_CONFIGARGS) $${srcdiroption} \
30936 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30938 maybe-all-stage1-ld: all-stage1-ld
30939 all-stage1-ld: configure-stage1-ld
30940 @$(MAKE) stage1-start
30941 @r=`${PWD_COMMAND}`; export r; \
30942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30943 $(HOST_EXPORTS) \
30944 cd $(HOST_SUBDIR)/ld && \
30945 $(MAKE) $(FLAGS_TO_PASS) \
30946 CFLAGS="$(STAGE1_CFLAGS)"
30948 maybe-clean-stage1-ld: clean-stage1-ld
30949 clean-stage1-ld:
30950 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
30951 || exit 0 ; \
30952 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
30953 cd $(HOST_SUBDIR)/ld && \
30954 $(MAKE) $(FLAGS_TO_PASS) \
30955 CFLAGS="$(STAGE1_CFLAGS)" clean
30956 @endif ld-bootstrap
30959 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
30960 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
30961 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
30963 maybe-configure-stage1-libcpp:
30964 maybe-all-stage1-libcpp:
30965 maybe-clean-stage1-libcpp:
30967 @if libcpp-bootstrap
30968 maybe-configure-stage1-libcpp: configure-stage1-libcpp
30969 configure-stage1-libcpp:
30970 @$(MAKE) stage1-start
30971 @[ -f libcpp/Makefile ] && exit 0 || : ; \
30972 r=`${PWD_COMMAND}`; export r; \
30973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30974 $(HOST_EXPORTS) \
30975 echo Configuring stage 1 in libcpp ; \
30976 cd $(HOST_SUBDIR)/libcpp || exit 1; \
30977 case $(srcdir) in \
30978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30979 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
30980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30981 esac; \
30982 srcdiroption="--srcdir=$${topdir}/libcpp"; \
30983 libsrcdir="$$s/libcpp"; \
30984 $(SHELL) $${libsrcdir}/configure \
30985 $(HOST_CONFIGARGS) $${srcdiroption} \
30986 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30988 maybe-all-stage1-libcpp: all-stage1-libcpp
30989 all-stage1-libcpp: configure-stage1-libcpp
30990 @$(MAKE) stage1-start
30991 @r=`${PWD_COMMAND}`; export r; \
30992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30993 $(HOST_EXPORTS) \
30994 cd $(HOST_SUBDIR)/libcpp && \
30995 $(MAKE) $(FLAGS_TO_PASS) \
30996 CFLAGS="$(STAGE1_CFLAGS)"
30998 maybe-clean-stage1-libcpp: clean-stage1-libcpp
30999 clean-stage1-libcpp:
31000 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
31001 || exit 0 ; \
31002 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
31003 cd $(HOST_SUBDIR)/libcpp && \
31004 $(MAKE) $(FLAGS_TO_PASS) \
31005 CFLAGS="$(STAGE1_CFLAGS)" clean
31006 @endif libcpp-bootstrap
31009 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
31010 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
31011 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
31013 maybe-configure-stage1-libiberty:
31014 maybe-all-stage1-libiberty:
31015 maybe-clean-stage1-libiberty:
31017 @if libiberty-bootstrap
31018 maybe-configure-stage1-libiberty: configure-stage1-libiberty
31019 configure-stage1-libiberty:
31020 @$(MAKE) stage1-start
31021 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31022 r=`${PWD_COMMAND}`; export r; \
31023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31024 $(HOST_EXPORTS) \
31025 echo Configuring stage 1 in libiberty ; \
31026 cd $(HOST_SUBDIR)/libiberty || exit 1; \
31027 case $(srcdir) in \
31028 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31029 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
31030 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31031 esac; \
31032 srcdiroption="--srcdir=$${topdir}/libiberty"; \
31033 libsrcdir="$$s/libiberty"; \
31034 $(SHELL) $${libsrcdir}/configure \
31035 $(HOST_CONFIGARGS) $${srcdiroption} \
31036 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31038 maybe-all-stage1-libiberty: all-stage1-libiberty
31039 all-stage1-libiberty: configure-stage1-libiberty
31040 @$(MAKE) stage1-start
31041 @r=`${PWD_COMMAND}`; export r; \
31042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31043 $(HOST_EXPORTS) \
31044 cd $(HOST_SUBDIR)/libiberty && \
31045 $(MAKE) $(FLAGS_TO_PASS) \
31046 CFLAGS="$(STAGE1_CFLAGS)"
31048 maybe-clean-stage1-libiberty: clean-stage1-libiberty
31049 clean-stage1-libiberty:
31050 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
31051 || exit 0 ; \
31052 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
31053 cd $(HOST_SUBDIR)/libiberty && \
31054 $(MAKE) $(FLAGS_TO_PASS) \
31055 CFLAGS="$(STAGE1_CFLAGS)" clean
31056 @endif libiberty-bootstrap
31059 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31060 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
31061 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
31063 maybe-configure-stage1-zlib:
31064 maybe-all-stage1-zlib:
31065 maybe-clean-stage1-zlib:
31067 @if zlib-bootstrap
31068 maybe-configure-stage1-zlib: configure-stage1-zlib
31069 configure-stage1-zlib:
31070 @$(MAKE) stage1-start
31071 @[ -f zlib/Makefile ] && exit 0 || : ; \
31072 r=`${PWD_COMMAND}`; export r; \
31073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31074 $(HOST_EXPORTS) \
31075 echo Configuring stage 1 in zlib ; \
31076 cd $(HOST_SUBDIR)/zlib || exit 1; \
31077 case $(srcdir) in \
31078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31079 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31081 esac; \
31082 srcdiroption="--srcdir=$${topdir}/zlib"; \
31083 libsrcdir="$$s/zlib"; \
31084 $(SHELL) $${libsrcdir}/configure \
31085 $(HOST_CONFIGARGS) $${srcdiroption} \
31086 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31088 maybe-all-stage1-zlib: all-stage1-zlib
31089 all-stage1-zlib: configure-stage1-zlib
31090 @$(MAKE) stage1-start
31091 @r=`${PWD_COMMAND}`; export r; \
31092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31093 $(HOST_EXPORTS) \
31094 cd $(HOST_SUBDIR)/zlib && \
31095 $(MAKE) $(FLAGS_TO_PASS) \
31096 CFLAGS="$(STAGE1_CFLAGS)"
31098 maybe-clean-stage1-zlib: clean-stage1-zlib
31099 clean-stage1-zlib:
31100 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
31101 || exit 0 ; \
31102 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
31103 cd $(HOST_SUBDIR)/zlib && \
31104 $(MAKE) $(FLAGS_TO_PASS) \
31105 CFLAGS="$(STAGE1_CFLAGS)" clean
31106 @endif zlib-bootstrap
31110 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31111 # only possibility, but now it conflicts with no-bootstrap rules
31112 @if gcc-bootstrap
31117 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31119 .PHONY: distclean-stage1
31120 distclean-stage1::
31121 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31122 rm -rf stage1-*
31125 @endif gcc-bootstrap
31128 .PHONY: stage2-start stage2-end
31130 stage2-start::
31131 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31132 echo stage2 > stage_current ; \
31133 echo stage2 > stage_last; \
31134 $(mkinstalldirs) $(HOST_SUBDIR)
31135 @if bfd
31136 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
31137 mkdir stage2-bfd; \
31138 set stage2-bfd bfd ; \
31139 @CREATE_LINK_TO_DIR@ ; \
31140 set stage1-bfd prev-bfd ; \
31141 @CREATE_LINK_TO_DIR@
31142 @endif bfd
31143 @if opcodes
31144 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
31145 mkdir stage2-opcodes; \
31146 set stage2-opcodes opcodes ; \
31147 @CREATE_LINK_TO_DIR@ ; \
31148 set stage1-opcodes prev-opcodes ; \
31149 @CREATE_LINK_TO_DIR@
31150 @endif opcodes
31151 @if binutils
31152 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
31153 mkdir stage2-binutils; \
31154 set stage2-binutils binutils ; \
31155 @CREATE_LINK_TO_DIR@ ; \
31156 set stage1-binutils prev-binutils ; \
31157 @CREATE_LINK_TO_DIR@
31158 @endif binutils
31159 @if gas
31160 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
31161 mkdir stage2-gas; \
31162 set stage2-gas gas ; \
31163 @CREATE_LINK_TO_DIR@ ; \
31164 set stage1-gas prev-gas ; \
31165 @CREATE_LINK_TO_DIR@
31166 @endif gas
31167 @if gcc
31168 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
31169 mkdir stage2-gcc; \
31170 set stage2-gcc gcc ; \
31171 @CREATE_LINK_TO_DIR@ ; \
31172 set stage1-gcc prev-gcc ; \
31173 @CREATE_LINK_TO_DIR@
31174 @endif gcc
31175 @if intl
31176 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
31177 mkdir stage2-intl; \
31178 set stage2-intl intl ; \
31179 @CREATE_LINK_TO_DIR@ ; \
31180 set stage1-intl prev-intl ; \
31181 @CREATE_LINK_TO_DIR@
31182 @endif intl
31183 @if ld
31184 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
31185 mkdir stage2-ld; \
31186 set stage2-ld ld ; \
31187 @CREATE_LINK_TO_DIR@ ; \
31188 set stage1-ld prev-ld ; \
31189 @CREATE_LINK_TO_DIR@
31190 @endif ld
31191 @if libcpp
31192 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
31193 mkdir stage2-libcpp; \
31194 set stage2-libcpp libcpp ; \
31195 @CREATE_LINK_TO_DIR@ ; \
31196 set stage1-libcpp prev-libcpp ; \
31197 @CREATE_LINK_TO_DIR@
31198 @endif libcpp
31199 @if libiberty
31200 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
31201 mkdir stage2-libiberty; \
31202 set stage2-libiberty libiberty ; \
31203 @CREATE_LINK_TO_DIR@ ; \
31204 set stage1-libiberty prev-libiberty ; \
31205 @CREATE_LINK_TO_DIR@
31206 @endif libiberty
31207 @if zlib
31208 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
31209 mkdir stage2-zlib; \
31210 set stage2-zlib zlib ; \
31211 @CREATE_LINK_TO_DIR@ ; \
31212 set stage1-zlib prev-zlib ; \
31213 @CREATE_LINK_TO_DIR@
31214 @endif zlib
31216 stage2-end::
31217 @rm -f stage_current
31218 @if bfd
31219 @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
31220 @UNDO_LINK_TO_DIR@ ; \
31221 set prev-bfd stage1-bfd ; \
31222 @UNDO_LINK_TO_DIR@
31223 @endif bfd
31224 @if opcodes
31225 @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
31226 @UNDO_LINK_TO_DIR@ ; \
31227 set prev-opcodes stage1-opcodes ; \
31228 @UNDO_LINK_TO_DIR@
31229 @endif opcodes
31230 @if binutils
31231 @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
31232 @UNDO_LINK_TO_DIR@ ; \
31233 set prev-binutils stage1-binutils ; \
31234 @UNDO_LINK_TO_DIR@
31235 @endif binutils
31236 @if gas
31237 @cd $(HOST_SUBDIR); set gas stage2-gas ; \
31238 @UNDO_LINK_TO_DIR@ ; \
31239 set prev-gas stage1-gas ; \
31240 @UNDO_LINK_TO_DIR@
31241 @endif gas
31242 @if gcc
31243 @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
31244 @UNDO_LINK_TO_DIR@ ; \
31245 set prev-gcc stage1-gcc ; \
31246 @UNDO_LINK_TO_DIR@
31247 @endif gcc
31248 @if intl
31249 @cd $(HOST_SUBDIR); set intl stage2-intl ; \
31250 @UNDO_LINK_TO_DIR@ ; \
31251 set prev-intl stage1-intl ; \
31252 @UNDO_LINK_TO_DIR@
31253 @endif intl
31254 @if ld
31255 @cd $(HOST_SUBDIR); set ld stage2-ld ; \
31256 @UNDO_LINK_TO_DIR@ ; \
31257 set prev-ld stage1-ld ; \
31258 @UNDO_LINK_TO_DIR@
31259 @endif ld
31260 @if libcpp
31261 @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
31262 @UNDO_LINK_TO_DIR@ ; \
31263 set prev-libcpp stage1-libcpp ; \
31264 @UNDO_LINK_TO_DIR@
31265 @endif libcpp
31266 @if libiberty
31267 @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
31268 @UNDO_LINK_TO_DIR@ ; \
31269 set prev-libiberty stage1-libiberty ; \
31270 @UNDO_LINK_TO_DIR@
31271 @endif libiberty
31272 @if zlib
31273 @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
31274 @UNDO_LINK_TO_DIR@ ; \
31275 set prev-zlib stage1-zlib ; \
31276 @UNDO_LINK_TO_DIR@
31277 @endif zlib
31279 # Bubble a bugfix through all the stages up to stage 2. They
31280 # are remade, but not reconfigured. The next stage (if any) will not
31281 # be reconfigured as well.
31282 .PHONY: stage2-bubble
31283 stage2-bubble:: stage1-bubble
31284 @if test -f stage2-lean || test -f stage1-lean ; then \
31285 echo Skipping rebuild of stage2 ; \
31286 else \
31287 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
31290 .PHONY: all-stage2 clean-stage2
31291 all-stage2: \
31292 maybe-all-stage2-bfd \
31293 maybe-all-stage2-opcodes \
31294 maybe-all-stage2-binutils \
31295 maybe-all-stage2-gas \
31296 maybe-all-stage2-gcc \
31297 maybe-all-stage2-intl \
31298 maybe-all-stage2-ld \
31299 maybe-all-stage2-libcpp \
31300 maybe-all-stage2-libiberty \
31301 maybe-all-stage2-zlib
31303 do-clean: clean-stage2
31304 clean-stage2: \
31305 maybe-clean-stage2-bfd \
31306 maybe-clean-stage2-opcodes \
31307 maybe-clean-stage2-binutils \
31308 maybe-clean-stage2-gas \
31309 maybe-clean-stage2-gcc \
31310 maybe-clean-stage2-intl \
31311 maybe-clean-stage2-ld \
31312 maybe-clean-stage2-libcpp \
31313 maybe-clean-stage2-libiberty \
31314 maybe-clean-stage2-zlib
31317 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
31318 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
31319 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
31321 maybe-configure-stage2-bfd:
31322 maybe-all-stage2-bfd:
31323 maybe-clean-stage2-bfd:
31325 @if bfd-bootstrap
31326 maybe-configure-stage2-bfd: configure-stage2-bfd
31327 configure-stage2-bfd:
31328 @$(MAKE) stage2-start
31329 @[ -f bfd/Makefile ] && exit 0 || : ; \
31330 r=`${PWD_COMMAND}`; export r; \
31331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31332 $(STAGE_HOST_EXPORTS) \
31333 echo Configuring stage 2 in bfd ; \
31334 cd $(HOST_SUBDIR)/bfd || exit 1; \
31335 case $(srcdir) in \
31336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31337 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
31338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31339 esac; \
31340 srcdiroption="--srcdir=$${topdir}/bfd"; \
31341 libsrcdir="$$s/bfd"; \
31342 $(SHELL) $${libsrcdir}/configure \
31343 $(HOST_CONFIGARGS) $${srcdiroption} \
31344 @stage2_werror_flag@
31346 maybe-all-stage2-bfd: all-stage2-bfd
31347 all-stage2-bfd: configure-stage2-bfd
31348 @$(MAKE) stage2-start
31349 @r=`${PWD_COMMAND}`; export r; \
31350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31351 $(STAGE_HOST_EXPORTS) \
31352 cd $(HOST_SUBDIR)/bfd && \
31353 $(MAKE) $(FLAGS_TO_PASS) \
31354 $(POSTSTAGE1_FLAGS_TO_PASS) \
31357 maybe-clean-stage2-bfd: clean-stage2-bfd
31358 clean-stage2-bfd:
31359 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
31360 || exit 0 ; \
31361 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
31362 cd $(HOST_SUBDIR)/bfd && \
31363 $(MAKE) $(FLAGS_TO_PASS) \
31364 $(POSTSTAGE1_FLAGS_TO_PASS) \
31365 clean
31366 @endif bfd-bootstrap
31369 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
31370 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
31371 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
31373 maybe-configure-stage2-opcodes:
31374 maybe-all-stage2-opcodes:
31375 maybe-clean-stage2-opcodes:
31377 @if opcodes-bootstrap
31378 maybe-configure-stage2-opcodes: configure-stage2-opcodes
31379 configure-stage2-opcodes:
31380 @$(MAKE) stage2-start
31381 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31382 r=`${PWD_COMMAND}`; export r; \
31383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31384 $(STAGE_HOST_EXPORTS) \
31385 echo Configuring stage 2 in opcodes ; \
31386 cd $(HOST_SUBDIR)/opcodes || exit 1; \
31387 case $(srcdir) in \
31388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31389 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
31390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31391 esac; \
31392 srcdiroption="--srcdir=$${topdir}/opcodes"; \
31393 libsrcdir="$$s/opcodes"; \
31394 $(SHELL) $${libsrcdir}/configure \
31395 $(HOST_CONFIGARGS) $${srcdiroption} \
31396 @stage2_werror_flag@
31398 maybe-all-stage2-opcodes: all-stage2-opcodes
31399 all-stage2-opcodes: configure-stage2-opcodes
31400 @$(MAKE) stage2-start
31401 @r=`${PWD_COMMAND}`; export r; \
31402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31403 $(STAGE_HOST_EXPORTS) \
31404 cd $(HOST_SUBDIR)/opcodes && \
31405 $(MAKE) $(FLAGS_TO_PASS) \
31406 $(POSTSTAGE1_FLAGS_TO_PASS) \
31409 maybe-clean-stage2-opcodes: clean-stage2-opcodes
31410 clean-stage2-opcodes:
31411 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
31412 || exit 0 ; \
31413 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
31414 cd $(HOST_SUBDIR)/opcodes && \
31415 $(MAKE) $(FLAGS_TO_PASS) \
31416 $(POSTSTAGE1_FLAGS_TO_PASS) \
31417 clean
31418 @endif opcodes-bootstrap
31421 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
31422 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
31423 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
31425 maybe-configure-stage2-binutils:
31426 maybe-all-stage2-binutils:
31427 maybe-clean-stage2-binutils:
31429 @if binutils-bootstrap
31430 maybe-configure-stage2-binutils: configure-stage2-binutils
31431 configure-stage2-binutils:
31432 @$(MAKE) stage2-start
31433 @[ -f binutils/Makefile ] && exit 0 || : ; \
31434 r=`${PWD_COMMAND}`; export r; \
31435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31436 $(STAGE_HOST_EXPORTS) \
31437 echo Configuring stage 2 in binutils ; \
31438 cd $(HOST_SUBDIR)/binutils || exit 1; \
31439 case $(srcdir) in \
31440 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31441 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
31442 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31443 esac; \
31444 srcdiroption="--srcdir=$${topdir}/binutils"; \
31445 libsrcdir="$$s/binutils"; \
31446 $(SHELL) $${libsrcdir}/configure \
31447 $(HOST_CONFIGARGS) $${srcdiroption} \
31448 @stage2_werror_flag@
31450 maybe-all-stage2-binutils: all-stage2-binutils
31451 all-stage2-binutils: configure-stage2-binutils
31452 @$(MAKE) stage2-start
31453 @r=`${PWD_COMMAND}`; export r; \
31454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31455 $(STAGE_HOST_EXPORTS) \
31456 cd $(HOST_SUBDIR)/binutils && \
31457 $(MAKE) $(FLAGS_TO_PASS) \
31458 $(POSTSTAGE1_FLAGS_TO_PASS) \
31461 maybe-clean-stage2-binutils: clean-stage2-binutils
31462 clean-stage2-binutils:
31463 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
31464 || exit 0 ; \
31465 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
31466 cd $(HOST_SUBDIR)/binutils && \
31467 $(MAKE) $(FLAGS_TO_PASS) \
31468 $(POSTSTAGE1_FLAGS_TO_PASS) \
31469 clean
31470 @endif binutils-bootstrap
31473 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
31474 .PHONY: all-stage2-gas maybe-all-stage2-gas
31475 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
31477 maybe-configure-stage2-gas:
31478 maybe-all-stage2-gas:
31479 maybe-clean-stage2-gas:
31481 @if gas-bootstrap
31482 maybe-configure-stage2-gas: configure-stage2-gas
31483 configure-stage2-gas:
31484 @$(MAKE) stage2-start
31485 @[ -f gas/Makefile ] && exit 0 || : ; \
31486 r=`${PWD_COMMAND}`; export r; \
31487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31488 $(STAGE_HOST_EXPORTS) \
31489 echo Configuring stage 2 in gas ; \
31490 cd $(HOST_SUBDIR)/gas || exit 1; \
31491 case $(srcdir) in \
31492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31493 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
31494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31495 esac; \
31496 srcdiroption="--srcdir=$${topdir}/gas"; \
31497 libsrcdir="$$s/gas"; \
31498 $(SHELL) $${libsrcdir}/configure \
31499 $(HOST_CONFIGARGS) $${srcdiroption} \
31500 @stage2_werror_flag@
31502 maybe-all-stage2-gas: all-stage2-gas
31503 all-stage2-gas: configure-stage2-gas
31504 @$(MAKE) stage2-start
31505 @r=`${PWD_COMMAND}`; export r; \
31506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31507 $(STAGE_HOST_EXPORTS) \
31508 cd $(HOST_SUBDIR)/gas && \
31509 $(MAKE) $(FLAGS_TO_PASS) \
31510 $(POSTSTAGE1_FLAGS_TO_PASS) \
31513 maybe-clean-stage2-gas: clean-stage2-gas
31514 clean-stage2-gas:
31515 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
31516 || exit 0 ; \
31517 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
31518 cd $(HOST_SUBDIR)/gas && \
31519 $(MAKE) $(FLAGS_TO_PASS) \
31520 $(POSTSTAGE1_FLAGS_TO_PASS) \
31521 clean
31522 @endif gas-bootstrap
31525 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
31526 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
31527 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
31529 maybe-configure-stage2-gcc:
31530 maybe-all-stage2-gcc:
31531 maybe-clean-stage2-gcc:
31533 @if gcc-bootstrap
31534 maybe-configure-stage2-gcc: configure-stage2-gcc
31535 configure-stage2-gcc:
31536 @$(MAKE) stage2-start
31537 @[ -f gcc/Makefile ] && exit 0 || : ; \
31538 r=`${PWD_COMMAND}`; export r; \
31539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31540 $(STAGE_HOST_EXPORTS) \
31541 echo Configuring stage 2 in gcc ; \
31542 cd $(HOST_SUBDIR)/gcc || exit 1; \
31543 case $(srcdir) in \
31544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31545 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
31546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31547 esac; \
31548 srcdiroption="--srcdir=$${topdir}/gcc"; \
31549 libsrcdir="$$s/gcc"; \
31550 $(SHELL) $${libsrcdir}/configure \
31551 $(HOST_CONFIGARGS) $${srcdiroption} \
31552 @stage2_werror_flag@
31554 maybe-all-stage2-gcc: all-stage2-gcc
31555 all-stage2-gcc: configure-stage2-gcc
31556 @$(MAKE) stage2-start
31557 @r=`${PWD_COMMAND}`; export r; \
31558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31559 $(STAGE_HOST_EXPORTS) \
31560 cd $(HOST_SUBDIR)/gcc && \
31561 $(MAKE) $(FLAGS_TO_PASS) \
31562 $(POSTSTAGE1_FLAGS_TO_PASS) \
31563 $(EXTRA_GCC_FLAGS)
31565 maybe-clean-stage2-gcc: clean-stage2-gcc
31566 clean-stage2-gcc:
31567 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
31568 || exit 0 ; \
31569 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
31570 cd $(HOST_SUBDIR)/gcc && \
31571 $(MAKE) $(FLAGS_TO_PASS) \
31572 $(POSTSTAGE1_FLAGS_TO_PASS) \
31573 $(EXTRA_GCC_FLAGS) clean
31574 @endif gcc-bootstrap
31577 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
31578 .PHONY: all-stage2-intl maybe-all-stage2-intl
31579 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
31581 maybe-configure-stage2-intl:
31582 maybe-all-stage2-intl:
31583 maybe-clean-stage2-intl:
31585 @if intl-bootstrap
31586 maybe-configure-stage2-intl: configure-stage2-intl
31587 configure-stage2-intl:
31588 @$(MAKE) stage2-start
31589 @[ -f intl/Makefile ] && exit 0 || : ; \
31590 r=`${PWD_COMMAND}`; export r; \
31591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31592 $(STAGE_HOST_EXPORTS) \
31593 echo Configuring stage 2 in intl ; \
31594 cd $(HOST_SUBDIR)/intl || exit 1; \
31595 case $(srcdir) in \
31596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31597 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
31598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31599 esac; \
31600 srcdiroption="--srcdir=$${topdir}/intl"; \
31601 libsrcdir="$$s/intl"; \
31602 $(SHELL) $${libsrcdir}/configure \
31603 $(HOST_CONFIGARGS) $${srcdiroption} \
31604 @stage2_werror_flag@
31606 maybe-all-stage2-intl: all-stage2-intl
31607 all-stage2-intl: configure-stage2-intl
31608 @$(MAKE) stage2-start
31609 @r=`${PWD_COMMAND}`; export r; \
31610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31611 $(STAGE_HOST_EXPORTS) \
31612 cd $(HOST_SUBDIR)/intl && \
31613 $(MAKE) $(FLAGS_TO_PASS) \
31614 $(POSTSTAGE1_FLAGS_TO_PASS) \
31617 maybe-clean-stage2-intl: clean-stage2-intl
31618 clean-stage2-intl:
31619 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
31620 || exit 0 ; \
31621 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
31622 cd $(HOST_SUBDIR)/intl && \
31623 $(MAKE) $(FLAGS_TO_PASS) \
31624 $(POSTSTAGE1_FLAGS_TO_PASS) \
31625 clean
31626 @endif intl-bootstrap
31629 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
31630 .PHONY: all-stage2-ld maybe-all-stage2-ld
31631 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
31633 maybe-configure-stage2-ld:
31634 maybe-all-stage2-ld:
31635 maybe-clean-stage2-ld:
31637 @if ld-bootstrap
31638 maybe-configure-stage2-ld: configure-stage2-ld
31639 configure-stage2-ld:
31640 @$(MAKE) stage2-start
31641 @[ -f ld/Makefile ] && exit 0 || : ; \
31642 r=`${PWD_COMMAND}`; export r; \
31643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31644 $(STAGE_HOST_EXPORTS) \
31645 echo Configuring stage 2 in ld ; \
31646 cd $(HOST_SUBDIR)/ld || exit 1; \
31647 case $(srcdir) in \
31648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31649 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
31650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31651 esac; \
31652 srcdiroption="--srcdir=$${topdir}/ld"; \
31653 libsrcdir="$$s/ld"; \
31654 $(SHELL) $${libsrcdir}/configure \
31655 $(HOST_CONFIGARGS) $${srcdiroption} \
31656 @stage2_werror_flag@
31658 maybe-all-stage2-ld: all-stage2-ld
31659 all-stage2-ld: configure-stage2-ld
31660 @$(MAKE) stage2-start
31661 @r=`${PWD_COMMAND}`; export r; \
31662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31663 $(STAGE_HOST_EXPORTS) \
31664 cd $(HOST_SUBDIR)/ld && \
31665 $(MAKE) $(FLAGS_TO_PASS) \
31666 $(POSTSTAGE1_FLAGS_TO_PASS) \
31669 maybe-clean-stage2-ld: clean-stage2-ld
31670 clean-stage2-ld:
31671 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
31672 || exit 0 ; \
31673 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
31674 cd $(HOST_SUBDIR)/ld && \
31675 $(MAKE) $(FLAGS_TO_PASS) \
31676 $(POSTSTAGE1_FLAGS_TO_PASS) \
31677 clean
31678 @endif ld-bootstrap
31681 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
31682 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
31683 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
31685 maybe-configure-stage2-libcpp:
31686 maybe-all-stage2-libcpp:
31687 maybe-clean-stage2-libcpp:
31689 @if libcpp-bootstrap
31690 maybe-configure-stage2-libcpp: configure-stage2-libcpp
31691 configure-stage2-libcpp:
31692 @$(MAKE) stage2-start
31693 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31694 r=`${PWD_COMMAND}`; export r; \
31695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31696 $(STAGE_HOST_EXPORTS) \
31697 echo Configuring stage 2 in libcpp ; \
31698 cd $(HOST_SUBDIR)/libcpp || exit 1; \
31699 case $(srcdir) in \
31700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31701 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
31702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31703 esac; \
31704 srcdiroption="--srcdir=$${topdir}/libcpp"; \
31705 libsrcdir="$$s/libcpp"; \
31706 $(SHELL) $${libsrcdir}/configure \
31707 $(HOST_CONFIGARGS) $${srcdiroption} \
31708 @stage2_werror_flag@
31710 maybe-all-stage2-libcpp: all-stage2-libcpp
31711 all-stage2-libcpp: configure-stage2-libcpp
31712 @$(MAKE) stage2-start
31713 @r=`${PWD_COMMAND}`; export r; \
31714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31715 $(STAGE_HOST_EXPORTS) \
31716 cd $(HOST_SUBDIR)/libcpp && \
31717 $(MAKE) $(FLAGS_TO_PASS) \
31718 $(POSTSTAGE1_FLAGS_TO_PASS) \
31721 maybe-clean-stage2-libcpp: clean-stage2-libcpp
31722 clean-stage2-libcpp:
31723 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
31724 || exit 0 ; \
31725 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
31726 cd $(HOST_SUBDIR)/libcpp && \
31727 $(MAKE) $(FLAGS_TO_PASS) \
31728 $(POSTSTAGE1_FLAGS_TO_PASS) \
31729 clean
31730 @endif libcpp-bootstrap
31733 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
31734 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
31735 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
31737 maybe-configure-stage2-libiberty:
31738 maybe-all-stage2-libiberty:
31739 maybe-clean-stage2-libiberty:
31741 @if libiberty-bootstrap
31742 maybe-configure-stage2-libiberty: configure-stage2-libiberty
31743 configure-stage2-libiberty:
31744 @$(MAKE) stage2-start
31745 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31746 r=`${PWD_COMMAND}`; export r; \
31747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31748 $(STAGE_HOST_EXPORTS) \
31749 echo Configuring stage 2 in libiberty ; \
31750 cd $(HOST_SUBDIR)/libiberty || exit 1; \
31751 case $(srcdir) in \
31752 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31753 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
31754 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31755 esac; \
31756 srcdiroption="--srcdir=$${topdir}/libiberty"; \
31757 libsrcdir="$$s/libiberty"; \
31758 $(SHELL) $${libsrcdir}/configure \
31759 $(HOST_CONFIGARGS) $${srcdiroption} \
31760 @stage2_werror_flag@
31762 maybe-all-stage2-libiberty: all-stage2-libiberty
31763 all-stage2-libiberty: configure-stage2-libiberty
31764 @$(MAKE) stage2-start
31765 @r=`${PWD_COMMAND}`; export r; \
31766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31767 $(STAGE_HOST_EXPORTS) \
31768 cd $(HOST_SUBDIR)/libiberty && \
31769 $(MAKE) $(FLAGS_TO_PASS) \
31770 $(POSTSTAGE1_FLAGS_TO_PASS) \
31773 maybe-clean-stage2-libiberty: clean-stage2-libiberty
31774 clean-stage2-libiberty:
31775 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
31776 || exit 0 ; \
31777 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
31778 cd $(HOST_SUBDIR)/libiberty && \
31779 $(MAKE) $(FLAGS_TO_PASS) \
31780 $(POSTSTAGE1_FLAGS_TO_PASS) \
31781 clean
31782 @endif libiberty-bootstrap
31785 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31786 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
31787 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
31789 maybe-configure-stage2-zlib:
31790 maybe-all-stage2-zlib:
31791 maybe-clean-stage2-zlib:
31793 @if zlib-bootstrap
31794 maybe-configure-stage2-zlib: configure-stage2-zlib
31795 configure-stage2-zlib:
31796 @$(MAKE) stage2-start
31797 @[ -f zlib/Makefile ] && exit 0 || : ; \
31798 r=`${PWD_COMMAND}`; export r; \
31799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31800 $(STAGE_HOST_EXPORTS) \
31801 echo Configuring stage 2 in zlib ; \
31802 cd $(HOST_SUBDIR)/zlib || exit 1; \
31803 case $(srcdir) in \
31804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31805 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31807 esac; \
31808 srcdiroption="--srcdir=$${topdir}/zlib"; \
31809 libsrcdir="$$s/zlib"; \
31810 $(SHELL) $${libsrcdir}/configure \
31811 $(HOST_CONFIGARGS) $${srcdiroption} \
31812 @stage2_werror_flag@
31814 maybe-all-stage2-zlib: all-stage2-zlib
31815 all-stage2-zlib: configure-stage2-zlib
31816 @$(MAKE) stage2-start
31817 @r=`${PWD_COMMAND}`; export r; \
31818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31819 $(STAGE_HOST_EXPORTS) \
31820 cd $(HOST_SUBDIR)/zlib && \
31821 $(MAKE) $(FLAGS_TO_PASS) \
31822 $(POSTSTAGE1_FLAGS_TO_PASS) \
31825 maybe-clean-stage2-zlib: clean-stage2-zlib
31826 clean-stage2-zlib:
31827 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
31828 || exit 0 ; \
31829 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
31830 cd $(HOST_SUBDIR)/zlib && \
31831 $(MAKE) $(FLAGS_TO_PASS) \
31832 $(POSTSTAGE1_FLAGS_TO_PASS) \
31833 clean
31834 @endif zlib-bootstrap
31838 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31839 # only possibility, but now it conflicts with no-bootstrap rules
31840 @if gcc-bootstrap
31844 .PHONY: bootstrap2
31845 bootstrap2: stage2-bubble all
31848 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31849 distclean-stage1:: distclean-stage2
31850 .PHONY: distclean-stage2
31851 distclean-stage2::
31852 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31853 rm -rf stage2-*
31856 @endif gcc-bootstrap
31859 .PHONY: stage3-start stage3-end
31861 stage3-start::
31862 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31863 echo stage3 > stage_current ; \
31864 echo stage3 > stage_last; \
31865 $(mkinstalldirs) $(HOST_SUBDIR)
31866 @if bfd
31867 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
31868 mkdir stage3-bfd; \
31869 set stage3-bfd bfd ; \
31870 @CREATE_LINK_TO_DIR@ ; \
31871 set stage2-bfd prev-bfd ; \
31872 @CREATE_LINK_TO_DIR@
31873 @endif bfd
31874 @if opcodes
31875 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
31876 mkdir stage3-opcodes; \
31877 set stage3-opcodes opcodes ; \
31878 @CREATE_LINK_TO_DIR@ ; \
31879 set stage2-opcodes prev-opcodes ; \
31880 @CREATE_LINK_TO_DIR@
31881 @endif opcodes
31882 @if binutils
31883 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
31884 mkdir stage3-binutils; \
31885 set stage3-binutils binutils ; \
31886 @CREATE_LINK_TO_DIR@ ; \
31887 set stage2-binutils prev-binutils ; \
31888 @CREATE_LINK_TO_DIR@
31889 @endif binutils
31890 @if gas
31891 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
31892 mkdir stage3-gas; \
31893 set stage3-gas gas ; \
31894 @CREATE_LINK_TO_DIR@ ; \
31895 set stage2-gas prev-gas ; \
31896 @CREATE_LINK_TO_DIR@
31897 @endif gas
31898 @if gcc
31899 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
31900 mkdir stage3-gcc; \
31901 set stage3-gcc gcc ; \
31902 @CREATE_LINK_TO_DIR@ ; \
31903 set stage2-gcc prev-gcc ; \
31904 @CREATE_LINK_TO_DIR@
31905 @endif gcc
31906 @if intl
31907 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
31908 mkdir stage3-intl; \
31909 set stage3-intl intl ; \
31910 @CREATE_LINK_TO_DIR@ ; \
31911 set stage2-intl prev-intl ; \
31912 @CREATE_LINK_TO_DIR@
31913 @endif intl
31914 @if ld
31915 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
31916 mkdir stage3-ld; \
31917 set stage3-ld ld ; \
31918 @CREATE_LINK_TO_DIR@ ; \
31919 set stage2-ld prev-ld ; \
31920 @CREATE_LINK_TO_DIR@
31921 @endif ld
31922 @if libcpp
31923 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
31924 mkdir stage3-libcpp; \
31925 set stage3-libcpp libcpp ; \
31926 @CREATE_LINK_TO_DIR@ ; \
31927 set stage2-libcpp prev-libcpp ; \
31928 @CREATE_LINK_TO_DIR@
31929 @endif libcpp
31930 @if libiberty
31931 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
31932 mkdir stage3-libiberty; \
31933 set stage3-libiberty libiberty ; \
31934 @CREATE_LINK_TO_DIR@ ; \
31935 set stage2-libiberty prev-libiberty ; \
31936 @CREATE_LINK_TO_DIR@
31937 @endif libiberty
31938 @if zlib
31939 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
31940 mkdir stage3-zlib; \
31941 set stage3-zlib zlib ; \
31942 @CREATE_LINK_TO_DIR@ ; \
31943 set stage2-zlib prev-zlib ; \
31944 @CREATE_LINK_TO_DIR@
31945 @endif zlib
31947 stage3-end::
31948 @rm -f stage_current
31949 @if bfd
31950 @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
31951 @UNDO_LINK_TO_DIR@ ; \
31952 set prev-bfd stage2-bfd ; \
31953 @UNDO_LINK_TO_DIR@
31954 @endif bfd
31955 @if opcodes
31956 @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
31957 @UNDO_LINK_TO_DIR@ ; \
31958 set prev-opcodes stage2-opcodes ; \
31959 @UNDO_LINK_TO_DIR@
31960 @endif opcodes
31961 @if binutils
31962 @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
31963 @UNDO_LINK_TO_DIR@ ; \
31964 set prev-binutils stage2-binutils ; \
31965 @UNDO_LINK_TO_DIR@
31966 @endif binutils
31967 @if gas
31968 @cd $(HOST_SUBDIR); set gas stage3-gas ; \
31969 @UNDO_LINK_TO_DIR@ ; \
31970 set prev-gas stage2-gas ; \
31971 @UNDO_LINK_TO_DIR@
31972 @endif gas
31973 @if gcc
31974 @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
31975 @UNDO_LINK_TO_DIR@ ; \
31976 set prev-gcc stage2-gcc ; \
31977 @UNDO_LINK_TO_DIR@
31978 @endif gcc
31979 @if intl
31980 @cd $(HOST_SUBDIR); set intl stage3-intl ; \
31981 @UNDO_LINK_TO_DIR@ ; \
31982 set prev-intl stage2-intl ; \
31983 @UNDO_LINK_TO_DIR@
31984 @endif intl
31985 @if ld
31986 @cd $(HOST_SUBDIR); set ld stage3-ld ; \
31987 @UNDO_LINK_TO_DIR@ ; \
31988 set prev-ld stage2-ld ; \
31989 @UNDO_LINK_TO_DIR@
31990 @endif ld
31991 @if libcpp
31992 @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
31993 @UNDO_LINK_TO_DIR@ ; \
31994 set prev-libcpp stage2-libcpp ; \
31995 @UNDO_LINK_TO_DIR@
31996 @endif libcpp
31997 @if libiberty
31998 @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
31999 @UNDO_LINK_TO_DIR@ ; \
32000 set prev-libiberty stage2-libiberty ; \
32001 @UNDO_LINK_TO_DIR@
32002 @endif libiberty
32003 @if zlib
32004 @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
32005 @UNDO_LINK_TO_DIR@ ; \
32006 set prev-zlib stage2-zlib ; \
32007 @UNDO_LINK_TO_DIR@
32008 @endif zlib
32010 # Bubble a bugfix through all the stages up to stage 3. They
32011 # are remade, but not reconfigured. The next stage (if any) will not
32012 # be reconfigured as well.
32013 .PHONY: stage3-bubble
32014 stage3-bubble:: stage2-bubble
32015 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
32016 @if test -f stage3-lean || test -f stage2-lean ; then \
32017 echo Skipping rebuild of stage3 ; \
32018 else \
32019 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
32022 .PHONY: all-stage3 clean-stage3
32023 all-stage3: \
32024 maybe-all-stage3-bfd \
32025 maybe-all-stage3-opcodes \
32026 maybe-all-stage3-binutils \
32027 maybe-all-stage3-gas \
32028 maybe-all-stage3-gcc \
32029 maybe-all-stage3-intl \
32030 maybe-all-stage3-ld \
32031 maybe-all-stage3-libcpp \
32032 maybe-all-stage3-libiberty \
32033 maybe-all-stage3-zlib
32035 do-clean: clean-stage3
32036 clean-stage3: \
32037 maybe-clean-stage3-bfd \
32038 maybe-clean-stage3-opcodes \
32039 maybe-clean-stage3-binutils \
32040 maybe-clean-stage3-gas \
32041 maybe-clean-stage3-gcc \
32042 maybe-clean-stage3-intl \
32043 maybe-clean-stage3-ld \
32044 maybe-clean-stage3-libcpp \
32045 maybe-clean-stage3-libiberty \
32046 maybe-clean-stage3-zlib
32049 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
32050 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
32051 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
32053 maybe-configure-stage3-bfd:
32054 maybe-all-stage3-bfd:
32055 maybe-clean-stage3-bfd:
32057 @if bfd-bootstrap
32058 maybe-configure-stage3-bfd: configure-stage3-bfd
32059 configure-stage3-bfd:
32060 @$(MAKE) stage3-start
32061 @[ -f bfd/Makefile ] && exit 0 || : ; \
32062 r=`${PWD_COMMAND}`; export r; \
32063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32064 $(STAGE_HOST_EXPORTS) \
32065 echo Configuring stage 3 in bfd ; \
32066 cd $(HOST_SUBDIR)/bfd || exit 1; \
32067 case $(srcdir) in \
32068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32069 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
32070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32071 esac; \
32072 srcdiroption="--srcdir=$${topdir}/bfd"; \
32073 libsrcdir="$$s/bfd"; \
32074 $(SHELL) $${libsrcdir}/configure \
32075 $(HOST_CONFIGARGS) $${srcdiroption} \
32076 @stage2_werror_flag@
32078 maybe-all-stage3-bfd: all-stage3-bfd
32079 all-stage3-bfd: configure-stage3-bfd
32080 @$(MAKE) stage3-start
32081 @r=`${PWD_COMMAND}`; export r; \
32082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32083 $(STAGE_HOST_EXPORTS) \
32084 cd $(HOST_SUBDIR)/bfd && \
32085 $(MAKE) $(FLAGS_TO_PASS) \
32086 $(POSTSTAGE1_FLAGS_TO_PASS) \
32089 maybe-clean-stage3-bfd: clean-stage3-bfd
32090 clean-stage3-bfd:
32091 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
32092 || exit 0 ; \
32093 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
32094 cd $(HOST_SUBDIR)/bfd && \
32095 $(MAKE) $(FLAGS_TO_PASS) \
32096 $(POSTSTAGE1_FLAGS_TO_PASS) \
32097 clean
32098 @endif bfd-bootstrap
32101 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
32102 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
32103 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
32105 maybe-configure-stage3-opcodes:
32106 maybe-all-stage3-opcodes:
32107 maybe-clean-stage3-opcodes:
32109 @if opcodes-bootstrap
32110 maybe-configure-stage3-opcodes: configure-stage3-opcodes
32111 configure-stage3-opcodes:
32112 @$(MAKE) stage3-start
32113 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32114 r=`${PWD_COMMAND}`; export r; \
32115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32116 $(STAGE_HOST_EXPORTS) \
32117 echo Configuring stage 3 in opcodes ; \
32118 cd $(HOST_SUBDIR)/opcodes || exit 1; \
32119 case $(srcdir) in \
32120 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32121 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
32122 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32123 esac; \
32124 srcdiroption="--srcdir=$${topdir}/opcodes"; \
32125 libsrcdir="$$s/opcodes"; \
32126 $(SHELL) $${libsrcdir}/configure \
32127 $(HOST_CONFIGARGS) $${srcdiroption} \
32128 @stage2_werror_flag@
32130 maybe-all-stage3-opcodes: all-stage3-opcodes
32131 all-stage3-opcodes: configure-stage3-opcodes
32132 @$(MAKE) stage3-start
32133 @r=`${PWD_COMMAND}`; export r; \
32134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32135 $(STAGE_HOST_EXPORTS) \
32136 cd $(HOST_SUBDIR)/opcodes && \
32137 $(MAKE) $(FLAGS_TO_PASS) \
32138 $(POSTSTAGE1_FLAGS_TO_PASS) \
32141 maybe-clean-stage3-opcodes: clean-stage3-opcodes
32142 clean-stage3-opcodes:
32143 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
32144 || exit 0 ; \
32145 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
32146 cd $(HOST_SUBDIR)/opcodes && \
32147 $(MAKE) $(FLAGS_TO_PASS) \
32148 $(POSTSTAGE1_FLAGS_TO_PASS) \
32149 clean
32150 @endif opcodes-bootstrap
32153 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
32154 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
32155 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
32157 maybe-configure-stage3-binutils:
32158 maybe-all-stage3-binutils:
32159 maybe-clean-stage3-binutils:
32161 @if binutils-bootstrap
32162 maybe-configure-stage3-binutils: configure-stage3-binutils
32163 configure-stage3-binutils:
32164 @$(MAKE) stage3-start
32165 @[ -f binutils/Makefile ] && exit 0 || : ; \
32166 r=`${PWD_COMMAND}`; export r; \
32167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32168 $(STAGE_HOST_EXPORTS) \
32169 echo Configuring stage 3 in binutils ; \
32170 cd $(HOST_SUBDIR)/binutils || exit 1; \
32171 case $(srcdir) in \
32172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32173 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
32174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32175 esac; \
32176 srcdiroption="--srcdir=$${topdir}/binutils"; \
32177 libsrcdir="$$s/binutils"; \
32178 $(SHELL) $${libsrcdir}/configure \
32179 $(HOST_CONFIGARGS) $${srcdiroption} \
32180 @stage2_werror_flag@
32182 maybe-all-stage3-binutils: all-stage3-binutils
32183 all-stage3-binutils: configure-stage3-binutils
32184 @$(MAKE) stage3-start
32185 @r=`${PWD_COMMAND}`; export r; \
32186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32187 $(STAGE_HOST_EXPORTS) \
32188 cd $(HOST_SUBDIR)/binutils && \
32189 $(MAKE) $(FLAGS_TO_PASS) \
32190 $(POSTSTAGE1_FLAGS_TO_PASS) \
32193 maybe-clean-stage3-binutils: clean-stage3-binutils
32194 clean-stage3-binutils:
32195 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
32196 || exit 0 ; \
32197 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
32198 cd $(HOST_SUBDIR)/binutils && \
32199 $(MAKE) $(FLAGS_TO_PASS) \
32200 $(POSTSTAGE1_FLAGS_TO_PASS) \
32201 clean
32202 @endif binutils-bootstrap
32205 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
32206 .PHONY: all-stage3-gas maybe-all-stage3-gas
32207 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
32209 maybe-configure-stage3-gas:
32210 maybe-all-stage3-gas:
32211 maybe-clean-stage3-gas:
32213 @if gas-bootstrap
32214 maybe-configure-stage3-gas: configure-stage3-gas
32215 configure-stage3-gas:
32216 @$(MAKE) stage3-start
32217 @[ -f gas/Makefile ] && exit 0 || : ; \
32218 r=`${PWD_COMMAND}`; export r; \
32219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32220 $(STAGE_HOST_EXPORTS) \
32221 echo Configuring stage 3 in gas ; \
32222 cd $(HOST_SUBDIR)/gas || exit 1; \
32223 case $(srcdir) in \
32224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32225 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
32226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32227 esac; \
32228 srcdiroption="--srcdir=$${topdir}/gas"; \
32229 libsrcdir="$$s/gas"; \
32230 $(SHELL) $${libsrcdir}/configure \
32231 $(HOST_CONFIGARGS) $${srcdiroption} \
32232 @stage2_werror_flag@
32234 maybe-all-stage3-gas: all-stage3-gas
32235 all-stage3-gas: configure-stage3-gas
32236 @$(MAKE) stage3-start
32237 @r=`${PWD_COMMAND}`; export r; \
32238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32239 $(STAGE_HOST_EXPORTS) \
32240 cd $(HOST_SUBDIR)/gas && \
32241 $(MAKE) $(FLAGS_TO_PASS) \
32242 $(POSTSTAGE1_FLAGS_TO_PASS) \
32245 maybe-clean-stage3-gas: clean-stage3-gas
32246 clean-stage3-gas:
32247 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
32248 || exit 0 ; \
32249 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
32250 cd $(HOST_SUBDIR)/gas && \
32251 $(MAKE) $(FLAGS_TO_PASS) \
32252 $(POSTSTAGE1_FLAGS_TO_PASS) \
32253 clean
32254 @endif gas-bootstrap
32257 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
32258 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
32259 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
32261 maybe-configure-stage3-gcc:
32262 maybe-all-stage3-gcc:
32263 maybe-clean-stage3-gcc:
32265 @if gcc-bootstrap
32266 maybe-configure-stage3-gcc: configure-stage3-gcc
32267 configure-stage3-gcc:
32268 @$(MAKE) stage3-start
32269 @[ -f gcc/Makefile ] && exit 0 || : ; \
32270 r=`${PWD_COMMAND}`; export r; \
32271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32272 $(STAGE_HOST_EXPORTS) \
32273 echo Configuring stage 3 in gcc ; \
32274 cd $(HOST_SUBDIR)/gcc || exit 1; \
32275 case $(srcdir) in \
32276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32277 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
32278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32279 esac; \
32280 srcdiroption="--srcdir=$${topdir}/gcc"; \
32281 libsrcdir="$$s/gcc"; \
32282 $(SHELL) $${libsrcdir}/configure \
32283 $(HOST_CONFIGARGS) $${srcdiroption} \
32284 @stage2_werror_flag@
32286 maybe-all-stage3-gcc: all-stage3-gcc
32287 all-stage3-gcc: configure-stage3-gcc
32288 @$(MAKE) stage3-start
32289 @r=`${PWD_COMMAND}`; export r; \
32290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32291 $(STAGE_HOST_EXPORTS) \
32292 cd $(HOST_SUBDIR)/gcc && \
32293 $(MAKE) $(FLAGS_TO_PASS) \
32294 $(POSTSTAGE1_FLAGS_TO_PASS) \
32295 $(EXTRA_GCC_FLAGS)
32297 maybe-clean-stage3-gcc: clean-stage3-gcc
32298 clean-stage3-gcc:
32299 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
32300 || exit 0 ; \
32301 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
32302 cd $(HOST_SUBDIR)/gcc && \
32303 $(MAKE) $(FLAGS_TO_PASS) \
32304 $(POSTSTAGE1_FLAGS_TO_PASS) \
32305 $(EXTRA_GCC_FLAGS) clean
32306 @endif gcc-bootstrap
32309 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
32310 .PHONY: all-stage3-intl maybe-all-stage3-intl
32311 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
32313 maybe-configure-stage3-intl:
32314 maybe-all-stage3-intl:
32315 maybe-clean-stage3-intl:
32317 @if intl-bootstrap
32318 maybe-configure-stage3-intl: configure-stage3-intl
32319 configure-stage3-intl:
32320 @$(MAKE) stage3-start
32321 @[ -f intl/Makefile ] && exit 0 || : ; \
32322 r=`${PWD_COMMAND}`; export r; \
32323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32324 $(STAGE_HOST_EXPORTS) \
32325 echo Configuring stage 3 in intl ; \
32326 cd $(HOST_SUBDIR)/intl || exit 1; \
32327 case $(srcdir) in \
32328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32329 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
32330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32331 esac; \
32332 srcdiroption="--srcdir=$${topdir}/intl"; \
32333 libsrcdir="$$s/intl"; \
32334 $(SHELL) $${libsrcdir}/configure \
32335 $(HOST_CONFIGARGS) $${srcdiroption} \
32336 @stage2_werror_flag@
32338 maybe-all-stage3-intl: all-stage3-intl
32339 all-stage3-intl: configure-stage3-intl
32340 @$(MAKE) stage3-start
32341 @r=`${PWD_COMMAND}`; export r; \
32342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32343 $(STAGE_HOST_EXPORTS) \
32344 cd $(HOST_SUBDIR)/intl && \
32345 $(MAKE) $(FLAGS_TO_PASS) \
32346 $(POSTSTAGE1_FLAGS_TO_PASS) \
32349 maybe-clean-stage3-intl: clean-stage3-intl
32350 clean-stage3-intl:
32351 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
32352 || exit 0 ; \
32353 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
32354 cd $(HOST_SUBDIR)/intl && \
32355 $(MAKE) $(FLAGS_TO_PASS) \
32356 $(POSTSTAGE1_FLAGS_TO_PASS) \
32357 clean
32358 @endif intl-bootstrap
32361 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
32362 .PHONY: all-stage3-ld maybe-all-stage3-ld
32363 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
32365 maybe-configure-stage3-ld:
32366 maybe-all-stage3-ld:
32367 maybe-clean-stage3-ld:
32369 @if ld-bootstrap
32370 maybe-configure-stage3-ld: configure-stage3-ld
32371 configure-stage3-ld:
32372 @$(MAKE) stage3-start
32373 @[ -f ld/Makefile ] && exit 0 || : ; \
32374 r=`${PWD_COMMAND}`; export r; \
32375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32376 $(STAGE_HOST_EXPORTS) \
32377 echo Configuring stage 3 in ld ; \
32378 cd $(HOST_SUBDIR)/ld || exit 1; \
32379 case $(srcdir) in \
32380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32381 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
32382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32383 esac; \
32384 srcdiroption="--srcdir=$${topdir}/ld"; \
32385 libsrcdir="$$s/ld"; \
32386 $(SHELL) $${libsrcdir}/configure \
32387 $(HOST_CONFIGARGS) $${srcdiroption} \
32388 @stage2_werror_flag@
32390 maybe-all-stage3-ld: all-stage3-ld
32391 all-stage3-ld: configure-stage3-ld
32392 @$(MAKE) stage3-start
32393 @r=`${PWD_COMMAND}`; export r; \
32394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32395 $(STAGE_HOST_EXPORTS) \
32396 cd $(HOST_SUBDIR)/ld && \
32397 $(MAKE) $(FLAGS_TO_PASS) \
32398 $(POSTSTAGE1_FLAGS_TO_PASS) \
32401 maybe-clean-stage3-ld: clean-stage3-ld
32402 clean-stage3-ld:
32403 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
32404 || exit 0 ; \
32405 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
32406 cd $(HOST_SUBDIR)/ld && \
32407 $(MAKE) $(FLAGS_TO_PASS) \
32408 $(POSTSTAGE1_FLAGS_TO_PASS) \
32409 clean
32410 @endif ld-bootstrap
32413 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
32414 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
32415 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
32417 maybe-configure-stage3-libcpp:
32418 maybe-all-stage3-libcpp:
32419 maybe-clean-stage3-libcpp:
32421 @if libcpp-bootstrap
32422 maybe-configure-stage3-libcpp: configure-stage3-libcpp
32423 configure-stage3-libcpp:
32424 @$(MAKE) stage3-start
32425 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32426 r=`${PWD_COMMAND}`; export r; \
32427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32428 $(STAGE_HOST_EXPORTS) \
32429 echo Configuring stage 3 in libcpp ; \
32430 cd $(HOST_SUBDIR)/libcpp || exit 1; \
32431 case $(srcdir) in \
32432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32433 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
32434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32435 esac; \
32436 srcdiroption="--srcdir=$${topdir}/libcpp"; \
32437 libsrcdir="$$s/libcpp"; \
32438 $(SHELL) $${libsrcdir}/configure \
32439 $(HOST_CONFIGARGS) $${srcdiroption} \
32440 @stage2_werror_flag@
32442 maybe-all-stage3-libcpp: all-stage3-libcpp
32443 all-stage3-libcpp: configure-stage3-libcpp
32444 @$(MAKE) stage3-start
32445 @r=`${PWD_COMMAND}`; export r; \
32446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32447 $(STAGE_HOST_EXPORTS) \
32448 cd $(HOST_SUBDIR)/libcpp && \
32449 $(MAKE) $(FLAGS_TO_PASS) \
32450 $(POSTSTAGE1_FLAGS_TO_PASS) \
32453 maybe-clean-stage3-libcpp: clean-stage3-libcpp
32454 clean-stage3-libcpp:
32455 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
32456 || exit 0 ; \
32457 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
32458 cd $(HOST_SUBDIR)/libcpp && \
32459 $(MAKE) $(FLAGS_TO_PASS) \
32460 $(POSTSTAGE1_FLAGS_TO_PASS) \
32461 clean
32462 @endif libcpp-bootstrap
32465 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
32466 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
32467 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
32469 maybe-configure-stage3-libiberty:
32470 maybe-all-stage3-libiberty:
32471 maybe-clean-stage3-libiberty:
32473 @if libiberty-bootstrap
32474 maybe-configure-stage3-libiberty: configure-stage3-libiberty
32475 configure-stage3-libiberty:
32476 @$(MAKE) stage3-start
32477 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32478 r=`${PWD_COMMAND}`; export r; \
32479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32480 $(STAGE_HOST_EXPORTS) \
32481 echo Configuring stage 3 in libiberty ; \
32482 cd $(HOST_SUBDIR)/libiberty || exit 1; \
32483 case $(srcdir) in \
32484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32485 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
32486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32487 esac; \
32488 srcdiroption="--srcdir=$${topdir}/libiberty"; \
32489 libsrcdir="$$s/libiberty"; \
32490 $(SHELL) $${libsrcdir}/configure \
32491 $(HOST_CONFIGARGS) $${srcdiroption} \
32492 @stage2_werror_flag@
32494 maybe-all-stage3-libiberty: all-stage3-libiberty
32495 all-stage3-libiberty: configure-stage3-libiberty
32496 @$(MAKE) stage3-start
32497 @r=`${PWD_COMMAND}`; export r; \
32498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32499 $(STAGE_HOST_EXPORTS) \
32500 cd $(HOST_SUBDIR)/libiberty && \
32501 $(MAKE) $(FLAGS_TO_PASS) \
32502 $(POSTSTAGE1_FLAGS_TO_PASS) \
32505 maybe-clean-stage3-libiberty: clean-stage3-libiberty
32506 clean-stage3-libiberty:
32507 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
32508 || exit 0 ; \
32509 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
32510 cd $(HOST_SUBDIR)/libiberty && \
32511 $(MAKE) $(FLAGS_TO_PASS) \
32512 $(POSTSTAGE1_FLAGS_TO_PASS) \
32513 clean
32514 @endif libiberty-bootstrap
32517 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
32518 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32519 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32521 maybe-configure-stage3-zlib:
32522 maybe-all-stage3-zlib:
32523 maybe-clean-stage3-zlib:
32525 @if zlib-bootstrap
32526 maybe-configure-stage3-zlib: configure-stage3-zlib
32527 configure-stage3-zlib:
32528 @$(MAKE) stage3-start
32529 @[ -f zlib/Makefile ] && exit 0 || : ; \
32530 r=`${PWD_COMMAND}`; export r; \
32531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32532 $(STAGE_HOST_EXPORTS) \
32533 echo Configuring stage 3 in zlib ; \
32534 cd $(HOST_SUBDIR)/zlib || exit 1; \
32535 case $(srcdir) in \
32536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32537 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32539 esac; \
32540 srcdiroption="--srcdir=$${topdir}/zlib"; \
32541 libsrcdir="$$s/zlib"; \
32542 $(SHELL) $${libsrcdir}/configure \
32543 $(HOST_CONFIGARGS) $${srcdiroption} \
32544 @stage2_werror_flag@
32546 maybe-all-stage3-zlib: all-stage3-zlib
32547 all-stage3-zlib: configure-stage3-zlib
32548 @$(MAKE) stage3-start
32549 @r=`${PWD_COMMAND}`; export r; \
32550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32551 $(STAGE_HOST_EXPORTS) \
32552 cd $(HOST_SUBDIR)/zlib && \
32553 $(MAKE) $(FLAGS_TO_PASS) \
32554 $(POSTSTAGE1_FLAGS_TO_PASS) \
32557 maybe-clean-stage3-zlib: clean-stage3-zlib
32558 clean-stage3-zlib:
32559 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
32560 || exit 0 ; \
32561 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
32562 cd $(HOST_SUBDIR)/zlib && \
32563 $(MAKE) $(FLAGS_TO_PASS) \
32564 $(POSTSTAGE1_FLAGS_TO_PASS) \
32565 clean
32566 @endif zlib-bootstrap
32570 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32571 # only possibility, but now it conflicts with no-bootstrap rules
32572 @if gcc-bootstrap
32574 compare:
32575 @if test -f stage2-lean; then \
32576 echo Cannot compare object files as stage 2 was deleted. ; \
32577 exit 0 ; \
32578 fi; \
32579 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32580 @r=`${PWD_COMMAND}`; export r; \
32581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32582 rm -f .bad_compare ; \
32583 cd stage3-gcc; \
32584 files=`find . -name "*$(objext)" -print` ; \
32585 cd .. ; \
32586 for file in $${files} ; do \
32587 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
32588 @do_compare@ > /dev/null 2>&1; \
32589 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
32590 done ; \
32591 if [ -f .bad_compare ]; then \
32592 echo "Bootstrap comparison failure!"; \
32593 cat .bad_compare; \
32594 exit 1; \
32595 else \
32596 true; \
32597 fi ; \
32598 $(STAMP) compare
32599 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32603 .PHONY: bootstrap
32604 bootstrap: stage3-bubble compare all
32607 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32608 distclean-stage2:: distclean-stage3
32609 .PHONY: distclean-stage3
32610 distclean-stage3::
32611 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32612 rm -rf stage3-* compare
32615 .PHONY: cleanstrap
32616 cleanstrap: distclean bootstrap
32618 @endif gcc-bootstrap
32621 .PHONY: stage4-start stage4-end
32623 stage4-start::
32624 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32625 echo stage4 > stage_current ; \
32626 echo stage4 > stage_last; \
32627 $(mkinstalldirs) $(HOST_SUBDIR)
32628 @if bfd
32629 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
32630 mkdir stage4-bfd; \
32631 set stage4-bfd bfd ; \
32632 @CREATE_LINK_TO_DIR@ ; \
32633 set stage3-bfd prev-bfd ; \
32634 @CREATE_LINK_TO_DIR@
32635 @endif bfd
32636 @if opcodes
32637 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
32638 mkdir stage4-opcodes; \
32639 set stage4-opcodes opcodes ; \
32640 @CREATE_LINK_TO_DIR@ ; \
32641 set stage3-opcodes prev-opcodes ; \
32642 @CREATE_LINK_TO_DIR@
32643 @endif opcodes
32644 @if binutils
32645 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
32646 mkdir stage4-binutils; \
32647 set stage4-binutils binutils ; \
32648 @CREATE_LINK_TO_DIR@ ; \
32649 set stage3-binutils prev-binutils ; \
32650 @CREATE_LINK_TO_DIR@
32651 @endif binutils
32652 @if gas
32653 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
32654 mkdir stage4-gas; \
32655 set stage4-gas gas ; \
32656 @CREATE_LINK_TO_DIR@ ; \
32657 set stage3-gas prev-gas ; \
32658 @CREATE_LINK_TO_DIR@
32659 @endif gas
32660 @if gcc
32661 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
32662 mkdir stage4-gcc; \
32663 set stage4-gcc gcc ; \
32664 @CREATE_LINK_TO_DIR@ ; \
32665 set stage3-gcc prev-gcc ; \
32666 @CREATE_LINK_TO_DIR@
32667 @endif gcc
32668 @if intl
32669 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
32670 mkdir stage4-intl; \
32671 set stage4-intl intl ; \
32672 @CREATE_LINK_TO_DIR@ ; \
32673 set stage3-intl prev-intl ; \
32674 @CREATE_LINK_TO_DIR@
32675 @endif intl
32676 @if ld
32677 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
32678 mkdir stage4-ld; \
32679 set stage4-ld ld ; \
32680 @CREATE_LINK_TO_DIR@ ; \
32681 set stage3-ld prev-ld ; \
32682 @CREATE_LINK_TO_DIR@
32683 @endif ld
32684 @if libcpp
32685 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
32686 mkdir stage4-libcpp; \
32687 set stage4-libcpp libcpp ; \
32688 @CREATE_LINK_TO_DIR@ ; \
32689 set stage3-libcpp prev-libcpp ; \
32690 @CREATE_LINK_TO_DIR@
32691 @endif libcpp
32692 @if libiberty
32693 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
32694 mkdir stage4-libiberty; \
32695 set stage4-libiberty libiberty ; \
32696 @CREATE_LINK_TO_DIR@ ; \
32697 set stage3-libiberty prev-libiberty ; \
32698 @CREATE_LINK_TO_DIR@
32699 @endif libiberty
32700 @if zlib
32701 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
32702 mkdir stage4-zlib; \
32703 set stage4-zlib zlib ; \
32704 @CREATE_LINK_TO_DIR@ ; \
32705 set stage3-zlib prev-zlib ; \
32706 @CREATE_LINK_TO_DIR@
32707 @endif zlib
32709 stage4-end::
32710 @rm -f stage_current
32711 @if bfd
32712 @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
32713 @UNDO_LINK_TO_DIR@ ; \
32714 set prev-bfd stage3-bfd ; \
32715 @UNDO_LINK_TO_DIR@
32716 @endif bfd
32717 @if opcodes
32718 @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
32719 @UNDO_LINK_TO_DIR@ ; \
32720 set prev-opcodes stage3-opcodes ; \
32721 @UNDO_LINK_TO_DIR@
32722 @endif opcodes
32723 @if binutils
32724 @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
32725 @UNDO_LINK_TO_DIR@ ; \
32726 set prev-binutils stage3-binutils ; \
32727 @UNDO_LINK_TO_DIR@
32728 @endif binutils
32729 @if gas
32730 @cd $(HOST_SUBDIR); set gas stage4-gas ; \
32731 @UNDO_LINK_TO_DIR@ ; \
32732 set prev-gas stage3-gas ; \
32733 @UNDO_LINK_TO_DIR@
32734 @endif gas
32735 @if gcc
32736 @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
32737 @UNDO_LINK_TO_DIR@ ; \
32738 set prev-gcc stage3-gcc ; \
32739 @UNDO_LINK_TO_DIR@
32740 @endif gcc
32741 @if intl
32742 @cd $(HOST_SUBDIR); set intl stage4-intl ; \
32743 @UNDO_LINK_TO_DIR@ ; \
32744 set prev-intl stage3-intl ; \
32745 @UNDO_LINK_TO_DIR@
32746 @endif intl
32747 @if ld
32748 @cd $(HOST_SUBDIR); set ld stage4-ld ; \
32749 @UNDO_LINK_TO_DIR@ ; \
32750 set prev-ld stage3-ld ; \
32751 @UNDO_LINK_TO_DIR@
32752 @endif ld
32753 @if libcpp
32754 @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
32755 @UNDO_LINK_TO_DIR@ ; \
32756 set prev-libcpp stage3-libcpp ; \
32757 @UNDO_LINK_TO_DIR@
32758 @endif libcpp
32759 @if libiberty
32760 @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
32761 @UNDO_LINK_TO_DIR@ ; \
32762 set prev-libiberty stage3-libiberty ; \
32763 @UNDO_LINK_TO_DIR@
32764 @endif libiberty
32765 @if zlib
32766 @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
32767 @UNDO_LINK_TO_DIR@ ; \
32768 set prev-zlib stage3-zlib ; \
32769 @UNDO_LINK_TO_DIR@
32770 @endif zlib
32772 # Bubble a bugfix through all the stages up to stage 4. They
32773 # are remade, but not reconfigured. The next stage (if any) will not
32774 # be reconfigured as well.
32775 .PHONY: stage4-bubble
32776 stage4-bubble:: stage3-bubble
32777 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32778 @if test -f stage4-lean || test -f stage3-lean ; then \
32779 echo Skipping rebuild of stage4 ; \
32780 else \
32781 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
32784 .PHONY: all-stage4 clean-stage4
32785 all-stage4: \
32786 maybe-all-stage4-bfd \
32787 maybe-all-stage4-opcodes \
32788 maybe-all-stage4-binutils \
32789 maybe-all-stage4-gas \
32790 maybe-all-stage4-gcc \
32791 maybe-all-stage4-intl \
32792 maybe-all-stage4-ld \
32793 maybe-all-stage4-libcpp \
32794 maybe-all-stage4-libiberty \
32795 maybe-all-stage4-zlib
32797 do-clean: clean-stage4
32798 clean-stage4: \
32799 maybe-clean-stage4-bfd \
32800 maybe-clean-stage4-opcodes \
32801 maybe-clean-stage4-binutils \
32802 maybe-clean-stage4-gas \
32803 maybe-clean-stage4-gcc \
32804 maybe-clean-stage4-intl \
32805 maybe-clean-stage4-ld \
32806 maybe-clean-stage4-libcpp \
32807 maybe-clean-stage4-libiberty \
32808 maybe-clean-stage4-zlib
32811 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
32812 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
32813 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
32815 maybe-configure-stage4-bfd:
32816 maybe-all-stage4-bfd:
32817 maybe-clean-stage4-bfd:
32819 @if bfd-bootstrap
32820 maybe-configure-stage4-bfd: configure-stage4-bfd
32821 configure-stage4-bfd:
32822 @$(MAKE) stage4-start
32823 @[ -f bfd/Makefile ] && exit 0 || : ; \
32824 r=`${PWD_COMMAND}`; export r; \
32825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32826 $(STAGE_HOST_EXPORTS) \
32827 echo Configuring stage 4 in bfd ; \
32828 cd $(HOST_SUBDIR)/bfd || exit 1; \
32829 case $(srcdir) in \
32830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32831 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
32832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32833 esac; \
32834 srcdiroption="--srcdir=$${topdir}/bfd"; \
32835 libsrcdir="$$s/bfd"; \
32836 $(SHELL) $${libsrcdir}/configure \
32837 $(HOST_CONFIGARGS) $${srcdiroption} \
32838 @stage2_werror_flag@
32840 maybe-all-stage4-bfd: all-stage4-bfd
32841 all-stage4-bfd: configure-stage4-bfd
32842 @$(MAKE) stage4-start
32843 @r=`${PWD_COMMAND}`; export r; \
32844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32845 $(STAGE_HOST_EXPORTS) \
32846 cd $(HOST_SUBDIR)/bfd && \
32847 $(MAKE) $(FLAGS_TO_PASS) \
32848 $(POSTSTAGE1_FLAGS_TO_PASS) \
32851 maybe-clean-stage4-bfd: clean-stage4-bfd
32852 clean-stage4-bfd:
32853 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
32854 || exit 0 ; \
32855 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
32856 cd $(HOST_SUBDIR)/bfd && \
32857 $(MAKE) $(FLAGS_TO_PASS) \
32858 $(POSTSTAGE1_FLAGS_TO_PASS) \
32859 clean
32860 @endif bfd-bootstrap
32863 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
32864 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
32865 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
32867 maybe-configure-stage4-opcodes:
32868 maybe-all-stage4-opcodes:
32869 maybe-clean-stage4-opcodes:
32871 @if opcodes-bootstrap
32872 maybe-configure-stage4-opcodes: configure-stage4-opcodes
32873 configure-stage4-opcodes:
32874 @$(MAKE) stage4-start
32875 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32876 r=`${PWD_COMMAND}`; export r; \
32877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32878 $(STAGE_HOST_EXPORTS) \
32879 echo Configuring stage 4 in opcodes ; \
32880 cd $(HOST_SUBDIR)/opcodes || exit 1; \
32881 case $(srcdir) in \
32882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32883 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
32884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32885 esac; \
32886 srcdiroption="--srcdir=$${topdir}/opcodes"; \
32887 libsrcdir="$$s/opcodes"; \
32888 $(SHELL) $${libsrcdir}/configure \
32889 $(HOST_CONFIGARGS) $${srcdiroption} \
32890 @stage2_werror_flag@
32892 maybe-all-stage4-opcodes: all-stage4-opcodes
32893 all-stage4-opcodes: configure-stage4-opcodes
32894 @$(MAKE) stage4-start
32895 @r=`${PWD_COMMAND}`; export r; \
32896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32897 $(STAGE_HOST_EXPORTS) \
32898 cd $(HOST_SUBDIR)/opcodes && \
32899 $(MAKE) $(FLAGS_TO_PASS) \
32900 $(POSTSTAGE1_FLAGS_TO_PASS) \
32903 maybe-clean-stage4-opcodes: clean-stage4-opcodes
32904 clean-stage4-opcodes:
32905 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
32906 || exit 0 ; \
32907 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
32908 cd $(HOST_SUBDIR)/opcodes && \
32909 $(MAKE) $(FLAGS_TO_PASS) \
32910 $(POSTSTAGE1_FLAGS_TO_PASS) \
32911 clean
32912 @endif opcodes-bootstrap
32915 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
32916 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
32917 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
32919 maybe-configure-stage4-binutils:
32920 maybe-all-stage4-binutils:
32921 maybe-clean-stage4-binutils:
32923 @if binutils-bootstrap
32924 maybe-configure-stage4-binutils: configure-stage4-binutils
32925 configure-stage4-binutils:
32926 @$(MAKE) stage4-start
32927 @[ -f binutils/Makefile ] && exit 0 || : ; \
32928 r=`${PWD_COMMAND}`; export r; \
32929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32930 $(STAGE_HOST_EXPORTS) \
32931 echo Configuring stage 4 in binutils ; \
32932 cd $(HOST_SUBDIR)/binutils || exit 1; \
32933 case $(srcdir) in \
32934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32935 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
32936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32937 esac; \
32938 srcdiroption="--srcdir=$${topdir}/binutils"; \
32939 libsrcdir="$$s/binutils"; \
32940 $(SHELL) $${libsrcdir}/configure \
32941 $(HOST_CONFIGARGS) $${srcdiroption} \
32942 @stage2_werror_flag@
32944 maybe-all-stage4-binutils: all-stage4-binutils
32945 all-stage4-binutils: configure-stage4-binutils
32946 @$(MAKE) stage4-start
32947 @r=`${PWD_COMMAND}`; export r; \
32948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32949 $(STAGE_HOST_EXPORTS) \
32950 cd $(HOST_SUBDIR)/binutils && \
32951 $(MAKE) $(FLAGS_TO_PASS) \
32952 $(POSTSTAGE1_FLAGS_TO_PASS) \
32955 maybe-clean-stage4-binutils: clean-stage4-binutils
32956 clean-stage4-binutils:
32957 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
32958 || exit 0 ; \
32959 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
32960 cd $(HOST_SUBDIR)/binutils && \
32961 $(MAKE) $(FLAGS_TO_PASS) \
32962 $(POSTSTAGE1_FLAGS_TO_PASS) \
32963 clean
32964 @endif binutils-bootstrap
32967 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
32968 .PHONY: all-stage4-gas maybe-all-stage4-gas
32969 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
32971 maybe-configure-stage4-gas:
32972 maybe-all-stage4-gas:
32973 maybe-clean-stage4-gas:
32975 @if gas-bootstrap
32976 maybe-configure-stage4-gas: configure-stage4-gas
32977 configure-stage4-gas:
32978 @$(MAKE) stage4-start
32979 @[ -f gas/Makefile ] && exit 0 || : ; \
32980 r=`${PWD_COMMAND}`; export r; \
32981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32982 $(STAGE_HOST_EXPORTS) \
32983 echo Configuring stage 4 in gas ; \
32984 cd $(HOST_SUBDIR)/gas || exit 1; \
32985 case $(srcdir) in \
32986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32987 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
32988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32989 esac; \
32990 srcdiroption="--srcdir=$${topdir}/gas"; \
32991 libsrcdir="$$s/gas"; \
32992 $(SHELL) $${libsrcdir}/configure \
32993 $(HOST_CONFIGARGS) $${srcdiroption} \
32994 @stage2_werror_flag@
32996 maybe-all-stage4-gas: all-stage4-gas
32997 all-stage4-gas: configure-stage4-gas
32998 @$(MAKE) stage4-start
32999 @r=`${PWD_COMMAND}`; export r; \
33000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33001 $(STAGE_HOST_EXPORTS) \
33002 cd $(HOST_SUBDIR)/gas && \
33003 $(MAKE) $(FLAGS_TO_PASS) \
33004 $(POSTSTAGE1_FLAGS_TO_PASS) \
33007 maybe-clean-stage4-gas: clean-stage4-gas
33008 clean-stage4-gas:
33009 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
33010 || exit 0 ; \
33011 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
33012 cd $(HOST_SUBDIR)/gas && \
33013 $(MAKE) $(FLAGS_TO_PASS) \
33014 $(POSTSTAGE1_FLAGS_TO_PASS) \
33015 clean
33016 @endif gas-bootstrap
33019 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
33020 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
33021 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
33023 maybe-configure-stage4-gcc:
33024 maybe-all-stage4-gcc:
33025 maybe-clean-stage4-gcc:
33027 @if gcc-bootstrap
33028 maybe-configure-stage4-gcc: configure-stage4-gcc
33029 configure-stage4-gcc:
33030 @$(MAKE) stage4-start
33031 @[ -f gcc/Makefile ] && exit 0 || : ; \
33032 r=`${PWD_COMMAND}`; export r; \
33033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33034 $(STAGE_HOST_EXPORTS) \
33035 echo Configuring stage 4 in gcc ; \
33036 cd $(HOST_SUBDIR)/gcc || exit 1; \
33037 case $(srcdir) in \
33038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33039 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
33040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33041 esac; \
33042 srcdiroption="--srcdir=$${topdir}/gcc"; \
33043 libsrcdir="$$s/gcc"; \
33044 $(SHELL) $${libsrcdir}/configure \
33045 $(HOST_CONFIGARGS) $${srcdiroption} \
33046 @stage2_werror_flag@
33048 maybe-all-stage4-gcc: all-stage4-gcc
33049 all-stage4-gcc: configure-stage4-gcc
33050 @$(MAKE) stage4-start
33051 @r=`${PWD_COMMAND}`; export r; \
33052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33053 $(STAGE_HOST_EXPORTS) \
33054 cd $(HOST_SUBDIR)/gcc && \
33055 $(MAKE) $(FLAGS_TO_PASS) \
33056 $(POSTSTAGE1_FLAGS_TO_PASS) \
33057 $(EXTRA_GCC_FLAGS)
33059 maybe-clean-stage4-gcc: clean-stage4-gcc
33060 clean-stage4-gcc:
33061 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
33062 || exit 0 ; \
33063 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
33064 cd $(HOST_SUBDIR)/gcc && \
33065 $(MAKE) $(FLAGS_TO_PASS) \
33066 $(POSTSTAGE1_FLAGS_TO_PASS) \
33067 $(EXTRA_GCC_FLAGS) clean
33068 @endif gcc-bootstrap
33071 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
33072 .PHONY: all-stage4-intl maybe-all-stage4-intl
33073 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
33075 maybe-configure-stage4-intl:
33076 maybe-all-stage4-intl:
33077 maybe-clean-stage4-intl:
33079 @if intl-bootstrap
33080 maybe-configure-stage4-intl: configure-stage4-intl
33081 configure-stage4-intl:
33082 @$(MAKE) stage4-start
33083 @[ -f intl/Makefile ] && exit 0 || : ; \
33084 r=`${PWD_COMMAND}`; export r; \
33085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33086 $(STAGE_HOST_EXPORTS) \
33087 echo Configuring stage 4 in intl ; \
33088 cd $(HOST_SUBDIR)/intl || exit 1; \
33089 case $(srcdir) in \
33090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33091 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
33092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33093 esac; \
33094 srcdiroption="--srcdir=$${topdir}/intl"; \
33095 libsrcdir="$$s/intl"; \
33096 $(SHELL) $${libsrcdir}/configure \
33097 $(HOST_CONFIGARGS) $${srcdiroption} \
33098 @stage2_werror_flag@
33100 maybe-all-stage4-intl: all-stage4-intl
33101 all-stage4-intl: configure-stage4-intl
33102 @$(MAKE) stage4-start
33103 @r=`${PWD_COMMAND}`; export r; \
33104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33105 $(STAGE_HOST_EXPORTS) \
33106 cd $(HOST_SUBDIR)/intl && \
33107 $(MAKE) $(FLAGS_TO_PASS) \
33108 $(POSTSTAGE1_FLAGS_TO_PASS) \
33111 maybe-clean-stage4-intl: clean-stage4-intl
33112 clean-stage4-intl:
33113 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
33114 || exit 0 ; \
33115 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
33116 cd $(HOST_SUBDIR)/intl && \
33117 $(MAKE) $(FLAGS_TO_PASS) \
33118 $(POSTSTAGE1_FLAGS_TO_PASS) \
33119 clean
33120 @endif intl-bootstrap
33123 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
33124 .PHONY: all-stage4-ld maybe-all-stage4-ld
33125 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
33127 maybe-configure-stage4-ld:
33128 maybe-all-stage4-ld:
33129 maybe-clean-stage4-ld:
33131 @if ld-bootstrap
33132 maybe-configure-stage4-ld: configure-stage4-ld
33133 configure-stage4-ld:
33134 @$(MAKE) stage4-start
33135 @[ -f ld/Makefile ] && exit 0 || : ; \
33136 r=`${PWD_COMMAND}`; export r; \
33137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33138 $(STAGE_HOST_EXPORTS) \
33139 echo Configuring stage 4 in ld ; \
33140 cd $(HOST_SUBDIR)/ld || exit 1; \
33141 case $(srcdir) in \
33142 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33143 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
33144 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33145 esac; \
33146 srcdiroption="--srcdir=$${topdir}/ld"; \
33147 libsrcdir="$$s/ld"; \
33148 $(SHELL) $${libsrcdir}/configure \
33149 $(HOST_CONFIGARGS) $${srcdiroption} \
33150 @stage2_werror_flag@
33152 maybe-all-stage4-ld: all-stage4-ld
33153 all-stage4-ld: configure-stage4-ld
33154 @$(MAKE) stage4-start
33155 @r=`${PWD_COMMAND}`; export r; \
33156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33157 $(STAGE_HOST_EXPORTS) \
33158 cd $(HOST_SUBDIR)/ld && \
33159 $(MAKE) $(FLAGS_TO_PASS) \
33160 $(POSTSTAGE1_FLAGS_TO_PASS) \
33163 maybe-clean-stage4-ld: clean-stage4-ld
33164 clean-stage4-ld:
33165 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
33166 || exit 0 ; \
33167 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
33168 cd $(HOST_SUBDIR)/ld && \
33169 $(MAKE) $(FLAGS_TO_PASS) \
33170 $(POSTSTAGE1_FLAGS_TO_PASS) \
33171 clean
33172 @endif ld-bootstrap
33175 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
33176 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
33177 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
33179 maybe-configure-stage4-libcpp:
33180 maybe-all-stage4-libcpp:
33181 maybe-clean-stage4-libcpp:
33183 @if libcpp-bootstrap
33184 maybe-configure-stage4-libcpp: configure-stage4-libcpp
33185 configure-stage4-libcpp:
33186 @$(MAKE) stage4-start
33187 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33188 r=`${PWD_COMMAND}`; export r; \
33189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33190 $(STAGE_HOST_EXPORTS) \
33191 echo Configuring stage 4 in libcpp ; \
33192 cd $(HOST_SUBDIR)/libcpp || exit 1; \
33193 case $(srcdir) in \
33194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33195 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
33196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33197 esac; \
33198 srcdiroption="--srcdir=$${topdir}/libcpp"; \
33199 libsrcdir="$$s/libcpp"; \
33200 $(SHELL) $${libsrcdir}/configure \
33201 $(HOST_CONFIGARGS) $${srcdiroption} \
33202 @stage2_werror_flag@
33204 maybe-all-stage4-libcpp: all-stage4-libcpp
33205 all-stage4-libcpp: configure-stage4-libcpp
33206 @$(MAKE) stage4-start
33207 @r=`${PWD_COMMAND}`; export r; \
33208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33209 $(STAGE_HOST_EXPORTS) \
33210 cd $(HOST_SUBDIR)/libcpp && \
33211 $(MAKE) $(FLAGS_TO_PASS) \
33212 $(POSTSTAGE1_FLAGS_TO_PASS) \
33215 maybe-clean-stage4-libcpp: clean-stage4-libcpp
33216 clean-stage4-libcpp:
33217 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
33218 || exit 0 ; \
33219 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
33220 cd $(HOST_SUBDIR)/libcpp && \
33221 $(MAKE) $(FLAGS_TO_PASS) \
33222 $(POSTSTAGE1_FLAGS_TO_PASS) \
33223 clean
33224 @endif libcpp-bootstrap
33227 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
33228 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
33229 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
33231 maybe-configure-stage4-libiberty:
33232 maybe-all-stage4-libiberty:
33233 maybe-clean-stage4-libiberty:
33235 @if libiberty-bootstrap
33236 maybe-configure-stage4-libiberty: configure-stage4-libiberty
33237 configure-stage4-libiberty:
33238 @$(MAKE) stage4-start
33239 @[ -f libiberty/Makefile ] && exit 0 || : ; \
33240 r=`${PWD_COMMAND}`; export r; \
33241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33242 $(STAGE_HOST_EXPORTS) \
33243 echo Configuring stage 4 in libiberty ; \
33244 cd $(HOST_SUBDIR)/libiberty || exit 1; \
33245 case $(srcdir) in \
33246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33247 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
33248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33249 esac; \
33250 srcdiroption="--srcdir=$${topdir}/libiberty"; \
33251 libsrcdir="$$s/libiberty"; \
33252 $(SHELL) $${libsrcdir}/configure \
33253 $(HOST_CONFIGARGS) $${srcdiroption} \
33254 @stage2_werror_flag@
33256 maybe-all-stage4-libiberty: all-stage4-libiberty
33257 all-stage4-libiberty: configure-stage4-libiberty
33258 @$(MAKE) stage4-start
33259 @r=`${PWD_COMMAND}`; export r; \
33260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33261 $(STAGE_HOST_EXPORTS) \
33262 cd $(HOST_SUBDIR)/libiberty && \
33263 $(MAKE) $(FLAGS_TO_PASS) \
33264 $(POSTSTAGE1_FLAGS_TO_PASS) \
33267 maybe-clean-stage4-libiberty: clean-stage4-libiberty
33268 clean-stage4-libiberty:
33269 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
33270 || exit 0 ; \
33271 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
33272 cd $(HOST_SUBDIR)/libiberty && \
33273 $(MAKE) $(FLAGS_TO_PASS) \
33274 $(POSTSTAGE1_FLAGS_TO_PASS) \
33275 clean
33276 @endif libiberty-bootstrap
33279 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
33280 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
33281 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
33283 maybe-configure-stage4-zlib:
33284 maybe-all-stage4-zlib:
33285 maybe-clean-stage4-zlib:
33287 @if zlib-bootstrap
33288 maybe-configure-stage4-zlib: configure-stage4-zlib
33289 configure-stage4-zlib:
33290 @$(MAKE) stage4-start
33291 @[ -f zlib/Makefile ] && exit 0 || : ; \
33292 r=`${PWD_COMMAND}`; export r; \
33293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33294 $(STAGE_HOST_EXPORTS) \
33295 echo Configuring stage 4 in zlib ; \
33296 cd $(HOST_SUBDIR)/zlib || exit 1; \
33297 case $(srcdir) in \
33298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33299 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33301 esac; \
33302 srcdiroption="--srcdir=$${topdir}/zlib"; \
33303 libsrcdir="$$s/zlib"; \
33304 $(SHELL) $${libsrcdir}/configure \
33305 $(HOST_CONFIGARGS) $${srcdiroption} \
33306 @stage2_werror_flag@
33308 maybe-all-stage4-zlib: all-stage4-zlib
33309 all-stage4-zlib: configure-stage4-zlib
33310 @$(MAKE) stage4-start
33311 @r=`${PWD_COMMAND}`; export r; \
33312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33313 $(STAGE_HOST_EXPORTS) \
33314 cd $(HOST_SUBDIR)/zlib && \
33315 $(MAKE) $(FLAGS_TO_PASS) \
33316 $(POSTSTAGE1_FLAGS_TO_PASS) \
33319 maybe-clean-stage4-zlib: clean-stage4-zlib
33320 clean-stage4-zlib:
33321 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
33322 || exit 0 ; \
33323 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
33324 cd $(HOST_SUBDIR)/zlib && \
33325 $(MAKE) $(FLAGS_TO_PASS) \
33326 $(POSTSTAGE1_FLAGS_TO_PASS) \
33327 clean
33328 @endif zlib-bootstrap
33332 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33333 # only possibility, but now it conflicts with no-bootstrap rules
33334 @if gcc-bootstrap
33336 compare3:
33337 @if test -f stage3-lean; then \
33338 echo Cannot compare object files as stage 3 was deleted. ; \
33339 exit 0 ; \
33340 fi; \
33341 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33342 @r=`${PWD_COMMAND}`; export r; \
33343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33344 rm -f .bad_compare ; \
33345 cd stage4-gcc; \
33346 files=`find . -name "*$(objext)" -print` ; \
33347 cd .. ; \
33348 for file in $${files} ; do \
33349 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
33350 @do_compare@ > /dev/null 2>&1; \
33351 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
33352 done ; \
33353 if [ -f .bad_compare ]; then \
33354 echo "Bootstrap comparison failure!"; \
33355 cat .bad_compare; \
33356 exit 1; \
33357 else \
33358 true; \
33359 fi ; \
33360 $(STAMP) compare3
33361 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
33365 .PHONY: bootstrap4
33366 bootstrap4: stage4-bubble compare3 all
33369 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33370 distclean-stage3:: distclean-stage4
33371 .PHONY: distclean-stage4
33372 distclean-stage4::
33373 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33374 rm -rf stage4-* compare3
33377 @endif gcc-bootstrap
33380 .PHONY: stageprofile-start stageprofile-end
33382 stageprofile-start::
33383 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33384 echo stageprofile > stage_current ; \
33385 echo stageprofile > stage_last; \
33386 $(mkinstalldirs) $(HOST_SUBDIR)
33387 @if bfd
33388 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
33389 mkdir stageprofile-bfd; \
33390 set stageprofile-bfd bfd ; \
33391 @CREATE_LINK_TO_DIR@ ; \
33392 set stage1-bfd prev-bfd ; \
33393 @CREATE_LINK_TO_DIR@
33394 @endif bfd
33395 @if opcodes
33396 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
33397 mkdir stageprofile-opcodes; \
33398 set stageprofile-opcodes opcodes ; \
33399 @CREATE_LINK_TO_DIR@ ; \
33400 set stage1-opcodes prev-opcodes ; \
33401 @CREATE_LINK_TO_DIR@
33402 @endif opcodes
33403 @if binutils
33404 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
33405 mkdir stageprofile-binutils; \
33406 set stageprofile-binutils binutils ; \
33407 @CREATE_LINK_TO_DIR@ ; \
33408 set stage1-binutils prev-binutils ; \
33409 @CREATE_LINK_TO_DIR@
33410 @endif binutils
33411 @if gas
33412 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
33413 mkdir stageprofile-gas; \
33414 set stageprofile-gas gas ; \
33415 @CREATE_LINK_TO_DIR@ ; \
33416 set stage1-gas prev-gas ; \
33417 @CREATE_LINK_TO_DIR@
33418 @endif gas
33419 @if gcc
33420 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
33421 mkdir stageprofile-gcc; \
33422 set stageprofile-gcc gcc ; \
33423 @CREATE_LINK_TO_DIR@ ; \
33424 set stage1-gcc prev-gcc ; \
33425 @CREATE_LINK_TO_DIR@
33426 @endif gcc
33427 @if intl
33428 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
33429 mkdir stageprofile-intl; \
33430 set stageprofile-intl intl ; \
33431 @CREATE_LINK_TO_DIR@ ; \
33432 set stage1-intl prev-intl ; \
33433 @CREATE_LINK_TO_DIR@
33434 @endif intl
33435 @if ld
33436 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
33437 mkdir stageprofile-ld; \
33438 set stageprofile-ld ld ; \
33439 @CREATE_LINK_TO_DIR@ ; \
33440 set stage1-ld prev-ld ; \
33441 @CREATE_LINK_TO_DIR@
33442 @endif ld
33443 @if libcpp
33444 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
33445 mkdir stageprofile-libcpp; \
33446 set stageprofile-libcpp libcpp ; \
33447 @CREATE_LINK_TO_DIR@ ; \
33448 set stage1-libcpp prev-libcpp ; \
33449 @CREATE_LINK_TO_DIR@
33450 @endif libcpp
33451 @if libiberty
33452 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
33453 mkdir stageprofile-libiberty; \
33454 set stageprofile-libiberty libiberty ; \
33455 @CREATE_LINK_TO_DIR@ ; \
33456 set stage1-libiberty prev-libiberty ; \
33457 @CREATE_LINK_TO_DIR@
33458 @endif libiberty
33459 @if zlib
33460 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
33461 mkdir stageprofile-zlib; \
33462 set stageprofile-zlib zlib ; \
33463 @CREATE_LINK_TO_DIR@ ; \
33464 set stage1-zlib prev-zlib ; \
33465 @CREATE_LINK_TO_DIR@
33466 @endif zlib
33468 stageprofile-end::
33469 @rm -f stage_current
33470 @if bfd
33471 @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
33472 @UNDO_LINK_TO_DIR@ ; \
33473 set prev-bfd stage1-bfd ; \
33474 @UNDO_LINK_TO_DIR@
33475 @endif bfd
33476 @if opcodes
33477 @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
33478 @UNDO_LINK_TO_DIR@ ; \
33479 set prev-opcodes stage1-opcodes ; \
33480 @UNDO_LINK_TO_DIR@
33481 @endif opcodes
33482 @if binutils
33483 @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
33484 @UNDO_LINK_TO_DIR@ ; \
33485 set prev-binutils stage1-binutils ; \
33486 @UNDO_LINK_TO_DIR@
33487 @endif binutils
33488 @if gas
33489 @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
33490 @UNDO_LINK_TO_DIR@ ; \
33491 set prev-gas stage1-gas ; \
33492 @UNDO_LINK_TO_DIR@
33493 @endif gas
33494 @if gcc
33495 @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
33496 @UNDO_LINK_TO_DIR@ ; \
33497 set prev-gcc stage1-gcc ; \
33498 @UNDO_LINK_TO_DIR@
33499 @endif gcc
33500 @if intl
33501 @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
33502 @UNDO_LINK_TO_DIR@ ; \
33503 set prev-intl stage1-intl ; \
33504 @UNDO_LINK_TO_DIR@
33505 @endif intl
33506 @if ld
33507 @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
33508 @UNDO_LINK_TO_DIR@ ; \
33509 set prev-ld stage1-ld ; \
33510 @UNDO_LINK_TO_DIR@
33511 @endif ld
33512 @if libcpp
33513 @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
33514 @UNDO_LINK_TO_DIR@ ; \
33515 set prev-libcpp stage1-libcpp ; \
33516 @UNDO_LINK_TO_DIR@
33517 @endif libcpp
33518 @if libiberty
33519 @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
33520 @UNDO_LINK_TO_DIR@ ; \
33521 set prev-libiberty stage1-libiberty ; \
33522 @UNDO_LINK_TO_DIR@
33523 @endif libiberty
33524 @if zlib
33525 @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
33526 @UNDO_LINK_TO_DIR@ ; \
33527 set prev-zlib stage1-zlib ; \
33528 @UNDO_LINK_TO_DIR@
33529 @endif zlib
33531 # Bubble a bugfix through all the stages up to stage profile. They
33532 # are remade, but not reconfigured. The next stage (if any) will not
33533 # be reconfigured as well.
33534 .PHONY: stageprofile-bubble
33535 stageprofile-bubble:: stage1-bubble
33536 @if test -f stageprofile-lean || test -f stage1-lean ; then \
33537 echo Skipping rebuild of stageprofile ; \
33538 else \
33539 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
33542 .PHONY: all-stageprofile clean-stageprofile
33543 all-stageprofile: \
33544 maybe-all-stageprofile-bfd \
33545 maybe-all-stageprofile-opcodes \
33546 maybe-all-stageprofile-binutils \
33547 maybe-all-stageprofile-gas \
33548 maybe-all-stageprofile-gcc \
33549 maybe-all-stageprofile-intl \
33550 maybe-all-stageprofile-ld \
33551 maybe-all-stageprofile-libcpp \
33552 maybe-all-stageprofile-libiberty \
33553 maybe-all-stageprofile-zlib
33555 do-clean: clean-stageprofile
33556 clean-stageprofile: \
33557 maybe-clean-stageprofile-bfd \
33558 maybe-clean-stageprofile-opcodes \
33559 maybe-clean-stageprofile-binutils \
33560 maybe-clean-stageprofile-gas \
33561 maybe-clean-stageprofile-gcc \
33562 maybe-clean-stageprofile-intl \
33563 maybe-clean-stageprofile-ld \
33564 maybe-clean-stageprofile-libcpp \
33565 maybe-clean-stageprofile-libiberty \
33566 maybe-clean-stageprofile-zlib
33569 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
33570 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
33571 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
33573 maybe-configure-stageprofile-bfd:
33574 maybe-all-stageprofile-bfd:
33575 maybe-clean-stageprofile-bfd:
33577 @if bfd-bootstrap
33578 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
33579 configure-stageprofile-bfd:
33580 @$(MAKE) stageprofile-start
33581 @[ -f bfd/Makefile ] && exit 0 || : ; \
33582 r=`${PWD_COMMAND}`; export r; \
33583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33584 $(STAGE_HOST_EXPORTS) \
33585 echo Configuring stage profile in bfd ; \
33586 cd $(HOST_SUBDIR)/bfd || exit 1; \
33587 case $(srcdir) in \
33588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33589 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
33590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33591 esac; \
33592 srcdiroption="--srcdir=$${topdir}/bfd"; \
33593 libsrcdir="$$s/bfd"; \
33594 $(SHELL) $${libsrcdir}/configure \
33595 $(HOST_CONFIGARGS) $${srcdiroption} \
33596 @stage2_werror_flag@
33598 maybe-all-stageprofile-bfd: all-stageprofile-bfd
33599 all-stageprofile-bfd: configure-stageprofile-bfd
33600 @$(MAKE) stageprofile-start
33601 @r=`${PWD_COMMAND}`; export r; \
33602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33603 $(STAGE_HOST_EXPORTS) \
33604 cd $(HOST_SUBDIR)/bfd && \
33605 $(MAKE) $(FLAGS_TO_PASS) \
33606 $(POSTSTAGE1_FLAGS_TO_PASS) \
33607 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33609 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
33610 clean-stageprofile-bfd:
33611 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
33612 || exit 0 ; \
33613 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
33614 cd $(HOST_SUBDIR)/bfd && \
33615 $(MAKE) $(FLAGS_TO_PASS) \
33616 $(POSTSTAGE1_FLAGS_TO_PASS) \
33617 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33618 @endif bfd-bootstrap
33621 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
33622 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
33623 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
33625 maybe-configure-stageprofile-opcodes:
33626 maybe-all-stageprofile-opcodes:
33627 maybe-clean-stageprofile-opcodes:
33629 @if opcodes-bootstrap
33630 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
33631 configure-stageprofile-opcodes:
33632 @$(MAKE) stageprofile-start
33633 @[ -f opcodes/Makefile ] && exit 0 || : ; \
33634 r=`${PWD_COMMAND}`; export r; \
33635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33636 $(STAGE_HOST_EXPORTS) \
33637 echo Configuring stage profile in opcodes ; \
33638 cd $(HOST_SUBDIR)/opcodes || exit 1; \
33639 case $(srcdir) in \
33640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33641 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
33642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33643 esac; \
33644 srcdiroption="--srcdir=$${topdir}/opcodes"; \
33645 libsrcdir="$$s/opcodes"; \
33646 $(SHELL) $${libsrcdir}/configure \
33647 $(HOST_CONFIGARGS) $${srcdiroption} \
33648 @stage2_werror_flag@
33650 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
33651 all-stageprofile-opcodes: configure-stageprofile-opcodes
33652 @$(MAKE) stageprofile-start
33653 @r=`${PWD_COMMAND}`; export r; \
33654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33655 $(STAGE_HOST_EXPORTS) \
33656 cd $(HOST_SUBDIR)/opcodes && \
33657 $(MAKE) $(FLAGS_TO_PASS) \
33658 $(POSTSTAGE1_FLAGS_TO_PASS) \
33659 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33661 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
33662 clean-stageprofile-opcodes:
33663 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
33664 || exit 0 ; \
33665 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
33666 cd $(HOST_SUBDIR)/opcodes && \
33667 $(MAKE) $(FLAGS_TO_PASS) \
33668 $(POSTSTAGE1_FLAGS_TO_PASS) \
33669 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33670 @endif opcodes-bootstrap
33673 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
33674 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
33675 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
33677 maybe-configure-stageprofile-binutils:
33678 maybe-all-stageprofile-binutils:
33679 maybe-clean-stageprofile-binutils:
33681 @if binutils-bootstrap
33682 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
33683 configure-stageprofile-binutils:
33684 @$(MAKE) stageprofile-start
33685 @[ -f binutils/Makefile ] && exit 0 || : ; \
33686 r=`${PWD_COMMAND}`; export r; \
33687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33688 $(STAGE_HOST_EXPORTS) \
33689 echo Configuring stage profile in binutils ; \
33690 cd $(HOST_SUBDIR)/binutils || exit 1; \
33691 case $(srcdir) in \
33692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33693 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
33694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33695 esac; \
33696 srcdiroption="--srcdir=$${topdir}/binutils"; \
33697 libsrcdir="$$s/binutils"; \
33698 $(SHELL) $${libsrcdir}/configure \
33699 $(HOST_CONFIGARGS) $${srcdiroption} \
33700 @stage2_werror_flag@
33702 maybe-all-stageprofile-binutils: all-stageprofile-binutils
33703 all-stageprofile-binutils: configure-stageprofile-binutils
33704 @$(MAKE) stageprofile-start
33705 @r=`${PWD_COMMAND}`; export r; \
33706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33707 $(STAGE_HOST_EXPORTS) \
33708 cd $(HOST_SUBDIR)/binutils && \
33709 $(MAKE) $(FLAGS_TO_PASS) \
33710 $(POSTSTAGE1_FLAGS_TO_PASS) \
33711 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33713 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
33714 clean-stageprofile-binutils:
33715 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
33716 || exit 0 ; \
33717 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
33718 cd $(HOST_SUBDIR)/binutils && \
33719 $(MAKE) $(FLAGS_TO_PASS) \
33720 $(POSTSTAGE1_FLAGS_TO_PASS) \
33721 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33722 @endif binutils-bootstrap
33725 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
33726 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
33727 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
33729 maybe-configure-stageprofile-gas:
33730 maybe-all-stageprofile-gas:
33731 maybe-clean-stageprofile-gas:
33733 @if gas-bootstrap
33734 maybe-configure-stageprofile-gas: configure-stageprofile-gas
33735 configure-stageprofile-gas:
33736 @$(MAKE) stageprofile-start
33737 @[ -f gas/Makefile ] && exit 0 || : ; \
33738 r=`${PWD_COMMAND}`; export r; \
33739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33740 $(STAGE_HOST_EXPORTS) \
33741 echo Configuring stage profile in gas ; \
33742 cd $(HOST_SUBDIR)/gas || exit 1; \
33743 case $(srcdir) in \
33744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33745 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
33746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33747 esac; \
33748 srcdiroption="--srcdir=$${topdir}/gas"; \
33749 libsrcdir="$$s/gas"; \
33750 $(SHELL) $${libsrcdir}/configure \
33751 $(HOST_CONFIGARGS) $${srcdiroption} \
33752 @stage2_werror_flag@
33754 maybe-all-stageprofile-gas: all-stageprofile-gas
33755 all-stageprofile-gas: configure-stageprofile-gas
33756 @$(MAKE) stageprofile-start
33757 @r=`${PWD_COMMAND}`; export r; \
33758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33759 $(STAGE_HOST_EXPORTS) \
33760 cd $(HOST_SUBDIR)/gas && \
33761 $(MAKE) $(FLAGS_TO_PASS) \
33762 $(POSTSTAGE1_FLAGS_TO_PASS) \
33763 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33765 maybe-clean-stageprofile-gas: clean-stageprofile-gas
33766 clean-stageprofile-gas:
33767 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
33768 || exit 0 ; \
33769 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
33770 cd $(HOST_SUBDIR)/gas && \
33771 $(MAKE) $(FLAGS_TO_PASS) \
33772 $(POSTSTAGE1_FLAGS_TO_PASS) \
33773 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33774 @endif gas-bootstrap
33777 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
33778 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
33779 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
33781 maybe-configure-stageprofile-gcc:
33782 maybe-all-stageprofile-gcc:
33783 maybe-clean-stageprofile-gcc:
33785 @if gcc-bootstrap
33786 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
33787 configure-stageprofile-gcc:
33788 @$(MAKE) stageprofile-start
33789 @[ -f gcc/Makefile ] && exit 0 || : ; \
33790 r=`${PWD_COMMAND}`; export r; \
33791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33792 $(STAGE_HOST_EXPORTS) \
33793 echo Configuring stage profile in gcc ; \
33794 cd $(HOST_SUBDIR)/gcc || exit 1; \
33795 case $(srcdir) in \
33796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33797 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
33798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33799 esac; \
33800 srcdiroption="--srcdir=$${topdir}/gcc"; \
33801 libsrcdir="$$s/gcc"; \
33802 $(SHELL) $${libsrcdir}/configure \
33803 $(HOST_CONFIGARGS) $${srcdiroption} \
33804 @stage2_werror_flag@
33806 maybe-all-stageprofile-gcc: all-stageprofile-gcc
33807 all-stageprofile-gcc: configure-stageprofile-gcc
33808 @$(MAKE) stageprofile-start
33809 @r=`${PWD_COMMAND}`; export r; \
33810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33811 $(STAGE_HOST_EXPORTS) \
33812 cd $(HOST_SUBDIR)/gcc && \
33813 $(MAKE) $(FLAGS_TO_PASS) \
33814 $(POSTSTAGE1_FLAGS_TO_PASS) \
33815 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
33817 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
33818 clean-stageprofile-gcc:
33819 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
33820 || exit 0 ; \
33821 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
33822 cd $(HOST_SUBDIR)/gcc && \
33823 $(MAKE) $(FLAGS_TO_PASS) \
33824 $(POSTSTAGE1_FLAGS_TO_PASS) \
33825 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
33826 @endif gcc-bootstrap
33829 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
33830 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
33831 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
33833 maybe-configure-stageprofile-intl:
33834 maybe-all-stageprofile-intl:
33835 maybe-clean-stageprofile-intl:
33837 @if intl-bootstrap
33838 maybe-configure-stageprofile-intl: configure-stageprofile-intl
33839 configure-stageprofile-intl:
33840 @$(MAKE) stageprofile-start
33841 @[ -f intl/Makefile ] && exit 0 || : ; \
33842 r=`${PWD_COMMAND}`; export r; \
33843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33844 $(STAGE_HOST_EXPORTS) \
33845 echo Configuring stage profile in intl ; \
33846 cd $(HOST_SUBDIR)/intl || exit 1; \
33847 case $(srcdir) in \
33848 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33849 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
33850 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33851 esac; \
33852 srcdiroption="--srcdir=$${topdir}/intl"; \
33853 libsrcdir="$$s/intl"; \
33854 $(SHELL) $${libsrcdir}/configure \
33855 $(HOST_CONFIGARGS) $${srcdiroption} \
33856 @stage2_werror_flag@
33858 maybe-all-stageprofile-intl: all-stageprofile-intl
33859 all-stageprofile-intl: configure-stageprofile-intl
33860 @$(MAKE) stageprofile-start
33861 @r=`${PWD_COMMAND}`; export r; \
33862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33863 $(STAGE_HOST_EXPORTS) \
33864 cd $(HOST_SUBDIR)/intl && \
33865 $(MAKE) $(FLAGS_TO_PASS) \
33866 $(POSTSTAGE1_FLAGS_TO_PASS) \
33867 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33869 maybe-clean-stageprofile-intl: clean-stageprofile-intl
33870 clean-stageprofile-intl:
33871 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
33872 || exit 0 ; \
33873 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
33874 cd $(HOST_SUBDIR)/intl && \
33875 $(MAKE) $(FLAGS_TO_PASS) \
33876 $(POSTSTAGE1_FLAGS_TO_PASS) \
33877 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33878 @endif intl-bootstrap
33881 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
33882 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
33883 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
33885 maybe-configure-stageprofile-ld:
33886 maybe-all-stageprofile-ld:
33887 maybe-clean-stageprofile-ld:
33889 @if ld-bootstrap
33890 maybe-configure-stageprofile-ld: configure-stageprofile-ld
33891 configure-stageprofile-ld:
33892 @$(MAKE) stageprofile-start
33893 @[ -f ld/Makefile ] && exit 0 || : ; \
33894 r=`${PWD_COMMAND}`; export r; \
33895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33896 $(STAGE_HOST_EXPORTS) \
33897 echo Configuring stage profile in ld ; \
33898 cd $(HOST_SUBDIR)/ld || exit 1; \
33899 case $(srcdir) in \
33900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33901 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
33902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33903 esac; \
33904 srcdiroption="--srcdir=$${topdir}/ld"; \
33905 libsrcdir="$$s/ld"; \
33906 $(SHELL) $${libsrcdir}/configure \
33907 $(HOST_CONFIGARGS) $${srcdiroption} \
33908 @stage2_werror_flag@
33910 maybe-all-stageprofile-ld: all-stageprofile-ld
33911 all-stageprofile-ld: configure-stageprofile-ld
33912 @$(MAKE) stageprofile-start
33913 @r=`${PWD_COMMAND}`; export r; \
33914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33915 $(STAGE_HOST_EXPORTS) \
33916 cd $(HOST_SUBDIR)/ld && \
33917 $(MAKE) $(FLAGS_TO_PASS) \
33918 $(POSTSTAGE1_FLAGS_TO_PASS) \
33919 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33921 maybe-clean-stageprofile-ld: clean-stageprofile-ld
33922 clean-stageprofile-ld:
33923 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
33924 || exit 0 ; \
33925 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
33926 cd $(HOST_SUBDIR)/ld && \
33927 $(MAKE) $(FLAGS_TO_PASS) \
33928 $(POSTSTAGE1_FLAGS_TO_PASS) \
33929 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33930 @endif ld-bootstrap
33933 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
33934 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
33935 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
33937 maybe-configure-stageprofile-libcpp:
33938 maybe-all-stageprofile-libcpp:
33939 maybe-clean-stageprofile-libcpp:
33941 @if libcpp-bootstrap
33942 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
33943 configure-stageprofile-libcpp:
33944 @$(MAKE) stageprofile-start
33945 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33946 r=`${PWD_COMMAND}`; export r; \
33947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33948 $(STAGE_HOST_EXPORTS) \
33949 echo Configuring stage profile in libcpp ; \
33950 cd $(HOST_SUBDIR)/libcpp || exit 1; \
33951 case $(srcdir) in \
33952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33953 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
33954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33955 esac; \
33956 srcdiroption="--srcdir=$${topdir}/libcpp"; \
33957 libsrcdir="$$s/libcpp"; \
33958 $(SHELL) $${libsrcdir}/configure \
33959 $(HOST_CONFIGARGS) $${srcdiroption} \
33960 @stage2_werror_flag@
33962 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
33963 all-stageprofile-libcpp: configure-stageprofile-libcpp
33964 @$(MAKE) stageprofile-start
33965 @r=`${PWD_COMMAND}`; export r; \
33966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33967 $(STAGE_HOST_EXPORTS) \
33968 cd $(HOST_SUBDIR)/libcpp && \
33969 $(MAKE) $(FLAGS_TO_PASS) \
33970 $(POSTSTAGE1_FLAGS_TO_PASS) \
33971 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33973 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
33974 clean-stageprofile-libcpp:
33975 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
33976 || exit 0 ; \
33977 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
33978 cd $(HOST_SUBDIR)/libcpp && \
33979 $(MAKE) $(FLAGS_TO_PASS) \
33980 $(POSTSTAGE1_FLAGS_TO_PASS) \
33981 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33982 @endif libcpp-bootstrap
33985 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
33986 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
33987 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
33989 maybe-configure-stageprofile-libiberty:
33990 maybe-all-stageprofile-libiberty:
33991 maybe-clean-stageprofile-libiberty:
33993 @if libiberty-bootstrap
33994 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
33995 configure-stageprofile-libiberty:
33996 @$(MAKE) stageprofile-start
33997 @[ -f libiberty/Makefile ] && exit 0 || : ; \
33998 r=`${PWD_COMMAND}`; export r; \
33999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34000 $(STAGE_HOST_EXPORTS) \
34001 echo Configuring stage profile in libiberty ; \
34002 cd $(HOST_SUBDIR)/libiberty || exit 1; \
34003 case $(srcdir) in \
34004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34005 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
34006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34007 esac; \
34008 srcdiroption="--srcdir=$${topdir}/libiberty"; \
34009 libsrcdir="$$s/libiberty"; \
34010 $(SHELL) $${libsrcdir}/configure \
34011 $(HOST_CONFIGARGS) $${srcdiroption} \
34012 @stage2_werror_flag@
34014 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
34015 all-stageprofile-libiberty: configure-stageprofile-libiberty
34016 @$(MAKE) stageprofile-start
34017 @r=`${PWD_COMMAND}`; export r; \
34018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34019 $(STAGE_HOST_EXPORTS) \
34020 cd $(HOST_SUBDIR)/libiberty && \
34021 $(MAKE) $(FLAGS_TO_PASS) \
34022 $(POSTSTAGE1_FLAGS_TO_PASS) \
34023 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34025 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
34026 clean-stageprofile-libiberty:
34027 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
34028 || exit 0 ; \
34029 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
34030 cd $(HOST_SUBDIR)/libiberty && \
34031 $(MAKE) $(FLAGS_TO_PASS) \
34032 $(POSTSTAGE1_FLAGS_TO_PASS) \
34033 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34034 @endif libiberty-bootstrap
34037 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
34038 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
34039 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
34041 maybe-configure-stageprofile-zlib:
34042 maybe-all-stageprofile-zlib:
34043 maybe-clean-stageprofile-zlib:
34045 @if zlib-bootstrap
34046 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
34047 configure-stageprofile-zlib:
34048 @$(MAKE) stageprofile-start
34049 @[ -f zlib/Makefile ] && exit 0 || : ; \
34050 r=`${PWD_COMMAND}`; export r; \
34051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34052 $(STAGE_HOST_EXPORTS) \
34053 echo Configuring stage profile in zlib ; \
34054 cd $(HOST_SUBDIR)/zlib || exit 1; \
34055 case $(srcdir) in \
34056 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34057 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34058 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34059 esac; \
34060 srcdiroption="--srcdir=$${topdir}/zlib"; \
34061 libsrcdir="$$s/zlib"; \
34062 $(SHELL) $${libsrcdir}/configure \
34063 $(HOST_CONFIGARGS) $${srcdiroption} \
34064 @stage2_werror_flag@
34066 maybe-all-stageprofile-zlib: all-stageprofile-zlib
34067 all-stageprofile-zlib: configure-stageprofile-zlib
34068 @$(MAKE) stageprofile-start
34069 @r=`${PWD_COMMAND}`; export r; \
34070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34071 $(STAGE_HOST_EXPORTS) \
34072 cd $(HOST_SUBDIR)/zlib && \
34073 $(MAKE) $(FLAGS_TO_PASS) \
34074 $(POSTSTAGE1_FLAGS_TO_PASS) \
34075 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34077 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
34078 clean-stageprofile-zlib:
34079 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
34080 || exit 0 ; \
34081 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
34082 cd $(HOST_SUBDIR)/zlib && \
34083 $(MAKE) $(FLAGS_TO_PASS) \
34084 $(POSTSTAGE1_FLAGS_TO_PASS) \
34085 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34086 @endif zlib-bootstrap
34090 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34091 # only possibility, but now it conflicts with no-bootstrap rules
34092 @if gcc-bootstrap
34097 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34098 distclean-stage1:: distclean-stageprofile
34099 .PHONY: distclean-stageprofile
34100 distclean-stageprofile::
34101 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34102 rm -rf stageprofile-*
34105 @endif gcc-bootstrap
34108 .PHONY: stagefeedback-start stagefeedback-end
34110 stagefeedback-start::
34111 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34112 echo stagefeedback > stage_current ; \
34113 echo stagefeedback > stage_last; \
34114 $(mkinstalldirs) $(HOST_SUBDIR)
34115 @if bfd
34116 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
34117 mkdir stagefeedback-bfd; \
34118 set stagefeedback-bfd bfd ; \
34119 @CREATE_LINK_TO_DIR@ ; \
34120 set stage1-bfd prev-bfd ; \
34121 @CREATE_LINK_TO_DIR@
34122 @endif bfd
34123 @if opcodes
34124 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
34125 mkdir stagefeedback-opcodes; \
34126 set stagefeedback-opcodes opcodes ; \
34127 @CREATE_LINK_TO_DIR@ ; \
34128 set stage1-opcodes prev-opcodes ; \
34129 @CREATE_LINK_TO_DIR@
34130 @endif opcodes
34131 @if binutils
34132 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
34133 mkdir stagefeedback-binutils; \
34134 set stagefeedback-binutils binutils ; \
34135 @CREATE_LINK_TO_DIR@ ; \
34136 set stage1-binutils prev-binutils ; \
34137 @CREATE_LINK_TO_DIR@
34138 @endif binutils
34139 @if gas
34140 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
34141 mkdir stagefeedback-gas; \
34142 set stagefeedback-gas gas ; \
34143 @CREATE_LINK_TO_DIR@ ; \
34144 set stage1-gas prev-gas ; \
34145 @CREATE_LINK_TO_DIR@
34146 @endif gas
34147 @if gcc
34148 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
34149 mkdir stagefeedback-gcc; \
34150 set stagefeedback-gcc gcc ; \
34151 @CREATE_LINK_TO_DIR@ ; \
34152 set stage1-gcc prev-gcc ; \
34153 @CREATE_LINK_TO_DIR@
34154 @endif gcc
34155 @if intl
34156 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
34157 mkdir stagefeedback-intl; \
34158 set stagefeedback-intl intl ; \
34159 @CREATE_LINK_TO_DIR@ ; \
34160 set stage1-intl prev-intl ; \
34161 @CREATE_LINK_TO_DIR@
34162 @endif intl
34163 @if ld
34164 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
34165 mkdir stagefeedback-ld; \
34166 set stagefeedback-ld ld ; \
34167 @CREATE_LINK_TO_DIR@ ; \
34168 set stage1-ld prev-ld ; \
34169 @CREATE_LINK_TO_DIR@
34170 @endif ld
34171 @if libcpp
34172 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
34173 mkdir stagefeedback-libcpp; \
34174 set stagefeedback-libcpp libcpp ; \
34175 @CREATE_LINK_TO_DIR@ ; \
34176 set stage1-libcpp prev-libcpp ; \
34177 @CREATE_LINK_TO_DIR@
34178 @endif libcpp
34179 @if libiberty
34180 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
34181 mkdir stagefeedback-libiberty; \
34182 set stagefeedback-libiberty libiberty ; \
34183 @CREATE_LINK_TO_DIR@ ; \
34184 set stage1-libiberty prev-libiberty ; \
34185 @CREATE_LINK_TO_DIR@
34186 @endif libiberty
34187 @if zlib
34188 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
34189 mkdir stagefeedback-zlib; \
34190 set stagefeedback-zlib zlib ; \
34191 @CREATE_LINK_TO_DIR@ ; \
34192 set stage1-zlib prev-zlib ; \
34193 @CREATE_LINK_TO_DIR@
34194 @endif zlib
34196 stagefeedback-end::
34197 @rm -f stage_current
34198 @if bfd
34199 @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
34200 @UNDO_LINK_TO_DIR@ ; \
34201 set prev-bfd stage1-bfd ; \
34202 @UNDO_LINK_TO_DIR@
34203 @endif bfd
34204 @if opcodes
34205 @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
34206 @UNDO_LINK_TO_DIR@ ; \
34207 set prev-opcodes stage1-opcodes ; \
34208 @UNDO_LINK_TO_DIR@
34209 @endif opcodes
34210 @if binutils
34211 @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
34212 @UNDO_LINK_TO_DIR@ ; \
34213 set prev-binutils stage1-binutils ; \
34214 @UNDO_LINK_TO_DIR@
34215 @endif binutils
34216 @if gas
34217 @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
34218 @UNDO_LINK_TO_DIR@ ; \
34219 set prev-gas stage1-gas ; \
34220 @UNDO_LINK_TO_DIR@
34221 @endif gas
34222 @if gcc
34223 @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
34224 @UNDO_LINK_TO_DIR@ ; \
34225 set prev-gcc stage1-gcc ; \
34226 @UNDO_LINK_TO_DIR@
34227 @endif gcc
34228 @if intl
34229 @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
34230 @UNDO_LINK_TO_DIR@ ; \
34231 set prev-intl stage1-intl ; \
34232 @UNDO_LINK_TO_DIR@
34233 @endif intl
34234 @if ld
34235 @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
34236 @UNDO_LINK_TO_DIR@ ; \
34237 set prev-ld stage1-ld ; \
34238 @UNDO_LINK_TO_DIR@
34239 @endif ld
34240 @if libcpp
34241 @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
34242 @UNDO_LINK_TO_DIR@ ; \
34243 set prev-libcpp stage1-libcpp ; \
34244 @UNDO_LINK_TO_DIR@
34245 @endif libcpp
34246 @if libiberty
34247 @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
34248 @UNDO_LINK_TO_DIR@ ; \
34249 set prev-libiberty stage1-libiberty ; \
34250 @UNDO_LINK_TO_DIR@
34251 @endif libiberty
34252 @if zlib
34253 @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
34254 @UNDO_LINK_TO_DIR@ ; \
34255 set prev-zlib stage1-zlib ; \
34256 @UNDO_LINK_TO_DIR@
34257 @endif zlib
34259 # Bubble a bugfix through all the stages up to stage feedback. They
34260 # are remade, but not reconfigured. The next stage (if any) will not
34261 # be reconfigured as well.
34262 .PHONY: stagefeedback-bubble
34263 stagefeedback-bubble:: stage1-bubble
34264 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
34265 echo Skipping rebuild of stagefeedback ; \
34266 else \
34267 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
34270 .PHONY: all-stagefeedback clean-stagefeedback
34271 all-stagefeedback: \
34272 maybe-all-stagefeedback-bfd \
34273 maybe-all-stagefeedback-opcodes \
34274 maybe-all-stagefeedback-binutils \
34275 maybe-all-stagefeedback-gas \
34276 maybe-all-stagefeedback-gcc \
34277 maybe-all-stagefeedback-intl \
34278 maybe-all-stagefeedback-ld \
34279 maybe-all-stagefeedback-libcpp \
34280 maybe-all-stagefeedback-libiberty \
34281 maybe-all-stagefeedback-zlib
34283 do-clean: clean-stagefeedback
34284 clean-stagefeedback: \
34285 maybe-clean-stagefeedback-bfd \
34286 maybe-clean-stagefeedback-opcodes \
34287 maybe-clean-stagefeedback-binutils \
34288 maybe-clean-stagefeedback-gas \
34289 maybe-clean-stagefeedback-gcc \
34290 maybe-clean-stagefeedback-intl \
34291 maybe-clean-stagefeedback-ld \
34292 maybe-clean-stagefeedback-libcpp \
34293 maybe-clean-stagefeedback-libiberty \
34294 maybe-clean-stagefeedback-zlib
34297 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
34298 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
34299 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
34301 maybe-configure-stagefeedback-bfd:
34302 maybe-all-stagefeedback-bfd:
34303 maybe-clean-stagefeedback-bfd:
34305 @if bfd-bootstrap
34306 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
34307 configure-stagefeedback-bfd:
34308 @$(MAKE) stagefeedback-start
34309 @[ -f bfd/Makefile ] && exit 0 || : ; \
34310 r=`${PWD_COMMAND}`; export r; \
34311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34312 $(STAGE_HOST_EXPORTS) \
34313 echo Configuring stage feedback in bfd ; \
34314 cd $(HOST_SUBDIR)/bfd || exit 1; \
34315 case $(srcdir) in \
34316 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34317 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
34318 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34319 esac; \
34320 srcdiroption="--srcdir=$${topdir}/bfd"; \
34321 libsrcdir="$$s/bfd"; \
34322 $(SHELL) $${libsrcdir}/configure \
34323 $(HOST_CONFIGARGS) $${srcdiroption} \
34324 @stage2_werror_flag@
34326 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
34327 all-stagefeedback-bfd: configure-stagefeedback-bfd
34328 @$(MAKE) stagefeedback-start
34329 @r=`${PWD_COMMAND}`; export r; \
34330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34331 $(STAGE_HOST_EXPORTS) \
34332 cd $(HOST_SUBDIR)/bfd && \
34333 $(MAKE) $(FLAGS_TO_PASS) \
34334 $(POSTSTAGE1_FLAGS_TO_PASS) \
34335 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34337 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
34338 clean-stagefeedback-bfd:
34339 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
34340 || exit 0 ; \
34341 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
34342 cd $(HOST_SUBDIR)/bfd && \
34343 $(MAKE) $(FLAGS_TO_PASS) \
34344 $(POSTSTAGE1_FLAGS_TO_PASS) \
34345 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34346 @endif bfd-bootstrap
34349 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
34350 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
34351 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
34353 maybe-configure-stagefeedback-opcodes:
34354 maybe-all-stagefeedback-opcodes:
34355 maybe-clean-stagefeedback-opcodes:
34357 @if opcodes-bootstrap
34358 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
34359 configure-stagefeedback-opcodes:
34360 @$(MAKE) stagefeedback-start
34361 @[ -f opcodes/Makefile ] && exit 0 || : ; \
34362 r=`${PWD_COMMAND}`; export r; \
34363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34364 $(STAGE_HOST_EXPORTS) \
34365 echo Configuring stage feedback in opcodes ; \
34366 cd $(HOST_SUBDIR)/opcodes || exit 1; \
34367 case $(srcdir) in \
34368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34369 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
34370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34371 esac; \
34372 srcdiroption="--srcdir=$${topdir}/opcodes"; \
34373 libsrcdir="$$s/opcodes"; \
34374 $(SHELL) $${libsrcdir}/configure \
34375 $(HOST_CONFIGARGS) $${srcdiroption} \
34376 @stage2_werror_flag@
34378 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
34379 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
34380 @$(MAKE) stagefeedback-start
34381 @r=`${PWD_COMMAND}`; export r; \
34382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34383 $(STAGE_HOST_EXPORTS) \
34384 cd $(HOST_SUBDIR)/opcodes && \
34385 $(MAKE) $(FLAGS_TO_PASS) \
34386 $(POSTSTAGE1_FLAGS_TO_PASS) \
34387 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34389 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
34390 clean-stagefeedback-opcodes:
34391 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
34392 || exit 0 ; \
34393 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
34394 cd $(HOST_SUBDIR)/opcodes && \
34395 $(MAKE) $(FLAGS_TO_PASS) \
34396 $(POSTSTAGE1_FLAGS_TO_PASS) \
34397 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34398 @endif opcodes-bootstrap
34401 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
34402 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
34403 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
34405 maybe-configure-stagefeedback-binutils:
34406 maybe-all-stagefeedback-binutils:
34407 maybe-clean-stagefeedback-binutils:
34409 @if binutils-bootstrap
34410 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
34411 configure-stagefeedback-binutils:
34412 @$(MAKE) stagefeedback-start
34413 @[ -f binutils/Makefile ] && exit 0 || : ; \
34414 r=`${PWD_COMMAND}`; export r; \
34415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34416 $(STAGE_HOST_EXPORTS) \
34417 echo Configuring stage feedback in binutils ; \
34418 cd $(HOST_SUBDIR)/binutils || exit 1; \
34419 case $(srcdir) in \
34420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34421 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
34422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34423 esac; \
34424 srcdiroption="--srcdir=$${topdir}/binutils"; \
34425 libsrcdir="$$s/binutils"; \
34426 $(SHELL) $${libsrcdir}/configure \
34427 $(HOST_CONFIGARGS) $${srcdiroption} \
34428 @stage2_werror_flag@
34430 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
34431 all-stagefeedback-binutils: configure-stagefeedback-binutils
34432 @$(MAKE) stagefeedback-start
34433 @r=`${PWD_COMMAND}`; export r; \
34434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34435 $(STAGE_HOST_EXPORTS) \
34436 cd $(HOST_SUBDIR)/binutils && \
34437 $(MAKE) $(FLAGS_TO_PASS) \
34438 $(POSTSTAGE1_FLAGS_TO_PASS) \
34439 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34441 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
34442 clean-stagefeedback-binutils:
34443 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
34444 || exit 0 ; \
34445 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
34446 cd $(HOST_SUBDIR)/binutils && \
34447 $(MAKE) $(FLAGS_TO_PASS) \
34448 $(POSTSTAGE1_FLAGS_TO_PASS) \
34449 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34450 @endif binutils-bootstrap
34453 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
34454 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
34455 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
34457 maybe-configure-stagefeedback-gas:
34458 maybe-all-stagefeedback-gas:
34459 maybe-clean-stagefeedback-gas:
34461 @if gas-bootstrap
34462 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
34463 configure-stagefeedback-gas:
34464 @$(MAKE) stagefeedback-start
34465 @[ -f gas/Makefile ] && exit 0 || : ; \
34466 r=`${PWD_COMMAND}`; export r; \
34467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34468 $(STAGE_HOST_EXPORTS) \
34469 echo Configuring stage feedback in gas ; \
34470 cd $(HOST_SUBDIR)/gas || exit 1; \
34471 case $(srcdir) in \
34472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34473 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
34474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34475 esac; \
34476 srcdiroption="--srcdir=$${topdir}/gas"; \
34477 libsrcdir="$$s/gas"; \
34478 $(SHELL) $${libsrcdir}/configure \
34479 $(HOST_CONFIGARGS) $${srcdiroption} \
34480 @stage2_werror_flag@
34482 maybe-all-stagefeedback-gas: all-stagefeedback-gas
34483 all-stagefeedback-gas: configure-stagefeedback-gas
34484 @$(MAKE) stagefeedback-start
34485 @r=`${PWD_COMMAND}`; export r; \
34486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34487 $(STAGE_HOST_EXPORTS) \
34488 cd $(HOST_SUBDIR)/gas && \
34489 $(MAKE) $(FLAGS_TO_PASS) \
34490 $(POSTSTAGE1_FLAGS_TO_PASS) \
34491 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34493 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
34494 clean-stagefeedback-gas:
34495 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
34496 || exit 0 ; \
34497 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
34498 cd $(HOST_SUBDIR)/gas && \
34499 $(MAKE) $(FLAGS_TO_PASS) \
34500 $(POSTSTAGE1_FLAGS_TO_PASS) \
34501 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34502 @endif gas-bootstrap
34505 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
34506 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
34507 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
34509 maybe-configure-stagefeedback-gcc:
34510 maybe-all-stagefeedback-gcc:
34511 maybe-clean-stagefeedback-gcc:
34513 @if gcc-bootstrap
34514 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
34515 configure-stagefeedback-gcc:
34516 @$(MAKE) stagefeedback-start
34517 @[ -f gcc/Makefile ] && exit 0 || : ; \
34518 r=`${PWD_COMMAND}`; export r; \
34519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34520 $(STAGE_HOST_EXPORTS) \
34521 echo Configuring stage feedback in gcc ; \
34522 cd $(HOST_SUBDIR)/gcc || exit 1; \
34523 case $(srcdir) in \
34524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34525 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
34526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34527 esac; \
34528 srcdiroption="--srcdir=$${topdir}/gcc"; \
34529 libsrcdir="$$s/gcc"; \
34530 $(SHELL) $${libsrcdir}/configure \
34531 $(HOST_CONFIGARGS) $${srcdiroption} \
34532 @stage2_werror_flag@
34534 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
34535 all-stagefeedback-gcc: configure-stagefeedback-gcc
34536 @$(MAKE) stagefeedback-start
34537 @r=`${PWD_COMMAND}`; export r; \
34538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34539 $(STAGE_HOST_EXPORTS) \
34540 cd $(HOST_SUBDIR)/gcc && \
34541 $(MAKE) $(FLAGS_TO_PASS) \
34542 $(POSTSTAGE1_FLAGS_TO_PASS) \
34543 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
34545 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
34546 clean-stagefeedback-gcc:
34547 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
34548 || exit 0 ; \
34549 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
34550 cd $(HOST_SUBDIR)/gcc && \
34551 $(MAKE) $(FLAGS_TO_PASS) \
34552 $(POSTSTAGE1_FLAGS_TO_PASS) \
34553 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
34554 @endif gcc-bootstrap
34557 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
34558 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
34559 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
34561 maybe-configure-stagefeedback-intl:
34562 maybe-all-stagefeedback-intl:
34563 maybe-clean-stagefeedback-intl:
34565 @if intl-bootstrap
34566 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
34567 configure-stagefeedback-intl:
34568 @$(MAKE) stagefeedback-start
34569 @[ -f intl/Makefile ] && exit 0 || : ; \
34570 r=`${PWD_COMMAND}`; export r; \
34571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34572 $(STAGE_HOST_EXPORTS) \
34573 echo Configuring stage feedback in intl ; \
34574 cd $(HOST_SUBDIR)/intl || exit 1; \
34575 case $(srcdir) in \
34576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34577 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
34578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34579 esac; \
34580 srcdiroption="--srcdir=$${topdir}/intl"; \
34581 libsrcdir="$$s/intl"; \
34582 $(SHELL) $${libsrcdir}/configure \
34583 $(HOST_CONFIGARGS) $${srcdiroption} \
34584 @stage2_werror_flag@
34586 maybe-all-stagefeedback-intl: all-stagefeedback-intl
34587 all-stagefeedback-intl: configure-stagefeedback-intl
34588 @$(MAKE) stagefeedback-start
34589 @r=`${PWD_COMMAND}`; export r; \
34590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34591 $(STAGE_HOST_EXPORTS) \
34592 cd $(HOST_SUBDIR)/intl && \
34593 $(MAKE) $(FLAGS_TO_PASS) \
34594 $(POSTSTAGE1_FLAGS_TO_PASS) \
34595 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34597 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
34598 clean-stagefeedback-intl:
34599 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
34600 || exit 0 ; \
34601 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
34602 cd $(HOST_SUBDIR)/intl && \
34603 $(MAKE) $(FLAGS_TO_PASS) \
34604 $(POSTSTAGE1_FLAGS_TO_PASS) \
34605 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34606 @endif intl-bootstrap
34609 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
34610 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
34611 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
34613 maybe-configure-stagefeedback-ld:
34614 maybe-all-stagefeedback-ld:
34615 maybe-clean-stagefeedback-ld:
34617 @if ld-bootstrap
34618 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
34619 configure-stagefeedback-ld:
34620 @$(MAKE) stagefeedback-start
34621 @[ -f ld/Makefile ] && exit 0 || : ; \
34622 r=`${PWD_COMMAND}`; export r; \
34623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34624 $(STAGE_HOST_EXPORTS) \
34625 echo Configuring stage feedback in ld ; \
34626 cd $(HOST_SUBDIR)/ld || exit 1; \
34627 case $(srcdir) in \
34628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34629 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
34630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34631 esac; \
34632 srcdiroption="--srcdir=$${topdir}/ld"; \
34633 libsrcdir="$$s/ld"; \
34634 $(SHELL) $${libsrcdir}/configure \
34635 $(HOST_CONFIGARGS) $${srcdiroption} \
34636 @stage2_werror_flag@
34638 maybe-all-stagefeedback-ld: all-stagefeedback-ld
34639 all-stagefeedback-ld: configure-stagefeedback-ld
34640 @$(MAKE) stagefeedback-start
34641 @r=`${PWD_COMMAND}`; export r; \
34642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34643 $(STAGE_HOST_EXPORTS) \
34644 cd $(HOST_SUBDIR)/ld && \
34645 $(MAKE) $(FLAGS_TO_PASS) \
34646 $(POSTSTAGE1_FLAGS_TO_PASS) \
34647 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34649 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
34650 clean-stagefeedback-ld:
34651 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
34652 || exit 0 ; \
34653 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
34654 cd $(HOST_SUBDIR)/ld && \
34655 $(MAKE) $(FLAGS_TO_PASS) \
34656 $(POSTSTAGE1_FLAGS_TO_PASS) \
34657 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34658 @endif ld-bootstrap
34661 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
34662 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
34663 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
34665 maybe-configure-stagefeedback-libcpp:
34666 maybe-all-stagefeedback-libcpp:
34667 maybe-clean-stagefeedback-libcpp:
34669 @if libcpp-bootstrap
34670 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
34671 configure-stagefeedback-libcpp:
34672 @$(MAKE) stagefeedback-start
34673 @[ -f libcpp/Makefile ] && exit 0 || : ; \
34674 r=`${PWD_COMMAND}`; export r; \
34675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34676 $(STAGE_HOST_EXPORTS) \
34677 echo Configuring stage feedback in libcpp ; \
34678 cd $(HOST_SUBDIR)/libcpp || exit 1; \
34679 case $(srcdir) in \
34680 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34681 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
34682 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34683 esac; \
34684 srcdiroption="--srcdir=$${topdir}/libcpp"; \
34685 libsrcdir="$$s/libcpp"; \
34686 $(SHELL) $${libsrcdir}/configure \
34687 $(HOST_CONFIGARGS) $${srcdiroption} \
34688 @stage2_werror_flag@
34690 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
34691 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
34692 @$(MAKE) stagefeedback-start
34693 @r=`${PWD_COMMAND}`; export r; \
34694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34695 $(STAGE_HOST_EXPORTS) \
34696 cd $(HOST_SUBDIR)/libcpp && \
34697 $(MAKE) $(FLAGS_TO_PASS) \
34698 $(POSTSTAGE1_FLAGS_TO_PASS) \
34699 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34701 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
34702 clean-stagefeedback-libcpp:
34703 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
34704 || exit 0 ; \
34705 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
34706 cd $(HOST_SUBDIR)/libcpp && \
34707 $(MAKE) $(FLAGS_TO_PASS) \
34708 $(POSTSTAGE1_FLAGS_TO_PASS) \
34709 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34710 @endif libcpp-bootstrap
34713 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
34714 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
34715 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
34717 maybe-configure-stagefeedback-libiberty:
34718 maybe-all-stagefeedback-libiberty:
34719 maybe-clean-stagefeedback-libiberty:
34721 @if libiberty-bootstrap
34722 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
34723 configure-stagefeedback-libiberty:
34724 @$(MAKE) stagefeedback-start
34725 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34726 r=`${PWD_COMMAND}`; export r; \
34727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34728 $(STAGE_HOST_EXPORTS) \
34729 echo Configuring stage feedback in libiberty ; \
34730 cd $(HOST_SUBDIR)/libiberty || exit 1; \
34731 case $(srcdir) in \
34732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34733 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
34734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34735 esac; \
34736 srcdiroption="--srcdir=$${topdir}/libiberty"; \
34737 libsrcdir="$$s/libiberty"; \
34738 $(SHELL) $${libsrcdir}/configure \
34739 $(HOST_CONFIGARGS) $${srcdiroption} \
34740 @stage2_werror_flag@
34742 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
34743 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
34744 @$(MAKE) stagefeedback-start
34745 @r=`${PWD_COMMAND}`; export r; \
34746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34747 $(STAGE_HOST_EXPORTS) \
34748 cd $(HOST_SUBDIR)/libiberty && \
34749 $(MAKE) $(FLAGS_TO_PASS) \
34750 $(POSTSTAGE1_FLAGS_TO_PASS) \
34751 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34753 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
34754 clean-stagefeedback-libiberty:
34755 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
34756 || exit 0 ; \
34757 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
34758 cd $(HOST_SUBDIR)/libiberty && \
34759 $(MAKE) $(FLAGS_TO_PASS) \
34760 $(POSTSTAGE1_FLAGS_TO_PASS) \
34761 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34762 @endif libiberty-bootstrap
34765 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
34766 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
34767 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
34769 maybe-configure-stagefeedback-zlib:
34770 maybe-all-stagefeedback-zlib:
34771 maybe-clean-stagefeedback-zlib:
34773 @if zlib-bootstrap
34774 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
34775 configure-stagefeedback-zlib:
34776 @$(MAKE) stagefeedback-start
34777 @[ -f zlib/Makefile ] && exit 0 || : ; \
34778 r=`${PWD_COMMAND}`; export r; \
34779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34780 $(STAGE_HOST_EXPORTS) \
34781 echo Configuring stage feedback in zlib ; \
34782 cd $(HOST_SUBDIR)/zlib || exit 1; \
34783 case $(srcdir) in \
34784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34785 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34787 esac; \
34788 srcdiroption="--srcdir=$${topdir}/zlib"; \
34789 libsrcdir="$$s/zlib"; \
34790 $(SHELL) $${libsrcdir}/configure \
34791 $(HOST_CONFIGARGS) $${srcdiroption} \
34792 @stage2_werror_flag@
34794 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
34795 all-stagefeedback-zlib: configure-stagefeedback-zlib
34796 @$(MAKE) stagefeedback-start
34797 @r=`${PWD_COMMAND}`; export r; \
34798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34799 $(STAGE_HOST_EXPORTS) \
34800 cd $(HOST_SUBDIR)/zlib && \
34801 $(MAKE) $(FLAGS_TO_PASS) \
34802 $(POSTSTAGE1_FLAGS_TO_PASS) \
34803 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34805 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
34806 clean-stagefeedback-zlib:
34807 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
34808 || exit 0 ; \
34809 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
34810 cd $(HOST_SUBDIR)/zlib && \
34811 $(MAKE) $(FLAGS_TO_PASS) \
34812 $(POSTSTAGE1_FLAGS_TO_PASS) \
34813 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34814 @endif zlib-bootstrap
34818 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34819 # only possibility, but now it conflicts with no-bootstrap rules
34820 @if gcc-bootstrap
34825 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34826 distclean-stage1:: distclean-stagefeedback
34827 .PHONY: distclean-stagefeedback
34828 distclean-stagefeedback::
34829 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34830 rm -rf stagefeedback-*
34833 @endif gcc-bootstrap
34837 stagefeedback-start::
34838 @r=`${PWD_COMMAND}`; export r; \
34839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34840 cd stageprofile-gcc && \
34841 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
34842 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
34844 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34845 # only possibility, but now it conflicts with no-bootstrap rules
34846 @if gcc-bootstrap
34847 profiledbootstrap:
34848 @r=`${PWD_COMMAND}`; export r; \
34849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34850 $(SET_LIB_PATH) \
34851 $(HOST_EXPORTS) \
34852 echo "Bootstrapping the compiler"; \
34853 $(MAKE) stageprofile-bubble distclean-stagefeedback
34854 @r=`${PWD_COMMAND}`; export r; \
34855 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
34856 $(SET_LIB_PATH) \
34857 echo "Building runtime libraries and training compiler"; \
34858 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
34859 @r=`${PWD_COMMAND}`; export r; \
34860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34861 $(SET_LIB_PATH) \
34862 $(HOST_EXPORTS) \
34863 echo "Building feedback based compiler"; \
34864 $(MAKE) stagefeedback-bubble stagefeedback-end
34865 @endif gcc-bootstrap
34867 @if gcc-bootstrap
34868 NOTPARALLEL = .NOTPARALLEL
34869 $(NOTPARALLEL):
34870 do-distclean: distclean-stage1
34871 @endif gcc-bootstrap
34873 # --------------------------------------
34874 # Dependencies between different modules
34875 # --------------------------------------
34877 # Generic dependencies for target modules on host stuff, especially gcc
34879 configure-target-libstdc++-v3: maybe-all-gcc
34881 configure-target-libmudflap: maybe-all-gcc
34883 configure-target-newlib: maybe-all-gcc
34885 configure-target-libgfortran: maybe-all-gcc
34887 configure-target-libobjc: maybe-all-gcc
34889 configure-target-libtermcap: maybe-all-gcc
34891 configure-target-winsup: maybe-all-gcc
34893 configure-target-libgloss: maybe-all-gcc
34895 configure-target-libiberty: maybe-all-gcc
34897 configure-target-gperf: maybe-all-gcc
34899 configure-target-examples: maybe-all-gcc
34901 configure-target-libffi: maybe-all-gcc
34903 configure-target-libjava: maybe-all-gcc
34905 configure-target-zlib: maybe-all-gcc
34907 configure-target-boehm-gc: maybe-all-gcc
34909 configure-target-qthreads: maybe-all-gcc
34911 configure-target-rda: maybe-all-gcc
34913 configure-target-libada: maybe-all-gcc
34917 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
34919 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
34920 configure-target-gperf: maybe-all-target-libstdc++-v3
34922 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
34924 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
34926 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
34928 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
34929 configure-target-libjava: maybe-all-target-libstdc++-v3
34931 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
34933 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
34935 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
34937 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
34939 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
34941 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
34943 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
34945 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
34948 # There are two types of dependencies here: 'hard' dependencies, where one
34949 # module simply won't build without the other; and 'soft' dependencies, where
34950 # if the depended-on module is missing, the depending module will do without
34951 # or find a substitute somewhere (perhaps installed). Soft dependencies
34952 # are made here to depend on a 'maybe-' target. If you're not sure,
34953 # it's safer to use a soft dependency.
34959 # With all the machinery above in place, it is pretty easy to generate
34960 # dependencies. Host dependencies are a bit more complex because we have
34961 # to check for bootstrap/prebootstrap dependencies. To resolve
34962 # prebootstrap dependencies, prebootstrap modules are gathered in
34963 # a hash table.
34964 all-build-bison: maybe-all-build-texinfo
34965 all-build-byacc: maybe-all-build-texinfo
34966 all-build-flex: maybe-all-build-texinfo
34967 all-build-flex: maybe-all-build-bison
34968 all-build-flex: maybe-all-build-byacc
34969 all-build-flex: maybe-all-build-m4
34970 all-build-libiberty: maybe-all-build-texinfo
34971 all-build-m4: maybe-all-build-texinfo
34972 all-build-fixincludes: maybe-all-build-libiberty
34973 configure-gcc: maybe-configure-intl
34975 configure-stage1-gcc: maybe-configure-stage1-intl
34976 configure-stage2-gcc: maybe-configure-stage2-intl
34977 configure-stage3-gcc: maybe-configure-stage3-intl
34978 configure-stage4-gcc: maybe-configure-stage4-intl
34979 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
34980 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
34981 configure-gcc: maybe-configure-binutils
34983 configure-stage1-gcc: maybe-configure-stage1-binutils
34984 configure-stage2-gcc: maybe-configure-stage2-binutils
34985 configure-stage3-gcc: maybe-configure-stage3-binutils
34986 configure-stage4-gcc: maybe-configure-stage4-binutils
34987 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
34988 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
34989 configure-gcc: maybe-configure-gas
34991 configure-stage1-gcc: maybe-configure-stage1-gas
34992 configure-stage2-gcc: maybe-configure-stage2-gas
34993 configure-stage3-gcc: maybe-configure-stage3-gas
34994 configure-stage4-gcc: maybe-configure-stage4-gas
34995 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
34996 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
34997 configure-gcc: maybe-configure-ld
34999 configure-stage1-gcc: maybe-configure-stage1-ld
35000 configure-stage2-gcc: maybe-configure-stage2-ld
35001 configure-stage3-gcc: maybe-configure-stage3-ld
35002 configure-stage4-gcc: maybe-configure-stage4-ld
35003 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
35004 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
35005 all-gcc: all-libiberty
35007 all-stage1-gcc: all-stage1-libiberty
35008 all-stage2-gcc: all-stage2-libiberty
35009 all-stage3-gcc: all-stage3-libiberty
35010 all-stage4-gcc: all-stage4-libiberty
35011 all-stageprofile-gcc: all-stageprofile-libiberty
35012 all-stagefeedback-gcc: all-stagefeedback-libiberty
35013 all-gcc: maybe-all-intl
35015 all-stage1-gcc: maybe-all-stage1-intl
35016 all-stage2-gcc: maybe-all-stage2-intl
35017 all-stage3-gcc: maybe-all-stage3-intl
35018 all-stage4-gcc: maybe-all-stage4-intl
35019 all-stageprofile-gcc: maybe-all-stageprofile-intl
35020 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
35021 all-gcc: maybe-all-build-texinfo
35023 all-stage1-gcc: maybe-all-build-texinfo
35024 all-stage2-gcc: maybe-all-build-texinfo
35025 all-stage3-gcc: maybe-all-build-texinfo
35026 all-stage4-gcc: maybe-all-build-texinfo
35027 all-stageprofile-gcc: maybe-all-build-texinfo
35028 all-stagefeedback-gcc: maybe-all-build-texinfo
35029 all-prebootstrap: maybe-all-build-texinfo
35030 all-gcc: maybe-all-build-bison
35032 all-stage1-gcc: maybe-all-build-bison
35033 all-stage2-gcc: maybe-all-build-bison
35034 all-stage3-gcc: maybe-all-build-bison
35035 all-stage4-gcc: maybe-all-build-bison
35036 all-stageprofile-gcc: maybe-all-build-bison
35037 all-stagefeedback-gcc: maybe-all-build-bison
35038 all-prebootstrap: maybe-all-build-bison
35039 all-gcc: maybe-all-build-byacc
35041 all-stage1-gcc: maybe-all-build-byacc
35042 all-stage2-gcc: maybe-all-build-byacc
35043 all-stage3-gcc: maybe-all-build-byacc
35044 all-stage4-gcc: maybe-all-build-byacc
35045 all-stageprofile-gcc: maybe-all-build-byacc
35046 all-stagefeedback-gcc: maybe-all-build-byacc
35047 all-prebootstrap: maybe-all-build-byacc
35048 all-gcc: maybe-all-build-flex
35050 all-stage1-gcc: maybe-all-build-flex
35051 all-stage2-gcc: maybe-all-build-flex
35052 all-stage3-gcc: maybe-all-build-flex
35053 all-stage4-gcc: maybe-all-build-flex
35054 all-stageprofile-gcc: maybe-all-build-flex
35055 all-stagefeedback-gcc: maybe-all-build-flex
35056 all-prebootstrap: maybe-all-build-flex
35057 all-gcc: maybe-all-build-libiberty
35059 all-stage1-gcc: maybe-all-build-libiberty
35060 all-stage2-gcc: maybe-all-build-libiberty
35061 all-stage3-gcc: maybe-all-build-libiberty
35062 all-stage4-gcc: maybe-all-build-libiberty
35063 all-stageprofile-gcc: maybe-all-build-libiberty
35064 all-stagefeedback-gcc: maybe-all-build-libiberty
35065 all-prebootstrap: maybe-all-build-libiberty
35066 all-gcc: maybe-all-build-fixincludes
35068 all-stage1-gcc: maybe-all-build-fixincludes
35069 all-stage2-gcc: maybe-all-build-fixincludes
35070 all-stage3-gcc: maybe-all-build-fixincludes
35071 all-stage4-gcc: maybe-all-build-fixincludes
35072 all-stageprofile-gcc: maybe-all-build-fixincludes
35073 all-stagefeedback-gcc: maybe-all-build-fixincludes
35074 all-prebootstrap: maybe-all-build-fixincludes
35075 all-gcc: maybe-all-binutils
35077 all-stage1-gcc: maybe-all-stage1-binutils
35078 all-stage2-gcc: maybe-all-stage2-binutils
35079 all-stage3-gcc: maybe-all-stage3-binutils
35080 all-stage4-gcc: maybe-all-stage4-binutils
35081 all-stageprofile-gcc: maybe-all-stageprofile-binutils
35082 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
35083 all-gcc: maybe-all-gas
35085 all-stage1-gcc: maybe-all-stage1-gas
35086 all-stage2-gcc: maybe-all-stage2-gas
35087 all-stage3-gcc: maybe-all-stage3-gas
35088 all-stage4-gcc: maybe-all-stage4-gas
35089 all-stageprofile-gcc: maybe-all-stageprofile-gas
35090 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
35091 all-gcc: maybe-all-ld
35093 all-stage1-gcc: maybe-all-stage1-ld
35094 all-stage2-gcc: maybe-all-stage2-ld
35095 all-stage3-gcc: maybe-all-stage3-ld
35096 all-stage4-gcc: maybe-all-stage4-ld
35097 all-stageprofile-gcc: maybe-all-stageprofile-ld
35098 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
35099 all-gcc: maybe-all-zlib
35101 all-stage1-gcc: maybe-all-stage1-zlib
35102 all-stage2-gcc: maybe-all-stage2-zlib
35103 all-stage3-gcc: maybe-all-stage3-zlib
35104 all-stage4-gcc: maybe-all-stage4-zlib
35105 all-stageprofile-gcc: maybe-all-stageprofile-zlib
35106 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
35107 all-gcc: all-libcpp
35109 all-stage1-gcc: all-stage1-libcpp
35110 all-stage2-gcc: all-stage2-libcpp
35111 all-stage3-gcc: all-stage3-libcpp
35112 all-stage4-gcc: all-stage4-libcpp
35113 all-stageprofile-gcc: all-stageprofile-libcpp
35114 all-stagefeedback-gcc: all-stagefeedback-libcpp
35115 all-gcc: maybe-all-libiberty
35117 all-stage1-gcc: maybe-all-stage1-libiberty
35118 all-stage2-gcc: maybe-all-stage2-libiberty
35119 all-stage3-gcc: maybe-all-stage3-libiberty
35120 all-stage4-gcc: maybe-all-stage4-libiberty
35121 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
35122 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
35123 all-gcc: maybe-all-fixincludes
35124 install-gcc: maybe-install-fixincludes
35125 configure-libcpp: configure-libiberty
35127 configure-stage1-libcpp: configure-stage1-libiberty
35128 configure-stage2-libcpp: configure-stage2-libiberty
35129 configure-stage3-libcpp: configure-stage3-libiberty
35130 configure-stage4-libcpp: configure-stage4-libiberty
35131 configure-stageprofile-libcpp: configure-stageprofile-libiberty
35132 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
35133 configure-libcpp: maybe-configure-intl
35135 configure-stage1-libcpp: maybe-configure-stage1-intl
35136 configure-stage2-libcpp: maybe-configure-stage2-intl
35137 configure-stage3-libcpp: maybe-configure-stage3-intl
35138 configure-stage4-libcpp: maybe-configure-stage4-intl
35139 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
35140 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
35141 all-libcpp: all-libiberty
35143 all-stage1-libcpp: all-stage1-libiberty
35144 all-stage2-libcpp: all-stage2-libiberty
35145 all-stage3-libcpp: all-stage3-libiberty
35146 all-stage4-libcpp: all-stage4-libiberty
35147 all-stageprofile-libcpp: all-stageprofile-libiberty
35148 all-stagefeedback-libcpp: all-stagefeedback-libiberty
35149 all-libcpp: maybe-all-intl
35151 all-stage1-libcpp: maybe-all-stage1-intl
35152 all-stage2-libcpp: maybe-all-stage2-intl
35153 all-stage3-libcpp: maybe-all-stage3-intl
35154 all-stage4-libcpp: maybe-all-stage4-intl
35155 all-stageprofile-libcpp: maybe-all-stageprofile-intl
35156 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
35157 all-fixincludes: maybe-all-libiberty
35158 all-gnattools: maybe-all-target-libada
35159 configure-gdb: maybe-configure-itcl
35160 configure-gdb: maybe-configure-tcl
35161 configure-gdb: maybe-configure-tk
35162 configure-gdb: maybe-configure-sim
35163 all-gdb: maybe-all-libiberty
35164 all-gdb: maybe-all-opcodes
35165 all-gdb: maybe-all-bfd
35166 all-gdb: maybe-all-readline
35167 all-gdb: maybe-all-build-bison
35168 all-gdb: maybe-all-build-byacc
35169 all-gdb: maybe-all-sim
35170 install-gdb: maybe-install-tcl
35171 install-gdb: maybe-install-tk
35172 install-gdb: maybe-install-itcl
35173 install-gdb: maybe-install-libgui
35174 configure-libgui: maybe-configure-tcl
35175 configure-libgui: maybe-configure-tk
35176 all-libgui: maybe-all-tcl
35177 all-libgui: maybe-all-tk
35178 all-libgui: maybe-all-itcl
35179 configure-bfd: configure-libiberty
35181 configure-stage1-bfd: configure-stage1-libiberty
35182 configure-stage2-bfd: configure-stage2-libiberty
35183 configure-stage3-bfd: configure-stage3-libiberty
35184 configure-stage4-bfd: configure-stage4-libiberty
35185 configure-stageprofile-bfd: configure-stageprofile-libiberty
35186 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
35187 all-bfd: maybe-all-libiberty
35189 all-stage1-bfd: maybe-all-stage1-libiberty
35190 all-stage2-bfd: maybe-all-stage2-libiberty
35191 all-stage3-bfd: maybe-all-stage3-libiberty
35192 all-stage4-bfd: maybe-all-stage4-libiberty
35193 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
35194 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
35195 all-bfd: maybe-all-intl
35197 all-stage1-bfd: maybe-all-stage1-intl
35198 all-stage2-bfd: maybe-all-stage2-intl
35199 all-stage3-bfd: maybe-all-stage3-intl
35200 all-stage4-bfd: maybe-all-stage4-intl
35201 all-stageprofile-bfd: maybe-all-stageprofile-intl
35202 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
35203 all-binutils: maybe-all-libiberty
35205 all-stage1-binutils: maybe-all-stage1-libiberty
35206 all-stage2-binutils: maybe-all-stage2-libiberty
35207 all-stage3-binutils: maybe-all-stage3-libiberty
35208 all-stage4-binutils: maybe-all-stage4-libiberty
35209 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
35210 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
35211 all-binutils: maybe-all-opcodes
35213 all-stage1-binutils: maybe-all-stage1-opcodes
35214 all-stage2-binutils: maybe-all-stage2-opcodes
35215 all-stage3-binutils: maybe-all-stage3-opcodes
35216 all-stage4-binutils: maybe-all-stage4-opcodes
35217 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
35218 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
35219 all-binutils: maybe-all-bfd
35221 all-stage1-binutils: maybe-all-stage1-bfd
35222 all-stage2-binutils: maybe-all-stage2-bfd
35223 all-stage3-binutils: maybe-all-stage3-bfd
35224 all-stage4-binutils: maybe-all-stage4-bfd
35225 all-stageprofile-binutils: maybe-all-stageprofile-bfd
35226 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
35227 all-binutils: maybe-all-build-flex
35229 all-stage1-binutils: maybe-all-build-flex
35230 all-stage2-binutils: maybe-all-build-flex
35231 all-stage3-binutils: maybe-all-build-flex
35232 all-stage4-binutils: maybe-all-build-flex
35233 all-stageprofile-binutils: maybe-all-build-flex
35234 all-stagefeedback-binutils: maybe-all-build-flex
35235 all-prebootstrap: maybe-all-build-flex
35236 all-binutils: maybe-all-build-bison
35238 all-stage1-binutils: maybe-all-build-bison
35239 all-stage2-binutils: maybe-all-build-bison
35240 all-stage3-binutils: maybe-all-build-bison
35241 all-stage4-binutils: maybe-all-build-bison
35242 all-stageprofile-binutils: maybe-all-build-bison
35243 all-stagefeedback-binutils: maybe-all-build-bison
35244 all-prebootstrap: maybe-all-build-bison
35245 all-binutils: maybe-all-build-byacc
35247 all-stage1-binutils: maybe-all-build-byacc
35248 all-stage2-binutils: maybe-all-build-byacc
35249 all-stage3-binutils: maybe-all-build-byacc
35250 all-stage4-binutils: maybe-all-build-byacc
35251 all-stageprofile-binutils: maybe-all-build-byacc
35252 all-stagefeedback-binutils: maybe-all-build-byacc
35253 all-prebootstrap: maybe-all-build-byacc
35254 all-binutils: maybe-all-intl
35256 all-stage1-binutils: maybe-all-stage1-intl
35257 all-stage2-binutils: maybe-all-stage2-intl
35258 all-stage3-binutils: maybe-all-stage3-intl
35259 all-stage4-binutils: maybe-all-stage4-intl
35260 all-stageprofile-binutils: maybe-all-stageprofile-intl
35261 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
35262 install-binutils: maybe-install-opcodes
35263 install-opcodes: maybe-install-bfd
35264 all-gas: maybe-all-libiberty
35266 all-stage1-gas: maybe-all-stage1-libiberty
35267 all-stage2-gas: maybe-all-stage2-libiberty
35268 all-stage3-gas: maybe-all-stage3-libiberty
35269 all-stage4-gas: maybe-all-stage4-libiberty
35270 all-stageprofile-gas: maybe-all-stageprofile-libiberty
35271 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
35272 all-gas: maybe-all-opcodes
35274 all-stage1-gas: maybe-all-stage1-opcodes
35275 all-stage2-gas: maybe-all-stage2-opcodes
35276 all-stage3-gas: maybe-all-stage3-opcodes
35277 all-stage4-gas: maybe-all-stage4-opcodes
35278 all-stageprofile-gas: maybe-all-stageprofile-opcodes
35279 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
35280 all-gas: maybe-all-bfd
35282 all-stage1-gas: maybe-all-stage1-bfd
35283 all-stage2-gas: maybe-all-stage2-bfd
35284 all-stage3-gas: maybe-all-stage3-bfd
35285 all-stage4-gas: maybe-all-stage4-bfd
35286 all-stageprofile-gas: maybe-all-stageprofile-bfd
35287 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
35288 all-gas: maybe-all-intl
35290 all-stage1-gas: maybe-all-stage1-intl
35291 all-stage2-gas: maybe-all-stage2-intl
35292 all-stage3-gas: maybe-all-stage3-intl
35293 all-stage4-gas: maybe-all-stage4-intl
35294 all-stageprofile-gas: maybe-all-stageprofile-intl
35295 all-stagefeedback-gas: maybe-all-stagefeedback-intl
35296 all-gprof: maybe-all-libiberty
35297 all-gprof: maybe-all-bfd
35298 all-gprof: maybe-all-opcodes
35299 all-gprof: maybe-all-intl
35300 all-ld: maybe-all-libiberty
35302 all-stage1-ld: maybe-all-stage1-libiberty
35303 all-stage2-ld: maybe-all-stage2-libiberty
35304 all-stage3-ld: maybe-all-stage3-libiberty
35305 all-stage4-ld: maybe-all-stage4-libiberty
35306 all-stageprofile-ld: maybe-all-stageprofile-libiberty
35307 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
35308 all-ld: maybe-all-bfd
35310 all-stage1-ld: maybe-all-stage1-bfd
35311 all-stage2-ld: maybe-all-stage2-bfd
35312 all-stage3-ld: maybe-all-stage3-bfd
35313 all-stage4-ld: maybe-all-stage4-bfd
35314 all-stageprofile-ld: maybe-all-stageprofile-bfd
35315 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
35316 all-ld: maybe-all-opcodes
35318 all-stage1-ld: maybe-all-stage1-opcodes
35319 all-stage2-ld: maybe-all-stage2-opcodes
35320 all-stage3-ld: maybe-all-stage3-opcodes
35321 all-stage4-ld: maybe-all-stage4-opcodes
35322 all-stageprofile-ld: maybe-all-stageprofile-opcodes
35323 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
35324 all-ld: maybe-all-build-bison
35326 all-stage1-ld: maybe-all-build-bison
35327 all-stage2-ld: maybe-all-build-bison
35328 all-stage3-ld: maybe-all-build-bison
35329 all-stage4-ld: maybe-all-build-bison
35330 all-stageprofile-ld: maybe-all-build-bison
35331 all-stagefeedback-ld: maybe-all-build-bison
35332 all-prebootstrap: maybe-all-build-bison
35333 all-ld: maybe-all-build-byacc
35335 all-stage1-ld: maybe-all-build-byacc
35336 all-stage2-ld: maybe-all-build-byacc
35337 all-stage3-ld: maybe-all-build-byacc
35338 all-stage4-ld: maybe-all-build-byacc
35339 all-stageprofile-ld: maybe-all-build-byacc
35340 all-stagefeedback-ld: maybe-all-build-byacc
35341 all-prebootstrap: maybe-all-build-byacc
35342 all-ld: maybe-all-build-flex
35344 all-stage1-ld: maybe-all-build-flex
35345 all-stage2-ld: maybe-all-build-flex
35346 all-stage3-ld: maybe-all-build-flex
35347 all-stage4-ld: maybe-all-build-flex
35348 all-stageprofile-ld: maybe-all-build-flex
35349 all-stagefeedback-ld: maybe-all-build-flex
35350 all-prebootstrap: maybe-all-build-flex
35351 all-ld: maybe-all-intl
35353 all-stage1-ld: maybe-all-stage1-intl
35354 all-stage2-ld: maybe-all-stage2-intl
35355 all-stage3-ld: maybe-all-stage3-intl
35356 all-stage4-ld: maybe-all-stage4-intl
35357 all-stageprofile-ld: maybe-all-stageprofile-intl
35358 all-stagefeedback-ld: maybe-all-stagefeedback-intl
35359 all-opcodes: maybe-all-bfd
35361 all-stage1-opcodes: maybe-all-stage1-bfd
35362 all-stage2-opcodes: maybe-all-stage2-bfd
35363 all-stage3-opcodes: maybe-all-stage3-bfd
35364 all-stage4-opcodes: maybe-all-stage4-bfd
35365 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
35366 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
35367 all-opcodes: maybe-all-libiberty
35369 all-stage1-opcodes: maybe-all-stage1-libiberty
35370 all-stage2-opcodes: maybe-all-stage2-libiberty
35371 all-stage3-opcodes: maybe-all-stage3-libiberty
35372 all-stage4-opcodes: maybe-all-stage4-libiberty
35373 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
35374 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
35375 all-dejagnu: maybe-all-tcl
35376 all-dejagnu: maybe-all-expect
35377 all-dejagnu: maybe-all-tk
35378 configure-expect: maybe-configure-tcl
35379 configure-expect: maybe-configure-tk
35380 all-expect: maybe-all-tcl
35381 all-expect: maybe-all-tk
35382 configure-itcl: maybe-configure-tcl
35383 configure-itcl: maybe-configure-tk
35384 all-itcl: maybe-all-tcl
35385 all-itcl: maybe-all-tk
35386 install-itcl: maybe-install-tcl
35387 configure-tk: maybe-configure-tcl
35388 all-tk: maybe-all-tcl
35389 all-sid: maybe-all-libiberty
35390 all-sid: maybe-all-bfd
35391 all-sid: maybe-all-opcodes
35392 all-sid: maybe-all-tcl
35393 all-sid: maybe-all-tk
35394 install-sid: maybe-install-tcl
35395 install-sid: maybe-install-tk
35396 all-sim: maybe-all-libiberty
35397 all-sim: maybe-all-bfd
35398 all-sim: maybe-all-opcodes
35399 all-sim: maybe-all-readline
35400 all-sim: maybe-configure-gdb
35401 all-fastjar: maybe-all-zlib
35402 all-fastjar: maybe-all-build-texinfo
35403 all-fastjar: maybe-all-libiberty
35404 all-autoconf: maybe-all-m4
35405 all-autoconf: maybe-all-build-texinfo
35406 all-automake: maybe-all-m4
35407 all-automake: maybe-all-build-texinfo
35408 all-automake: maybe-all-autoconf
35409 all-bison: maybe-all-intl
35410 all-bison: maybe-all-build-texinfo
35411 all-diff: maybe-all-intl
35412 all-diff: maybe-all-build-texinfo
35413 all-fileutils: maybe-all-intl
35414 all-fileutils: maybe-all-build-texinfo
35415 all-flex: maybe-all-build-bison
35416 all-flex: maybe-all-build-byacc
35417 all-flex: maybe-all-intl
35418 all-flex: maybe-all-m4
35419 all-flex: maybe-all-build-texinfo
35420 all-gzip: maybe-all-intl
35421 all-gzip: maybe-all-zlib
35422 all-gzip: maybe-all-build-texinfo
35423 all-hello: maybe-all-intl
35424 all-hello: maybe-all-build-texinfo
35425 all-m4: maybe-all-intl
35426 all-m4: maybe-all-build-texinfo
35427 all-make: maybe-all-intl
35428 all-make: maybe-all-build-texinfo
35429 all-patch: maybe-all-build-texinfo
35430 all-make: maybe-all-build-texinfo
35431 all-prms: maybe-all-libiberty
35432 all-recode: maybe-all-build-texinfo
35433 all-sed: maybe-all-build-texinfo
35434 all-send-pr: maybe-all-prms
35435 all-tar: maybe-all-build-texinfo
35436 all-uudecode: maybe-all-build-texinfo
35437 configure-target-boehm-gc: maybe-configure-target-qthreads
35438 configure-target-fastjar: maybe-configure-target-zlib
35439 all-target-fastjar: maybe-all-target-zlib
35440 all-target-fastjar: maybe-all-target-libiberty
35441 configure-target-libjava: maybe-configure-target-zlib
35442 configure-target-libjava: maybe-configure-target-boehm-gc
35443 configure-target-libjava: maybe-configure-target-qthreads
35444 configure-target-libjava: maybe-configure-target-libffi
35445 all-target-libjava: maybe-all-fastjar
35446 all-target-libjava: maybe-all-target-zlib
35447 all-target-libjava: maybe-all-target-boehm-gc
35448 all-target-libjava: maybe-all-target-qthreads
35449 all-target-libjava: maybe-all-target-libffi
35450 all-target-libobjc: maybe-all-target-libiberty
35451 all-target-libstdc++-v3: maybe-all-target-libiberty
35452 all-target-libgloss: maybe-configure-target-newlib
35453 all-target-winsup: maybe-all-target-libiberty
35454 all-target-winsup: maybe-all-target-libtermcap
35457 # Non-toplevel bootstrap rules must depend on several packages, to be built
35458 # before gcc. Another wart that will go away, hopefully soon.
35459 @if gcc-no-bootstrap
35461 all-prebootstrap: maybe-all-bfd
35462 all-prebootstrap: maybe-all-opcodes
35463 all-prebootstrap: maybe-all-binutils
35464 all-prebootstrap: maybe-all-gas
35465 all-prebootstrap: maybe-all-intl
35466 all-prebootstrap: maybe-all-ld
35467 all-prebootstrap: maybe-all-libcpp
35468 all-prebootstrap: maybe-all-libiberty
35469 all-prebootstrap: maybe-all-zlib
35470 @endif gcc-no-bootstrap
35472 GDB_TK = @GDB_TK@
35473 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
35475 # Serialization dependencies. Host configures don't work well in parallel to
35476 # each other, due to contention over config.cache. Target configures and
35477 # build configures are similar.
35478 @serialization_dependencies@
35480 # --------------------------------
35481 # Regenerating top level configury
35482 # --------------------------------
35484 # Multilib.out tells target dirs what multilibs they should build.
35485 # There is really only one copy. We use the 'timestamp' method to
35486 # work around various timestamp bugs on some systems.
35487 # We use move-if-change so that it's only considered updated when it
35488 # actually changes, because it has to depend on a phony target.
35489 multilib.out: maybe-all-gcc
35490 @r=`${PWD_COMMAND}`; export r; \
35491 echo "Checking multilib configuration..."; \
35492 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
35493 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
35495 # Rebuilding Makefile.in, using autogen.
35496 AUTOGEN = autogen
35497 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
35498 cd $(srcdir) && $(AUTOGEN) Makefile.def
35500 # Rebuilding Makefile.
35501 Makefile: $(srcdir)/Makefile.in config.status
35502 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
35504 config.status: configure
35505 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
35507 # Rebuilding configure.
35508 AUTOCONF = autoconf
35509 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
35510 cd $(srcdir) && $(AUTOCONF)
35512 # ------------------------------
35513 # Special directives to GNU Make
35514 # ------------------------------
35516 # Don't pass command-line variables to submakes.
35517 .NOEXPORT:
35518 MAKEOVERRIDES=
35520 # end of Makefile.in