* config/arm/unknown-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define
[official-gcc.git] / Makefile.in
blobd5f7170841ea09765f335eb9112fe4e45cc0a3e0
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 mandir = @mandir@
54 man1dir = $(mandir)/man1
55 man2dir = $(mandir)/man2
56 man3dir = $(mandir)/man3
57 man4dir = $(mandir)/man4
58 man5dir = $(mandir)/man5
59 man6dir = $(mandir)/man6
60 man7dir = $(mandir)/man7
61 man8dir = $(mandir)/man8
62 man9dir = $(mandir)/man9
64 INSTALL = @INSTALL@
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 INSTALL_DATA = @INSTALL_DATA@
68 LN = @LN@
69 LN_S = @LN_S@
71 # -------------------------------------------------
72 # Miscellaneous non-standard autoconf-set variables
73 # -------------------------------------------------
75 # The gcc driver likes to know the arguments it was configured with.
76 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
78 tooldir = @tooldir@
79 build_tooldir = @build_tooldir@
81 GDB_NLM_DEPS =
83 # This is the name of the environment variable used for the path to
84 # the libraries.
85 RPATH_ENVVAR = @RPATH_ENVVAR@
87 # This is the list of directories to be built for the build system.
88 BUILD_CONFIGDIRS = libiberty
89 # Build programs are put under this directory.
90 BUILD_SUBDIR = @build_subdir@
91 # This is set by the configure script to the arguments to use when configuring
92 # directories built for the build system.
93 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
95 # This is the list of variables to export in the environment when
96 # configuring any subdirectory. It must also be exported whenever
97 # recursing into a build directory in case that directory's Makefile
98 # re-runs configure.
99 BASE_EXPORTS = \
100 FLEX="$(FLEX)"; export FLEX; \
101 LEX="$(LEX)"; export LEX; \
102 BISON="$(BISON)"; export BISON; \
103 YACC="$(YACC)"; export YACC; \
104 M4="$(M4)"; export M4; \
105 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
107 # This is the list of variables to export in the environment when
108 # configuring subdirectories for the build system.
109 BUILD_EXPORTS = \
110 $(BASE_EXPORTS) \
111 AR="$(AR_FOR_BUILD)"; export AR; \
112 AS="$(AS_FOR_BUILD)"; export AS; \
113 CC="$(CC_FOR_BUILD)"; export CC; \
114 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
115 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
116 CXX="$(CXX_FOR_BUILD)"; export CXX; \
117 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
118 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
119 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
120 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
121 LD="$(LD_FOR_BUILD)"; export LD; \
122 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
123 NM="$(NM_FOR_BUILD)"; export NM; \
124 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
125 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
127 # This is the list of directories to built for the host system.
128 SUBDIRS = @configdirs@
129 # This is set by the configure script to the arguments to use when configuring
130 # directories built for the host system.
131 HOST_CONFIGARGS = @host_configargs@
132 # Host programs are put under this directory, which is . except if building
133 # with srcdir=..
134 HOST_SUBDIR = @host_subdir@
135 # This is the list of variables to export in the environment when
136 # configuring subdirectories for the host system.
137 HOST_EXPORTS = \
138 $(BASE_EXPORTS) \
139 CC="$(CC)"; export CC; \
140 CFLAGS="$(CFLAGS)"; export CFLAGS; \
141 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
142 CXX="$(CXX)"; export CXX; \
143 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
144 AR="$(AR)"; export AR; \
145 AS="$(AS)"; export AS; \
146 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
147 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
148 LD="$(LD)"; export LD; \
149 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
150 NM="$(NM)"; export NM; \
151 RANLIB="$(RANLIB)"; export RANLIB; \
152 WINDRES="$(WINDRES)"; export WINDRES; \
153 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
154 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
155 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
156 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
157 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
158 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
160 # Similar, for later GCC stages.
161 POSTSTAGE1_HOST_EXPORTS = \
162 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
163 $(HOST_EXPORTS) \
164 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
165 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
166 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
167 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
168 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
169 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
171 # This is set by the configure script to the list of directories which
172 # should be built using the target tools.
173 TARGET_CONFIGDIRS = @target_configdirs@
174 # Target libraries are put under this directory:
175 TARGET_SUBDIR = @target_subdir@
176 # This is set by the configure script to the arguments to use when configuring
177 # directories built for the target.
178 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
179 # This is the list of variables to export in the environment when
180 # configuring subdirectories for the host system.
181 BASE_TARGET_EXPORTS = \
182 $(BASE_EXPORTS) \
183 AR="$(AR_FOR_TARGET)"; export AR; \
184 AS="$(AS_FOR_TARGET)"; export AS; \
185 CC="$(CC_FOR_TARGET)"; export CC; \
186 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
187 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
188 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
189 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
190 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
191 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
192 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
193 LD="$(LD_FOR_TARGET)"; export LD; \
194 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
195 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
196 NM="$(NM_FOR_TARGET)"; export NM; \
197 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
198 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
199 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
200 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
202 RAW_CXX_TARGET_EXPORTS = \
203 $(BASE_TARGET_EXPORTS) \
204 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
205 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
207 NORMAL_TARGET_EXPORTS = \
208 $(BASE_TARGET_EXPORTS) \
209 CXX="$(CXX_FOR_TARGET)"; export CXX;
211 # Where to find GMP
212 HOST_GMPLIBS = @gmplibs@
213 HOST_GMPINC = @gmpinc@
215 # ----------------------------------------------
216 # Programs producing files for the BUILD machine
217 # ----------------------------------------------
219 SHELL = @config_shell@
221 # pwd command to use. Allow user to override default by setting PWDCMD in
222 # the environment to account for automounters. The make variable must not
223 # be called PWDCMD, otherwise the value set here is passed to make
224 # subprocesses and overrides the setting from the user's environment.
225 # Don't use PWD since it is a common shell environment variable and we
226 # don't want to corrupt it.
227 PWD_COMMAND = $${PWDCMD-pwd}
229 # compilers to use to create programs which must be run in the build
230 # environment.
231 CC_FOR_BUILD = @CC_FOR_BUILD@
232 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
234 CXX_FOR_BUILD = $(CXX)
236 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
237 # here so that they can be overridden by Makefile fragments.
238 BUILD_PREFIX = @BUILD_PREFIX@
239 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
241 # Flags to pass to stage2 and later makes. They are defined
242 # here so that they can be overridden by Makefile fragments.
243 BOOT_CFLAGS= -g -O2
245 CONFIGURED_BISON = @CONFIGURED_BISON@
246 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
247 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
248 else \
249 echo ${CONFIGURED_BISON} ; \
252 CONFIGURED_YACC = @CONFIGURED_YACC@
253 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
254 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
255 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
256 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
257 else \
258 echo ${CONFIGURED_YACC} ; \
261 CONFIGURED_FLEX = @CONFIGURED_FLEX@
262 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
263 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
264 else echo ${CONFIGURED_FLEX} ; fi`
266 CONFIGURED_LEX = @CONFIGURED_LEX@
267 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
268 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
269 else echo ${CONFIGURED_LEX} ; fi`
271 CONFIGURED_M4 = @CONFIGURED_M4@
272 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
273 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
274 else echo ${CONFIGURED_M4} ; fi`
276 # For an installed makeinfo, we require it to be from texinfo 4.2 or
277 # higher, else we use the "missing" dummy. We also pass the subdirectory
278 # makeinfo even if only the Makefile is there, because Texinfo builds its
279 # manual when made, and it requires its own version.
280 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
281 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
282 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
283 else if (${CONFIGURED_MAKEINFO} --version \
284 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
285 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
287 # This just becomes part of the MAKEINFO definition passed down to
288 # sub-makes. It lets flags be given on the command line while still
289 # using the makeinfo from the object tree.
290 # (Default to avoid splitting info files by setting the threshold high.)
291 MAKEINFOFLAGS = --split-size=5000000
293 # FIXME: expect may become a build tool?
294 EXPECT = `if [ -f $$r/$(HOST_SUBDIR)/expect/expect ] ; \
295 then echo $$r/$(HOST_SUBDIR)/expect/expect ; \
296 else echo expect ; fi`
298 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
299 then echo $$s/dejagnu/runtest ; \
300 else echo runtest ; fi`
302 # ---------------------------------------------
303 # Programs producing files for the HOST machine
304 # ---------------------------------------------
306 AS = @AS@
308 AR = @AR@
309 AR_FLAGS = rc
311 CC = @CC@
312 CFLAGS = @CFLAGS@
313 LIBCFLAGS = $(CFLAGS)
315 CXX = @CXX@
316 CXXFLAGS = @CXXFLAGS@
317 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
319 DLLTOOL = @DLLTOOL@
321 NM = @NM@
323 LD = @LD@
324 LDFLAGS =
326 RANLIB = @RANLIB@
328 WINDRES = @WINDRES@
330 PICFLAG =
332 # -----------------------------------------------
333 # Programs producing files for the TARGET machine
334 # -----------------------------------------------
336 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
338 AR_FOR_TARGET=@AR_FOR_TARGET@
339 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
340 USUAL_AR_FOR_TARGET = ` \
341 if [ -f $$r/$(HOST_SUBDIR)/binutils/ar ] ; then \
342 echo $$r/$(HOST_SUBDIR)/binutils/ar ; \
343 else \
344 if [ '$(host)' = '$(target)' ] ; then \
345 echo $(AR); \
346 else \
347 echo $(CONFIGURED_AR_FOR_TARGET) ; \
348 fi; \
351 AS_FOR_TARGET=@AS_FOR_TARGET@
352 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
353 USUAL_AS_FOR_TARGET = ` \
354 if [ -f $$r/$(HOST_SUBDIR)/gas/as-new ] ; then \
355 echo $$r/$(HOST_SUBDIR)/gas/as-new ; \
356 elif [ -f $$r/$(HOST_SUBDIR)/gcc/as ]; then \
357 echo $$r/$(HOST_SUBDIR)/gcc/as ; \
358 else \
359 if [ '$(host)' = '$(target)' ] ; then \
360 echo $(AS); \
361 else \
362 echo $(CONFIGURED_AS_FOR_TARGET) ; \
363 fi; \
366 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
367 CONFIGURED_CC_FOR_TARGET=@CONFIGURED_CC_FOR_TARGET@
368 USUAL_CC_FOR_TARGET = ` \
369 if [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ] ; then \
370 echo $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ ; \
371 else \
372 if [ '$(host)' = '$(target)' ] ; then \
373 echo $(CC); \
374 else \
375 echo $(CONFIGURED_CC_FOR_TARGET) ; \
376 fi; \
379 # During gcc bootstrap, if we use some random cc for stage1 then
380 # CFLAGS will be just -g. We want to ensure that TARGET libraries
381 # (which we know are built with gcc) are built with optimizations so
382 # prepend -O2 when setting CFLAGS_FOR_TARGET.
383 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
384 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
386 # If GCC_FOR_TARGET is not overriden on the command line, then this
387 # variable is passed down to the gcc Makefile, where it is used to
388 # build libgcc2.a. We define it here so that it can itself be
389 # overridden on the command line.
390 GCC_FOR_TARGET=@GCC_FOR_TARGET@
391 CONFIGURED_GCC_FOR_TARGET=@CONFIGURED_GCC_FOR_TARGET@
392 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) \
393 $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ $(FLAGS_FOR_TARGET)
394 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
396 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
397 CONFIGURED_CXX_FOR_TARGET=@CONFIGURED_CXX_FOR_TARGET@
398 USUAL_CXX_FOR_TARGET = ` \
399 if [ -f $$r/$(HOST_SUBDIR)/gcc/g++ ] ; then \
400 (echo $$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++; \
401 test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; \
402 echo -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs) | tr '\015\012' ' '; \
403 else \
404 if [ '$(host)' = '$(target)' ] ; then \
405 echo $(CXX); \
406 else \
407 echo $(CONFIGURED_CXX_FOR_TARGET) ; \
408 fi; \
411 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
412 USUAL_RAW_CXX_FOR_TARGET = ` \
413 if [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ] ; then \
414 echo $$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs; \
415 else \
416 if [ '$(host)' = '$(target)' ] ; then \
417 echo $(CXX); \
418 else \
419 echo $(CONFIGURED_CXX_FOR_TARGET) ; \
420 fi; \
423 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
424 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
426 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
427 CONFIGURED_GCJ_FOR_TARGET=@CONFIGURED_GCJ_FOR_TARGET@
428 USUAL_GCJ_FOR_TARGET = ` \
429 if [ -f $$r/$(HOST_SUBDIR)/gcc/gcj ] ; then \
430 echo $$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc ; \
431 else \
432 if [ '$(host)' = '$(target)' ] ; then \
433 echo $(GCJ); \
434 else \
435 echo $(CONFIGURED_GCJ_FOR_TARGET) ; \
436 fi; \
439 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
440 CONFIGURED_GFORTRAN_FOR_TARGET=@CONFIGURED_GFORTRAN_FOR_TARGET@
441 USUAL_GFORTRAN_FOR_TARGET = ` \
442 if [ -f $$r/$(HOST_SUBDIR)/gcc/gfortran ] ; then \
443 echo $$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc ; \
444 else \
445 if [ '$(host)' = '$(target)' ] ; then \
446 echo $(GFORTRAN); \
447 else \
448 echo $(CONFIGURED_GFORTRAN_FOR_TARGET) ; \
449 fi; \
453 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
454 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
455 USUAL_DLLTOOL_FOR_TARGET = ` \
456 if [ -f $$r/$(HOST_SUBDIR)/binutils/dlltool ] ; then \
457 echo $$r/$(HOST_SUBDIR)/binutils/dlltool ; \
458 else \
459 if [ '$(host)' = '$(target)' ] ; then \
460 echo $(DLLTOOL); \
461 else \
462 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
463 fi; \
466 LD_FOR_TARGET=@LD_FOR_TARGET@
467 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
468 USUAL_LD_FOR_TARGET = ` \
469 if [ -f $$r/$(HOST_SUBDIR)/ld/ld-new ] ; then \
470 echo $$r/$(HOST_SUBDIR)/ld/ld-new ; \
471 elif [ -f $$r/$(HOST_SUBDIR)/gcc/collect-ld ]; then \
472 echo $$r/$(HOST_SUBDIR)/gcc/collect-ld ; \
473 else \
474 if [ '$(host)' = '$(target)' ] ; then \
475 echo $(LD); \
476 else \
477 echo $(CONFIGURED_LD_FOR_TARGET) ; \
478 fi; \
481 LDFLAGS_FOR_TARGET =
483 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
484 CONFIGURED_LIPO_FOR_TARGET=@CONFIGURED_LIPO_FOR_TARGET@
485 USUAL_LIPO_FOR_TARGET = ` \
486 if [ '$(host)' = '$(target)' ] ; then \
487 if [ x'$(LIPO)' != x ]; then \
488 echo $(LIPO); \
489 else \
490 echo lipo; \
491 fi; \
492 else \
493 echo $(CONFIGURED_LIPO_FOR_TARGET) ; \
496 NM_FOR_TARGET=@NM_FOR_TARGET@
497 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
498 USUAL_NM_FOR_TARGET = ` \
499 if [ -f $$r/$(HOST_SUBDIR)/binutils/nm-new ] ; then \
500 echo $$r/$(HOST_SUBDIR)/binutils/nm-new ; \
501 elif [ -f $$r/$(HOST_SUBDIR)/gcc/nm ]; then \
502 echo $$r/$(HOST_SUBDIR)/gcc/nm ; \
503 else \
504 if [ '$(host)' = '$(target)' ] ; then \
505 echo $(NM); \
506 else \
507 echo $(CONFIGURED_NM_FOR_TARGET) ; \
508 fi; \
511 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
512 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
513 USUAL_RANLIB_FOR_TARGET = ` \
514 if [ -f $$r/$(HOST_SUBDIR)/binutils/ranlib ] ; then \
515 echo $$r/$(HOST_SUBDIR)/binutils/ranlib ; \
516 else \
517 if [ '$(host)' = '$(target)' ] ; then \
518 if [ x'$(RANLIB)' != x ]; then \
519 echo $(RANLIB); \
520 else \
521 echo ranlib; \
522 fi; \
523 else \
524 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
525 fi; \
528 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
529 CONFIGURED_STRIP_FOR_TARGET=@CONFIGURED_STRIP_FOR_TARGET@
530 USUAL_STRIP_FOR_TARGET = ` \
531 if [ -f $$r/$(HOST_SUBDIR)/binutils/strip ] ; then \
532 echo $$r/$(HOST_SUBDIR)/binutils/strip ; \
533 else \
534 if [ '$(host)' = '$(target)' ] ; then \
535 if [ x'$(STRIP)' != x ]; then \
536 echo $(STRIP); \
537 else \
538 echo strip; \
539 fi; \
540 else \
541 echo $(CONFIGURED_STRIP_FOR_TARGET) ; \
542 fi; \
545 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
546 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
547 USUAL_WINDRES_FOR_TARGET = ` \
548 if [ -f $$r/$(HOST_SUBDIR)/binutils/windres ] ; then \
549 echo $$r/$(HOST_SUBDIR)/binutils/windres ; \
550 else \
551 if [ '$(host)' = '$(target)' ] ; then \
552 echo $(WINDRES); \
553 else \
554 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
555 fi; \
558 PICFLAG_FOR_TARGET =
560 # ------------------------------------
561 # Miscellaneous targets and flag lists
562 # ------------------------------------
564 # The first rule in the file had better be this one. Don't put any above it.
565 # This lives here to allow makefile fragments to contain dependencies.
566 @default_target@:
568 #### host and target specific makefile fragments come in here.
569 @target_makefile_frag@
570 @alphaieee_frag@
571 @ospace_frag@
572 @host_makefile_frag@
575 # This is the list of directories that may be needed in RPATH_ENVVAR
576 # so that prorgams built for the target machine work.
577 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(HOST_LIB_PATH_gcc)
579 @if target-libstdc++-v3
580 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
581 @endif target-libstdc++-v3
583 @if target-libmudflap
584 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
585 @endif target-libmudflap
587 @if target-libssp
588 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
589 @endif target-libssp
593 # This is the list of directories that may be needed in RPATH_ENVVAR
594 # so that programs built for the host machine work.
595 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
597 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
598 @if gcc
599 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
600 @endif gcc
603 @if bfd
604 HOST_LIB_PATH_bfd = \
605 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
606 @endif bfd
608 @if opcodes
609 HOST_LIB_PATH_opcodes = \
610 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
611 @endif opcodes
614 # Flags to pass down to all sub-makes.
615 BASE_FLAGS_TO_PASS = \
616 "DESTDIR=$(DESTDIR)" \
617 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
618 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
619 "bindir=$(bindir)" \
620 "datadir=$(datadir)" \
621 "exec_prefix=$(exec_prefix)" \
622 "includedir=$(includedir)" \
623 "infodir=$(infodir)" \
624 "libdir=$(libdir)" \
625 "libexecdir=$(libexecdir)" \
626 "lispdir=$(lispdir)" \
627 "localstatedir=$(localstatedir)" \
628 "mandir=$(mandir)" \
629 "oldincludedir=$(oldincludedir)" \
630 "prefix=$(prefix)" \
631 "sbindir=$(sbindir)" \
632 "sharedstatedir=$(sharedstatedir)" \
633 "sysconfdir=$(sysconfdir)" \
634 "tooldir=$(tooldir)" \
635 "build_tooldir=$(build_tooldir)" \
636 "target_alias=$(target_alias)" \
637 "BISON=$(BISON)" \
638 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
639 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
640 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
641 "EXPECT=$(EXPECT)" \
642 "FLEX=$(FLEX)" \
643 "INSTALL=$(INSTALL)" \
644 "INSTALL_DATA=$(INSTALL_DATA)" \
645 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
646 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
647 "LEX=$(LEX)" \
648 "M4=$(M4)" \
649 "MAKE=$(MAKE)" \
650 "RUNTEST=$(RUNTEST)" \
651 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
652 "SHELL=$(SHELL)" \
653 "YACC=$(YACC)" \
654 "AR_FLAGS=$(AR_FLAGS)" \
655 "CFLAGS=$(CFLAGS)" \
656 "CXXFLAGS=$(CXXFLAGS)" \
657 "LDFLAGS=$(LDFLAGS)" \
658 "LIBCFLAGS=$(LIBCFLAGS)" \
659 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
660 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
661 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
662 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
663 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
664 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
665 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
666 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
667 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
668 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
669 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
670 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
671 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
672 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
673 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
674 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
675 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
676 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
677 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
678 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
679 "CONFIG_SHELL=$(SHELL)" \
680 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
682 # We leave this in just in case, but it is not needed anymore.
683 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
685 # Flags to pass down to most sub-makes, in which we're building with
686 # the host environment.
687 EXTRA_HOST_FLAGS = \
688 'AR=$(AR)' \
689 'AS=$(AS)' \
690 'CC=$(CC)' \
691 'CXX=$(CXX)' \
692 'DLLTOOL=$(DLLTOOL)' \
693 'LD=$(LD)' \
694 'NM=$(NM)' \
695 'RANLIB=$(RANLIB)' \
696 'WINDRES=$(WINDRES)'
698 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
700 # Flags that are concerned with the location of the X11 include files
701 # and library files
703 # NOTE: until the top-level is getting the values via autoconf, it only
704 # causes problems to have this top-level Makefile overriding the autoconf-set
705 # values in child directories. Only variables that don't conflict with
706 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
708 X11_FLAGS_TO_PASS = \
709 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
710 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
712 # Flags to pass down to makes which are built with the target environment.
713 # The double $ decreases the length of the command line; the variables
714 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
715 EXTRA_TARGET_FLAGS = \
716 'AR=$$(AR_FOR_TARGET)' \
717 'AS=$$(AS_FOR_TARGET)' \
718 'CC=$$(CC_FOR_TARGET)' \
719 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
720 'CXX=$$(CXX_FOR_TARGET)' \
721 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
722 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
723 'LD=$$(LD_FOR_TARGET)' \
724 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
725 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
726 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
727 'NM=$$(NM_FOR_TARGET)' \
728 'RANLIB=$$(RANLIB_FOR_TARGET)' \
729 'WINDRES=$$(WINDRES_FOR_TARGET)'
731 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
733 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
734 # unfortunately needs the native compiler and the target ar and
735 # ranlib.
736 # If any variables are added here, they must be added to do-*, below.
737 # The BUILD_* variables are a special case, which are used for the gcc
738 # cross-building scheme.
739 EXTRA_GCC_FLAGS = \
740 'BUILD_PREFIX=$(BUILD_PREFIX)' \
741 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
742 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
743 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
744 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
745 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
746 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
747 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
748 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
749 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
750 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
751 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
753 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
755 .PHONY: configure-host
756 configure-host: \
757 maybe-configure-ash \
758 maybe-configure-autoconf \
759 maybe-configure-automake \
760 maybe-configure-bash \
761 maybe-configure-bfd \
762 maybe-configure-opcodes \
763 maybe-configure-binutils \
764 maybe-configure-bison \
765 maybe-configure-byacc \
766 maybe-configure-bzip2 \
767 maybe-configure-dejagnu \
768 maybe-configure-diff \
769 maybe-configure-dosutils \
770 maybe-configure-etc \
771 maybe-configure-fastjar \
772 maybe-configure-fileutils \
773 maybe-configure-findutils \
774 maybe-configure-find \
775 maybe-configure-fixincludes \
776 maybe-configure-flex \
777 maybe-configure-gas \
778 maybe-configure-gcc \
779 maybe-configure-gawk \
780 maybe-configure-gettext \
781 maybe-configure-gnuserv \
782 maybe-configure-gprof \
783 maybe-configure-gzip \
784 maybe-configure-hello \
785 maybe-configure-indent \
786 maybe-configure-intl \
787 maybe-configure-tcl \
788 maybe-configure-itcl \
789 maybe-configure-ld \
790 maybe-configure-libcpp \
791 maybe-configure-libgui \
792 maybe-configure-libiberty \
793 maybe-configure-libtool \
794 maybe-configure-m4 \
795 maybe-configure-make \
796 maybe-configure-mmalloc \
797 maybe-configure-patch \
798 maybe-configure-perl \
799 maybe-configure-prms \
800 maybe-configure-rcs \
801 maybe-configure-readline \
802 maybe-configure-release \
803 maybe-configure-recode \
804 maybe-configure-sed \
805 maybe-configure-send-pr \
806 maybe-configure-shellutils \
807 maybe-configure-sid \
808 maybe-configure-sim \
809 maybe-configure-tar \
810 maybe-configure-texinfo \
811 maybe-configure-textutils \
812 maybe-configure-time \
813 maybe-configure-uudecode \
814 maybe-configure-wdiff \
815 maybe-configure-zip \
816 maybe-configure-zlib \
817 maybe-configure-gdb \
818 maybe-configure-expect \
819 maybe-configure-guile \
820 maybe-configure-tk \
821 maybe-configure-libtermcap \
822 maybe-configure-utils \
823 maybe-configure-gnattools
824 .PHONY: configure-target
825 configure-target: \
826 maybe-configure-target-libstdc++-v3 \
827 maybe-configure-target-libmudflap \
828 maybe-configure-target-libssp \
829 maybe-configure-target-newlib \
830 maybe-configure-target-libgfortran \
831 maybe-configure-target-libobjc \
832 maybe-configure-target-libtermcap \
833 maybe-configure-target-winsup \
834 maybe-configure-target-libgloss \
835 maybe-configure-target-libiberty \
836 maybe-configure-target-gperf \
837 maybe-configure-target-examples \
838 maybe-configure-target-libffi \
839 maybe-configure-target-libjava \
840 maybe-configure-target-zlib \
841 maybe-configure-target-boehm-gc \
842 maybe-configure-target-qthreads \
843 maybe-configure-target-rda \
844 maybe-configure-target-libada
846 # The target built for a native non-bootstrap build.
847 .PHONY: all
848 all: unstage all-host all-target stage
850 .PHONY: all-build
851 all-build: \
852 maybe-all-build-libiberty \
853 maybe-all-build-bison \
854 maybe-all-build-byacc \
855 maybe-all-build-flex \
856 maybe-all-build-m4 \
857 maybe-all-build-texinfo \
858 maybe-all-build-fixincludes
859 .PHONY: all-host
860 all-host: \
861 maybe-all-ash \
862 maybe-all-autoconf \
863 maybe-all-automake \
864 maybe-all-bash \
865 maybe-all-bfd \
866 maybe-all-opcodes \
867 maybe-all-binutils \
868 maybe-all-bison \
869 maybe-all-byacc \
870 maybe-all-bzip2 \
871 maybe-all-dejagnu \
872 maybe-all-diff \
873 maybe-all-dosutils \
874 maybe-all-etc \
875 maybe-all-fastjar \
876 maybe-all-fileutils \
877 maybe-all-findutils \
878 maybe-all-find \
879 maybe-all-fixincludes \
880 maybe-all-flex \
881 maybe-all-gas \
882 maybe-all-gcc \
883 maybe-all-gawk \
884 maybe-all-gettext \
885 maybe-all-gnuserv \
886 maybe-all-gprof \
887 maybe-all-gzip \
888 maybe-all-hello \
889 maybe-all-indent \
890 maybe-all-intl \
891 maybe-all-tcl \
892 maybe-all-itcl \
893 maybe-all-ld \
894 maybe-all-libcpp \
895 maybe-all-libgui \
896 maybe-all-libiberty \
897 maybe-all-libtool \
898 maybe-all-m4 \
899 maybe-all-make \
900 maybe-all-mmalloc \
901 maybe-all-patch \
902 maybe-all-perl \
903 maybe-all-prms \
904 maybe-all-rcs \
905 maybe-all-readline \
906 maybe-all-release \
907 maybe-all-recode \
908 maybe-all-sed \
909 maybe-all-send-pr \
910 maybe-all-shellutils \
911 maybe-all-sid \
912 maybe-all-sim \
913 maybe-all-tar \
914 maybe-all-texinfo \
915 maybe-all-textutils \
916 maybe-all-time \
917 maybe-all-uudecode \
918 maybe-all-wdiff \
919 maybe-all-zip \
920 maybe-all-zlib \
921 maybe-all-gdb \
922 maybe-all-expect \
923 maybe-all-guile \
924 maybe-all-tk \
925 maybe-all-libtermcap \
926 maybe-all-utils \
927 maybe-all-gnattools
928 .PHONY: all-target
929 all-target: \
930 maybe-all-target-libstdc++-v3 \
931 maybe-all-target-libmudflap \
932 maybe-all-target-libssp \
933 maybe-all-target-newlib \
934 maybe-all-target-libgfortran \
935 maybe-all-target-libobjc \
936 maybe-all-target-libtermcap \
937 maybe-all-target-winsup \
938 maybe-all-target-libgloss \
939 maybe-all-target-libiberty \
940 maybe-all-target-gperf \
941 maybe-all-target-examples \
942 maybe-all-target-libffi \
943 maybe-all-target-libjava \
944 maybe-all-target-zlib \
945 maybe-all-target-boehm-gc \
946 maybe-all-target-qthreads \
947 maybe-all-target-rda \
948 maybe-all-target-libada
950 # Do a target for all the subdirectories. A ``make do-X'' will do a
951 # ``make X'' in all subdirectories (because, in general, there is a
952 # dependency (below) of X upon do-X, a ``make X'' will also do this,
953 # but it may do additional work as well).
955 .PHONY: do-info
956 do-info: unstage info-host info-target stage
958 .PHONY: info-host
959 info-host: \
960 maybe-info-ash \
961 maybe-info-autoconf \
962 maybe-info-automake \
963 maybe-info-bash \
964 maybe-info-bfd \
965 maybe-info-opcodes \
966 maybe-info-binutils \
967 maybe-info-bison \
968 maybe-info-byacc \
969 maybe-info-bzip2 \
970 maybe-info-dejagnu \
971 maybe-info-diff \
972 maybe-info-dosutils \
973 maybe-info-etc \
974 maybe-info-fastjar \
975 maybe-info-fileutils \
976 maybe-info-findutils \
977 maybe-info-find \
978 maybe-info-fixincludes \
979 maybe-info-flex \
980 maybe-info-gas \
981 maybe-info-gcc \
982 maybe-info-gawk \
983 maybe-info-gettext \
984 maybe-info-gnuserv \
985 maybe-info-gprof \
986 maybe-info-gzip \
987 maybe-info-hello \
988 maybe-info-indent \
989 maybe-info-intl \
990 maybe-info-tcl \
991 maybe-info-itcl \
992 maybe-info-ld \
993 maybe-info-libcpp \
994 maybe-info-libgui \
995 maybe-info-libiberty \
996 maybe-info-libtool \
997 maybe-info-m4 \
998 maybe-info-make \
999 maybe-info-mmalloc \
1000 maybe-info-patch \
1001 maybe-info-perl \
1002 maybe-info-prms \
1003 maybe-info-rcs \
1004 maybe-info-readline \
1005 maybe-info-release \
1006 maybe-info-recode \
1007 maybe-info-sed \
1008 maybe-info-send-pr \
1009 maybe-info-shellutils \
1010 maybe-info-sid \
1011 maybe-info-sim \
1012 maybe-info-tar \
1013 maybe-info-texinfo \
1014 maybe-info-textutils \
1015 maybe-info-time \
1016 maybe-info-uudecode \
1017 maybe-info-wdiff \
1018 maybe-info-zip \
1019 maybe-info-zlib \
1020 maybe-info-gdb \
1021 maybe-info-expect \
1022 maybe-info-guile \
1023 maybe-info-tk \
1024 maybe-info-libtermcap \
1025 maybe-info-utils \
1026 maybe-info-gnattools
1028 .PHONY: info-target
1029 info-target: \
1030 maybe-info-target-libstdc++-v3 \
1031 maybe-info-target-libmudflap \
1032 maybe-info-target-libssp \
1033 maybe-info-target-newlib \
1034 maybe-info-target-libgfortran \
1035 maybe-info-target-libobjc \
1036 maybe-info-target-libtermcap \
1037 maybe-info-target-winsup \
1038 maybe-info-target-libgloss \
1039 maybe-info-target-libiberty \
1040 maybe-info-target-gperf \
1041 maybe-info-target-examples \
1042 maybe-info-target-libffi \
1043 maybe-info-target-libjava \
1044 maybe-info-target-zlib \
1045 maybe-info-target-boehm-gc \
1046 maybe-info-target-qthreads \
1047 maybe-info-target-rda \
1048 maybe-info-target-libada
1050 .PHONY: do-dvi
1051 do-dvi: unstage dvi-host dvi-target stage
1053 .PHONY: dvi-host
1054 dvi-host: \
1055 maybe-dvi-ash \
1056 maybe-dvi-autoconf \
1057 maybe-dvi-automake \
1058 maybe-dvi-bash \
1059 maybe-dvi-bfd \
1060 maybe-dvi-opcodes \
1061 maybe-dvi-binutils \
1062 maybe-dvi-bison \
1063 maybe-dvi-byacc \
1064 maybe-dvi-bzip2 \
1065 maybe-dvi-dejagnu \
1066 maybe-dvi-diff \
1067 maybe-dvi-dosutils \
1068 maybe-dvi-etc \
1069 maybe-dvi-fastjar \
1070 maybe-dvi-fileutils \
1071 maybe-dvi-findutils \
1072 maybe-dvi-find \
1073 maybe-dvi-fixincludes \
1074 maybe-dvi-flex \
1075 maybe-dvi-gas \
1076 maybe-dvi-gcc \
1077 maybe-dvi-gawk \
1078 maybe-dvi-gettext \
1079 maybe-dvi-gnuserv \
1080 maybe-dvi-gprof \
1081 maybe-dvi-gzip \
1082 maybe-dvi-hello \
1083 maybe-dvi-indent \
1084 maybe-dvi-intl \
1085 maybe-dvi-tcl \
1086 maybe-dvi-itcl \
1087 maybe-dvi-ld \
1088 maybe-dvi-libcpp \
1089 maybe-dvi-libgui \
1090 maybe-dvi-libiberty \
1091 maybe-dvi-libtool \
1092 maybe-dvi-m4 \
1093 maybe-dvi-make \
1094 maybe-dvi-mmalloc \
1095 maybe-dvi-patch \
1096 maybe-dvi-perl \
1097 maybe-dvi-prms \
1098 maybe-dvi-rcs \
1099 maybe-dvi-readline \
1100 maybe-dvi-release \
1101 maybe-dvi-recode \
1102 maybe-dvi-sed \
1103 maybe-dvi-send-pr \
1104 maybe-dvi-shellutils \
1105 maybe-dvi-sid \
1106 maybe-dvi-sim \
1107 maybe-dvi-tar \
1108 maybe-dvi-texinfo \
1109 maybe-dvi-textutils \
1110 maybe-dvi-time \
1111 maybe-dvi-uudecode \
1112 maybe-dvi-wdiff \
1113 maybe-dvi-zip \
1114 maybe-dvi-zlib \
1115 maybe-dvi-gdb \
1116 maybe-dvi-expect \
1117 maybe-dvi-guile \
1118 maybe-dvi-tk \
1119 maybe-dvi-libtermcap \
1120 maybe-dvi-utils \
1121 maybe-dvi-gnattools
1123 .PHONY: dvi-target
1124 dvi-target: \
1125 maybe-dvi-target-libstdc++-v3 \
1126 maybe-dvi-target-libmudflap \
1127 maybe-dvi-target-libssp \
1128 maybe-dvi-target-newlib \
1129 maybe-dvi-target-libgfortran \
1130 maybe-dvi-target-libobjc \
1131 maybe-dvi-target-libtermcap \
1132 maybe-dvi-target-winsup \
1133 maybe-dvi-target-libgloss \
1134 maybe-dvi-target-libiberty \
1135 maybe-dvi-target-gperf \
1136 maybe-dvi-target-examples \
1137 maybe-dvi-target-libffi \
1138 maybe-dvi-target-libjava \
1139 maybe-dvi-target-zlib \
1140 maybe-dvi-target-boehm-gc \
1141 maybe-dvi-target-qthreads \
1142 maybe-dvi-target-rda \
1143 maybe-dvi-target-libada
1145 .PHONY: do-html
1146 do-html: unstage html-host html-target stage
1148 .PHONY: html-host
1149 html-host: \
1150 maybe-html-ash \
1151 maybe-html-autoconf \
1152 maybe-html-automake \
1153 maybe-html-bash \
1154 maybe-html-bfd \
1155 maybe-html-opcodes \
1156 maybe-html-binutils \
1157 maybe-html-bison \
1158 maybe-html-byacc \
1159 maybe-html-bzip2 \
1160 maybe-html-dejagnu \
1161 maybe-html-diff \
1162 maybe-html-dosutils \
1163 maybe-html-etc \
1164 maybe-html-fastjar \
1165 maybe-html-fileutils \
1166 maybe-html-findutils \
1167 maybe-html-find \
1168 maybe-html-fixincludes \
1169 maybe-html-flex \
1170 maybe-html-gas \
1171 maybe-html-gcc \
1172 maybe-html-gawk \
1173 maybe-html-gettext \
1174 maybe-html-gnuserv \
1175 maybe-html-gprof \
1176 maybe-html-gzip \
1177 maybe-html-hello \
1178 maybe-html-indent \
1179 maybe-html-intl \
1180 maybe-html-tcl \
1181 maybe-html-itcl \
1182 maybe-html-ld \
1183 maybe-html-libcpp \
1184 maybe-html-libgui \
1185 maybe-html-libiberty \
1186 maybe-html-libtool \
1187 maybe-html-m4 \
1188 maybe-html-make \
1189 maybe-html-mmalloc \
1190 maybe-html-patch \
1191 maybe-html-perl \
1192 maybe-html-prms \
1193 maybe-html-rcs \
1194 maybe-html-readline \
1195 maybe-html-release \
1196 maybe-html-recode \
1197 maybe-html-sed \
1198 maybe-html-send-pr \
1199 maybe-html-shellutils \
1200 maybe-html-sid \
1201 maybe-html-sim \
1202 maybe-html-tar \
1203 maybe-html-texinfo \
1204 maybe-html-textutils \
1205 maybe-html-time \
1206 maybe-html-uudecode \
1207 maybe-html-wdiff \
1208 maybe-html-zip \
1209 maybe-html-zlib \
1210 maybe-html-gdb \
1211 maybe-html-expect \
1212 maybe-html-guile \
1213 maybe-html-tk \
1214 maybe-html-libtermcap \
1215 maybe-html-utils \
1216 maybe-html-gnattools
1218 .PHONY: html-target
1219 html-target: \
1220 maybe-html-target-libstdc++-v3 \
1221 maybe-html-target-libmudflap \
1222 maybe-html-target-libssp \
1223 maybe-html-target-newlib \
1224 maybe-html-target-libgfortran \
1225 maybe-html-target-libobjc \
1226 maybe-html-target-libtermcap \
1227 maybe-html-target-winsup \
1228 maybe-html-target-libgloss \
1229 maybe-html-target-libiberty \
1230 maybe-html-target-gperf \
1231 maybe-html-target-examples \
1232 maybe-html-target-libffi \
1233 maybe-html-target-libjava \
1234 maybe-html-target-zlib \
1235 maybe-html-target-boehm-gc \
1236 maybe-html-target-qthreads \
1237 maybe-html-target-rda \
1238 maybe-html-target-libada
1240 .PHONY: do-TAGS
1241 do-TAGS: unstage TAGS-host TAGS-target stage
1243 .PHONY: TAGS-host
1244 TAGS-host: \
1245 maybe-TAGS-ash \
1246 maybe-TAGS-autoconf \
1247 maybe-TAGS-automake \
1248 maybe-TAGS-bash \
1249 maybe-TAGS-bfd \
1250 maybe-TAGS-opcodes \
1251 maybe-TAGS-binutils \
1252 maybe-TAGS-bison \
1253 maybe-TAGS-byacc \
1254 maybe-TAGS-bzip2 \
1255 maybe-TAGS-dejagnu \
1256 maybe-TAGS-diff \
1257 maybe-TAGS-dosutils \
1258 maybe-TAGS-etc \
1259 maybe-TAGS-fastjar \
1260 maybe-TAGS-fileutils \
1261 maybe-TAGS-findutils \
1262 maybe-TAGS-find \
1263 maybe-TAGS-fixincludes \
1264 maybe-TAGS-flex \
1265 maybe-TAGS-gas \
1266 maybe-TAGS-gcc \
1267 maybe-TAGS-gawk \
1268 maybe-TAGS-gettext \
1269 maybe-TAGS-gnuserv \
1270 maybe-TAGS-gprof \
1271 maybe-TAGS-gzip \
1272 maybe-TAGS-hello \
1273 maybe-TAGS-indent \
1274 maybe-TAGS-intl \
1275 maybe-TAGS-tcl \
1276 maybe-TAGS-itcl \
1277 maybe-TAGS-ld \
1278 maybe-TAGS-libcpp \
1279 maybe-TAGS-libgui \
1280 maybe-TAGS-libiberty \
1281 maybe-TAGS-libtool \
1282 maybe-TAGS-m4 \
1283 maybe-TAGS-make \
1284 maybe-TAGS-mmalloc \
1285 maybe-TAGS-patch \
1286 maybe-TAGS-perl \
1287 maybe-TAGS-prms \
1288 maybe-TAGS-rcs \
1289 maybe-TAGS-readline \
1290 maybe-TAGS-release \
1291 maybe-TAGS-recode \
1292 maybe-TAGS-sed \
1293 maybe-TAGS-send-pr \
1294 maybe-TAGS-shellutils \
1295 maybe-TAGS-sid \
1296 maybe-TAGS-sim \
1297 maybe-TAGS-tar \
1298 maybe-TAGS-texinfo \
1299 maybe-TAGS-textutils \
1300 maybe-TAGS-time \
1301 maybe-TAGS-uudecode \
1302 maybe-TAGS-wdiff \
1303 maybe-TAGS-zip \
1304 maybe-TAGS-zlib \
1305 maybe-TAGS-gdb \
1306 maybe-TAGS-expect \
1307 maybe-TAGS-guile \
1308 maybe-TAGS-tk \
1309 maybe-TAGS-libtermcap \
1310 maybe-TAGS-utils \
1311 maybe-TAGS-gnattools
1313 .PHONY: TAGS-target
1314 TAGS-target: \
1315 maybe-TAGS-target-libstdc++-v3 \
1316 maybe-TAGS-target-libmudflap \
1317 maybe-TAGS-target-libssp \
1318 maybe-TAGS-target-newlib \
1319 maybe-TAGS-target-libgfortran \
1320 maybe-TAGS-target-libobjc \
1321 maybe-TAGS-target-libtermcap \
1322 maybe-TAGS-target-winsup \
1323 maybe-TAGS-target-libgloss \
1324 maybe-TAGS-target-libiberty \
1325 maybe-TAGS-target-gperf \
1326 maybe-TAGS-target-examples \
1327 maybe-TAGS-target-libffi \
1328 maybe-TAGS-target-libjava \
1329 maybe-TAGS-target-zlib \
1330 maybe-TAGS-target-boehm-gc \
1331 maybe-TAGS-target-qthreads \
1332 maybe-TAGS-target-rda \
1333 maybe-TAGS-target-libada
1335 .PHONY: do-install-info
1336 do-install-info: unstage install-info-host install-info-target stage
1338 .PHONY: install-info-host
1339 install-info-host: \
1340 maybe-install-info-ash \
1341 maybe-install-info-autoconf \
1342 maybe-install-info-automake \
1343 maybe-install-info-bash \
1344 maybe-install-info-bfd \
1345 maybe-install-info-opcodes \
1346 maybe-install-info-binutils \
1347 maybe-install-info-bison \
1348 maybe-install-info-byacc \
1349 maybe-install-info-bzip2 \
1350 maybe-install-info-dejagnu \
1351 maybe-install-info-diff \
1352 maybe-install-info-dosutils \
1353 maybe-install-info-etc \
1354 maybe-install-info-fastjar \
1355 maybe-install-info-fileutils \
1356 maybe-install-info-findutils \
1357 maybe-install-info-find \
1358 maybe-install-info-fixincludes \
1359 maybe-install-info-flex \
1360 maybe-install-info-gas \
1361 maybe-install-info-gcc \
1362 maybe-install-info-gawk \
1363 maybe-install-info-gettext \
1364 maybe-install-info-gnuserv \
1365 maybe-install-info-gprof \
1366 maybe-install-info-gzip \
1367 maybe-install-info-hello \
1368 maybe-install-info-indent \
1369 maybe-install-info-intl \
1370 maybe-install-info-tcl \
1371 maybe-install-info-itcl \
1372 maybe-install-info-ld \
1373 maybe-install-info-libcpp \
1374 maybe-install-info-libgui \
1375 maybe-install-info-libiberty \
1376 maybe-install-info-libtool \
1377 maybe-install-info-m4 \
1378 maybe-install-info-make \
1379 maybe-install-info-mmalloc \
1380 maybe-install-info-patch \
1381 maybe-install-info-perl \
1382 maybe-install-info-prms \
1383 maybe-install-info-rcs \
1384 maybe-install-info-readline \
1385 maybe-install-info-release \
1386 maybe-install-info-recode \
1387 maybe-install-info-sed \
1388 maybe-install-info-send-pr \
1389 maybe-install-info-shellutils \
1390 maybe-install-info-sid \
1391 maybe-install-info-sim \
1392 maybe-install-info-tar \
1393 maybe-install-info-texinfo \
1394 maybe-install-info-textutils \
1395 maybe-install-info-time \
1396 maybe-install-info-uudecode \
1397 maybe-install-info-wdiff \
1398 maybe-install-info-zip \
1399 maybe-install-info-zlib \
1400 maybe-install-info-gdb \
1401 maybe-install-info-expect \
1402 maybe-install-info-guile \
1403 maybe-install-info-tk \
1404 maybe-install-info-libtermcap \
1405 maybe-install-info-utils \
1406 maybe-install-info-gnattools
1408 .PHONY: install-info-target
1409 install-info-target: \
1410 maybe-install-info-target-libstdc++-v3 \
1411 maybe-install-info-target-libmudflap \
1412 maybe-install-info-target-libssp \
1413 maybe-install-info-target-newlib \
1414 maybe-install-info-target-libgfortran \
1415 maybe-install-info-target-libobjc \
1416 maybe-install-info-target-libtermcap \
1417 maybe-install-info-target-winsup \
1418 maybe-install-info-target-libgloss \
1419 maybe-install-info-target-libiberty \
1420 maybe-install-info-target-gperf \
1421 maybe-install-info-target-examples \
1422 maybe-install-info-target-libffi \
1423 maybe-install-info-target-libjava \
1424 maybe-install-info-target-zlib \
1425 maybe-install-info-target-boehm-gc \
1426 maybe-install-info-target-qthreads \
1427 maybe-install-info-target-rda \
1428 maybe-install-info-target-libada
1430 .PHONY: do-installcheck
1431 do-installcheck: unstage installcheck-host installcheck-target stage
1433 .PHONY: installcheck-host
1434 installcheck-host: \
1435 maybe-installcheck-ash \
1436 maybe-installcheck-autoconf \
1437 maybe-installcheck-automake \
1438 maybe-installcheck-bash \
1439 maybe-installcheck-bfd \
1440 maybe-installcheck-opcodes \
1441 maybe-installcheck-binutils \
1442 maybe-installcheck-bison \
1443 maybe-installcheck-byacc \
1444 maybe-installcheck-bzip2 \
1445 maybe-installcheck-dejagnu \
1446 maybe-installcheck-diff \
1447 maybe-installcheck-dosutils \
1448 maybe-installcheck-etc \
1449 maybe-installcheck-fastjar \
1450 maybe-installcheck-fileutils \
1451 maybe-installcheck-findutils \
1452 maybe-installcheck-find \
1453 maybe-installcheck-fixincludes \
1454 maybe-installcheck-flex \
1455 maybe-installcheck-gas \
1456 maybe-installcheck-gcc \
1457 maybe-installcheck-gawk \
1458 maybe-installcheck-gettext \
1459 maybe-installcheck-gnuserv \
1460 maybe-installcheck-gprof \
1461 maybe-installcheck-gzip \
1462 maybe-installcheck-hello \
1463 maybe-installcheck-indent \
1464 maybe-installcheck-intl \
1465 maybe-installcheck-tcl \
1466 maybe-installcheck-itcl \
1467 maybe-installcheck-ld \
1468 maybe-installcheck-libcpp \
1469 maybe-installcheck-libgui \
1470 maybe-installcheck-libiberty \
1471 maybe-installcheck-libtool \
1472 maybe-installcheck-m4 \
1473 maybe-installcheck-make \
1474 maybe-installcheck-mmalloc \
1475 maybe-installcheck-patch \
1476 maybe-installcheck-perl \
1477 maybe-installcheck-prms \
1478 maybe-installcheck-rcs \
1479 maybe-installcheck-readline \
1480 maybe-installcheck-release \
1481 maybe-installcheck-recode \
1482 maybe-installcheck-sed \
1483 maybe-installcheck-send-pr \
1484 maybe-installcheck-shellutils \
1485 maybe-installcheck-sid \
1486 maybe-installcheck-sim \
1487 maybe-installcheck-tar \
1488 maybe-installcheck-texinfo \
1489 maybe-installcheck-textutils \
1490 maybe-installcheck-time \
1491 maybe-installcheck-uudecode \
1492 maybe-installcheck-wdiff \
1493 maybe-installcheck-zip \
1494 maybe-installcheck-zlib \
1495 maybe-installcheck-gdb \
1496 maybe-installcheck-expect \
1497 maybe-installcheck-guile \
1498 maybe-installcheck-tk \
1499 maybe-installcheck-libtermcap \
1500 maybe-installcheck-utils \
1501 maybe-installcheck-gnattools
1503 .PHONY: installcheck-target
1504 installcheck-target: \
1505 maybe-installcheck-target-libstdc++-v3 \
1506 maybe-installcheck-target-libmudflap \
1507 maybe-installcheck-target-libssp \
1508 maybe-installcheck-target-newlib \
1509 maybe-installcheck-target-libgfortran \
1510 maybe-installcheck-target-libobjc \
1511 maybe-installcheck-target-libtermcap \
1512 maybe-installcheck-target-winsup \
1513 maybe-installcheck-target-libgloss \
1514 maybe-installcheck-target-libiberty \
1515 maybe-installcheck-target-gperf \
1516 maybe-installcheck-target-examples \
1517 maybe-installcheck-target-libffi \
1518 maybe-installcheck-target-libjava \
1519 maybe-installcheck-target-zlib \
1520 maybe-installcheck-target-boehm-gc \
1521 maybe-installcheck-target-qthreads \
1522 maybe-installcheck-target-rda \
1523 maybe-installcheck-target-libada
1525 .PHONY: do-mostlyclean
1526 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1528 .PHONY: mostlyclean-host
1529 mostlyclean-host: \
1530 maybe-mostlyclean-ash \
1531 maybe-mostlyclean-autoconf \
1532 maybe-mostlyclean-automake \
1533 maybe-mostlyclean-bash \
1534 maybe-mostlyclean-bfd \
1535 maybe-mostlyclean-opcodes \
1536 maybe-mostlyclean-binutils \
1537 maybe-mostlyclean-bison \
1538 maybe-mostlyclean-byacc \
1539 maybe-mostlyclean-bzip2 \
1540 maybe-mostlyclean-dejagnu \
1541 maybe-mostlyclean-diff \
1542 maybe-mostlyclean-dosutils \
1543 maybe-mostlyclean-etc \
1544 maybe-mostlyclean-fastjar \
1545 maybe-mostlyclean-fileutils \
1546 maybe-mostlyclean-findutils \
1547 maybe-mostlyclean-find \
1548 maybe-mostlyclean-fixincludes \
1549 maybe-mostlyclean-flex \
1550 maybe-mostlyclean-gas \
1551 maybe-mostlyclean-gcc \
1552 maybe-mostlyclean-gawk \
1553 maybe-mostlyclean-gettext \
1554 maybe-mostlyclean-gnuserv \
1555 maybe-mostlyclean-gprof \
1556 maybe-mostlyclean-gzip \
1557 maybe-mostlyclean-hello \
1558 maybe-mostlyclean-indent \
1559 maybe-mostlyclean-intl \
1560 maybe-mostlyclean-tcl \
1561 maybe-mostlyclean-itcl \
1562 maybe-mostlyclean-ld \
1563 maybe-mostlyclean-libcpp \
1564 maybe-mostlyclean-libgui \
1565 maybe-mostlyclean-libiberty \
1566 maybe-mostlyclean-libtool \
1567 maybe-mostlyclean-m4 \
1568 maybe-mostlyclean-make \
1569 maybe-mostlyclean-mmalloc \
1570 maybe-mostlyclean-patch \
1571 maybe-mostlyclean-perl \
1572 maybe-mostlyclean-prms \
1573 maybe-mostlyclean-rcs \
1574 maybe-mostlyclean-readline \
1575 maybe-mostlyclean-release \
1576 maybe-mostlyclean-recode \
1577 maybe-mostlyclean-sed \
1578 maybe-mostlyclean-send-pr \
1579 maybe-mostlyclean-shellutils \
1580 maybe-mostlyclean-sid \
1581 maybe-mostlyclean-sim \
1582 maybe-mostlyclean-tar \
1583 maybe-mostlyclean-texinfo \
1584 maybe-mostlyclean-textutils \
1585 maybe-mostlyclean-time \
1586 maybe-mostlyclean-uudecode \
1587 maybe-mostlyclean-wdiff \
1588 maybe-mostlyclean-zip \
1589 maybe-mostlyclean-zlib \
1590 maybe-mostlyclean-gdb \
1591 maybe-mostlyclean-expect \
1592 maybe-mostlyclean-guile \
1593 maybe-mostlyclean-tk \
1594 maybe-mostlyclean-libtermcap \
1595 maybe-mostlyclean-utils \
1596 maybe-mostlyclean-gnattools
1598 .PHONY: mostlyclean-target
1599 mostlyclean-target: \
1600 maybe-mostlyclean-target-libstdc++-v3 \
1601 maybe-mostlyclean-target-libmudflap \
1602 maybe-mostlyclean-target-libssp \
1603 maybe-mostlyclean-target-newlib \
1604 maybe-mostlyclean-target-libgfortran \
1605 maybe-mostlyclean-target-libobjc \
1606 maybe-mostlyclean-target-libtermcap \
1607 maybe-mostlyclean-target-winsup \
1608 maybe-mostlyclean-target-libgloss \
1609 maybe-mostlyclean-target-libiberty \
1610 maybe-mostlyclean-target-gperf \
1611 maybe-mostlyclean-target-examples \
1612 maybe-mostlyclean-target-libffi \
1613 maybe-mostlyclean-target-libjava \
1614 maybe-mostlyclean-target-zlib \
1615 maybe-mostlyclean-target-boehm-gc \
1616 maybe-mostlyclean-target-qthreads \
1617 maybe-mostlyclean-target-rda \
1618 maybe-mostlyclean-target-libada
1620 .PHONY: do-clean
1621 do-clean: unstage clean-host clean-target stage
1623 .PHONY: clean-host
1624 clean-host: \
1625 maybe-clean-ash \
1626 maybe-clean-autoconf \
1627 maybe-clean-automake \
1628 maybe-clean-bash \
1629 maybe-clean-bfd \
1630 maybe-clean-opcodes \
1631 maybe-clean-binutils \
1632 maybe-clean-bison \
1633 maybe-clean-byacc \
1634 maybe-clean-bzip2 \
1635 maybe-clean-dejagnu \
1636 maybe-clean-diff \
1637 maybe-clean-dosutils \
1638 maybe-clean-etc \
1639 maybe-clean-fastjar \
1640 maybe-clean-fileutils \
1641 maybe-clean-findutils \
1642 maybe-clean-find \
1643 maybe-clean-fixincludes \
1644 maybe-clean-flex \
1645 maybe-clean-gas \
1646 maybe-clean-gcc \
1647 maybe-clean-gawk \
1648 maybe-clean-gettext \
1649 maybe-clean-gnuserv \
1650 maybe-clean-gprof \
1651 maybe-clean-gzip \
1652 maybe-clean-hello \
1653 maybe-clean-indent \
1654 maybe-clean-intl \
1655 maybe-clean-tcl \
1656 maybe-clean-itcl \
1657 maybe-clean-ld \
1658 maybe-clean-libcpp \
1659 maybe-clean-libgui \
1660 maybe-clean-libiberty \
1661 maybe-clean-libtool \
1662 maybe-clean-m4 \
1663 maybe-clean-make \
1664 maybe-clean-mmalloc \
1665 maybe-clean-patch \
1666 maybe-clean-perl \
1667 maybe-clean-prms \
1668 maybe-clean-rcs \
1669 maybe-clean-readline \
1670 maybe-clean-release \
1671 maybe-clean-recode \
1672 maybe-clean-sed \
1673 maybe-clean-send-pr \
1674 maybe-clean-shellutils \
1675 maybe-clean-sid \
1676 maybe-clean-sim \
1677 maybe-clean-tar \
1678 maybe-clean-texinfo \
1679 maybe-clean-textutils \
1680 maybe-clean-time \
1681 maybe-clean-uudecode \
1682 maybe-clean-wdiff \
1683 maybe-clean-zip \
1684 maybe-clean-zlib \
1685 maybe-clean-gdb \
1686 maybe-clean-expect \
1687 maybe-clean-guile \
1688 maybe-clean-tk \
1689 maybe-clean-libtermcap \
1690 maybe-clean-utils \
1691 maybe-clean-gnattools
1693 .PHONY: clean-target
1694 clean-target: \
1695 maybe-clean-target-libstdc++-v3 \
1696 maybe-clean-target-libmudflap \
1697 maybe-clean-target-libssp \
1698 maybe-clean-target-newlib \
1699 maybe-clean-target-libgfortran \
1700 maybe-clean-target-libobjc \
1701 maybe-clean-target-libtermcap \
1702 maybe-clean-target-winsup \
1703 maybe-clean-target-libgloss \
1704 maybe-clean-target-libiberty \
1705 maybe-clean-target-gperf \
1706 maybe-clean-target-examples \
1707 maybe-clean-target-libffi \
1708 maybe-clean-target-libjava \
1709 maybe-clean-target-zlib \
1710 maybe-clean-target-boehm-gc \
1711 maybe-clean-target-qthreads \
1712 maybe-clean-target-rda \
1713 maybe-clean-target-libada
1715 .PHONY: do-distclean
1716 do-distclean: unstage distclean-host distclean-target stage
1718 .PHONY: distclean-host
1719 distclean-host: \
1720 maybe-distclean-ash \
1721 maybe-distclean-autoconf \
1722 maybe-distclean-automake \
1723 maybe-distclean-bash \
1724 maybe-distclean-bfd \
1725 maybe-distclean-opcodes \
1726 maybe-distclean-binutils \
1727 maybe-distclean-bison \
1728 maybe-distclean-byacc \
1729 maybe-distclean-bzip2 \
1730 maybe-distclean-dejagnu \
1731 maybe-distclean-diff \
1732 maybe-distclean-dosutils \
1733 maybe-distclean-etc \
1734 maybe-distclean-fastjar \
1735 maybe-distclean-fileutils \
1736 maybe-distclean-findutils \
1737 maybe-distclean-find \
1738 maybe-distclean-fixincludes \
1739 maybe-distclean-flex \
1740 maybe-distclean-gas \
1741 maybe-distclean-gcc \
1742 maybe-distclean-gawk \
1743 maybe-distclean-gettext \
1744 maybe-distclean-gnuserv \
1745 maybe-distclean-gprof \
1746 maybe-distclean-gzip \
1747 maybe-distclean-hello \
1748 maybe-distclean-indent \
1749 maybe-distclean-intl \
1750 maybe-distclean-tcl \
1751 maybe-distclean-itcl \
1752 maybe-distclean-ld \
1753 maybe-distclean-libcpp \
1754 maybe-distclean-libgui \
1755 maybe-distclean-libiberty \
1756 maybe-distclean-libtool \
1757 maybe-distclean-m4 \
1758 maybe-distclean-make \
1759 maybe-distclean-mmalloc \
1760 maybe-distclean-patch \
1761 maybe-distclean-perl \
1762 maybe-distclean-prms \
1763 maybe-distclean-rcs \
1764 maybe-distclean-readline \
1765 maybe-distclean-release \
1766 maybe-distclean-recode \
1767 maybe-distclean-sed \
1768 maybe-distclean-send-pr \
1769 maybe-distclean-shellutils \
1770 maybe-distclean-sid \
1771 maybe-distclean-sim \
1772 maybe-distclean-tar \
1773 maybe-distclean-texinfo \
1774 maybe-distclean-textutils \
1775 maybe-distclean-time \
1776 maybe-distclean-uudecode \
1777 maybe-distclean-wdiff \
1778 maybe-distclean-zip \
1779 maybe-distclean-zlib \
1780 maybe-distclean-gdb \
1781 maybe-distclean-expect \
1782 maybe-distclean-guile \
1783 maybe-distclean-tk \
1784 maybe-distclean-libtermcap \
1785 maybe-distclean-utils \
1786 maybe-distclean-gnattools
1788 .PHONY: distclean-target
1789 distclean-target: \
1790 maybe-distclean-target-libstdc++-v3 \
1791 maybe-distclean-target-libmudflap \
1792 maybe-distclean-target-libssp \
1793 maybe-distclean-target-newlib \
1794 maybe-distclean-target-libgfortran \
1795 maybe-distclean-target-libobjc \
1796 maybe-distclean-target-libtermcap \
1797 maybe-distclean-target-winsup \
1798 maybe-distclean-target-libgloss \
1799 maybe-distclean-target-libiberty \
1800 maybe-distclean-target-gperf \
1801 maybe-distclean-target-examples \
1802 maybe-distclean-target-libffi \
1803 maybe-distclean-target-libjava \
1804 maybe-distclean-target-zlib \
1805 maybe-distclean-target-boehm-gc \
1806 maybe-distclean-target-qthreads \
1807 maybe-distclean-target-rda \
1808 maybe-distclean-target-libada
1810 .PHONY: do-maintainer-clean
1811 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1813 .PHONY: maintainer-clean-host
1814 maintainer-clean-host: \
1815 maybe-maintainer-clean-ash \
1816 maybe-maintainer-clean-autoconf \
1817 maybe-maintainer-clean-automake \
1818 maybe-maintainer-clean-bash \
1819 maybe-maintainer-clean-bfd \
1820 maybe-maintainer-clean-opcodes \
1821 maybe-maintainer-clean-binutils \
1822 maybe-maintainer-clean-bison \
1823 maybe-maintainer-clean-byacc \
1824 maybe-maintainer-clean-bzip2 \
1825 maybe-maintainer-clean-dejagnu \
1826 maybe-maintainer-clean-diff \
1827 maybe-maintainer-clean-dosutils \
1828 maybe-maintainer-clean-etc \
1829 maybe-maintainer-clean-fastjar \
1830 maybe-maintainer-clean-fileutils \
1831 maybe-maintainer-clean-findutils \
1832 maybe-maintainer-clean-find \
1833 maybe-maintainer-clean-fixincludes \
1834 maybe-maintainer-clean-flex \
1835 maybe-maintainer-clean-gas \
1836 maybe-maintainer-clean-gcc \
1837 maybe-maintainer-clean-gawk \
1838 maybe-maintainer-clean-gettext \
1839 maybe-maintainer-clean-gnuserv \
1840 maybe-maintainer-clean-gprof \
1841 maybe-maintainer-clean-gzip \
1842 maybe-maintainer-clean-hello \
1843 maybe-maintainer-clean-indent \
1844 maybe-maintainer-clean-intl \
1845 maybe-maintainer-clean-tcl \
1846 maybe-maintainer-clean-itcl \
1847 maybe-maintainer-clean-ld \
1848 maybe-maintainer-clean-libcpp \
1849 maybe-maintainer-clean-libgui \
1850 maybe-maintainer-clean-libiberty \
1851 maybe-maintainer-clean-libtool \
1852 maybe-maintainer-clean-m4 \
1853 maybe-maintainer-clean-make \
1854 maybe-maintainer-clean-mmalloc \
1855 maybe-maintainer-clean-patch \
1856 maybe-maintainer-clean-perl \
1857 maybe-maintainer-clean-prms \
1858 maybe-maintainer-clean-rcs \
1859 maybe-maintainer-clean-readline \
1860 maybe-maintainer-clean-release \
1861 maybe-maintainer-clean-recode \
1862 maybe-maintainer-clean-sed \
1863 maybe-maintainer-clean-send-pr \
1864 maybe-maintainer-clean-shellutils \
1865 maybe-maintainer-clean-sid \
1866 maybe-maintainer-clean-sim \
1867 maybe-maintainer-clean-tar \
1868 maybe-maintainer-clean-texinfo \
1869 maybe-maintainer-clean-textutils \
1870 maybe-maintainer-clean-time \
1871 maybe-maintainer-clean-uudecode \
1872 maybe-maintainer-clean-wdiff \
1873 maybe-maintainer-clean-zip \
1874 maybe-maintainer-clean-zlib \
1875 maybe-maintainer-clean-gdb \
1876 maybe-maintainer-clean-expect \
1877 maybe-maintainer-clean-guile \
1878 maybe-maintainer-clean-tk \
1879 maybe-maintainer-clean-libtermcap \
1880 maybe-maintainer-clean-utils \
1881 maybe-maintainer-clean-gnattools
1883 .PHONY: maintainer-clean-target
1884 maintainer-clean-target: \
1885 maybe-maintainer-clean-target-libstdc++-v3 \
1886 maybe-maintainer-clean-target-libmudflap \
1887 maybe-maintainer-clean-target-libssp \
1888 maybe-maintainer-clean-target-newlib \
1889 maybe-maintainer-clean-target-libgfortran \
1890 maybe-maintainer-clean-target-libobjc \
1891 maybe-maintainer-clean-target-libtermcap \
1892 maybe-maintainer-clean-target-winsup \
1893 maybe-maintainer-clean-target-libgloss \
1894 maybe-maintainer-clean-target-libiberty \
1895 maybe-maintainer-clean-target-gperf \
1896 maybe-maintainer-clean-target-examples \
1897 maybe-maintainer-clean-target-libffi \
1898 maybe-maintainer-clean-target-libjava \
1899 maybe-maintainer-clean-target-zlib \
1900 maybe-maintainer-clean-target-boehm-gc \
1901 maybe-maintainer-clean-target-qthreads \
1902 maybe-maintainer-clean-target-rda \
1903 maybe-maintainer-clean-target-libada
1906 # Here are the targets which correspond to the do-X targets.
1908 .PHONY: info installcheck dvi html install-info
1909 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1910 .PHONY: local-clean local-distclean local-maintainer-clean
1911 info: do-info
1912 installcheck: do-installcheck
1913 dvi: do-dvi
1914 html: do-html
1916 # Make sure makeinfo is built before we do a `make info', if we're
1917 # in fact building texinfo.
1918 do-info: maybe-all-texinfo
1920 install-info: do-install-info dir.info
1921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1922 if [ -f dir.info ] ; then \
1923 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1924 else true ; fi
1926 local-clean:
1927 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1929 local-distclean:
1930 -rm -f Makefile config.status config.cache mh-frag mt-frag
1931 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1932 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1933 rm -rf $(TARGET_SUBDIR); \
1934 else true; fi
1935 -rm -rf $(BUILD_SUBDIR)
1936 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1937 rm -rf $(HOST_SUBDIR); \
1938 else true; fi
1939 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1940 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1941 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1942 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1943 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1945 local-maintainer-clean:
1946 @echo "This command is intended for maintainers to use;"
1947 @echo "it deletes files that may require special tools to rebuild."
1949 clean: do-clean local-clean
1950 mostlyclean: do-mostlyclean local-clean
1951 distclean: do-distclean local-clean local-distclean
1952 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1953 maintainer-clean: local-distclean
1954 realclean: maintainer-clean
1956 # Extra dependency for clean-target, owing to the mixed nature of gcc
1957 clean-target: clean-target-libgcc
1958 clean-target-libgcc:
1959 test ! -d gcc/libgcc || \
1960 (cd gcc/libgcc && find . -type d -print) | \
1961 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1962 -rm -rf gcc/libgcc
1963 -rm -f gcc/stmp-dirs
1965 # Check target.
1967 .PHONY: check do-check
1968 check: do-check
1970 # Only include modules actually being configured and built.
1971 do-check: unstage \
1972 maybe-check-ash \
1973 maybe-check-autoconf \
1974 maybe-check-automake \
1975 maybe-check-bash \
1976 maybe-check-bfd \
1977 maybe-check-opcodes \
1978 maybe-check-binutils \
1979 maybe-check-bison \
1980 maybe-check-byacc \
1981 maybe-check-bzip2 \
1982 maybe-check-dejagnu \
1983 maybe-check-diff \
1984 maybe-check-dosutils \
1985 maybe-check-etc \
1986 maybe-check-fastjar \
1987 maybe-check-fileutils \
1988 maybe-check-findutils \
1989 maybe-check-find \
1990 maybe-check-fixincludes \
1991 maybe-check-flex \
1992 maybe-check-gas \
1993 maybe-check-gcc \
1994 maybe-check-gawk \
1995 maybe-check-gettext \
1996 maybe-check-gnuserv \
1997 maybe-check-gprof \
1998 maybe-check-gzip \
1999 maybe-check-hello \
2000 maybe-check-indent \
2001 maybe-check-intl \
2002 maybe-check-tcl \
2003 maybe-check-itcl \
2004 maybe-check-ld \
2005 maybe-check-libcpp \
2006 maybe-check-libgui \
2007 maybe-check-libiberty \
2008 maybe-check-libtool \
2009 maybe-check-m4 \
2010 maybe-check-make \
2011 maybe-check-mmalloc \
2012 maybe-check-patch \
2013 maybe-check-perl \
2014 maybe-check-prms \
2015 maybe-check-rcs \
2016 maybe-check-readline \
2017 maybe-check-release \
2018 maybe-check-recode \
2019 maybe-check-sed \
2020 maybe-check-send-pr \
2021 maybe-check-shellutils \
2022 maybe-check-sid \
2023 maybe-check-sim \
2024 maybe-check-tar \
2025 maybe-check-texinfo \
2026 maybe-check-textutils \
2027 maybe-check-time \
2028 maybe-check-uudecode \
2029 maybe-check-wdiff \
2030 maybe-check-zip \
2031 maybe-check-zlib \
2032 maybe-check-gdb \
2033 maybe-check-expect \
2034 maybe-check-guile \
2035 maybe-check-tk \
2036 maybe-check-libtermcap \
2037 maybe-check-utils \
2038 maybe-check-gnattools \
2039 maybe-check-target-libstdc++-v3 \
2040 maybe-check-target-libmudflap \
2041 maybe-check-target-libssp \
2042 maybe-check-target-newlib \
2043 maybe-check-target-libgfortran \
2044 maybe-check-target-libobjc \
2045 maybe-check-target-libtermcap \
2046 maybe-check-target-winsup \
2047 maybe-check-target-libgloss \
2048 maybe-check-target-libiberty \
2049 maybe-check-target-gperf \
2050 maybe-check-target-examples \
2051 maybe-check-target-libffi \
2052 maybe-check-target-libjava \
2053 maybe-check-target-zlib \
2054 maybe-check-target-boehm-gc \
2055 maybe-check-target-qthreads \
2056 maybe-check-target-rda \
2057 maybe-check-target-libada stage
2059 # Automated reporting of test results.
2061 warning.log: build.log
2062 $(srcdir)/contrib/warn_summary build.log > $@
2064 mail-report.log:
2065 if test x'$(BOOT_CFLAGS)' != x''; then \
2066 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2067 fi; \
2068 $(srcdir)/contrib/test_summary -t >$@
2069 chmod +x $@
2070 echo If you really want to send e-mail, run ./$@ now
2072 mail-report-with-warnings.log: warning.log
2073 if test x'$(BOOT_CFLAGS)' != x''; then \
2074 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2075 fi; \
2076 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2077 chmod +x $@
2078 echo If you really want to send e-mail, run ./$@ now
2080 # Installation targets.
2082 .PHONY: install uninstall
2083 install: installdirs install-host install-target
2085 .PHONY: install-host-nogcc
2086 install-host-nogcc: \
2087 maybe-install-ash \
2088 maybe-install-autoconf \
2089 maybe-install-automake \
2090 maybe-install-bash \
2091 maybe-install-bfd \
2092 maybe-install-opcodes \
2093 maybe-install-binutils \
2094 maybe-install-bison \
2095 maybe-install-byacc \
2096 maybe-install-bzip2 \
2097 maybe-install-dejagnu \
2098 maybe-install-diff \
2099 maybe-install-dosutils \
2100 maybe-install-etc \
2101 maybe-install-fastjar \
2102 maybe-install-fileutils \
2103 maybe-install-findutils \
2104 maybe-install-find \
2105 maybe-install-fixincludes \
2106 maybe-install-flex \
2107 maybe-install-gas \
2108 maybe-install-gawk \
2109 maybe-install-gettext \
2110 maybe-install-gnuserv \
2111 maybe-install-gprof \
2112 maybe-install-gzip \
2113 maybe-install-hello \
2114 maybe-install-indent \
2115 maybe-install-intl \
2116 maybe-install-tcl \
2117 maybe-install-itcl \
2118 maybe-install-ld \
2119 maybe-install-libcpp \
2120 maybe-install-libgui \
2121 maybe-install-libiberty \
2122 maybe-install-libtool \
2123 maybe-install-m4 \
2124 maybe-install-make \
2125 maybe-install-mmalloc \
2126 maybe-install-patch \
2127 maybe-install-perl \
2128 maybe-install-prms \
2129 maybe-install-rcs \
2130 maybe-install-readline \
2131 maybe-install-release \
2132 maybe-install-recode \
2133 maybe-install-sed \
2134 maybe-install-send-pr \
2135 maybe-install-shellutils \
2136 maybe-install-sid \
2137 maybe-install-sim \
2138 maybe-install-tar \
2139 maybe-install-texinfo \
2140 maybe-install-textutils \
2141 maybe-install-time \
2142 maybe-install-uudecode \
2143 maybe-install-wdiff \
2144 maybe-install-zip \
2145 maybe-install-zlib \
2146 maybe-install-gdb \
2147 maybe-install-expect \
2148 maybe-install-guile \
2149 maybe-install-tk \
2150 maybe-install-libtermcap \
2151 maybe-install-utils \
2152 maybe-install-gnattools
2154 .PHONY: install-host
2155 install-host: \
2156 maybe-install-ash \
2157 maybe-install-autoconf \
2158 maybe-install-automake \
2159 maybe-install-bash \
2160 maybe-install-bfd \
2161 maybe-install-opcodes \
2162 maybe-install-binutils \
2163 maybe-install-bison \
2164 maybe-install-byacc \
2165 maybe-install-bzip2 \
2166 maybe-install-dejagnu \
2167 maybe-install-diff \
2168 maybe-install-dosutils \
2169 maybe-install-etc \
2170 maybe-install-fastjar \
2171 maybe-install-fileutils \
2172 maybe-install-findutils \
2173 maybe-install-find \
2174 maybe-install-fixincludes \
2175 maybe-install-flex \
2176 maybe-install-gas \
2177 maybe-install-gcc \
2178 maybe-install-gawk \
2179 maybe-install-gettext \
2180 maybe-install-gnuserv \
2181 maybe-install-gprof \
2182 maybe-install-gzip \
2183 maybe-install-hello \
2184 maybe-install-indent \
2185 maybe-install-intl \
2186 maybe-install-tcl \
2187 maybe-install-itcl \
2188 maybe-install-ld \
2189 maybe-install-libcpp \
2190 maybe-install-libgui \
2191 maybe-install-libiberty \
2192 maybe-install-libtool \
2193 maybe-install-m4 \
2194 maybe-install-make \
2195 maybe-install-mmalloc \
2196 maybe-install-patch \
2197 maybe-install-perl \
2198 maybe-install-prms \
2199 maybe-install-rcs \
2200 maybe-install-readline \
2201 maybe-install-release \
2202 maybe-install-recode \
2203 maybe-install-sed \
2204 maybe-install-send-pr \
2205 maybe-install-shellutils \
2206 maybe-install-sid \
2207 maybe-install-sim \
2208 maybe-install-tar \
2209 maybe-install-texinfo \
2210 maybe-install-textutils \
2211 maybe-install-time \
2212 maybe-install-uudecode \
2213 maybe-install-wdiff \
2214 maybe-install-zip \
2215 maybe-install-zlib \
2216 maybe-install-gdb \
2217 maybe-install-expect \
2218 maybe-install-guile \
2219 maybe-install-tk \
2220 maybe-install-libtermcap \
2221 maybe-install-utils \
2222 maybe-install-gnattools
2224 .PHONY: install-target
2225 install-target: \
2226 maybe-install-target-libstdc++-v3 \
2227 maybe-install-target-libmudflap \
2228 maybe-install-target-libssp \
2229 maybe-install-target-newlib \
2230 maybe-install-target-libgfortran \
2231 maybe-install-target-libobjc \
2232 maybe-install-target-libtermcap \
2233 maybe-install-target-winsup \
2234 maybe-install-target-libgloss \
2235 maybe-install-target-libiberty \
2236 maybe-install-target-gperf \
2237 maybe-install-target-examples \
2238 maybe-install-target-libffi \
2239 maybe-install-target-libjava \
2240 maybe-install-target-zlib \
2241 maybe-install-target-boehm-gc \
2242 maybe-install-target-qthreads \
2243 maybe-install-target-rda \
2244 maybe-install-target-libada
2246 uninstall:
2247 @echo "the uninstall target is not supported in this tree"
2249 .PHONY: install.all
2250 install.all: install-no-fixedincludes
2251 @if [ -f ./gcc/Makefile ] ; then \
2252 r=`${PWD_COMMAND}` ; export r ; \
2253 $(HOST_EXPORTS) \
2254 (cd ./gcc && \
2255 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2256 else \
2257 true ; \
2260 # install-no-fixedincludes is used because Cygnus can not distribute
2261 # the fixed header files.
2262 .PHONY: install-no-fixedincludes
2263 install-no-fixedincludes: installdirs install-host-nogcc \
2264 install-target gcc-no-fixedincludes
2266 ### other supporting targets
2268 MAKEDIRS= \
2269 $(DESTDIR)$(prefix) \
2270 $(DESTDIR)$(exec_prefix)
2271 .PHONY: installdirs
2272 installdirs: mkinstalldirs
2273 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2275 dir.info: do-install-info
2276 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2277 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2278 mv -f dir.info.new dir.info ; \
2279 else true ; \
2282 dist:
2283 @echo "Building a full distribution of this tree isn't done"
2284 @echo "via 'make dist'. Check out the etc/ subdirectory"
2286 etags tags: TAGS
2288 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2289 # ability to use several tags files at once, so there is probably no need
2290 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2291 # (if we felt like it) have this Makefile write a piece of elisp which
2292 # the user could load to tell emacs19 where all the TAGS files we just
2293 # built are.
2294 TAGS: do-TAGS
2296 # ------------------------------------
2297 # Macros for configure and all targets
2298 # ------------------------------------
2304 # --------------------------------------
2305 # Modules which run on the build machine
2306 # --------------------------------------
2309 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2310 maybe-configure-build-libiberty:
2311 @if build-libiberty
2312 maybe-configure-build-libiberty: configure-build-libiberty
2313 configure-build-libiberty:
2314 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2315 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2316 r=`${PWD_COMMAND}`; export r; \
2317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2318 $(BUILD_EXPORTS) \
2319 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2320 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2321 case $(srcdir) in \
2322 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2323 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2324 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2325 esac; \
2326 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2327 libsrcdir="$$s/libiberty"; \
2328 rm -f no-such-file || : ; \
2329 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2330 $(BUILD_CONFIGARGS) $${srcdiroption} \
2331 || exit 1
2332 @endif build-libiberty
2338 .PHONY: all-build-libiberty maybe-all-build-libiberty
2339 maybe-all-build-libiberty:
2340 @if build-libiberty
2341 TARGET-build-libiberty=all
2342 maybe-all-build-libiberty: all-build-libiberty
2343 all-build-libiberty: configure-build-libiberty
2344 @r=`${PWD_COMMAND}`; export r; \
2345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2346 $(BUILD_EXPORTS) \
2347 (cd $(BUILD_SUBDIR)/libiberty && \
2348 $(MAKE) $(TARGET-build-libiberty))
2349 @endif build-libiberty
2355 .PHONY: configure-build-bison maybe-configure-build-bison
2356 maybe-configure-build-bison:
2357 @if build-bison
2358 maybe-configure-build-bison: configure-build-bison
2359 configure-build-bison:
2360 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2361 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2362 r=`${PWD_COMMAND}`; export r; \
2363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2364 $(BUILD_EXPORTS) \
2365 echo Configuring in $(BUILD_SUBDIR)/bison; \
2366 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2367 case $(srcdir) in \
2368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2369 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2371 esac; \
2372 srcdiroption="--srcdir=$${topdir}/bison"; \
2373 libsrcdir="$$s/bison"; \
2374 rm -f no-such-file || : ; \
2375 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2376 $(BUILD_CONFIGARGS) $${srcdiroption} \
2377 || exit 1
2378 @endif build-bison
2384 .PHONY: all-build-bison maybe-all-build-bison
2385 maybe-all-build-bison:
2386 @if build-bison
2387 TARGET-build-bison=all
2388 maybe-all-build-bison: all-build-bison
2389 all-build-bison: configure-build-bison
2390 @r=`${PWD_COMMAND}`; export r; \
2391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2392 $(BUILD_EXPORTS) \
2393 (cd $(BUILD_SUBDIR)/bison && \
2394 $(MAKE) $(TARGET-build-bison))
2395 @endif build-bison
2401 .PHONY: configure-build-byacc maybe-configure-build-byacc
2402 maybe-configure-build-byacc:
2403 @if build-byacc
2404 maybe-configure-build-byacc: configure-build-byacc
2405 configure-build-byacc:
2406 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2407 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2408 r=`${PWD_COMMAND}`; export r; \
2409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2410 $(BUILD_EXPORTS) \
2411 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2412 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2413 case $(srcdir) in \
2414 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2415 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2416 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2417 esac; \
2418 srcdiroption="--srcdir=$${topdir}/byacc"; \
2419 libsrcdir="$$s/byacc"; \
2420 rm -f no-such-file || : ; \
2421 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2422 $(BUILD_CONFIGARGS) $${srcdiroption} \
2423 || exit 1
2424 @endif build-byacc
2430 .PHONY: all-build-byacc maybe-all-build-byacc
2431 maybe-all-build-byacc:
2432 @if build-byacc
2433 TARGET-build-byacc=all
2434 maybe-all-build-byacc: all-build-byacc
2435 all-build-byacc: configure-build-byacc
2436 @r=`${PWD_COMMAND}`; export r; \
2437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2438 $(BUILD_EXPORTS) \
2439 (cd $(BUILD_SUBDIR)/byacc && \
2440 $(MAKE) $(TARGET-build-byacc))
2441 @endif build-byacc
2447 .PHONY: configure-build-flex maybe-configure-build-flex
2448 maybe-configure-build-flex:
2449 @if build-flex
2450 maybe-configure-build-flex: configure-build-flex
2451 configure-build-flex:
2452 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2453 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2454 r=`${PWD_COMMAND}`; export r; \
2455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2456 $(BUILD_EXPORTS) \
2457 echo Configuring in $(BUILD_SUBDIR)/flex; \
2458 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2459 case $(srcdir) in \
2460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2461 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2463 esac; \
2464 srcdiroption="--srcdir=$${topdir}/flex"; \
2465 libsrcdir="$$s/flex"; \
2466 rm -f no-such-file || : ; \
2467 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2468 $(BUILD_CONFIGARGS) $${srcdiroption} \
2469 || exit 1
2470 @endif build-flex
2476 .PHONY: all-build-flex maybe-all-build-flex
2477 maybe-all-build-flex:
2478 @if build-flex
2479 TARGET-build-flex=all
2480 maybe-all-build-flex: all-build-flex
2481 all-build-flex: configure-build-flex
2482 @r=`${PWD_COMMAND}`; export r; \
2483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2484 $(BUILD_EXPORTS) \
2485 (cd $(BUILD_SUBDIR)/flex && \
2486 $(MAKE) $(TARGET-build-flex))
2487 @endif build-flex
2493 .PHONY: configure-build-m4 maybe-configure-build-m4
2494 maybe-configure-build-m4:
2495 @if build-m4
2496 maybe-configure-build-m4: configure-build-m4
2497 configure-build-m4:
2498 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2499 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2500 r=`${PWD_COMMAND}`; export r; \
2501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2502 $(BUILD_EXPORTS) \
2503 echo Configuring in $(BUILD_SUBDIR)/m4; \
2504 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2505 case $(srcdir) in \
2506 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2507 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2508 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2509 esac; \
2510 srcdiroption="--srcdir=$${topdir}/m4"; \
2511 libsrcdir="$$s/m4"; \
2512 rm -f no-such-file || : ; \
2513 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2514 $(BUILD_CONFIGARGS) $${srcdiroption} \
2515 || exit 1
2516 @endif build-m4
2522 .PHONY: all-build-m4 maybe-all-build-m4
2523 maybe-all-build-m4:
2524 @if build-m4
2525 TARGET-build-m4=all
2526 maybe-all-build-m4: all-build-m4
2527 all-build-m4: configure-build-m4
2528 @r=`${PWD_COMMAND}`; export r; \
2529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2530 $(BUILD_EXPORTS) \
2531 (cd $(BUILD_SUBDIR)/m4 && \
2532 $(MAKE) $(TARGET-build-m4))
2533 @endif build-m4
2539 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2540 maybe-configure-build-texinfo:
2541 @if build-texinfo
2542 maybe-configure-build-texinfo: configure-build-texinfo
2543 configure-build-texinfo:
2544 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2545 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2546 r=`${PWD_COMMAND}`; export r; \
2547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2548 $(BUILD_EXPORTS) \
2549 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2550 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2551 case $(srcdir) in \
2552 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2553 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2554 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2555 esac; \
2556 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2557 libsrcdir="$$s/texinfo"; \
2558 rm -f no-such-file || : ; \
2559 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2560 $(BUILD_CONFIGARGS) $${srcdiroption} \
2561 || exit 1
2562 @endif build-texinfo
2568 .PHONY: all-build-texinfo maybe-all-build-texinfo
2569 maybe-all-build-texinfo:
2570 @if build-texinfo
2571 TARGET-build-texinfo=all
2572 maybe-all-build-texinfo: all-build-texinfo
2573 all-build-texinfo: configure-build-texinfo
2574 @r=`${PWD_COMMAND}`; export r; \
2575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2576 $(BUILD_EXPORTS) \
2577 (cd $(BUILD_SUBDIR)/texinfo && \
2578 $(MAKE) $(TARGET-build-texinfo))
2579 @endif build-texinfo
2585 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2586 maybe-configure-build-fixincludes:
2587 @if build-fixincludes
2588 maybe-configure-build-fixincludes: configure-build-fixincludes
2589 configure-build-fixincludes:
2590 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2591 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2592 r=`${PWD_COMMAND}`; export r; \
2593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2594 $(BUILD_EXPORTS) \
2595 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2596 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2597 case $(srcdir) in \
2598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2599 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2601 esac; \
2602 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2603 libsrcdir="$$s/fixincludes"; \
2604 rm -f no-such-file || : ; \
2605 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2606 $(BUILD_CONFIGARGS) $${srcdiroption} \
2607 || exit 1
2608 @endif build-fixincludes
2614 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2615 maybe-all-build-fixincludes:
2616 @if build-fixincludes
2617 TARGET-build-fixincludes=all
2618 maybe-all-build-fixincludes: all-build-fixincludes
2619 all-build-fixincludes: configure-build-fixincludes
2620 @r=`${PWD_COMMAND}`; export r; \
2621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2622 $(BUILD_EXPORTS) \
2623 (cd $(BUILD_SUBDIR)/fixincludes && \
2624 $(MAKE) $(TARGET-build-fixincludes))
2625 @endif build-fixincludes
2631 # --------------------------------------
2632 # Modules which run on the host machine
2633 # --------------------------------------
2636 .PHONY: configure-ash maybe-configure-ash
2637 maybe-configure-ash:
2638 @if ash
2639 maybe-configure-ash: configure-ash
2640 configure-ash:
2641 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2642 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2643 r=`${PWD_COMMAND}`; export r; \
2644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2645 $(HOST_EXPORTS) \
2646 echo Configuring in $(HOST_SUBDIR)/ash; \
2647 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2648 case $(srcdir) in \
2649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2650 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2652 esac; \
2653 srcdiroption="--srcdir=$${topdir}/ash"; \
2654 libsrcdir="$$s/ash"; \
2655 $(SHELL) $${libsrcdir}/configure \
2656 $(HOST_CONFIGARGS) $${srcdiroption} \
2657 || exit 1
2658 @endif ash
2664 .PHONY: all-ash maybe-all-ash
2665 maybe-all-ash:
2666 @if ash
2667 TARGET-ash=all
2668 maybe-all-ash: all-ash
2669 all-ash: configure-ash
2670 @r=`${PWD_COMMAND}`; export r; \
2671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2672 $(HOST_EXPORTS) \
2673 (cd $(HOST_SUBDIR)/ash && \
2674 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2675 @endif ash
2680 .PHONY: check-ash maybe-check-ash
2681 maybe-check-ash:
2682 @if ash
2683 maybe-check-ash: check-ash
2685 check-ash:
2686 @r=`${PWD_COMMAND}`; export r; \
2687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2688 $(HOST_EXPORTS) \
2689 (cd $(HOST_SUBDIR)/ash && \
2690 $(MAKE) $(FLAGS_TO_PASS) check)
2692 @endif ash
2694 .PHONY: install-ash maybe-install-ash
2695 maybe-install-ash:
2696 @if ash
2697 maybe-install-ash: install-ash
2699 install-ash: installdirs
2700 @r=`${PWD_COMMAND}`; export r; \
2701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2702 $(HOST_EXPORTS) \
2703 (cd $(HOST_SUBDIR)/ash && \
2704 $(MAKE) $(FLAGS_TO_PASS) install)
2706 @endif ash
2708 # Other targets (info, dvi, etc.)
2710 .PHONY: maybe-info-ash info-ash
2711 maybe-info-ash:
2712 @if ash
2713 maybe-info-ash: info-ash
2715 info-ash: \
2716 configure-ash
2717 @[ -f ./ash/Makefile ] || exit 0; \
2718 r=`${PWD_COMMAND}`; export r; \
2719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2720 $(HOST_EXPORTS) \
2721 for flag in $(EXTRA_HOST_FLAGS) ; do \
2722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2723 done; \
2724 echo "Doing info in ash" ; \
2725 (cd $(HOST_SUBDIR)/ash && \
2726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2728 "RANLIB=$${RANLIB}" \
2729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2730 info) \
2731 || exit 1
2733 @endif ash
2735 .PHONY: maybe-dvi-ash dvi-ash
2736 maybe-dvi-ash:
2737 @if ash
2738 maybe-dvi-ash: dvi-ash
2740 dvi-ash: \
2741 configure-ash
2742 @[ -f ./ash/Makefile ] || exit 0; \
2743 r=`${PWD_COMMAND}`; export r; \
2744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2745 $(HOST_EXPORTS) \
2746 for flag in $(EXTRA_HOST_FLAGS) ; do \
2747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2748 done; \
2749 echo "Doing dvi in ash" ; \
2750 (cd $(HOST_SUBDIR)/ash && \
2751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2753 "RANLIB=$${RANLIB}" \
2754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2755 dvi) \
2756 || exit 1
2758 @endif ash
2760 .PHONY: maybe-html-ash html-ash
2761 maybe-html-ash:
2762 @if ash
2763 maybe-html-ash: html-ash
2765 html-ash: \
2766 configure-ash
2767 @[ -f ./ash/Makefile ] || exit 0; \
2768 r=`${PWD_COMMAND}`; export r; \
2769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2770 $(HOST_EXPORTS) \
2771 for flag in $(EXTRA_HOST_FLAGS) ; do \
2772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2773 done; \
2774 echo "Doing html in ash" ; \
2775 (cd $(HOST_SUBDIR)/ash && \
2776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2778 "RANLIB=$${RANLIB}" \
2779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2780 html) \
2781 || exit 1
2783 @endif ash
2785 .PHONY: maybe-TAGS-ash TAGS-ash
2786 maybe-TAGS-ash:
2787 @if ash
2788 maybe-TAGS-ash: TAGS-ash
2790 TAGS-ash: \
2791 configure-ash
2792 @[ -f ./ash/Makefile ] || exit 0; \
2793 r=`${PWD_COMMAND}`; export r; \
2794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2795 $(HOST_EXPORTS) \
2796 for flag in $(EXTRA_HOST_FLAGS) ; do \
2797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2798 done; \
2799 echo "Doing TAGS in ash" ; \
2800 (cd $(HOST_SUBDIR)/ash && \
2801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2803 "RANLIB=$${RANLIB}" \
2804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2805 TAGS) \
2806 || exit 1
2808 @endif ash
2810 .PHONY: maybe-install-info-ash install-info-ash
2811 maybe-install-info-ash:
2812 @if ash
2813 maybe-install-info-ash: install-info-ash
2815 install-info-ash: \
2816 configure-ash \
2817 info-ash
2818 @[ -f ./ash/Makefile ] || exit 0; \
2819 r=`${PWD_COMMAND}`; export r; \
2820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2821 $(HOST_EXPORTS) \
2822 for flag in $(EXTRA_HOST_FLAGS) ; do \
2823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2824 done; \
2825 echo "Doing install-info in ash" ; \
2826 (cd $(HOST_SUBDIR)/ash && \
2827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2829 "RANLIB=$${RANLIB}" \
2830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2831 install-info) \
2832 || exit 1
2834 @endif ash
2836 .PHONY: maybe-installcheck-ash installcheck-ash
2837 maybe-installcheck-ash:
2838 @if ash
2839 maybe-installcheck-ash: installcheck-ash
2841 installcheck-ash: \
2842 configure-ash
2843 @[ -f ./ash/Makefile ] || exit 0; \
2844 r=`${PWD_COMMAND}`; export r; \
2845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2846 $(HOST_EXPORTS) \
2847 for flag in $(EXTRA_HOST_FLAGS) ; do \
2848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2849 done; \
2850 echo "Doing installcheck in ash" ; \
2851 (cd $(HOST_SUBDIR)/ash && \
2852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2854 "RANLIB=$${RANLIB}" \
2855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2856 installcheck) \
2857 || exit 1
2859 @endif ash
2861 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2862 maybe-mostlyclean-ash:
2863 @if ash
2864 maybe-mostlyclean-ash: mostlyclean-ash
2866 mostlyclean-ash:
2867 @[ -f ./ash/Makefile ] || exit 0; \
2868 r=`${PWD_COMMAND}`; export r; \
2869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2870 $(HOST_EXPORTS) \
2871 for flag in $(EXTRA_HOST_FLAGS) ; do \
2872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2873 done; \
2874 echo "Doing mostlyclean in ash" ; \
2875 (cd $(HOST_SUBDIR)/ash && \
2876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2878 "RANLIB=$${RANLIB}" \
2879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2880 mostlyclean) \
2881 || exit 1
2883 @endif ash
2885 .PHONY: maybe-clean-ash clean-ash
2886 maybe-clean-ash:
2887 @if ash
2888 maybe-clean-ash: clean-ash
2890 clean-ash:
2891 @[ -f ./ash/Makefile ] || exit 0; \
2892 r=`${PWD_COMMAND}`; export r; \
2893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2894 $(HOST_EXPORTS) \
2895 for flag in $(EXTRA_HOST_FLAGS) ; do \
2896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2897 done; \
2898 echo "Doing clean in ash" ; \
2899 (cd $(HOST_SUBDIR)/ash && \
2900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2902 "RANLIB=$${RANLIB}" \
2903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2904 clean) \
2905 || exit 1
2907 @endif ash
2909 .PHONY: maybe-distclean-ash distclean-ash
2910 maybe-distclean-ash:
2911 @if ash
2912 maybe-distclean-ash: distclean-ash
2914 distclean-ash:
2915 @[ -f ./ash/Makefile ] || exit 0; \
2916 r=`${PWD_COMMAND}`; export r; \
2917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2918 $(HOST_EXPORTS) \
2919 for flag in $(EXTRA_HOST_FLAGS) ; do \
2920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2921 done; \
2922 echo "Doing distclean in ash" ; \
2923 (cd $(HOST_SUBDIR)/ash && \
2924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2926 "RANLIB=$${RANLIB}" \
2927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2928 distclean) \
2929 || exit 1
2931 @endif ash
2933 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2934 maybe-maintainer-clean-ash:
2935 @if ash
2936 maybe-maintainer-clean-ash: maintainer-clean-ash
2938 maintainer-clean-ash:
2939 @[ -f ./ash/Makefile ] || exit 0; \
2940 r=`${PWD_COMMAND}`; export r; \
2941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2942 $(HOST_EXPORTS) \
2943 for flag in $(EXTRA_HOST_FLAGS) ; do \
2944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2945 done; \
2946 echo "Doing maintainer-clean in ash" ; \
2947 (cd $(HOST_SUBDIR)/ash && \
2948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2950 "RANLIB=$${RANLIB}" \
2951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2952 maintainer-clean) \
2953 || exit 1
2955 @endif ash
2959 .PHONY: configure-autoconf maybe-configure-autoconf
2960 maybe-configure-autoconf:
2961 @if autoconf
2962 maybe-configure-autoconf: configure-autoconf
2963 configure-autoconf:
2964 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2966 r=`${PWD_COMMAND}`; export r; \
2967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2968 $(HOST_EXPORTS) \
2969 echo Configuring in $(HOST_SUBDIR)/autoconf; \
2970 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
2971 case $(srcdir) in \
2972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2973 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2975 esac; \
2976 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2977 libsrcdir="$$s/autoconf"; \
2978 $(SHELL) $${libsrcdir}/configure \
2979 $(HOST_CONFIGARGS) $${srcdiroption} \
2980 || exit 1
2981 @endif autoconf
2987 .PHONY: all-autoconf maybe-all-autoconf
2988 maybe-all-autoconf:
2989 @if autoconf
2990 TARGET-autoconf=all
2991 maybe-all-autoconf: all-autoconf
2992 all-autoconf: configure-autoconf
2993 @r=`${PWD_COMMAND}`; export r; \
2994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2995 $(HOST_EXPORTS) \
2996 (cd $(HOST_SUBDIR)/autoconf && \
2997 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2998 @endif autoconf
3003 .PHONY: check-autoconf maybe-check-autoconf
3004 maybe-check-autoconf:
3005 @if autoconf
3006 maybe-check-autoconf: check-autoconf
3008 check-autoconf:
3009 @r=`${PWD_COMMAND}`; export r; \
3010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3011 $(HOST_EXPORTS) \
3012 (cd $(HOST_SUBDIR)/autoconf && \
3013 $(MAKE) $(FLAGS_TO_PASS) check)
3015 @endif autoconf
3017 .PHONY: install-autoconf maybe-install-autoconf
3018 maybe-install-autoconf:
3019 @if autoconf
3020 maybe-install-autoconf: install-autoconf
3022 install-autoconf: installdirs
3023 @r=`${PWD_COMMAND}`; export r; \
3024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3025 $(HOST_EXPORTS) \
3026 (cd $(HOST_SUBDIR)/autoconf && \
3027 $(MAKE) $(FLAGS_TO_PASS) install)
3029 @endif autoconf
3031 # Other targets (info, dvi, etc.)
3033 .PHONY: maybe-info-autoconf info-autoconf
3034 maybe-info-autoconf:
3035 @if autoconf
3036 maybe-info-autoconf: info-autoconf
3038 info-autoconf: \
3039 configure-autoconf
3040 @[ -f ./autoconf/Makefile ] || exit 0; \
3041 r=`${PWD_COMMAND}`; export r; \
3042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3043 $(HOST_EXPORTS) \
3044 for flag in $(EXTRA_HOST_FLAGS) ; do \
3045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3046 done; \
3047 echo "Doing info in autoconf" ; \
3048 (cd $(HOST_SUBDIR)/autoconf && \
3049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3051 "RANLIB=$${RANLIB}" \
3052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3053 info) \
3054 || exit 1
3056 @endif autoconf
3058 .PHONY: maybe-dvi-autoconf dvi-autoconf
3059 maybe-dvi-autoconf:
3060 @if autoconf
3061 maybe-dvi-autoconf: dvi-autoconf
3063 dvi-autoconf: \
3064 configure-autoconf
3065 @[ -f ./autoconf/Makefile ] || exit 0; \
3066 r=`${PWD_COMMAND}`; export r; \
3067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3068 $(HOST_EXPORTS) \
3069 for flag in $(EXTRA_HOST_FLAGS) ; do \
3070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3071 done; \
3072 echo "Doing dvi in autoconf" ; \
3073 (cd $(HOST_SUBDIR)/autoconf && \
3074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3076 "RANLIB=$${RANLIB}" \
3077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3078 dvi) \
3079 || exit 1
3081 @endif autoconf
3083 .PHONY: maybe-html-autoconf html-autoconf
3084 maybe-html-autoconf:
3085 @if autoconf
3086 maybe-html-autoconf: html-autoconf
3088 html-autoconf: \
3089 configure-autoconf
3090 @[ -f ./autoconf/Makefile ] || exit 0; \
3091 r=`${PWD_COMMAND}`; export r; \
3092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3093 $(HOST_EXPORTS) \
3094 for flag in $(EXTRA_HOST_FLAGS) ; do \
3095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3096 done; \
3097 echo "Doing html in autoconf" ; \
3098 (cd $(HOST_SUBDIR)/autoconf && \
3099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3101 "RANLIB=$${RANLIB}" \
3102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3103 html) \
3104 || exit 1
3106 @endif autoconf
3108 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3109 maybe-TAGS-autoconf:
3110 @if autoconf
3111 maybe-TAGS-autoconf: TAGS-autoconf
3113 TAGS-autoconf: \
3114 configure-autoconf
3115 @[ -f ./autoconf/Makefile ] || exit 0; \
3116 r=`${PWD_COMMAND}`; export r; \
3117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3118 $(HOST_EXPORTS) \
3119 for flag in $(EXTRA_HOST_FLAGS) ; do \
3120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3121 done; \
3122 echo "Doing TAGS in autoconf" ; \
3123 (cd $(HOST_SUBDIR)/autoconf && \
3124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3126 "RANLIB=$${RANLIB}" \
3127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3128 TAGS) \
3129 || exit 1
3131 @endif autoconf
3133 .PHONY: maybe-install-info-autoconf install-info-autoconf
3134 maybe-install-info-autoconf:
3135 @if autoconf
3136 maybe-install-info-autoconf: install-info-autoconf
3138 install-info-autoconf: \
3139 configure-autoconf \
3140 info-autoconf
3141 @[ -f ./autoconf/Makefile ] || exit 0; \
3142 r=`${PWD_COMMAND}`; export r; \
3143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3144 $(HOST_EXPORTS) \
3145 for flag in $(EXTRA_HOST_FLAGS) ; do \
3146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3147 done; \
3148 echo "Doing install-info in autoconf" ; \
3149 (cd $(HOST_SUBDIR)/autoconf && \
3150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3152 "RANLIB=$${RANLIB}" \
3153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3154 install-info) \
3155 || exit 1
3157 @endif autoconf
3159 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3160 maybe-installcheck-autoconf:
3161 @if autoconf
3162 maybe-installcheck-autoconf: installcheck-autoconf
3164 installcheck-autoconf: \
3165 configure-autoconf
3166 @[ -f ./autoconf/Makefile ] || exit 0; \
3167 r=`${PWD_COMMAND}`; export r; \
3168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3169 $(HOST_EXPORTS) \
3170 for flag in $(EXTRA_HOST_FLAGS) ; do \
3171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3172 done; \
3173 echo "Doing installcheck in autoconf" ; \
3174 (cd $(HOST_SUBDIR)/autoconf && \
3175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3177 "RANLIB=$${RANLIB}" \
3178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3179 installcheck) \
3180 || exit 1
3182 @endif autoconf
3184 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3185 maybe-mostlyclean-autoconf:
3186 @if autoconf
3187 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3189 mostlyclean-autoconf:
3190 @[ -f ./autoconf/Makefile ] || exit 0; \
3191 r=`${PWD_COMMAND}`; export r; \
3192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 mostlyclean in autoconf" ; \
3198 (cd $(HOST_SUBDIR)/autoconf && \
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 mostlyclean) \
3204 || exit 1
3206 @endif autoconf
3208 .PHONY: maybe-clean-autoconf clean-autoconf
3209 maybe-clean-autoconf:
3210 @if autoconf
3211 maybe-clean-autoconf: clean-autoconf
3213 clean-autoconf:
3214 @[ -f ./autoconf/Makefile ] || exit 0; \
3215 r=`${PWD_COMMAND}`; export r; \
3216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3217 $(HOST_EXPORTS) \
3218 for flag in $(EXTRA_HOST_FLAGS) ; do \
3219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3220 done; \
3221 echo "Doing clean in autoconf" ; \
3222 (cd $(HOST_SUBDIR)/autoconf && \
3223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3225 "RANLIB=$${RANLIB}" \
3226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3227 clean) \
3228 || exit 1
3230 @endif autoconf
3232 .PHONY: maybe-distclean-autoconf distclean-autoconf
3233 maybe-distclean-autoconf:
3234 @if autoconf
3235 maybe-distclean-autoconf: distclean-autoconf
3237 distclean-autoconf:
3238 @[ -f ./autoconf/Makefile ] || exit 0; \
3239 r=`${PWD_COMMAND}`; export r; \
3240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3241 $(HOST_EXPORTS) \
3242 for flag in $(EXTRA_HOST_FLAGS) ; do \
3243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3244 done; \
3245 echo "Doing distclean in autoconf" ; \
3246 (cd $(HOST_SUBDIR)/autoconf && \
3247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3249 "RANLIB=$${RANLIB}" \
3250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3251 distclean) \
3252 || exit 1
3254 @endif autoconf
3256 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3257 maybe-maintainer-clean-autoconf:
3258 @if autoconf
3259 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3261 maintainer-clean-autoconf:
3262 @[ -f ./autoconf/Makefile ] || exit 0; \
3263 r=`${PWD_COMMAND}`; export r; \
3264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3265 $(HOST_EXPORTS) \
3266 for flag in $(EXTRA_HOST_FLAGS) ; do \
3267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3268 done; \
3269 echo "Doing maintainer-clean in autoconf" ; \
3270 (cd $(HOST_SUBDIR)/autoconf && \
3271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3273 "RANLIB=$${RANLIB}" \
3274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3275 maintainer-clean) \
3276 || exit 1
3278 @endif autoconf
3282 .PHONY: configure-automake maybe-configure-automake
3283 maybe-configure-automake:
3284 @if automake
3285 maybe-configure-automake: configure-automake
3286 configure-automake:
3287 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3288 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3289 r=`${PWD_COMMAND}`; export r; \
3290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3291 $(HOST_EXPORTS) \
3292 echo Configuring in $(HOST_SUBDIR)/automake; \
3293 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3294 case $(srcdir) in \
3295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3296 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3298 esac; \
3299 srcdiroption="--srcdir=$${topdir}/automake"; \
3300 libsrcdir="$$s/automake"; \
3301 $(SHELL) $${libsrcdir}/configure \
3302 $(HOST_CONFIGARGS) $${srcdiroption} \
3303 || exit 1
3304 @endif automake
3310 .PHONY: all-automake maybe-all-automake
3311 maybe-all-automake:
3312 @if automake
3313 TARGET-automake=all
3314 maybe-all-automake: all-automake
3315 all-automake: configure-automake
3316 @r=`${PWD_COMMAND}`; export r; \
3317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3318 $(HOST_EXPORTS) \
3319 (cd $(HOST_SUBDIR)/automake && \
3320 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3321 @endif automake
3326 .PHONY: check-automake maybe-check-automake
3327 maybe-check-automake:
3328 @if automake
3329 maybe-check-automake: check-automake
3331 check-automake:
3332 @r=`${PWD_COMMAND}`; export r; \
3333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3334 $(HOST_EXPORTS) \
3335 (cd $(HOST_SUBDIR)/automake && \
3336 $(MAKE) $(FLAGS_TO_PASS) check)
3338 @endif automake
3340 .PHONY: install-automake maybe-install-automake
3341 maybe-install-automake:
3342 @if automake
3343 maybe-install-automake: install-automake
3345 install-automake: installdirs
3346 @r=`${PWD_COMMAND}`; export r; \
3347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3348 $(HOST_EXPORTS) \
3349 (cd $(HOST_SUBDIR)/automake && \
3350 $(MAKE) $(FLAGS_TO_PASS) install)
3352 @endif automake
3354 # Other targets (info, dvi, etc.)
3356 .PHONY: maybe-info-automake info-automake
3357 maybe-info-automake:
3358 @if automake
3359 maybe-info-automake: info-automake
3361 info-automake: \
3362 configure-automake
3363 @[ -f ./automake/Makefile ] || exit 0; \
3364 r=`${PWD_COMMAND}`; export r; \
3365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3366 $(HOST_EXPORTS) \
3367 for flag in $(EXTRA_HOST_FLAGS) ; do \
3368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3369 done; \
3370 echo "Doing info in automake" ; \
3371 (cd $(HOST_SUBDIR)/automake && \
3372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3374 "RANLIB=$${RANLIB}" \
3375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3376 info) \
3377 || exit 1
3379 @endif automake
3381 .PHONY: maybe-dvi-automake dvi-automake
3382 maybe-dvi-automake:
3383 @if automake
3384 maybe-dvi-automake: dvi-automake
3386 dvi-automake: \
3387 configure-automake
3388 @[ -f ./automake/Makefile ] || exit 0; \
3389 r=`${PWD_COMMAND}`; export r; \
3390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3391 $(HOST_EXPORTS) \
3392 for flag in $(EXTRA_HOST_FLAGS) ; do \
3393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3394 done; \
3395 echo "Doing dvi in automake" ; \
3396 (cd $(HOST_SUBDIR)/automake && \
3397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3399 "RANLIB=$${RANLIB}" \
3400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3401 dvi) \
3402 || exit 1
3404 @endif automake
3406 .PHONY: maybe-html-automake html-automake
3407 maybe-html-automake:
3408 @if automake
3409 maybe-html-automake: html-automake
3411 html-automake: \
3412 configure-automake
3413 @[ -f ./automake/Makefile ] || exit 0; \
3414 r=`${PWD_COMMAND}`; export r; \
3415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3416 $(HOST_EXPORTS) \
3417 for flag in $(EXTRA_HOST_FLAGS) ; do \
3418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3419 done; \
3420 echo "Doing html in automake" ; \
3421 (cd $(HOST_SUBDIR)/automake && \
3422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3424 "RANLIB=$${RANLIB}" \
3425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3426 html) \
3427 || exit 1
3429 @endif automake
3431 .PHONY: maybe-TAGS-automake TAGS-automake
3432 maybe-TAGS-automake:
3433 @if automake
3434 maybe-TAGS-automake: TAGS-automake
3436 TAGS-automake: \
3437 configure-automake
3438 @[ -f ./automake/Makefile ] || exit 0; \
3439 r=`${PWD_COMMAND}`; export r; \
3440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3441 $(HOST_EXPORTS) \
3442 for flag in $(EXTRA_HOST_FLAGS) ; do \
3443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3444 done; \
3445 echo "Doing TAGS in automake" ; \
3446 (cd $(HOST_SUBDIR)/automake && \
3447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3449 "RANLIB=$${RANLIB}" \
3450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3451 TAGS) \
3452 || exit 1
3454 @endif automake
3456 .PHONY: maybe-install-info-automake install-info-automake
3457 maybe-install-info-automake:
3458 @if automake
3459 maybe-install-info-automake: install-info-automake
3461 install-info-automake: \
3462 configure-automake \
3463 info-automake
3464 @[ -f ./automake/Makefile ] || exit 0; \
3465 r=`${PWD_COMMAND}`; export r; \
3466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3467 $(HOST_EXPORTS) \
3468 for flag in $(EXTRA_HOST_FLAGS) ; do \
3469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3470 done; \
3471 echo "Doing install-info in automake" ; \
3472 (cd $(HOST_SUBDIR)/automake && \
3473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3475 "RANLIB=$${RANLIB}" \
3476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3477 install-info) \
3478 || exit 1
3480 @endif automake
3482 .PHONY: maybe-installcheck-automake installcheck-automake
3483 maybe-installcheck-automake:
3484 @if automake
3485 maybe-installcheck-automake: installcheck-automake
3487 installcheck-automake: \
3488 configure-automake
3489 @[ -f ./automake/Makefile ] || exit 0; \
3490 r=`${PWD_COMMAND}`; export r; \
3491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3492 $(HOST_EXPORTS) \
3493 for flag in $(EXTRA_HOST_FLAGS) ; do \
3494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3495 done; \
3496 echo "Doing installcheck in automake" ; \
3497 (cd $(HOST_SUBDIR)/automake && \
3498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3500 "RANLIB=$${RANLIB}" \
3501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3502 installcheck) \
3503 || exit 1
3505 @endif automake
3507 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3508 maybe-mostlyclean-automake:
3509 @if automake
3510 maybe-mostlyclean-automake: mostlyclean-automake
3512 mostlyclean-automake:
3513 @[ -f ./automake/Makefile ] || exit 0; \
3514 r=`${PWD_COMMAND}`; export r; \
3515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3516 $(HOST_EXPORTS) \
3517 for flag in $(EXTRA_HOST_FLAGS) ; do \
3518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3519 done; \
3520 echo "Doing mostlyclean in automake" ; \
3521 (cd $(HOST_SUBDIR)/automake && \
3522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3524 "RANLIB=$${RANLIB}" \
3525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3526 mostlyclean) \
3527 || exit 1
3529 @endif automake
3531 .PHONY: maybe-clean-automake clean-automake
3532 maybe-clean-automake:
3533 @if automake
3534 maybe-clean-automake: clean-automake
3536 clean-automake:
3537 @[ -f ./automake/Makefile ] || exit 0; \
3538 r=`${PWD_COMMAND}`; export r; \
3539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3540 $(HOST_EXPORTS) \
3541 for flag in $(EXTRA_HOST_FLAGS) ; do \
3542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3543 done; \
3544 echo "Doing clean in automake" ; \
3545 (cd $(HOST_SUBDIR)/automake && \
3546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3548 "RANLIB=$${RANLIB}" \
3549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3550 clean) \
3551 || exit 1
3553 @endif automake
3555 .PHONY: maybe-distclean-automake distclean-automake
3556 maybe-distclean-automake:
3557 @if automake
3558 maybe-distclean-automake: distclean-automake
3560 distclean-automake:
3561 @[ -f ./automake/Makefile ] || exit 0; \
3562 r=`${PWD_COMMAND}`; export r; \
3563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3564 $(HOST_EXPORTS) \
3565 for flag in $(EXTRA_HOST_FLAGS) ; do \
3566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3567 done; \
3568 echo "Doing distclean in automake" ; \
3569 (cd $(HOST_SUBDIR)/automake && \
3570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3572 "RANLIB=$${RANLIB}" \
3573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3574 distclean) \
3575 || exit 1
3577 @endif automake
3579 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3580 maybe-maintainer-clean-automake:
3581 @if automake
3582 maybe-maintainer-clean-automake: maintainer-clean-automake
3584 maintainer-clean-automake:
3585 @[ -f ./automake/Makefile ] || exit 0; \
3586 r=`${PWD_COMMAND}`; export r; \
3587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3588 $(HOST_EXPORTS) \
3589 for flag in $(EXTRA_HOST_FLAGS) ; do \
3590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3591 done; \
3592 echo "Doing maintainer-clean in automake" ; \
3593 (cd $(HOST_SUBDIR)/automake && \
3594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3596 "RANLIB=$${RANLIB}" \
3597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3598 maintainer-clean) \
3599 || exit 1
3601 @endif automake
3605 .PHONY: configure-bash maybe-configure-bash
3606 maybe-configure-bash:
3607 @if bash
3608 maybe-configure-bash: configure-bash
3609 configure-bash:
3610 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3611 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3612 r=`${PWD_COMMAND}`; export r; \
3613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3614 $(HOST_EXPORTS) \
3615 echo Configuring in $(HOST_SUBDIR)/bash; \
3616 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3617 case $(srcdir) in \
3618 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3619 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3620 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3621 esac; \
3622 srcdiroption="--srcdir=$${topdir}/bash"; \
3623 libsrcdir="$$s/bash"; \
3624 $(SHELL) $${libsrcdir}/configure \
3625 $(HOST_CONFIGARGS) $${srcdiroption} \
3626 || exit 1
3627 @endif bash
3633 .PHONY: all-bash maybe-all-bash
3634 maybe-all-bash:
3635 @if bash
3636 TARGET-bash=all
3637 maybe-all-bash: all-bash
3638 all-bash: configure-bash
3639 @r=`${PWD_COMMAND}`; export r; \
3640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3641 $(HOST_EXPORTS) \
3642 (cd $(HOST_SUBDIR)/bash && \
3643 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3644 @endif bash
3649 .PHONY: check-bash maybe-check-bash
3650 maybe-check-bash:
3651 @if bash
3652 maybe-check-bash: check-bash
3654 check-bash:
3655 @r=`${PWD_COMMAND}`; export r; \
3656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3657 $(HOST_EXPORTS) \
3658 (cd $(HOST_SUBDIR)/bash && \
3659 $(MAKE) $(FLAGS_TO_PASS) check)
3661 @endif bash
3663 .PHONY: install-bash maybe-install-bash
3664 maybe-install-bash:
3665 @if bash
3666 maybe-install-bash: install-bash
3668 install-bash: installdirs
3669 @r=`${PWD_COMMAND}`; export r; \
3670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3671 $(HOST_EXPORTS) \
3672 (cd $(HOST_SUBDIR)/bash && \
3673 $(MAKE) $(FLAGS_TO_PASS) install)
3675 @endif bash
3677 # Other targets (info, dvi, etc.)
3679 .PHONY: maybe-info-bash info-bash
3680 maybe-info-bash:
3681 @if bash
3682 maybe-info-bash: info-bash
3684 info-bash: \
3685 configure-bash
3686 @[ -f ./bash/Makefile ] || exit 0; \
3687 r=`${PWD_COMMAND}`; export r; \
3688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3689 $(HOST_EXPORTS) \
3690 for flag in $(EXTRA_HOST_FLAGS) ; do \
3691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3692 done; \
3693 echo "Doing info in bash" ; \
3694 (cd $(HOST_SUBDIR)/bash && \
3695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3697 "RANLIB=$${RANLIB}" \
3698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3699 info) \
3700 || exit 1
3702 @endif bash
3704 .PHONY: maybe-dvi-bash dvi-bash
3705 maybe-dvi-bash:
3706 @if bash
3707 maybe-dvi-bash: dvi-bash
3709 dvi-bash: \
3710 configure-bash
3711 @[ -f ./bash/Makefile ] || exit 0; \
3712 r=`${PWD_COMMAND}`; export r; \
3713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3714 $(HOST_EXPORTS) \
3715 for flag in $(EXTRA_HOST_FLAGS) ; do \
3716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3717 done; \
3718 echo "Doing dvi in bash" ; \
3719 (cd $(HOST_SUBDIR)/bash && \
3720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3722 "RANLIB=$${RANLIB}" \
3723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3724 dvi) \
3725 || exit 1
3727 @endif bash
3729 .PHONY: maybe-html-bash html-bash
3730 maybe-html-bash:
3731 @if bash
3732 maybe-html-bash: html-bash
3734 html-bash: \
3735 configure-bash
3736 @[ -f ./bash/Makefile ] || exit 0; \
3737 r=`${PWD_COMMAND}`; export r; \
3738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3739 $(HOST_EXPORTS) \
3740 for flag in $(EXTRA_HOST_FLAGS) ; do \
3741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3742 done; \
3743 echo "Doing html in bash" ; \
3744 (cd $(HOST_SUBDIR)/bash && \
3745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3747 "RANLIB=$${RANLIB}" \
3748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3749 html) \
3750 || exit 1
3752 @endif bash
3754 .PHONY: maybe-TAGS-bash TAGS-bash
3755 maybe-TAGS-bash:
3756 @if bash
3757 maybe-TAGS-bash: TAGS-bash
3759 TAGS-bash: \
3760 configure-bash
3761 @[ -f ./bash/Makefile ] || exit 0; \
3762 r=`${PWD_COMMAND}`; export r; \
3763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3764 $(HOST_EXPORTS) \
3765 for flag in $(EXTRA_HOST_FLAGS) ; do \
3766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3767 done; \
3768 echo "Doing TAGS in bash" ; \
3769 (cd $(HOST_SUBDIR)/bash && \
3770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3772 "RANLIB=$${RANLIB}" \
3773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3774 TAGS) \
3775 || exit 1
3777 @endif bash
3779 .PHONY: maybe-install-info-bash install-info-bash
3780 maybe-install-info-bash:
3781 @if bash
3782 maybe-install-info-bash: install-info-bash
3784 install-info-bash: \
3785 configure-bash \
3786 info-bash
3787 @[ -f ./bash/Makefile ] || exit 0; \
3788 r=`${PWD_COMMAND}`; export r; \
3789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3790 $(HOST_EXPORTS) \
3791 for flag in $(EXTRA_HOST_FLAGS) ; do \
3792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3793 done; \
3794 echo "Doing install-info in bash" ; \
3795 (cd $(HOST_SUBDIR)/bash && \
3796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3798 "RANLIB=$${RANLIB}" \
3799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3800 install-info) \
3801 || exit 1
3803 @endif bash
3805 .PHONY: maybe-installcheck-bash installcheck-bash
3806 maybe-installcheck-bash:
3807 @if bash
3808 maybe-installcheck-bash: installcheck-bash
3810 installcheck-bash: \
3811 configure-bash
3812 @[ -f ./bash/Makefile ] || exit 0; \
3813 r=`${PWD_COMMAND}`; export r; \
3814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3815 $(HOST_EXPORTS) \
3816 for flag in $(EXTRA_HOST_FLAGS) ; do \
3817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3818 done; \
3819 echo "Doing installcheck in bash" ; \
3820 (cd $(HOST_SUBDIR)/bash && \
3821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3823 "RANLIB=$${RANLIB}" \
3824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3825 installcheck) \
3826 || exit 1
3828 @endif bash
3830 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3831 maybe-mostlyclean-bash:
3832 @if bash
3833 maybe-mostlyclean-bash: mostlyclean-bash
3835 mostlyclean-bash:
3836 @[ -f ./bash/Makefile ] || exit 0; \
3837 r=`${PWD_COMMAND}`; export r; \
3838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3839 $(HOST_EXPORTS) \
3840 for flag in $(EXTRA_HOST_FLAGS) ; do \
3841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3842 done; \
3843 echo "Doing mostlyclean in bash" ; \
3844 (cd $(HOST_SUBDIR)/bash && \
3845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3847 "RANLIB=$${RANLIB}" \
3848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3849 mostlyclean) \
3850 || exit 1
3852 @endif bash
3854 .PHONY: maybe-clean-bash clean-bash
3855 maybe-clean-bash:
3856 @if bash
3857 maybe-clean-bash: clean-bash
3859 clean-bash:
3860 @[ -f ./bash/Makefile ] || exit 0; \
3861 r=`${PWD_COMMAND}`; export r; \
3862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3863 $(HOST_EXPORTS) \
3864 for flag in $(EXTRA_HOST_FLAGS) ; do \
3865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3866 done; \
3867 echo "Doing clean in bash" ; \
3868 (cd $(HOST_SUBDIR)/bash && \
3869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3871 "RANLIB=$${RANLIB}" \
3872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3873 clean) \
3874 || exit 1
3876 @endif bash
3878 .PHONY: maybe-distclean-bash distclean-bash
3879 maybe-distclean-bash:
3880 @if bash
3881 maybe-distclean-bash: distclean-bash
3883 distclean-bash:
3884 @[ -f ./bash/Makefile ] || exit 0; \
3885 r=`${PWD_COMMAND}`; export r; \
3886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3887 $(HOST_EXPORTS) \
3888 for flag in $(EXTRA_HOST_FLAGS) ; do \
3889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3890 done; \
3891 echo "Doing distclean in bash" ; \
3892 (cd $(HOST_SUBDIR)/bash && \
3893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3895 "RANLIB=$${RANLIB}" \
3896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3897 distclean) \
3898 || exit 1
3900 @endif bash
3902 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3903 maybe-maintainer-clean-bash:
3904 @if bash
3905 maybe-maintainer-clean-bash: maintainer-clean-bash
3907 maintainer-clean-bash:
3908 @[ -f ./bash/Makefile ] || exit 0; \
3909 r=`${PWD_COMMAND}`; export r; \
3910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3911 $(HOST_EXPORTS) \
3912 for flag in $(EXTRA_HOST_FLAGS) ; do \
3913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3914 done; \
3915 echo "Doing maintainer-clean in bash" ; \
3916 (cd $(HOST_SUBDIR)/bash && \
3917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3919 "RANLIB=$${RANLIB}" \
3920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3921 maintainer-clean) \
3922 || exit 1
3924 @endif bash
3928 .PHONY: configure-bfd maybe-configure-bfd
3929 maybe-configure-bfd:
3930 @if bfd
3931 maybe-configure-bfd: configure-bfd
3932 configure-bfd:
3933 @test -f stage_last && exit 0; \
3934 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3935 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3936 r=`${PWD_COMMAND}`; export r; \
3937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3938 $(HOST_EXPORTS) \
3939 echo Configuring in $(HOST_SUBDIR)/bfd; \
3940 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3941 case $(srcdir) in \
3942 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3943 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3944 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3945 esac; \
3946 srcdiroption="--srcdir=$${topdir}/bfd"; \
3947 libsrcdir="$$s/bfd"; \
3948 $(SHELL) $${libsrcdir}/configure \
3949 $(HOST_CONFIGARGS) $${srcdiroption} \
3950 || exit 1
3951 @endif bfd
3955 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3956 maybe-configure-stage1-bfd:
3957 @if bfd-bootstrap
3958 maybe-configure-stage1-bfd: configure-stage1-bfd
3959 configure-stage1-bfd:
3960 @$(MAKE) stage1-start
3961 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3962 r=`${PWD_COMMAND}`; export r; \
3963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3964 $(HOST_EXPORTS) \
3965 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3966 cd $(HOST_SUBDIR)/bfd || exit 1; \
3967 case $(srcdir) in \
3968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3969 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3971 esac; \
3972 srcdiroption="--srcdir=$${topdir}/bfd"; \
3973 libsrcdir="$$s/bfd"; \
3974 $(SHELL) $${libsrcdir}/configure \
3975 $(HOST_CONFIGARGS) $${srcdiroption} \
3976 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
3977 @endif bfd-bootstrap
3979 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3980 maybe-configure-stage2-bfd:
3981 @if bfd-bootstrap
3982 maybe-configure-stage2-bfd: configure-stage2-bfd
3983 configure-stage2-bfd:
3984 @$(MAKE) stage2-start
3985 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3986 r=`${PWD_COMMAND}`; export r; \
3987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3988 $(HOST_EXPORTS) \
3989 $(POSTSTAGE1_HOST_EXPORTS) \
3990 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3991 cd $(HOST_SUBDIR)/bfd || exit 1; \
3992 case $(srcdir) in \
3993 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3994 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3995 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3996 esac; \
3997 srcdiroption="--srcdir=$${topdir}/bfd"; \
3998 libsrcdir="$$s/bfd"; \
3999 $(SHELL) $${libsrcdir}/configure \
4000 $(HOST_CONFIGARGS) $${srcdiroption} \
4001 @stage2_werror_flag@
4002 @endif bfd-bootstrap
4004 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4005 maybe-configure-stage3-bfd:
4006 @if bfd-bootstrap
4007 maybe-configure-stage3-bfd: configure-stage3-bfd
4008 configure-stage3-bfd:
4009 @$(MAKE) stage3-start
4010 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4011 r=`${PWD_COMMAND}`; export r; \
4012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4013 $(HOST_EXPORTS) \
4014 $(POSTSTAGE1_HOST_EXPORTS) \
4015 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4016 cd $(HOST_SUBDIR)/bfd || exit 1; \
4017 case $(srcdir) in \
4018 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4019 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4020 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4021 esac; \
4022 srcdiroption="--srcdir=$${topdir}/bfd"; \
4023 libsrcdir="$$s/bfd"; \
4024 $(SHELL) $${libsrcdir}/configure \
4025 $(HOST_CONFIGARGS) $${srcdiroption} \
4026 @stage2_werror_flag@
4027 @endif bfd-bootstrap
4029 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4030 maybe-configure-stage4-bfd:
4031 @if bfd-bootstrap
4032 maybe-configure-stage4-bfd: configure-stage4-bfd
4033 configure-stage4-bfd:
4034 @$(MAKE) stage4-start
4035 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4036 r=`${PWD_COMMAND}`; export r; \
4037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4038 $(HOST_EXPORTS) \
4039 $(POSTSTAGE1_HOST_EXPORTS) \
4040 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4041 cd $(HOST_SUBDIR)/bfd || exit 1; \
4042 case $(srcdir) in \
4043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4044 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4046 esac; \
4047 srcdiroption="--srcdir=$${topdir}/bfd"; \
4048 libsrcdir="$$s/bfd"; \
4049 $(SHELL) $${libsrcdir}/configure \
4050 $(HOST_CONFIGARGS) $${srcdiroption} \
4051 @stage2_werror_flag@
4052 @endif bfd-bootstrap
4054 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4055 maybe-configure-stageprofile-bfd:
4056 @if bfd-bootstrap
4057 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4058 configure-stageprofile-bfd:
4059 @$(MAKE) stageprofile-start
4060 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4061 r=`${PWD_COMMAND}`; export r; \
4062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4063 $(HOST_EXPORTS) \
4064 $(POSTSTAGE1_HOST_EXPORTS) \
4065 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4066 cd $(HOST_SUBDIR)/bfd || exit 1; \
4067 case $(srcdir) in \
4068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4069 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4071 esac; \
4072 srcdiroption="--srcdir=$${topdir}/bfd"; \
4073 libsrcdir="$$s/bfd"; \
4074 $(SHELL) $${libsrcdir}/configure \
4075 $(HOST_CONFIGARGS) $${srcdiroption} \
4076 @stage2_werror_flag@
4077 @endif bfd-bootstrap
4079 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4080 maybe-configure-stagefeedback-bfd:
4081 @if bfd-bootstrap
4082 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4083 configure-stagefeedback-bfd:
4084 @$(MAKE) stagefeedback-start
4085 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4086 r=`${PWD_COMMAND}`; export r; \
4087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4088 $(HOST_EXPORTS) \
4089 $(POSTSTAGE1_HOST_EXPORTS) \
4090 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4091 cd $(HOST_SUBDIR)/bfd || exit 1; \
4092 case $(srcdir) in \
4093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4094 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4096 esac; \
4097 srcdiroption="--srcdir=$${topdir}/bfd"; \
4098 libsrcdir="$$s/bfd"; \
4099 $(SHELL) $${libsrcdir}/configure \
4100 $(HOST_CONFIGARGS) $${srcdiroption} \
4101 @stage2_werror_flag@
4102 @endif bfd-bootstrap
4108 .PHONY: all-bfd maybe-all-bfd
4109 maybe-all-bfd:
4110 @if bfd
4111 TARGET-bfd=all
4112 maybe-all-bfd: all-bfd
4113 all-bfd: configure-bfd
4114 @test -f stage_last && exit 0; \
4115 r=`${PWD_COMMAND}`; export r; \
4116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4117 $(HOST_EXPORTS) \
4118 (cd $(HOST_SUBDIR)/bfd && \
4119 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4120 @endif bfd
4124 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4125 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4126 maybe-all-stage1-bfd:
4127 maybe-clean-stage1-bfd:
4128 @if bfd-bootstrap
4129 maybe-all-stage1-bfd: all-stage1-bfd
4130 all-stage1: all-stage1-bfd
4131 all-stage1-bfd: configure-stage1-bfd
4132 @$(MAKE) stage1-start
4133 @r=`${PWD_COMMAND}`; export r; \
4134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4135 $(HOST_EXPORTS) \
4136 cd $(HOST_SUBDIR)/bfd && \
4137 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
4139 maybe-clean-stage1-bfd: clean-stage1-bfd
4140 clean-stage1: clean-stage1-bfd
4141 clean-stage1-bfd:
4142 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4143 || exit 0 ; \
4144 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage1-start ; \
4145 cd $(HOST_SUBDIR)/bfd && \
4146 $(MAKE) $(FLAGS_TO_PASS) \
4147 CFLAGS="$(STAGE1_CFLAGS)" clean
4148 @endif bfd-bootstrap
4151 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4152 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4153 maybe-all-stage2-bfd:
4154 maybe-clean-stage2-bfd:
4155 @if bfd-bootstrap
4156 maybe-all-stage2-bfd: all-stage2-bfd
4157 all-stage2: all-stage2-bfd
4158 all-stage2-bfd: configure-stage2-bfd
4159 @$(MAKE) stage2-start
4160 @r=`${PWD_COMMAND}`; export r; \
4161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4162 $(HOST_EXPORTS) \
4163 $(POSTSTAGE1_HOST_EXPORTS) \
4164 cd $(HOST_SUBDIR)/bfd && \
4165 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4167 maybe-clean-stage2-bfd: clean-stage2-bfd
4168 clean-stage2: clean-stage2-bfd
4169 clean-stage2-bfd:
4170 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4171 || exit 0 ; \
4172 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage2-start ; \
4173 cd $(HOST_SUBDIR)/bfd && \
4174 $(MAKE) $(FLAGS_TO_PASS) \
4175 $(POSTSTAGE1_FLAGS_TO_PASS) \
4176 clean
4177 @endif bfd-bootstrap
4180 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4181 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4182 maybe-all-stage3-bfd:
4183 maybe-clean-stage3-bfd:
4184 @if bfd-bootstrap
4185 maybe-all-stage3-bfd: all-stage3-bfd
4186 all-stage3: all-stage3-bfd
4187 all-stage3-bfd: configure-stage3-bfd
4188 @$(MAKE) stage3-start
4189 @r=`${PWD_COMMAND}`; export r; \
4190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4191 $(HOST_EXPORTS) \
4192 $(POSTSTAGE1_HOST_EXPORTS) \
4193 cd $(HOST_SUBDIR)/bfd && \
4194 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4196 maybe-clean-stage3-bfd: clean-stage3-bfd
4197 clean-stage3: clean-stage3-bfd
4198 clean-stage3-bfd:
4199 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4200 || exit 0 ; \
4201 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage3-start ; \
4202 cd $(HOST_SUBDIR)/bfd && \
4203 $(MAKE) $(FLAGS_TO_PASS) \
4204 $(POSTSTAGE1_FLAGS_TO_PASS) \
4205 clean
4206 @endif bfd-bootstrap
4209 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4210 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4211 maybe-all-stage4-bfd:
4212 maybe-clean-stage4-bfd:
4213 @if bfd-bootstrap
4214 maybe-all-stage4-bfd: all-stage4-bfd
4215 all-stage4: all-stage4-bfd
4216 all-stage4-bfd: configure-stage4-bfd
4217 @$(MAKE) stage4-start
4218 @r=`${PWD_COMMAND}`; export r; \
4219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4220 $(HOST_EXPORTS) \
4221 $(POSTSTAGE1_HOST_EXPORTS) \
4222 cd $(HOST_SUBDIR)/bfd && \
4223 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4225 maybe-clean-stage4-bfd: clean-stage4-bfd
4226 clean-stage4: clean-stage4-bfd
4227 clean-stage4-bfd:
4228 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4229 || exit 0 ; \
4230 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage4-start ; \
4231 cd $(HOST_SUBDIR)/bfd && \
4232 $(MAKE) $(FLAGS_TO_PASS) \
4233 $(POSTSTAGE1_FLAGS_TO_PASS) \
4234 clean
4235 @endif bfd-bootstrap
4238 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4239 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4240 maybe-all-stageprofile-bfd:
4241 maybe-clean-stageprofile-bfd:
4242 @if bfd-bootstrap
4243 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4244 all-stageprofile: all-stageprofile-bfd
4245 all-stageprofile-bfd: configure-stageprofile-bfd
4246 @$(MAKE) stageprofile-start
4247 @r=`${PWD_COMMAND}`; export r; \
4248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4249 $(HOST_EXPORTS) \
4250 $(POSTSTAGE1_HOST_EXPORTS) \
4251 cd $(HOST_SUBDIR)/bfd && \
4252 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
4254 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4255 clean-stageprofile: clean-stageprofile-bfd
4256 clean-stageprofile-bfd:
4257 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4258 || exit 0 ; \
4259 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stageprofile-start ; \
4260 cd $(HOST_SUBDIR)/bfd && \
4261 $(MAKE) $(FLAGS_TO_PASS) \
4262 $(POSTSTAGE1_FLAGS_TO_PASS) \
4263 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4264 @endif bfd-bootstrap
4267 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4268 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4269 maybe-all-stagefeedback-bfd:
4270 maybe-clean-stagefeedback-bfd:
4271 @if bfd-bootstrap
4272 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4273 all-stagefeedback: all-stagefeedback-bfd
4274 all-stagefeedback-bfd: configure-stagefeedback-bfd
4275 @$(MAKE) stagefeedback-start
4276 @r=`${PWD_COMMAND}`; export r; \
4277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4278 $(HOST_EXPORTS) \
4279 $(POSTSTAGE1_HOST_EXPORTS) \
4280 cd $(HOST_SUBDIR)/bfd && \
4281 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
4283 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4284 clean-stagefeedback: clean-stagefeedback-bfd
4285 clean-stagefeedback-bfd:
4286 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4287 || exit 0 ; \
4288 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
4289 cd $(HOST_SUBDIR)/bfd && \
4290 $(MAKE) $(FLAGS_TO_PASS) \
4291 $(POSTSTAGE1_FLAGS_TO_PASS) \
4292 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4293 @endif bfd-bootstrap
4299 .PHONY: check-bfd maybe-check-bfd
4300 maybe-check-bfd:
4301 @if bfd
4302 maybe-check-bfd: check-bfd
4304 check-bfd:
4305 @r=`${PWD_COMMAND}`; export r; \
4306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4307 $(HOST_EXPORTS) \
4308 (cd $(HOST_SUBDIR)/bfd && \
4309 $(MAKE) $(FLAGS_TO_PASS) check)
4311 @endif bfd
4313 .PHONY: install-bfd maybe-install-bfd
4314 maybe-install-bfd:
4315 @if bfd
4316 maybe-install-bfd: install-bfd
4318 install-bfd: installdirs
4319 @r=`${PWD_COMMAND}`; export r; \
4320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4321 $(HOST_EXPORTS) \
4322 (cd $(HOST_SUBDIR)/bfd && \
4323 $(MAKE) $(FLAGS_TO_PASS) install)
4325 @endif bfd
4327 # Other targets (info, dvi, etc.)
4329 .PHONY: maybe-info-bfd info-bfd
4330 maybe-info-bfd:
4331 @if bfd
4332 maybe-info-bfd: info-bfd
4334 info-bfd: \
4335 configure-bfd
4336 @[ -f ./bfd/Makefile ] || exit 0; \
4337 r=`${PWD_COMMAND}`; export r; \
4338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4339 $(HOST_EXPORTS) \
4340 for flag in $(EXTRA_HOST_FLAGS) ; do \
4341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4342 done; \
4343 echo "Doing info in bfd" ; \
4344 (cd $(HOST_SUBDIR)/bfd && \
4345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4347 "RANLIB=$${RANLIB}" \
4348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4349 info) \
4350 || exit 1
4352 @endif bfd
4354 .PHONY: maybe-dvi-bfd dvi-bfd
4355 maybe-dvi-bfd:
4356 @if bfd
4357 maybe-dvi-bfd: dvi-bfd
4359 dvi-bfd: \
4360 configure-bfd
4361 @[ -f ./bfd/Makefile ] || exit 0; \
4362 r=`${PWD_COMMAND}`; export r; \
4363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4364 $(HOST_EXPORTS) \
4365 for flag in $(EXTRA_HOST_FLAGS) ; do \
4366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4367 done; \
4368 echo "Doing dvi in bfd" ; \
4369 (cd $(HOST_SUBDIR)/bfd && \
4370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4372 "RANLIB=$${RANLIB}" \
4373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4374 dvi) \
4375 || exit 1
4377 @endif bfd
4379 .PHONY: maybe-html-bfd html-bfd
4380 maybe-html-bfd:
4381 @if bfd
4382 maybe-html-bfd: html-bfd
4384 html-bfd: \
4385 configure-bfd
4386 @[ -f ./bfd/Makefile ] || exit 0; \
4387 r=`${PWD_COMMAND}`; export r; \
4388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4389 $(HOST_EXPORTS) \
4390 for flag in $(EXTRA_HOST_FLAGS) ; do \
4391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4392 done; \
4393 echo "Doing html in bfd" ; \
4394 (cd $(HOST_SUBDIR)/bfd && \
4395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4397 "RANLIB=$${RANLIB}" \
4398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4399 html) \
4400 || exit 1
4402 @endif bfd
4404 .PHONY: maybe-TAGS-bfd TAGS-bfd
4405 maybe-TAGS-bfd:
4406 @if bfd
4407 maybe-TAGS-bfd: TAGS-bfd
4409 TAGS-bfd: \
4410 configure-bfd
4411 @[ -f ./bfd/Makefile ] || exit 0; \
4412 r=`${PWD_COMMAND}`; export r; \
4413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4414 $(HOST_EXPORTS) \
4415 for flag in $(EXTRA_HOST_FLAGS) ; do \
4416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4417 done; \
4418 echo "Doing TAGS in bfd" ; \
4419 (cd $(HOST_SUBDIR)/bfd && \
4420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4422 "RANLIB=$${RANLIB}" \
4423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4424 TAGS) \
4425 || exit 1
4427 @endif bfd
4429 .PHONY: maybe-install-info-bfd install-info-bfd
4430 maybe-install-info-bfd:
4431 @if bfd
4432 maybe-install-info-bfd: install-info-bfd
4434 install-info-bfd: \
4435 configure-bfd \
4436 info-bfd
4437 @[ -f ./bfd/Makefile ] || exit 0; \
4438 r=`${PWD_COMMAND}`; export r; \
4439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4440 $(HOST_EXPORTS) \
4441 for flag in $(EXTRA_HOST_FLAGS) ; do \
4442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4443 done; \
4444 echo "Doing install-info in bfd" ; \
4445 (cd $(HOST_SUBDIR)/bfd && \
4446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4448 "RANLIB=$${RANLIB}" \
4449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4450 install-info) \
4451 || exit 1
4453 @endif bfd
4455 .PHONY: maybe-installcheck-bfd installcheck-bfd
4456 maybe-installcheck-bfd:
4457 @if bfd
4458 maybe-installcheck-bfd: installcheck-bfd
4460 installcheck-bfd: \
4461 configure-bfd
4462 @[ -f ./bfd/Makefile ] || exit 0; \
4463 r=`${PWD_COMMAND}`; export r; \
4464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4465 $(HOST_EXPORTS) \
4466 for flag in $(EXTRA_HOST_FLAGS) ; do \
4467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4468 done; \
4469 echo "Doing installcheck in bfd" ; \
4470 (cd $(HOST_SUBDIR)/bfd && \
4471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4473 "RANLIB=$${RANLIB}" \
4474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4475 installcheck) \
4476 || exit 1
4478 @endif bfd
4480 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4481 maybe-mostlyclean-bfd:
4482 @if bfd
4483 maybe-mostlyclean-bfd: mostlyclean-bfd
4485 mostlyclean-bfd:
4486 @[ -f ./bfd/Makefile ] || exit 0; \
4487 r=`${PWD_COMMAND}`; export r; \
4488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4489 $(HOST_EXPORTS) \
4490 for flag in $(EXTRA_HOST_FLAGS) ; do \
4491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4492 done; \
4493 echo "Doing mostlyclean in bfd" ; \
4494 (cd $(HOST_SUBDIR)/bfd && \
4495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4497 "RANLIB=$${RANLIB}" \
4498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4499 mostlyclean) \
4500 || exit 1
4502 @endif bfd
4504 .PHONY: maybe-clean-bfd clean-bfd
4505 maybe-clean-bfd:
4506 @if bfd
4507 maybe-clean-bfd: clean-bfd
4509 clean-bfd:
4510 @[ -f ./bfd/Makefile ] || exit 0; \
4511 r=`${PWD_COMMAND}`; export r; \
4512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4513 $(HOST_EXPORTS) \
4514 for flag in $(EXTRA_HOST_FLAGS) ; do \
4515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4516 done; \
4517 echo "Doing clean in bfd" ; \
4518 (cd $(HOST_SUBDIR)/bfd && \
4519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4521 "RANLIB=$${RANLIB}" \
4522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4523 clean) \
4524 || exit 1
4526 @endif bfd
4528 .PHONY: maybe-distclean-bfd distclean-bfd
4529 maybe-distclean-bfd:
4530 @if bfd
4531 maybe-distclean-bfd: distclean-bfd
4533 distclean-bfd:
4534 @[ -f ./bfd/Makefile ] || exit 0; \
4535 r=`${PWD_COMMAND}`; export r; \
4536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 distclean in bfd" ; \
4542 (cd $(HOST_SUBDIR)/bfd && \
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 distclean) \
4548 || exit 1
4550 @endif bfd
4552 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4553 maybe-maintainer-clean-bfd:
4554 @if bfd
4555 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4557 maintainer-clean-bfd:
4558 @[ -f ./bfd/Makefile ] || exit 0; \
4559 r=`${PWD_COMMAND}`; export r; \
4560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4561 $(HOST_EXPORTS) \
4562 for flag in $(EXTRA_HOST_FLAGS) ; do \
4563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4564 done; \
4565 echo "Doing maintainer-clean in bfd" ; \
4566 (cd $(HOST_SUBDIR)/bfd && \
4567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4569 "RANLIB=$${RANLIB}" \
4570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4571 maintainer-clean) \
4572 || exit 1
4574 @endif bfd
4578 .PHONY: configure-opcodes maybe-configure-opcodes
4579 maybe-configure-opcodes:
4580 @if opcodes
4581 maybe-configure-opcodes: configure-opcodes
4582 configure-opcodes:
4583 @test -f stage_last && exit 0; \
4584 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4585 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4586 r=`${PWD_COMMAND}`; export r; \
4587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4588 $(HOST_EXPORTS) \
4589 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4590 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4591 case $(srcdir) in \
4592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4593 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4595 esac; \
4596 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4597 libsrcdir="$$s/opcodes"; \
4598 $(SHELL) $${libsrcdir}/configure \
4599 $(HOST_CONFIGARGS) $${srcdiroption} \
4600 || exit 1
4601 @endif opcodes
4605 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4606 maybe-configure-stage1-opcodes:
4607 @if opcodes-bootstrap
4608 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4609 configure-stage1-opcodes:
4610 @$(MAKE) stage1-start
4611 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4612 r=`${PWD_COMMAND}`; export r; \
4613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4614 $(HOST_EXPORTS) \
4615 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4616 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4617 case $(srcdir) in \
4618 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4619 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4620 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4621 esac; \
4622 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4623 libsrcdir="$$s/opcodes"; \
4624 $(SHELL) $${libsrcdir}/configure \
4625 $(HOST_CONFIGARGS) $${srcdiroption} \
4626 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4627 @endif opcodes-bootstrap
4629 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4630 maybe-configure-stage2-opcodes:
4631 @if opcodes-bootstrap
4632 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4633 configure-stage2-opcodes:
4634 @$(MAKE) stage2-start
4635 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4636 r=`${PWD_COMMAND}`; export r; \
4637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4638 $(HOST_EXPORTS) \
4639 $(POSTSTAGE1_HOST_EXPORTS) \
4640 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4641 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4642 case $(srcdir) in \
4643 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4644 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4645 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4646 esac; \
4647 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4648 libsrcdir="$$s/opcodes"; \
4649 $(SHELL) $${libsrcdir}/configure \
4650 $(HOST_CONFIGARGS) $${srcdiroption} \
4651 @stage2_werror_flag@
4652 @endif opcodes-bootstrap
4654 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4655 maybe-configure-stage3-opcodes:
4656 @if opcodes-bootstrap
4657 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4658 configure-stage3-opcodes:
4659 @$(MAKE) stage3-start
4660 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4661 r=`${PWD_COMMAND}`; export r; \
4662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4663 $(HOST_EXPORTS) \
4664 $(POSTSTAGE1_HOST_EXPORTS) \
4665 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4666 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4667 case $(srcdir) in \
4668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4669 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4671 esac; \
4672 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4673 libsrcdir="$$s/opcodes"; \
4674 $(SHELL) $${libsrcdir}/configure \
4675 $(HOST_CONFIGARGS) $${srcdiroption} \
4676 @stage2_werror_flag@
4677 @endif opcodes-bootstrap
4679 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4680 maybe-configure-stage4-opcodes:
4681 @if opcodes-bootstrap
4682 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4683 configure-stage4-opcodes:
4684 @$(MAKE) stage4-start
4685 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4686 r=`${PWD_COMMAND}`; export r; \
4687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4688 $(HOST_EXPORTS) \
4689 $(POSTSTAGE1_HOST_EXPORTS) \
4690 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4691 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4692 case $(srcdir) in \
4693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4694 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4696 esac; \
4697 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4698 libsrcdir="$$s/opcodes"; \
4699 $(SHELL) $${libsrcdir}/configure \
4700 $(HOST_CONFIGARGS) $${srcdiroption} \
4701 @stage2_werror_flag@
4702 @endif opcodes-bootstrap
4704 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4705 maybe-configure-stageprofile-opcodes:
4706 @if opcodes-bootstrap
4707 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4708 configure-stageprofile-opcodes:
4709 @$(MAKE) stageprofile-start
4710 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4711 r=`${PWD_COMMAND}`; export r; \
4712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4713 $(HOST_EXPORTS) \
4714 $(POSTSTAGE1_HOST_EXPORTS) \
4715 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4716 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4717 case $(srcdir) in \
4718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4719 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4721 esac; \
4722 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4723 libsrcdir="$$s/opcodes"; \
4724 $(SHELL) $${libsrcdir}/configure \
4725 $(HOST_CONFIGARGS) $${srcdiroption} \
4726 @stage2_werror_flag@
4727 @endif opcodes-bootstrap
4729 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4730 maybe-configure-stagefeedback-opcodes:
4731 @if opcodes-bootstrap
4732 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4733 configure-stagefeedback-opcodes:
4734 @$(MAKE) stagefeedback-start
4735 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4736 r=`${PWD_COMMAND}`; export r; \
4737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4738 $(HOST_EXPORTS) \
4739 $(POSTSTAGE1_HOST_EXPORTS) \
4740 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4741 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4742 case $(srcdir) in \
4743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4744 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4746 esac; \
4747 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4748 libsrcdir="$$s/opcodes"; \
4749 $(SHELL) $${libsrcdir}/configure \
4750 $(HOST_CONFIGARGS) $${srcdiroption} \
4751 @stage2_werror_flag@
4752 @endif opcodes-bootstrap
4758 .PHONY: all-opcodes maybe-all-opcodes
4759 maybe-all-opcodes:
4760 @if opcodes
4761 TARGET-opcodes=all
4762 maybe-all-opcodes: all-opcodes
4763 all-opcodes: configure-opcodes
4764 @test -f stage_last && exit 0; \
4765 r=`${PWD_COMMAND}`; export r; \
4766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4767 $(HOST_EXPORTS) \
4768 (cd $(HOST_SUBDIR)/opcodes && \
4769 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4770 @endif opcodes
4774 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4775 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4776 maybe-all-stage1-opcodes:
4777 maybe-clean-stage1-opcodes:
4778 @if opcodes-bootstrap
4779 maybe-all-stage1-opcodes: all-stage1-opcodes
4780 all-stage1: all-stage1-opcodes
4781 all-stage1-opcodes: configure-stage1-opcodes
4782 @$(MAKE) stage1-start
4783 @r=`${PWD_COMMAND}`; export r; \
4784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4785 $(HOST_EXPORTS) \
4786 cd $(HOST_SUBDIR)/opcodes && \
4787 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
4789 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4790 clean-stage1: clean-stage1-opcodes
4791 clean-stage1-opcodes:
4792 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
4793 || exit 0 ; \
4794 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage1-start ; \
4795 cd $(HOST_SUBDIR)/opcodes && \
4796 $(MAKE) $(FLAGS_TO_PASS) \
4797 CFLAGS="$(STAGE1_CFLAGS)" clean
4798 @endif opcodes-bootstrap
4801 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4802 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4803 maybe-all-stage2-opcodes:
4804 maybe-clean-stage2-opcodes:
4805 @if opcodes-bootstrap
4806 maybe-all-stage2-opcodes: all-stage2-opcodes
4807 all-stage2: all-stage2-opcodes
4808 all-stage2-opcodes: configure-stage2-opcodes
4809 @$(MAKE) stage2-start
4810 @r=`${PWD_COMMAND}`; export r; \
4811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4812 $(HOST_EXPORTS) \
4813 $(POSTSTAGE1_HOST_EXPORTS) \
4814 cd $(HOST_SUBDIR)/opcodes && \
4815 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4817 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4818 clean-stage2: clean-stage2-opcodes
4819 clean-stage2-opcodes:
4820 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
4821 || exit 0 ; \
4822 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage2-start ; \
4823 cd $(HOST_SUBDIR)/opcodes && \
4824 $(MAKE) $(FLAGS_TO_PASS) \
4825 $(POSTSTAGE1_FLAGS_TO_PASS) \
4826 clean
4827 @endif opcodes-bootstrap
4830 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4831 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4832 maybe-all-stage3-opcodes:
4833 maybe-clean-stage3-opcodes:
4834 @if opcodes-bootstrap
4835 maybe-all-stage3-opcodes: all-stage3-opcodes
4836 all-stage3: all-stage3-opcodes
4837 all-stage3-opcodes: configure-stage3-opcodes
4838 @$(MAKE) stage3-start
4839 @r=`${PWD_COMMAND}`; export r; \
4840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4841 $(HOST_EXPORTS) \
4842 $(POSTSTAGE1_HOST_EXPORTS) \
4843 cd $(HOST_SUBDIR)/opcodes && \
4844 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4846 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4847 clean-stage3: clean-stage3-opcodes
4848 clean-stage3-opcodes:
4849 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
4850 || exit 0 ; \
4851 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage3-start ; \
4852 cd $(HOST_SUBDIR)/opcodes && \
4853 $(MAKE) $(FLAGS_TO_PASS) \
4854 $(POSTSTAGE1_FLAGS_TO_PASS) \
4855 clean
4856 @endif opcodes-bootstrap
4859 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4860 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4861 maybe-all-stage4-opcodes:
4862 maybe-clean-stage4-opcodes:
4863 @if opcodes-bootstrap
4864 maybe-all-stage4-opcodes: all-stage4-opcodes
4865 all-stage4: all-stage4-opcodes
4866 all-stage4-opcodes: configure-stage4-opcodes
4867 @$(MAKE) stage4-start
4868 @r=`${PWD_COMMAND}`; export r; \
4869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4870 $(HOST_EXPORTS) \
4871 $(POSTSTAGE1_HOST_EXPORTS) \
4872 cd $(HOST_SUBDIR)/opcodes && \
4873 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4875 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4876 clean-stage4: clean-stage4-opcodes
4877 clean-stage4-opcodes:
4878 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
4879 || exit 0 ; \
4880 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage4-start ; \
4881 cd $(HOST_SUBDIR)/opcodes && \
4882 $(MAKE) $(FLAGS_TO_PASS) \
4883 $(POSTSTAGE1_FLAGS_TO_PASS) \
4884 clean
4885 @endif opcodes-bootstrap
4888 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4889 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4890 maybe-all-stageprofile-opcodes:
4891 maybe-clean-stageprofile-opcodes:
4892 @if opcodes-bootstrap
4893 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4894 all-stageprofile: all-stageprofile-opcodes
4895 all-stageprofile-opcodes: configure-stageprofile-opcodes
4896 @$(MAKE) stageprofile-start
4897 @r=`${PWD_COMMAND}`; export r; \
4898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4899 $(HOST_EXPORTS) \
4900 $(POSTSTAGE1_HOST_EXPORTS) \
4901 cd $(HOST_SUBDIR)/opcodes && \
4902 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
4904 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4905 clean-stageprofile: clean-stageprofile-opcodes
4906 clean-stageprofile-opcodes:
4907 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
4908 || exit 0 ; \
4909 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
4910 cd $(HOST_SUBDIR)/opcodes && \
4911 $(MAKE) $(FLAGS_TO_PASS) \
4912 $(POSTSTAGE1_FLAGS_TO_PASS) \
4913 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4914 @endif opcodes-bootstrap
4917 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4918 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4919 maybe-all-stagefeedback-opcodes:
4920 maybe-clean-stagefeedback-opcodes:
4921 @if opcodes-bootstrap
4922 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4923 all-stagefeedback: all-stagefeedback-opcodes
4924 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4925 @$(MAKE) stagefeedback-start
4926 @r=`${PWD_COMMAND}`; export r; \
4927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4928 $(HOST_EXPORTS) \
4929 $(POSTSTAGE1_HOST_EXPORTS) \
4930 cd $(HOST_SUBDIR)/opcodes && \
4931 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
4933 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4934 clean-stagefeedback: clean-stagefeedback-opcodes
4935 clean-stagefeedback-opcodes:
4936 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
4937 || exit 0 ; \
4938 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
4939 cd $(HOST_SUBDIR)/opcodes && \
4940 $(MAKE) $(FLAGS_TO_PASS) \
4941 $(POSTSTAGE1_FLAGS_TO_PASS) \
4942 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4943 @endif opcodes-bootstrap
4949 .PHONY: check-opcodes maybe-check-opcodes
4950 maybe-check-opcodes:
4951 @if opcodes
4952 maybe-check-opcodes: check-opcodes
4954 check-opcodes:
4955 @r=`${PWD_COMMAND}`; export r; \
4956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4957 $(HOST_EXPORTS) \
4958 (cd $(HOST_SUBDIR)/opcodes && \
4959 $(MAKE) $(FLAGS_TO_PASS) check)
4961 @endif opcodes
4963 .PHONY: install-opcodes maybe-install-opcodes
4964 maybe-install-opcodes:
4965 @if opcodes
4966 maybe-install-opcodes: install-opcodes
4968 install-opcodes: installdirs
4969 @r=`${PWD_COMMAND}`; export r; \
4970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4971 $(HOST_EXPORTS) \
4972 (cd $(HOST_SUBDIR)/opcodes && \
4973 $(MAKE) $(FLAGS_TO_PASS) install)
4975 @endif opcodes
4977 # Other targets (info, dvi, etc.)
4979 .PHONY: maybe-info-opcodes info-opcodes
4980 maybe-info-opcodes:
4981 @if opcodes
4982 maybe-info-opcodes: info-opcodes
4984 info-opcodes: \
4985 configure-opcodes
4986 @[ -f ./opcodes/Makefile ] || exit 0; \
4987 r=`${PWD_COMMAND}`; export r; \
4988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4989 $(HOST_EXPORTS) \
4990 for flag in $(EXTRA_HOST_FLAGS) ; do \
4991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4992 done; \
4993 echo "Doing info in opcodes" ; \
4994 (cd $(HOST_SUBDIR)/opcodes && \
4995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4997 "RANLIB=$${RANLIB}" \
4998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4999 info) \
5000 || exit 1
5002 @endif opcodes
5004 .PHONY: maybe-dvi-opcodes dvi-opcodes
5005 maybe-dvi-opcodes:
5006 @if opcodes
5007 maybe-dvi-opcodes: dvi-opcodes
5009 dvi-opcodes: \
5010 configure-opcodes
5011 @[ -f ./opcodes/Makefile ] || exit 0; \
5012 r=`${PWD_COMMAND}`; export r; \
5013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5014 $(HOST_EXPORTS) \
5015 for flag in $(EXTRA_HOST_FLAGS) ; do \
5016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5017 done; \
5018 echo "Doing dvi in opcodes" ; \
5019 (cd $(HOST_SUBDIR)/opcodes && \
5020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5022 "RANLIB=$${RANLIB}" \
5023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5024 dvi) \
5025 || exit 1
5027 @endif opcodes
5029 .PHONY: maybe-html-opcodes html-opcodes
5030 maybe-html-opcodes:
5031 @if opcodes
5032 maybe-html-opcodes: html-opcodes
5034 html-opcodes: \
5035 configure-opcodes
5036 @[ -f ./opcodes/Makefile ] || exit 0; \
5037 r=`${PWD_COMMAND}`; export r; \
5038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5039 $(HOST_EXPORTS) \
5040 for flag in $(EXTRA_HOST_FLAGS) ; do \
5041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5042 done; \
5043 echo "Doing html in opcodes" ; \
5044 (cd $(HOST_SUBDIR)/opcodes && \
5045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5047 "RANLIB=$${RANLIB}" \
5048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5049 html) \
5050 || exit 1
5052 @endif opcodes
5054 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5055 maybe-TAGS-opcodes:
5056 @if opcodes
5057 maybe-TAGS-opcodes: TAGS-opcodes
5059 TAGS-opcodes: \
5060 configure-opcodes
5061 @[ -f ./opcodes/Makefile ] || exit 0; \
5062 r=`${PWD_COMMAND}`; export r; \
5063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5064 $(HOST_EXPORTS) \
5065 for flag in $(EXTRA_HOST_FLAGS) ; do \
5066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5067 done; \
5068 echo "Doing TAGS in opcodes" ; \
5069 (cd $(HOST_SUBDIR)/opcodes && \
5070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5072 "RANLIB=$${RANLIB}" \
5073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5074 TAGS) \
5075 || exit 1
5077 @endif opcodes
5079 .PHONY: maybe-install-info-opcodes install-info-opcodes
5080 maybe-install-info-opcodes:
5081 @if opcodes
5082 maybe-install-info-opcodes: install-info-opcodes
5084 install-info-opcodes: \
5085 configure-opcodes \
5086 info-opcodes
5087 @[ -f ./opcodes/Makefile ] || exit 0; \
5088 r=`${PWD_COMMAND}`; export r; \
5089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5090 $(HOST_EXPORTS) \
5091 for flag in $(EXTRA_HOST_FLAGS) ; do \
5092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5093 done; \
5094 echo "Doing install-info in opcodes" ; \
5095 (cd $(HOST_SUBDIR)/opcodes && \
5096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5098 "RANLIB=$${RANLIB}" \
5099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5100 install-info) \
5101 || exit 1
5103 @endif opcodes
5105 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5106 maybe-installcheck-opcodes:
5107 @if opcodes
5108 maybe-installcheck-opcodes: installcheck-opcodes
5110 installcheck-opcodes: \
5111 configure-opcodes
5112 @[ -f ./opcodes/Makefile ] || exit 0; \
5113 r=`${PWD_COMMAND}`; export r; \
5114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5115 $(HOST_EXPORTS) \
5116 for flag in $(EXTRA_HOST_FLAGS) ; do \
5117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5118 done; \
5119 echo "Doing installcheck in opcodes" ; \
5120 (cd $(HOST_SUBDIR)/opcodes && \
5121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5123 "RANLIB=$${RANLIB}" \
5124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5125 installcheck) \
5126 || exit 1
5128 @endif opcodes
5130 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5131 maybe-mostlyclean-opcodes:
5132 @if opcodes
5133 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5135 mostlyclean-opcodes:
5136 @[ -f ./opcodes/Makefile ] || exit 0; \
5137 r=`${PWD_COMMAND}`; export r; \
5138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5139 $(HOST_EXPORTS) \
5140 for flag in $(EXTRA_HOST_FLAGS) ; do \
5141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5142 done; \
5143 echo "Doing mostlyclean in opcodes" ; \
5144 (cd $(HOST_SUBDIR)/opcodes && \
5145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5147 "RANLIB=$${RANLIB}" \
5148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5149 mostlyclean) \
5150 || exit 1
5152 @endif opcodes
5154 .PHONY: maybe-clean-opcodes clean-opcodes
5155 maybe-clean-opcodes:
5156 @if opcodes
5157 maybe-clean-opcodes: clean-opcodes
5159 clean-opcodes:
5160 @[ -f ./opcodes/Makefile ] || exit 0; \
5161 r=`${PWD_COMMAND}`; export r; \
5162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5163 $(HOST_EXPORTS) \
5164 for flag in $(EXTRA_HOST_FLAGS) ; do \
5165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5166 done; \
5167 echo "Doing clean in opcodes" ; \
5168 (cd $(HOST_SUBDIR)/opcodes && \
5169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5171 "RANLIB=$${RANLIB}" \
5172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5173 clean) \
5174 || exit 1
5176 @endif opcodes
5178 .PHONY: maybe-distclean-opcodes distclean-opcodes
5179 maybe-distclean-opcodes:
5180 @if opcodes
5181 maybe-distclean-opcodes: distclean-opcodes
5183 distclean-opcodes:
5184 @[ -f ./opcodes/Makefile ] || exit 0; \
5185 r=`${PWD_COMMAND}`; export r; \
5186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5187 $(HOST_EXPORTS) \
5188 for flag in $(EXTRA_HOST_FLAGS) ; do \
5189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5190 done; \
5191 echo "Doing distclean in opcodes" ; \
5192 (cd $(HOST_SUBDIR)/opcodes && \
5193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5195 "RANLIB=$${RANLIB}" \
5196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5197 distclean) \
5198 || exit 1
5200 @endif opcodes
5202 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5203 maybe-maintainer-clean-opcodes:
5204 @if opcodes
5205 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5207 maintainer-clean-opcodes:
5208 @[ -f ./opcodes/Makefile ] || exit 0; \
5209 r=`${PWD_COMMAND}`; export r; \
5210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5211 $(HOST_EXPORTS) \
5212 for flag in $(EXTRA_HOST_FLAGS) ; do \
5213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5214 done; \
5215 echo "Doing maintainer-clean in opcodes" ; \
5216 (cd $(HOST_SUBDIR)/opcodes && \
5217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5219 "RANLIB=$${RANLIB}" \
5220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5221 maintainer-clean) \
5222 || exit 1
5224 @endif opcodes
5228 .PHONY: configure-binutils maybe-configure-binutils
5229 maybe-configure-binutils:
5230 @if binutils
5231 maybe-configure-binutils: configure-binutils
5232 configure-binutils:
5233 @test -f stage_last && exit 0; \
5234 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5235 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5236 r=`${PWD_COMMAND}`; export r; \
5237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5238 $(HOST_EXPORTS) \
5239 echo Configuring in $(HOST_SUBDIR)/binutils; \
5240 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5241 case $(srcdir) in \
5242 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5243 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5244 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5245 esac; \
5246 srcdiroption="--srcdir=$${topdir}/binutils"; \
5247 libsrcdir="$$s/binutils"; \
5248 $(SHELL) $${libsrcdir}/configure \
5249 $(HOST_CONFIGARGS) $${srcdiroption} \
5250 || exit 1
5251 @endif binutils
5255 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5256 maybe-configure-stage1-binutils:
5257 @if binutils-bootstrap
5258 maybe-configure-stage1-binutils: configure-stage1-binutils
5259 configure-stage1-binutils:
5260 @$(MAKE) stage1-start
5261 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5262 r=`${PWD_COMMAND}`; export r; \
5263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5264 $(HOST_EXPORTS) \
5265 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5266 cd $(HOST_SUBDIR)/binutils || exit 1; \
5267 case $(srcdir) in \
5268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5269 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5271 esac; \
5272 srcdiroption="--srcdir=$${topdir}/binutils"; \
5273 libsrcdir="$$s/binutils"; \
5274 $(SHELL) $${libsrcdir}/configure \
5275 $(HOST_CONFIGARGS) $${srcdiroption} \
5276 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5277 @endif binutils-bootstrap
5279 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5280 maybe-configure-stage2-binutils:
5281 @if binutils-bootstrap
5282 maybe-configure-stage2-binutils: configure-stage2-binutils
5283 configure-stage2-binutils:
5284 @$(MAKE) stage2-start
5285 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5286 r=`${PWD_COMMAND}`; export r; \
5287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5288 $(HOST_EXPORTS) \
5289 $(POSTSTAGE1_HOST_EXPORTS) \
5290 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5291 cd $(HOST_SUBDIR)/binutils || exit 1; \
5292 case $(srcdir) in \
5293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5294 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5296 esac; \
5297 srcdiroption="--srcdir=$${topdir}/binutils"; \
5298 libsrcdir="$$s/binutils"; \
5299 $(SHELL) $${libsrcdir}/configure \
5300 $(HOST_CONFIGARGS) $${srcdiroption} \
5301 @stage2_werror_flag@
5302 @endif binutils-bootstrap
5304 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5305 maybe-configure-stage3-binutils:
5306 @if binutils-bootstrap
5307 maybe-configure-stage3-binutils: configure-stage3-binutils
5308 configure-stage3-binutils:
5309 @$(MAKE) stage3-start
5310 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5311 r=`${PWD_COMMAND}`; export r; \
5312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5313 $(HOST_EXPORTS) \
5314 $(POSTSTAGE1_HOST_EXPORTS) \
5315 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5316 cd $(HOST_SUBDIR)/binutils || exit 1; \
5317 case $(srcdir) in \
5318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5319 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5321 esac; \
5322 srcdiroption="--srcdir=$${topdir}/binutils"; \
5323 libsrcdir="$$s/binutils"; \
5324 $(SHELL) $${libsrcdir}/configure \
5325 $(HOST_CONFIGARGS) $${srcdiroption} \
5326 @stage2_werror_flag@
5327 @endif binutils-bootstrap
5329 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5330 maybe-configure-stage4-binutils:
5331 @if binutils-bootstrap
5332 maybe-configure-stage4-binutils: configure-stage4-binutils
5333 configure-stage4-binutils:
5334 @$(MAKE) stage4-start
5335 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5336 r=`${PWD_COMMAND}`; export r; \
5337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5338 $(HOST_EXPORTS) \
5339 $(POSTSTAGE1_HOST_EXPORTS) \
5340 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5341 cd $(HOST_SUBDIR)/binutils || exit 1; \
5342 case $(srcdir) in \
5343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5344 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5346 esac; \
5347 srcdiroption="--srcdir=$${topdir}/binutils"; \
5348 libsrcdir="$$s/binutils"; \
5349 $(SHELL) $${libsrcdir}/configure \
5350 $(HOST_CONFIGARGS) $${srcdiroption} \
5351 @stage2_werror_flag@
5352 @endif binutils-bootstrap
5354 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5355 maybe-configure-stageprofile-binutils:
5356 @if binutils-bootstrap
5357 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5358 configure-stageprofile-binutils:
5359 @$(MAKE) stageprofile-start
5360 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5361 r=`${PWD_COMMAND}`; export r; \
5362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5363 $(HOST_EXPORTS) \
5364 $(POSTSTAGE1_HOST_EXPORTS) \
5365 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5366 cd $(HOST_SUBDIR)/binutils || exit 1; \
5367 case $(srcdir) in \
5368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5369 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5371 esac; \
5372 srcdiroption="--srcdir=$${topdir}/binutils"; \
5373 libsrcdir="$$s/binutils"; \
5374 $(SHELL) $${libsrcdir}/configure \
5375 $(HOST_CONFIGARGS) $${srcdiroption} \
5376 @stage2_werror_flag@
5377 @endif binutils-bootstrap
5379 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5380 maybe-configure-stagefeedback-binutils:
5381 @if binutils-bootstrap
5382 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5383 configure-stagefeedback-binutils:
5384 @$(MAKE) stagefeedback-start
5385 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5386 r=`${PWD_COMMAND}`; export r; \
5387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5388 $(HOST_EXPORTS) \
5389 $(POSTSTAGE1_HOST_EXPORTS) \
5390 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5391 cd $(HOST_SUBDIR)/binutils || exit 1; \
5392 case $(srcdir) in \
5393 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5394 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5395 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5396 esac; \
5397 srcdiroption="--srcdir=$${topdir}/binutils"; \
5398 libsrcdir="$$s/binutils"; \
5399 $(SHELL) $${libsrcdir}/configure \
5400 $(HOST_CONFIGARGS) $${srcdiroption} \
5401 @stage2_werror_flag@
5402 @endif binutils-bootstrap
5408 .PHONY: all-binutils maybe-all-binutils
5409 maybe-all-binutils:
5410 @if binutils
5411 TARGET-binutils=all
5412 maybe-all-binutils: all-binutils
5413 all-binutils: configure-binutils
5414 @test -f stage_last && exit 0; \
5415 r=`${PWD_COMMAND}`; export r; \
5416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5417 $(HOST_EXPORTS) \
5418 (cd $(HOST_SUBDIR)/binutils && \
5419 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5420 @endif binutils
5424 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5425 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5426 maybe-all-stage1-binutils:
5427 maybe-clean-stage1-binutils:
5428 @if binutils-bootstrap
5429 maybe-all-stage1-binutils: all-stage1-binutils
5430 all-stage1: all-stage1-binutils
5431 all-stage1-binutils: configure-stage1-binutils
5432 @$(MAKE) stage1-start
5433 @r=`${PWD_COMMAND}`; export r; \
5434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5435 $(HOST_EXPORTS) \
5436 cd $(HOST_SUBDIR)/binutils && \
5437 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
5439 maybe-clean-stage1-binutils: clean-stage1-binutils
5440 clean-stage1: clean-stage1-binutils
5441 clean-stage1-binutils:
5442 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5443 || exit 0 ; \
5444 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage1-start ; \
5445 cd $(HOST_SUBDIR)/binutils && \
5446 $(MAKE) $(FLAGS_TO_PASS) \
5447 CFLAGS="$(STAGE1_CFLAGS)" clean
5448 @endif binutils-bootstrap
5451 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5452 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5453 maybe-all-stage2-binutils:
5454 maybe-clean-stage2-binutils:
5455 @if binutils-bootstrap
5456 maybe-all-stage2-binutils: all-stage2-binutils
5457 all-stage2: all-stage2-binutils
5458 all-stage2-binutils: configure-stage2-binutils
5459 @$(MAKE) stage2-start
5460 @r=`${PWD_COMMAND}`; export r; \
5461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5462 $(HOST_EXPORTS) \
5463 $(POSTSTAGE1_HOST_EXPORTS) \
5464 cd $(HOST_SUBDIR)/binutils && \
5465 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
5467 maybe-clean-stage2-binutils: clean-stage2-binutils
5468 clean-stage2: clean-stage2-binutils
5469 clean-stage2-binutils:
5470 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5471 || exit 0 ; \
5472 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage2-start ; \
5473 cd $(HOST_SUBDIR)/binutils && \
5474 $(MAKE) $(FLAGS_TO_PASS) \
5475 $(POSTSTAGE1_FLAGS_TO_PASS) \
5476 clean
5477 @endif binutils-bootstrap
5480 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5481 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5482 maybe-all-stage3-binutils:
5483 maybe-clean-stage3-binutils:
5484 @if binutils-bootstrap
5485 maybe-all-stage3-binutils: all-stage3-binutils
5486 all-stage3: all-stage3-binutils
5487 all-stage3-binutils: configure-stage3-binutils
5488 @$(MAKE) stage3-start
5489 @r=`${PWD_COMMAND}`; export r; \
5490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5491 $(HOST_EXPORTS) \
5492 $(POSTSTAGE1_HOST_EXPORTS) \
5493 cd $(HOST_SUBDIR)/binutils && \
5494 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
5496 maybe-clean-stage3-binutils: clean-stage3-binutils
5497 clean-stage3: clean-stage3-binutils
5498 clean-stage3-binutils:
5499 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5500 || exit 0 ; \
5501 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage3-start ; \
5502 cd $(HOST_SUBDIR)/binutils && \
5503 $(MAKE) $(FLAGS_TO_PASS) \
5504 $(POSTSTAGE1_FLAGS_TO_PASS) \
5505 clean
5506 @endif binutils-bootstrap
5509 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5510 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5511 maybe-all-stage4-binutils:
5512 maybe-clean-stage4-binutils:
5513 @if binutils-bootstrap
5514 maybe-all-stage4-binutils: all-stage4-binutils
5515 all-stage4: all-stage4-binutils
5516 all-stage4-binutils: configure-stage4-binutils
5517 @$(MAKE) stage4-start
5518 @r=`${PWD_COMMAND}`; export r; \
5519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5520 $(HOST_EXPORTS) \
5521 $(POSTSTAGE1_HOST_EXPORTS) \
5522 cd $(HOST_SUBDIR)/binutils && \
5523 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
5525 maybe-clean-stage4-binutils: clean-stage4-binutils
5526 clean-stage4: clean-stage4-binutils
5527 clean-stage4-binutils:
5528 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5529 || exit 0 ; \
5530 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage4-start ; \
5531 cd $(HOST_SUBDIR)/binutils && \
5532 $(MAKE) $(FLAGS_TO_PASS) \
5533 $(POSTSTAGE1_FLAGS_TO_PASS) \
5534 clean
5535 @endif binutils-bootstrap
5538 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5539 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5540 maybe-all-stageprofile-binutils:
5541 maybe-clean-stageprofile-binutils:
5542 @if binutils-bootstrap
5543 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5544 all-stageprofile: all-stageprofile-binutils
5545 all-stageprofile-binutils: configure-stageprofile-binutils
5546 @$(MAKE) stageprofile-start
5547 @r=`${PWD_COMMAND}`; export r; \
5548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5549 $(HOST_EXPORTS) \
5550 $(POSTSTAGE1_HOST_EXPORTS) \
5551 cd $(HOST_SUBDIR)/binutils && \
5552 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
5554 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5555 clean-stageprofile: clean-stageprofile-binutils
5556 clean-stageprofile-binutils:
5557 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5558 || exit 0 ; \
5559 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stageprofile-start ; \
5560 cd $(HOST_SUBDIR)/binutils && \
5561 $(MAKE) $(FLAGS_TO_PASS) \
5562 $(POSTSTAGE1_FLAGS_TO_PASS) \
5563 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5564 @endif binutils-bootstrap
5567 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5568 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5569 maybe-all-stagefeedback-binutils:
5570 maybe-clean-stagefeedback-binutils:
5571 @if binutils-bootstrap
5572 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5573 all-stagefeedback: all-stagefeedback-binutils
5574 all-stagefeedback-binutils: configure-stagefeedback-binutils
5575 @$(MAKE) stagefeedback-start
5576 @r=`${PWD_COMMAND}`; export r; \
5577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5578 $(HOST_EXPORTS) \
5579 $(POSTSTAGE1_HOST_EXPORTS) \
5580 cd $(HOST_SUBDIR)/binutils && \
5581 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
5583 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5584 clean-stagefeedback: clean-stagefeedback-binutils
5585 clean-stagefeedback-binutils:
5586 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5587 || exit 0 ; \
5588 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
5589 cd $(HOST_SUBDIR)/binutils && \
5590 $(MAKE) $(FLAGS_TO_PASS) \
5591 $(POSTSTAGE1_FLAGS_TO_PASS) \
5592 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5593 @endif binutils-bootstrap
5599 .PHONY: check-binutils maybe-check-binutils
5600 maybe-check-binutils:
5601 @if binutils
5602 maybe-check-binutils: check-binutils
5604 check-binutils:
5605 @r=`${PWD_COMMAND}`; export r; \
5606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5607 $(HOST_EXPORTS) \
5608 (cd $(HOST_SUBDIR)/binutils && \
5609 $(MAKE) $(FLAGS_TO_PASS) check)
5611 @endif binutils
5613 .PHONY: install-binutils maybe-install-binutils
5614 maybe-install-binutils:
5615 @if binutils
5616 maybe-install-binutils: install-binutils
5618 install-binutils: installdirs
5619 @r=`${PWD_COMMAND}`; export r; \
5620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5621 $(HOST_EXPORTS) \
5622 (cd $(HOST_SUBDIR)/binutils && \
5623 $(MAKE) $(FLAGS_TO_PASS) install)
5625 @endif binutils
5627 # Other targets (info, dvi, etc.)
5629 .PHONY: maybe-info-binutils info-binutils
5630 maybe-info-binutils:
5631 @if binutils
5632 maybe-info-binutils: info-binutils
5634 info-binutils: \
5635 configure-binutils
5636 @[ -f ./binutils/Makefile ] || exit 0; \
5637 r=`${PWD_COMMAND}`; export r; \
5638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5639 $(HOST_EXPORTS) \
5640 for flag in $(EXTRA_HOST_FLAGS) ; do \
5641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5642 done; \
5643 echo "Doing info in binutils" ; \
5644 (cd $(HOST_SUBDIR)/binutils && \
5645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5647 "RANLIB=$${RANLIB}" \
5648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5649 info) \
5650 || exit 1
5652 @endif binutils
5654 .PHONY: maybe-dvi-binutils dvi-binutils
5655 maybe-dvi-binutils:
5656 @if binutils
5657 maybe-dvi-binutils: dvi-binutils
5659 dvi-binutils: \
5660 configure-binutils
5661 @[ -f ./binutils/Makefile ] || exit 0; \
5662 r=`${PWD_COMMAND}`; export r; \
5663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5664 $(HOST_EXPORTS) \
5665 for flag in $(EXTRA_HOST_FLAGS) ; do \
5666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5667 done; \
5668 echo "Doing dvi in binutils" ; \
5669 (cd $(HOST_SUBDIR)/binutils && \
5670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5672 "RANLIB=$${RANLIB}" \
5673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5674 dvi) \
5675 || exit 1
5677 @endif binutils
5679 .PHONY: maybe-html-binutils html-binutils
5680 maybe-html-binutils:
5681 @if binutils
5682 maybe-html-binutils: html-binutils
5684 html-binutils: \
5685 configure-binutils
5686 @[ -f ./binutils/Makefile ] || exit 0; \
5687 r=`${PWD_COMMAND}`; export r; \
5688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5689 $(HOST_EXPORTS) \
5690 for flag in $(EXTRA_HOST_FLAGS) ; do \
5691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5692 done; \
5693 echo "Doing html in binutils" ; \
5694 (cd $(HOST_SUBDIR)/binutils && \
5695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5697 "RANLIB=$${RANLIB}" \
5698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5699 html) \
5700 || exit 1
5702 @endif binutils
5704 .PHONY: maybe-TAGS-binutils TAGS-binutils
5705 maybe-TAGS-binutils:
5706 @if binutils
5707 maybe-TAGS-binutils: TAGS-binutils
5709 TAGS-binutils: \
5710 configure-binutils
5711 @[ -f ./binutils/Makefile ] || exit 0; \
5712 r=`${PWD_COMMAND}`; export r; \
5713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5714 $(HOST_EXPORTS) \
5715 for flag in $(EXTRA_HOST_FLAGS) ; do \
5716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5717 done; \
5718 echo "Doing TAGS in binutils" ; \
5719 (cd $(HOST_SUBDIR)/binutils && \
5720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5722 "RANLIB=$${RANLIB}" \
5723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5724 TAGS) \
5725 || exit 1
5727 @endif binutils
5729 .PHONY: maybe-install-info-binutils install-info-binutils
5730 maybe-install-info-binutils:
5731 @if binutils
5732 maybe-install-info-binutils: install-info-binutils
5734 install-info-binutils: \
5735 configure-binutils \
5736 info-binutils
5737 @[ -f ./binutils/Makefile ] || exit 0; \
5738 r=`${PWD_COMMAND}`; export r; \
5739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5740 $(HOST_EXPORTS) \
5741 for flag in $(EXTRA_HOST_FLAGS) ; do \
5742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5743 done; \
5744 echo "Doing install-info in binutils" ; \
5745 (cd $(HOST_SUBDIR)/binutils && \
5746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5748 "RANLIB=$${RANLIB}" \
5749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5750 install-info) \
5751 || exit 1
5753 @endif binutils
5755 .PHONY: maybe-installcheck-binutils installcheck-binutils
5756 maybe-installcheck-binutils:
5757 @if binutils
5758 maybe-installcheck-binutils: installcheck-binutils
5760 installcheck-binutils: \
5761 configure-binutils
5762 @[ -f ./binutils/Makefile ] || exit 0; \
5763 r=`${PWD_COMMAND}`; export r; \
5764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5765 $(HOST_EXPORTS) \
5766 for flag in $(EXTRA_HOST_FLAGS) ; do \
5767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5768 done; \
5769 echo "Doing installcheck in binutils" ; \
5770 (cd $(HOST_SUBDIR)/binutils && \
5771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5773 "RANLIB=$${RANLIB}" \
5774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5775 installcheck) \
5776 || exit 1
5778 @endif binutils
5780 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5781 maybe-mostlyclean-binutils:
5782 @if binutils
5783 maybe-mostlyclean-binutils: mostlyclean-binutils
5785 mostlyclean-binutils:
5786 @[ -f ./binutils/Makefile ] || exit 0; \
5787 r=`${PWD_COMMAND}`; export r; \
5788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5789 $(HOST_EXPORTS) \
5790 for flag in $(EXTRA_HOST_FLAGS) ; do \
5791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5792 done; \
5793 echo "Doing mostlyclean in binutils" ; \
5794 (cd $(HOST_SUBDIR)/binutils && \
5795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5797 "RANLIB=$${RANLIB}" \
5798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5799 mostlyclean) \
5800 || exit 1
5802 @endif binutils
5804 .PHONY: maybe-clean-binutils clean-binutils
5805 maybe-clean-binutils:
5806 @if binutils
5807 maybe-clean-binutils: clean-binutils
5809 clean-binutils:
5810 @[ -f ./binutils/Makefile ] || exit 0; \
5811 r=`${PWD_COMMAND}`; export r; \
5812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5813 $(HOST_EXPORTS) \
5814 for flag in $(EXTRA_HOST_FLAGS) ; do \
5815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5816 done; \
5817 echo "Doing clean in binutils" ; \
5818 (cd $(HOST_SUBDIR)/binutils && \
5819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5821 "RANLIB=$${RANLIB}" \
5822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5823 clean) \
5824 || exit 1
5826 @endif binutils
5828 .PHONY: maybe-distclean-binutils distclean-binutils
5829 maybe-distclean-binutils:
5830 @if binutils
5831 maybe-distclean-binutils: distclean-binutils
5833 distclean-binutils:
5834 @[ -f ./binutils/Makefile ] || exit 0; \
5835 r=`${PWD_COMMAND}`; export r; \
5836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5837 $(HOST_EXPORTS) \
5838 for flag in $(EXTRA_HOST_FLAGS) ; do \
5839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5840 done; \
5841 echo "Doing distclean in binutils" ; \
5842 (cd $(HOST_SUBDIR)/binutils && \
5843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5845 "RANLIB=$${RANLIB}" \
5846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5847 distclean) \
5848 || exit 1
5850 @endif binutils
5852 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5853 maybe-maintainer-clean-binutils:
5854 @if binutils
5855 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5857 maintainer-clean-binutils:
5858 @[ -f ./binutils/Makefile ] || exit 0; \
5859 r=`${PWD_COMMAND}`; export r; \
5860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5861 $(HOST_EXPORTS) \
5862 for flag in $(EXTRA_HOST_FLAGS) ; do \
5863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5864 done; \
5865 echo "Doing maintainer-clean in binutils" ; \
5866 (cd $(HOST_SUBDIR)/binutils && \
5867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5869 "RANLIB=$${RANLIB}" \
5870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5871 maintainer-clean) \
5872 || exit 1
5874 @endif binutils
5878 .PHONY: configure-bison maybe-configure-bison
5879 maybe-configure-bison:
5880 @if bison
5881 maybe-configure-bison: configure-bison
5882 configure-bison:
5883 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5885 r=`${PWD_COMMAND}`; export r; \
5886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5887 $(HOST_EXPORTS) \
5888 echo Configuring in $(HOST_SUBDIR)/bison; \
5889 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5890 case $(srcdir) in \
5891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5892 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5894 esac; \
5895 srcdiroption="--srcdir=$${topdir}/bison"; \
5896 libsrcdir="$$s/bison"; \
5897 $(SHELL) $${libsrcdir}/configure \
5898 $(HOST_CONFIGARGS) $${srcdiroption} \
5899 || exit 1
5900 @endif bison
5906 .PHONY: all-bison maybe-all-bison
5907 maybe-all-bison:
5908 @if bison
5909 TARGET-bison=all
5910 maybe-all-bison: all-bison
5911 all-bison: configure-bison
5912 @r=`${PWD_COMMAND}`; export r; \
5913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5914 $(HOST_EXPORTS) \
5915 (cd $(HOST_SUBDIR)/bison && \
5916 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
5917 @endif bison
5922 .PHONY: check-bison maybe-check-bison
5923 maybe-check-bison:
5924 @if bison
5925 maybe-check-bison: check-bison
5927 # This module is only tested in a native toolchain.
5928 check-bison:
5929 @if [ '$(host)' = '$(target)' ] ; then \
5930 r=`${PWD_COMMAND}`; export r; \
5931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5932 $(HOST_EXPORTS) \
5933 (cd $(HOST_SUBDIR)/bison && \
5934 $(MAKE) $(FLAGS_TO_PASS) check); \
5937 @endif bison
5939 .PHONY: install-bison maybe-install-bison
5940 maybe-install-bison:
5941 @if bison
5942 maybe-install-bison: install-bison
5944 install-bison: installdirs
5945 @r=`${PWD_COMMAND}`; export r; \
5946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5947 $(HOST_EXPORTS) \
5948 (cd $(HOST_SUBDIR)/bison && \
5949 $(MAKE) $(FLAGS_TO_PASS) install)
5951 @endif bison
5953 # Other targets (info, dvi, etc.)
5955 .PHONY: maybe-info-bison info-bison
5956 maybe-info-bison:
5957 @if bison
5958 maybe-info-bison: info-bison
5960 info-bison: \
5961 configure-bison
5962 @[ -f ./bison/Makefile ] || exit 0; \
5963 r=`${PWD_COMMAND}`; export r; \
5964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5965 $(HOST_EXPORTS) \
5966 for flag in $(EXTRA_HOST_FLAGS) ; do \
5967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5968 done; \
5969 echo "Doing info in bison" ; \
5970 (cd $(HOST_SUBDIR)/bison && \
5971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5973 "RANLIB=$${RANLIB}" \
5974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5975 info) \
5976 || exit 1
5978 @endif bison
5980 .PHONY: maybe-dvi-bison dvi-bison
5981 maybe-dvi-bison:
5982 @if bison
5983 maybe-dvi-bison: dvi-bison
5985 dvi-bison: \
5986 configure-bison
5987 @[ -f ./bison/Makefile ] || exit 0; \
5988 r=`${PWD_COMMAND}`; export r; \
5989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5990 $(HOST_EXPORTS) \
5991 for flag in $(EXTRA_HOST_FLAGS) ; do \
5992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5993 done; \
5994 echo "Doing dvi in bison" ; \
5995 (cd $(HOST_SUBDIR)/bison && \
5996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5998 "RANLIB=$${RANLIB}" \
5999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6000 dvi) \
6001 || exit 1
6003 @endif bison
6005 .PHONY: maybe-html-bison html-bison
6006 maybe-html-bison:
6007 @if bison
6008 maybe-html-bison: html-bison
6010 html-bison: \
6011 configure-bison
6012 @[ -f ./bison/Makefile ] || exit 0; \
6013 r=`${PWD_COMMAND}`; export r; \
6014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6015 $(HOST_EXPORTS) \
6016 for flag in $(EXTRA_HOST_FLAGS) ; do \
6017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6018 done; \
6019 echo "Doing html in bison" ; \
6020 (cd $(HOST_SUBDIR)/bison && \
6021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6023 "RANLIB=$${RANLIB}" \
6024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6025 html) \
6026 || exit 1
6028 @endif bison
6030 .PHONY: maybe-TAGS-bison TAGS-bison
6031 maybe-TAGS-bison:
6032 @if bison
6033 maybe-TAGS-bison: TAGS-bison
6035 TAGS-bison: \
6036 configure-bison
6037 @[ -f ./bison/Makefile ] || exit 0; \
6038 r=`${PWD_COMMAND}`; export r; \
6039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6040 $(HOST_EXPORTS) \
6041 for flag in $(EXTRA_HOST_FLAGS) ; do \
6042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6043 done; \
6044 echo "Doing TAGS in bison" ; \
6045 (cd $(HOST_SUBDIR)/bison && \
6046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6048 "RANLIB=$${RANLIB}" \
6049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6050 TAGS) \
6051 || exit 1
6053 @endif bison
6055 .PHONY: maybe-install-info-bison install-info-bison
6056 maybe-install-info-bison:
6057 @if bison
6058 maybe-install-info-bison: install-info-bison
6060 install-info-bison: \
6061 configure-bison \
6062 info-bison
6063 @[ -f ./bison/Makefile ] || exit 0; \
6064 r=`${PWD_COMMAND}`; export r; \
6065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6066 $(HOST_EXPORTS) \
6067 for flag in $(EXTRA_HOST_FLAGS) ; do \
6068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6069 done; \
6070 echo "Doing install-info in bison" ; \
6071 (cd $(HOST_SUBDIR)/bison && \
6072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6074 "RANLIB=$${RANLIB}" \
6075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6076 install-info) \
6077 || exit 1
6079 @endif bison
6081 .PHONY: maybe-installcheck-bison installcheck-bison
6082 maybe-installcheck-bison:
6083 @if bison
6084 maybe-installcheck-bison: installcheck-bison
6086 installcheck-bison: \
6087 configure-bison
6088 @[ -f ./bison/Makefile ] || exit 0; \
6089 r=`${PWD_COMMAND}`; export r; \
6090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6091 $(HOST_EXPORTS) \
6092 for flag in $(EXTRA_HOST_FLAGS) ; do \
6093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6094 done; \
6095 echo "Doing installcheck in bison" ; \
6096 (cd $(HOST_SUBDIR)/bison && \
6097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6099 "RANLIB=$${RANLIB}" \
6100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6101 installcheck) \
6102 || exit 1
6104 @endif bison
6106 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6107 maybe-mostlyclean-bison:
6108 @if bison
6109 maybe-mostlyclean-bison: mostlyclean-bison
6111 mostlyclean-bison:
6112 @[ -f ./bison/Makefile ] || exit 0; \
6113 r=`${PWD_COMMAND}`; export r; \
6114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6115 $(HOST_EXPORTS) \
6116 for flag in $(EXTRA_HOST_FLAGS) ; do \
6117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6118 done; \
6119 echo "Doing mostlyclean in bison" ; \
6120 (cd $(HOST_SUBDIR)/bison && \
6121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6123 "RANLIB=$${RANLIB}" \
6124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6125 mostlyclean) \
6126 || exit 1
6128 @endif bison
6130 .PHONY: maybe-clean-bison clean-bison
6131 maybe-clean-bison:
6132 @if bison
6133 maybe-clean-bison: clean-bison
6135 clean-bison:
6136 @[ -f ./bison/Makefile ] || exit 0; \
6137 r=`${PWD_COMMAND}`; export r; \
6138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6139 $(HOST_EXPORTS) \
6140 for flag in $(EXTRA_HOST_FLAGS) ; do \
6141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6142 done; \
6143 echo "Doing clean in bison" ; \
6144 (cd $(HOST_SUBDIR)/bison && \
6145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6147 "RANLIB=$${RANLIB}" \
6148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6149 clean) \
6150 || exit 1
6152 @endif bison
6154 .PHONY: maybe-distclean-bison distclean-bison
6155 maybe-distclean-bison:
6156 @if bison
6157 maybe-distclean-bison: distclean-bison
6159 distclean-bison:
6160 @[ -f ./bison/Makefile ] || exit 0; \
6161 r=`${PWD_COMMAND}`; export r; \
6162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6163 $(HOST_EXPORTS) \
6164 for flag in $(EXTRA_HOST_FLAGS) ; do \
6165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6166 done; \
6167 echo "Doing distclean in bison" ; \
6168 (cd $(HOST_SUBDIR)/bison && \
6169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6171 "RANLIB=$${RANLIB}" \
6172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6173 distclean) \
6174 || exit 1
6176 @endif bison
6178 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6179 maybe-maintainer-clean-bison:
6180 @if bison
6181 maybe-maintainer-clean-bison: maintainer-clean-bison
6183 maintainer-clean-bison:
6184 @[ -f ./bison/Makefile ] || exit 0; \
6185 r=`${PWD_COMMAND}`; export r; \
6186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6187 $(HOST_EXPORTS) \
6188 for flag in $(EXTRA_HOST_FLAGS) ; do \
6189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6190 done; \
6191 echo "Doing maintainer-clean in bison" ; \
6192 (cd $(HOST_SUBDIR)/bison && \
6193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6195 "RANLIB=$${RANLIB}" \
6196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6197 maintainer-clean) \
6198 || exit 1
6200 @endif bison
6204 .PHONY: configure-byacc maybe-configure-byacc
6205 maybe-configure-byacc:
6206 @if byacc
6207 maybe-configure-byacc: configure-byacc
6208 configure-byacc:
6209 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6211 r=`${PWD_COMMAND}`; export r; \
6212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6213 $(HOST_EXPORTS) \
6214 echo Configuring in $(HOST_SUBDIR)/byacc; \
6215 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6216 case $(srcdir) in \
6217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6218 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6220 esac; \
6221 srcdiroption="--srcdir=$${topdir}/byacc"; \
6222 libsrcdir="$$s/byacc"; \
6223 $(SHELL) $${libsrcdir}/configure \
6224 $(HOST_CONFIGARGS) $${srcdiroption} \
6225 || exit 1
6226 @endif byacc
6232 .PHONY: all-byacc maybe-all-byacc
6233 maybe-all-byacc:
6234 @if byacc
6235 TARGET-byacc=all
6236 maybe-all-byacc: all-byacc
6237 all-byacc: configure-byacc
6238 @r=`${PWD_COMMAND}`; export r; \
6239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6240 $(HOST_EXPORTS) \
6241 (cd $(HOST_SUBDIR)/byacc && \
6242 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6243 @endif byacc
6248 .PHONY: check-byacc maybe-check-byacc
6249 maybe-check-byacc:
6250 @if byacc
6251 maybe-check-byacc: check-byacc
6253 # This module is only tested in a native toolchain.
6254 check-byacc:
6255 @if [ '$(host)' = '$(target)' ] ; then \
6256 r=`${PWD_COMMAND}`; export r; \
6257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6258 $(HOST_EXPORTS) \
6259 (cd $(HOST_SUBDIR)/byacc && \
6260 $(MAKE) $(FLAGS_TO_PASS) check); \
6263 @endif byacc
6265 .PHONY: install-byacc maybe-install-byacc
6266 maybe-install-byacc:
6267 @if byacc
6268 maybe-install-byacc: install-byacc
6270 install-byacc: installdirs
6271 @r=`${PWD_COMMAND}`; export r; \
6272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6273 $(HOST_EXPORTS) \
6274 (cd $(HOST_SUBDIR)/byacc && \
6275 $(MAKE) $(FLAGS_TO_PASS) install)
6277 @endif byacc
6279 # Other targets (info, dvi, etc.)
6281 .PHONY: maybe-info-byacc info-byacc
6282 maybe-info-byacc:
6283 @if byacc
6284 maybe-info-byacc: info-byacc
6286 info-byacc: \
6287 configure-byacc
6288 @[ -f ./byacc/Makefile ] || exit 0; \
6289 r=`${PWD_COMMAND}`; export r; \
6290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6291 $(HOST_EXPORTS) \
6292 for flag in $(EXTRA_HOST_FLAGS) ; do \
6293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6294 done; \
6295 echo "Doing info in byacc" ; \
6296 (cd $(HOST_SUBDIR)/byacc && \
6297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6299 "RANLIB=$${RANLIB}" \
6300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6301 info) \
6302 || exit 1
6304 @endif byacc
6306 .PHONY: maybe-dvi-byacc dvi-byacc
6307 maybe-dvi-byacc:
6308 @if byacc
6309 maybe-dvi-byacc: dvi-byacc
6311 dvi-byacc: \
6312 configure-byacc
6313 @[ -f ./byacc/Makefile ] || exit 0; \
6314 r=`${PWD_COMMAND}`; export r; \
6315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6316 $(HOST_EXPORTS) \
6317 for flag in $(EXTRA_HOST_FLAGS) ; do \
6318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6319 done; \
6320 echo "Doing dvi in byacc" ; \
6321 (cd $(HOST_SUBDIR)/byacc && \
6322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6324 "RANLIB=$${RANLIB}" \
6325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6326 dvi) \
6327 || exit 1
6329 @endif byacc
6331 .PHONY: maybe-html-byacc html-byacc
6332 maybe-html-byacc:
6333 @if byacc
6334 maybe-html-byacc: html-byacc
6336 html-byacc: \
6337 configure-byacc
6338 @[ -f ./byacc/Makefile ] || exit 0; \
6339 r=`${PWD_COMMAND}`; export r; \
6340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6341 $(HOST_EXPORTS) \
6342 for flag in $(EXTRA_HOST_FLAGS) ; do \
6343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6344 done; \
6345 echo "Doing html in byacc" ; \
6346 (cd $(HOST_SUBDIR)/byacc && \
6347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6349 "RANLIB=$${RANLIB}" \
6350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6351 html) \
6352 || exit 1
6354 @endif byacc
6356 .PHONY: maybe-TAGS-byacc TAGS-byacc
6357 maybe-TAGS-byacc:
6358 @if byacc
6359 maybe-TAGS-byacc: TAGS-byacc
6361 TAGS-byacc: \
6362 configure-byacc
6363 @[ -f ./byacc/Makefile ] || exit 0; \
6364 r=`${PWD_COMMAND}`; export r; \
6365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6366 $(HOST_EXPORTS) \
6367 for flag in $(EXTRA_HOST_FLAGS) ; do \
6368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6369 done; \
6370 echo "Doing TAGS in byacc" ; \
6371 (cd $(HOST_SUBDIR)/byacc && \
6372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6374 "RANLIB=$${RANLIB}" \
6375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6376 TAGS) \
6377 || exit 1
6379 @endif byacc
6381 .PHONY: maybe-install-info-byacc install-info-byacc
6382 maybe-install-info-byacc:
6383 @if byacc
6384 maybe-install-info-byacc: install-info-byacc
6386 install-info-byacc: \
6387 configure-byacc \
6388 info-byacc
6389 @[ -f ./byacc/Makefile ] || exit 0; \
6390 r=`${PWD_COMMAND}`; export r; \
6391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6392 $(HOST_EXPORTS) \
6393 for flag in $(EXTRA_HOST_FLAGS) ; do \
6394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6395 done; \
6396 echo "Doing install-info in byacc" ; \
6397 (cd $(HOST_SUBDIR)/byacc && \
6398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6400 "RANLIB=$${RANLIB}" \
6401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6402 install-info) \
6403 || exit 1
6405 @endif byacc
6407 .PHONY: maybe-installcheck-byacc installcheck-byacc
6408 maybe-installcheck-byacc:
6409 @if byacc
6410 maybe-installcheck-byacc: installcheck-byacc
6412 installcheck-byacc: \
6413 configure-byacc
6414 @[ -f ./byacc/Makefile ] || exit 0; \
6415 r=`${PWD_COMMAND}`; export r; \
6416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6417 $(HOST_EXPORTS) \
6418 for flag in $(EXTRA_HOST_FLAGS) ; do \
6419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6420 done; \
6421 echo "Doing installcheck in byacc" ; \
6422 (cd $(HOST_SUBDIR)/byacc && \
6423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6425 "RANLIB=$${RANLIB}" \
6426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6427 installcheck) \
6428 || exit 1
6430 @endif byacc
6432 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6433 maybe-mostlyclean-byacc:
6434 @if byacc
6435 maybe-mostlyclean-byacc: mostlyclean-byacc
6437 mostlyclean-byacc:
6438 @[ -f ./byacc/Makefile ] || exit 0; \
6439 r=`${PWD_COMMAND}`; export r; \
6440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6441 $(HOST_EXPORTS) \
6442 for flag in $(EXTRA_HOST_FLAGS) ; do \
6443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6444 done; \
6445 echo "Doing mostlyclean in byacc" ; \
6446 (cd $(HOST_SUBDIR)/byacc && \
6447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6449 "RANLIB=$${RANLIB}" \
6450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6451 mostlyclean) \
6452 || exit 1
6454 @endif byacc
6456 .PHONY: maybe-clean-byacc clean-byacc
6457 maybe-clean-byacc:
6458 @if byacc
6459 maybe-clean-byacc: clean-byacc
6461 clean-byacc:
6462 @[ -f ./byacc/Makefile ] || exit 0; \
6463 r=`${PWD_COMMAND}`; export r; \
6464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6465 $(HOST_EXPORTS) \
6466 for flag in $(EXTRA_HOST_FLAGS) ; do \
6467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6468 done; \
6469 echo "Doing clean in byacc" ; \
6470 (cd $(HOST_SUBDIR)/byacc && \
6471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6473 "RANLIB=$${RANLIB}" \
6474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6475 clean) \
6476 || exit 1
6478 @endif byacc
6480 .PHONY: maybe-distclean-byacc distclean-byacc
6481 maybe-distclean-byacc:
6482 @if byacc
6483 maybe-distclean-byacc: distclean-byacc
6485 distclean-byacc:
6486 @[ -f ./byacc/Makefile ] || exit 0; \
6487 r=`${PWD_COMMAND}`; export r; \
6488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6489 $(HOST_EXPORTS) \
6490 for flag in $(EXTRA_HOST_FLAGS) ; do \
6491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6492 done; \
6493 echo "Doing distclean in byacc" ; \
6494 (cd $(HOST_SUBDIR)/byacc && \
6495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6497 "RANLIB=$${RANLIB}" \
6498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6499 distclean) \
6500 || exit 1
6502 @endif byacc
6504 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6505 maybe-maintainer-clean-byacc:
6506 @if byacc
6507 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6509 maintainer-clean-byacc:
6510 @[ -f ./byacc/Makefile ] || exit 0; \
6511 r=`${PWD_COMMAND}`; export r; \
6512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6513 $(HOST_EXPORTS) \
6514 for flag in $(EXTRA_HOST_FLAGS) ; do \
6515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6516 done; \
6517 echo "Doing maintainer-clean in byacc" ; \
6518 (cd $(HOST_SUBDIR)/byacc && \
6519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6521 "RANLIB=$${RANLIB}" \
6522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6523 maintainer-clean) \
6524 || exit 1
6526 @endif byacc
6530 .PHONY: configure-bzip2 maybe-configure-bzip2
6531 maybe-configure-bzip2:
6532 @if bzip2
6533 maybe-configure-bzip2: configure-bzip2
6534 configure-bzip2:
6535 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6536 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6537 r=`${PWD_COMMAND}`; export r; \
6538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6539 $(HOST_EXPORTS) \
6540 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6541 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6542 case $(srcdir) in \
6543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6544 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6546 esac; \
6547 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6548 libsrcdir="$$s/bzip2"; \
6549 $(SHELL) $${libsrcdir}/configure \
6550 $(HOST_CONFIGARGS) $${srcdiroption} \
6551 || exit 1
6552 @endif bzip2
6558 .PHONY: all-bzip2 maybe-all-bzip2
6559 maybe-all-bzip2:
6560 @if bzip2
6561 TARGET-bzip2=all
6562 maybe-all-bzip2: all-bzip2
6563 all-bzip2: configure-bzip2
6564 @r=`${PWD_COMMAND}`; export r; \
6565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6566 $(HOST_EXPORTS) \
6567 (cd $(HOST_SUBDIR)/bzip2 && \
6568 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6569 @endif bzip2
6574 .PHONY: check-bzip2 maybe-check-bzip2
6575 maybe-check-bzip2:
6576 @if bzip2
6577 maybe-check-bzip2: check-bzip2
6579 check-bzip2:
6580 @r=`${PWD_COMMAND}`; export r; \
6581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6582 $(HOST_EXPORTS) \
6583 (cd $(HOST_SUBDIR)/bzip2 && \
6584 $(MAKE) $(FLAGS_TO_PASS) check)
6586 @endif bzip2
6588 .PHONY: install-bzip2 maybe-install-bzip2
6589 maybe-install-bzip2:
6590 @if bzip2
6591 maybe-install-bzip2: install-bzip2
6593 install-bzip2: installdirs
6594 @r=`${PWD_COMMAND}`; export r; \
6595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6596 $(HOST_EXPORTS) \
6597 (cd $(HOST_SUBDIR)/bzip2 && \
6598 $(MAKE) $(FLAGS_TO_PASS) install)
6600 @endif bzip2
6602 # Other targets (info, dvi, etc.)
6604 .PHONY: maybe-info-bzip2 info-bzip2
6605 maybe-info-bzip2:
6606 @if bzip2
6607 maybe-info-bzip2: info-bzip2
6609 info-bzip2: \
6610 configure-bzip2
6611 @[ -f ./bzip2/Makefile ] || exit 0; \
6612 r=`${PWD_COMMAND}`; export r; \
6613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6614 $(HOST_EXPORTS) \
6615 for flag in $(EXTRA_HOST_FLAGS) ; do \
6616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6617 done; \
6618 echo "Doing info in bzip2" ; \
6619 (cd $(HOST_SUBDIR)/bzip2 && \
6620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6622 "RANLIB=$${RANLIB}" \
6623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6624 info) \
6625 || exit 1
6627 @endif bzip2
6629 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6630 maybe-dvi-bzip2:
6631 @if bzip2
6632 maybe-dvi-bzip2: dvi-bzip2
6634 dvi-bzip2: \
6635 configure-bzip2
6636 @[ -f ./bzip2/Makefile ] || exit 0; \
6637 r=`${PWD_COMMAND}`; export r; \
6638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6639 $(HOST_EXPORTS) \
6640 for flag in $(EXTRA_HOST_FLAGS) ; do \
6641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6642 done; \
6643 echo "Doing dvi in bzip2" ; \
6644 (cd $(HOST_SUBDIR)/bzip2 && \
6645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6647 "RANLIB=$${RANLIB}" \
6648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6649 dvi) \
6650 || exit 1
6652 @endif bzip2
6654 .PHONY: maybe-html-bzip2 html-bzip2
6655 maybe-html-bzip2:
6656 @if bzip2
6657 maybe-html-bzip2: html-bzip2
6659 html-bzip2: \
6660 configure-bzip2
6661 @[ -f ./bzip2/Makefile ] || exit 0; \
6662 r=`${PWD_COMMAND}`; export r; \
6663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6664 $(HOST_EXPORTS) \
6665 for flag in $(EXTRA_HOST_FLAGS) ; do \
6666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6667 done; \
6668 echo "Doing html in bzip2" ; \
6669 (cd $(HOST_SUBDIR)/bzip2 && \
6670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6672 "RANLIB=$${RANLIB}" \
6673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6674 html) \
6675 || exit 1
6677 @endif bzip2
6679 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6680 maybe-TAGS-bzip2:
6681 @if bzip2
6682 maybe-TAGS-bzip2: TAGS-bzip2
6684 TAGS-bzip2: \
6685 configure-bzip2
6686 @[ -f ./bzip2/Makefile ] || exit 0; \
6687 r=`${PWD_COMMAND}`; export r; \
6688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6689 $(HOST_EXPORTS) \
6690 for flag in $(EXTRA_HOST_FLAGS) ; do \
6691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6692 done; \
6693 echo "Doing TAGS in bzip2" ; \
6694 (cd $(HOST_SUBDIR)/bzip2 && \
6695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6697 "RANLIB=$${RANLIB}" \
6698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6699 TAGS) \
6700 || exit 1
6702 @endif bzip2
6704 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6705 maybe-install-info-bzip2:
6706 @if bzip2
6707 maybe-install-info-bzip2: install-info-bzip2
6709 install-info-bzip2: \
6710 configure-bzip2 \
6711 info-bzip2
6712 @[ -f ./bzip2/Makefile ] || exit 0; \
6713 r=`${PWD_COMMAND}`; export r; \
6714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6715 $(HOST_EXPORTS) \
6716 for flag in $(EXTRA_HOST_FLAGS) ; do \
6717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6718 done; \
6719 echo "Doing install-info in bzip2" ; \
6720 (cd $(HOST_SUBDIR)/bzip2 && \
6721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6723 "RANLIB=$${RANLIB}" \
6724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6725 install-info) \
6726 || exit 1
6728 @endif bzip2
6730 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6731 maybe-installcheck-bzip2:
6732 @if bzip2
6733 maybe-installcheck-bzip2: installcheck-bzip2
6735 installcheck-bzip2: \
6736 configure-bzip2
6737 @[ -f ./bzip2/Makefile ] || exit 0; \
6738 r=`${PWD_COMMAND}`; export r; \
6739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6740 $(HOST_EXPORTS) \
6741 for flag in $(EXTRA_HOST_FLAGS) ; do \
6742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6743 done; \
6744 echo "Doing installcheck in bzip2" ; \
6745 (cd $(HOST_SUBDIR)/bzip2 && \
6746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6748 "RANLIB=$${RANLIB}" \
6749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6750 installcheck) \
6751 || exit 1
6753 @endif bzip2
6755 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
6756 maybe-mostlyclean-bzip2:
6757 @if bzip2
6758 maybe-mostlyclean-bzip2: mostlyclean-bzip2
6760 mostlyclean-bzip2:
6761 @[ -f ./bzip2/Makefile ] || exit 0; \
6762 r=`${PWD_COMMAND}`; export r; \
6763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6764 $(HOST_EXPORTS) \
6765 for flag in $(EXTRA_HOST_FLAGS) ; do \
6766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6767 done; \
6768 echo "Doing mostlyclean in bzip2" ; \
6769 (cd $(HOST_SUBDIR)/bzip2 && \
6770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6772 "RANLIB=$${RANLIB}" \
6773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6774 mostlyclean) \
6775 || exit 1
6777 @endif bzip2
6779 .PHONY: maybe-clean-bzip2 clean-bzip2
6780 maybe-clean-bzip2:
6781 @if bzip2
6782 maybe-clean-bzip2: clean-bzip2
6784 clean-bzip2:
6785 @[ -f ./bzip2/Makefile ] || exit 0; \
6786 r=`${PWD_COMMAND}`; export r; \
6787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6788 $(HOST_EXPORTS) \
6789 for flag in $(EXTRA_HOST_FLAGS) ; do \
6790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6791 done; \
6792 echo "Doing clean in bzip2" ; \
6793 (cd $(HOST_SUBDIR)/bzip2 && \
6794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6796 "RANLIB=$${RANLIB}" \
6797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6798 clean) \
6799 || exit 1
6801 @endif bzip2
6803 .PHONY: maybe-distclean-bzip2 distclean-bzip2
6804 maybe-distclean-bzip2:
6805 @if bzip2
6806 maybe-distclean-bzip2: distclean-bzip2
6808 distclean-bzip2:
6809 @[ -f ./bzip2/Makefile ] || exit 0; \
6810 r=`${PWD_COMMAND}`; export r; \
6811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6812 $(HOST_EXPORTS) \
6813 for flag in $(EXTRA_HOST_FLAGS) ; do \
6814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6815 done; \
6816 echo "Doing distclean in bzip2" ; \
6817 (cd $(HOST_SUBDIR)/bzip2 && \
6818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6820 "RANLIB=$${RANLIB}" \
6821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6822 distclean) \
6823 || exit 1
6825 @endif bzip2
6827 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
6828 maybe-maintainer-clean-bzip2:
6829 @if bzip2
6830 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
6832 maintainer-clean-bzip2:
6833 @[ -f ./bzip2/Makefile ] || exit 0; \
6834 r=`${PWD_COMMAND}`; export r; \
6835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6836 $(HOST_EXPORTS) \
6837 for flag in $(EXTRA_HOST_FLAGS) ; do \
6838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6839 done; \
6840 echo "Doing maintainer-clean in bzip2" ; \
6841 (cd $(HOST_SUBDIR)/bzip2 && \
6842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6844 "RANLIB=$${RANLIB}" \
6845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6846 maintainer-clean) \
6847 || exit 1
6849 @endif bzip2
6853 .PHONY: configure-dejagnu maybe-configure-dejagnu
6854 maybe-configure-dejagnu:
6855 @if dejagnu
6856 maybe-configure-dejagnu: configure-dejagnu
6857 configure-dejagnu:
6858 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6860 r=`${PWD_COMMAND}`; export r; \
6861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6862 $(HOST_EXPORTS) \
6863 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6864 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6865 case $(srcdir) in \
6866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6867 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6869 esac; \
6870 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6871 libsrcdir="$$s/dejagnu"; \
6872 $(SHELL) $${libsrcdir}/configure \
6873 $(HOST_CONFIGARGS) $${srcdiroption} \
6874 || exit 1
6875 @endif dejagnu
6881 .PHONY: all-dejagnu maybe-all-dejagnu
6882 maybe-all-dejagnu:
6883 @if dejagnu
6884 TARGET-dejagnu=all
6885 maybe-all-dejagnu: all-dejagnu
6886 all-dejagnu: configure-dejagnu
6887 @r=`${PWD_COMMAND}`; export r; \
6888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6889 $(HOST_EXPORTS) \
6890 (cd $(HOST_SUBDIR)/dejagnu && \
6891 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
6892 @endif dejagnu
6897 .PHONY: check-dejagnu maybe-check-dejagnu
6898 maybe-check-dejagnu:
6899 @if dejagnu
6900 maybe-check-dejagnu: check-dejagnu
6902 check-dejagnu:
6903 @r=`${PWD_COMMAND}`; export r; \
6904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6905 $(HOST_EXPORTS) \
6906 (cd $(HOST_SUBDIR)/dejagnu && \
6907 $(MAKE) $(FLAGS_TO_PASS) check)
6909 @endif dejagnu
6911 .PHONY: install-dejagnu maybe-install-dejagnu
6912 maybe-install-dejagnu:
6913 @if dejagnu
6914 maybe-install-dejagnu: install-dejagnu
6916 install-dejagnu: installdirs
6917 @r=`${PWD_COMMAND}`; export r; \
6918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6919 $(HOST_EXPORTS) \
6920 (cd $(HOST_SUBDIR)/dejagnu && \
6921 $(MAKE) $(FLAGS_TO_PASS) install)
6923 @endif dejagnu
6925 # Other targets (info, dvi, etc.)
6927 .PHONY: maybe-info-dejagnu info-dejagnu
6928 maybe-info-dejagnu:
6929 @if dejagnu
6930 maybe-info-dejagnu: info-dejagnu
6932 info-dejagnu: \
6933 configure-dejagnu
6934 @[ -f ./dejagnu/Makefile ] || exit 0; \
6935 r=`${PWD_COMMAND}`; export r; \
6936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6937 $(HOST_EXPORTS) \
6938 for flag in $(EXTRA_HOST_FLAGS) ; do \
6939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6940 done; \
6941 echo "Doing info in dejagnu" ; \
6942 (cd $(HOST_SUBDIR)/dejagnu && \
6943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6945 "RANLIB=$${RANLIB}" \
6946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6947 info) \
6948 || exit 1
6950 @endif dejagnu
6952 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6953 maybe-dvi-dejagnu:
6954 @if dejagnu
6955 maybe-dvi-dejagnu: dvi-dejagnu
6957 dvi-dejagnu: \
6958 configure-dejagnu
6959 @[ -f ./dejagnu/Makefile ] || exit 0; \
6960 r=`${PWD_COMMAND}`; export r; \
6961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6962 $(HOST_EXPORTS) \
6963 for flag in $(EXTRA_HOST_FLAGS) ; do \
6964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6965 done; \
6966 echo "Doing dvi in dejagnu" ; \
6967 (cd $(HOST_SUBDIR)/dejagnu && \
6968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6970 "RANLIB=$${RANLIB}" \
6971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6972 dvi) \
6973 || exit 1
6975 @endif dejagnu
6977 .PHONY: maybe-html-dejagnu html-dejagnu
6978 maybe-html-dejagnu:
6979 @if dejagnu
6980 maybe-html-dejagnu: html-dejagnu
6982 html-dejagnu: \
6983 configure-dejagnu
6984 @[ -f ./dejagnu/Makefile ] || exit 0; \
6985 r=`${PWD_COMMAND}`; export r; \
6986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6987 $(HOST_EXPORTS) \
6988 for flag in $(EXTRA_HOST_FLAGS) ; do \
6989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6990 done; \
6991 echo "Doing html in dejagnu" ; \
6992 (cd $(HOST_SUBDIR)/dejagnu && \
6993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6995 "RANLIB=$${RANLIB}" \
6996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6997 html) \
6998 || exit 1
7000 @endif dejagnu
7002 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7003 maybe-TAGS-dejagnu:
7004 @if dejagnu
7005 maybe-TAGS-dejagnu: TAGS-dejagnu
7007 TAGS-dejagnu: \
7008 configure-dejagnu
7009 @[ -f ./dejagnu/Makefile ] || exit 0; \
7010 r=`${PWD_COMMAND}`; export r; \
7011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7012 $(HOST_EXPORTS) \
7013 for flag in $(EXTRA_HOST_FLAGS) ; do \
7014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7015 done; \
7016 echo "Doing TAGS in dejagnu" ; \
7017 (cd $(HOST_SUBDIR)/dejagnu && \
7018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7020 "RANLIB=$${RANLIB}" \
7021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7022 TAGS) \
7023 || exit 1
7025 @endif dejagnu
7027 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7028 maybe-install-info-dejagnu:
7029 @if dejagnu
7030 maybe-install-info-dejagnu: install-info-dejagnu
7032 install-info-dejagnu: \
7033 configure-dejagnu \
7034 info-dejagnu
7035 @[ -f ./dejagnu/Makefile ] || exit 0; \
7036 r=`${PWD_COMMAND}`; export r; \
7037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 install-info in dejagnu" ; \
7043 (cd $(HOST_SUBDIR)/dejagnu && \
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 install-info) \
7049 || exit 1
7051 @endif dejagnu
7053 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7054 maybe-installcheck-dejagnu:
7055 @if dejagnu
7056 maybe-installcheck-dejagnu: installcheck-dejagnu
7058 installcheck-dejagnu: \
7059 configure-dejagnu
7060 @[ -f ./dejagnu/Makefile ] || exit 0; \
7061 r=`${PWD_COMMAND}`; export r; \
7062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7063 $(HOST_EXPORTS) \
7064 for flag in $(EXTRA_HOST_FLAGS) ; do \
7065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7066 done; \
7067 echo "Doing installcheck in dejagnu" ; \
7068 (cd $(HOST_SUBDIR)/dejagnu && \
7069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7071 "RANLIB=$${RANLIB}" \
7072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7073 installcheck) \
7074 || exit 1
7076 @endif dejagnu
7078 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7079 maybe-mostlyclean-dejagnu:
7080 @if dejagnu
7081 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7083 mostlyclean-dejagnu:
7084 @[ -f ./dejagnu/Makefile ] || exit 0; \
7085 r=`${PWD_COMMAND}`; export r; \
7086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7087 $(HOST_EXPORTS) \
7088 for flag in $(EXTRA_HOST_FLAGS) ; do \
7089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7090 done; \
7091 echo "Doing mostlyclean in dejagnu" ; \
7092 (cd $(HOST_SUBDIR)/dejagnu && \
7093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7095 "RANLIB=$${RANLIB}" \
7096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7097 mostlyclean) \
7098 || exit 1
7100 @endif dejagnu
7102 .PHONY: maybe-clean-dejagnu clean-dejagnu
7103 maybe-clean-dejagnu:
7104 @if dejagnu
7105 maybe-clean-dejagnu: clean-dejagnu
7107 clean-dejagnu:
7108 @[ -f ./dejagnu/Makefile ] || exit 0; \
7109 r=`${PWD_COMMAND}`; export r; \
7110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7111 $(HOST_EXPORTS) \
7112 for flag in $(EXTRA_HOST_FLAGS) ; do \
7113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7114 done; \
7115 echo "Doing clean in dejagnu" ; \
7116 (cd $(HOST_SUBDIR)/dejagnu && \
7117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7119 "RANLIB=$${RANLIB}" \
7120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7121 clean) \
7122 || exit 1
7124 @endif dejagnu
7126 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7127 maybe-distclean-dejagnu:
7128 @if dejagnu
7129 maybe-distclean-dejagnu: distclean-dejagnu
7131 distclean-dejagnu:
7132 @[ -f ./dejagnu/Makefile ] || exit 0; \
7133 r=`${PWD_COMMAND}`; export r; \
7134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7135 $(HOST_EXPORTS) \
7136 for flag in $(EXTRA_HOST_FLAGS) ; do \
7137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7138 done; \
7139 echo "Doing distclean in dejagnu" ; \
7140 (cd $(HOST_SUBDIR)/dejagnu && \
7141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7143 "RANLIB=$${RANLIB}" \
7144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7145 distclean) \
7146 || exit 1
7148 @endif dejagnu
7150 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7151 maybe-maintainer-clean-dejagnu:
7152 @if dejagnu
7153 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7155 maintainer-clean-dejagnu:
7156 @[ -f ./dejagnu/Makefile ] || exit 0; \
7157 r=`${PWD_COMMAND}`; export r; \
7158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7159 $(HOST_EXPORTS) \
7160 for flag in $(EXTRA_HOST_FLAGS) ; do \
7161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7162 done; \
7163 echo "Doing maintainer-clean in dejagnu" ; \
7164 (cd $(HOST_SUBDIR)/dejagnu && \
7165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7167 "RANLIB=$${RANLIB}" \
7168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7169 maintainer-clean) \
7170 || exit 1
7172 @endif dejagnu
7176 .PHONY: configure-diff maybe-configure-diff
7177 maybe-configure-diff:
7178 @if diff
7179 maybe-configure-diff: configure-diff
7180 configure-diff:
7181 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7182 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7183 r=`${PWD_COMMAND}`; export r; \
7184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7185 $(HOST_EXPORTS) \
7186 echo Configuring in $(HOST_SUBDIR)/diff; \
7187 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7188 case $(srcdir) in \
7189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7190 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7192 esac; \
7193 srcdiroption="--srcdir=$${topdir}/diff"; \
7194 libsrcdir="$$s/diff"; \
7195 $(SHELL) $${libsrcdir}/configure \
7196 $(HOST_CONFIGARGS) $${srcdiroption} \
7197 || exit 1
7198 @endif diff
7204 .PHONY: all-diff maybe-all-diff
7205 maybe-all-diff:
7206 @if diff
7207 TARGET-diff=all
7208 maybe-all-diff: all-diff
7209 all-diff: configure-diff
7210 @r=`${PWD_COMMAND}`; export r; \
7211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7212 $(HOST_EXPORTS) \
7213 (cd $(HOST_SUBDIR)/diff && \
7214 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7215 @endif diff
7220 .PHONY: check-diff maybe-check-diff
7221 maybe-check-diff:
7222 @if diff
7223 maybe-check-diff: check-diff
7225 check-diff:
7226 @r=`${PWD_COMMAND}`; export r; \
7227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7228 $(HOST_EXPORTS) \
7229 (cd $(HOST_SUBDIR)/diff && \
7230 $(MAKE) $(FLAGS_TO_PASS) check)
7232 @endif diff
7234 .PHONY: install-diff maybe-install-diff
7235 maybe-install-diff:
7236 @if diff
7237 maybe-install-diff: install-diff
7239 install-diff: installdirs
7240 @r=`${PWD_COMMAND}`; export r; \
7241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7242 $(HOST_EXPORTS) \
7243 (cd $(HOST_SUBDIR)/diff && \
7244 $(MAKE) $(FLAGS_TO_PASS) install)
7246 @endif diff
7248 # Other targets (info, dvi, etc.)
7250 .PHONY: maybe-info-diff info-diff
7251 maybe-info-diff:
7252 @if diff
7253 maybe-info-diff: info-diff
7255 info-diff: \
7256 configure-diff
7257 @[ -f ./diff/Makefile ] || exit 0; \
7258 r=`${PWD_COMMAND}`; export r; \
7259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7260 $(HOST_EXPORTS) \
7261 for flag in $(EXTRA_HOST_FLAGS) ; do \
7262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7263 done; \
7264 echo "Doing info in diff" ; \
7265 (cd $(HOST_SUBDIR)/diff && \
7266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7268 "RANLIB=$${RANLIB}" \
7269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7270 info) \
7271 || exit 1
7273 @endif diff
7275 .PHONY: maybe-dvi-diff dvi-diff
7276 maybe-dvi-diff:
7277 @if diff
7278 maybe-dvi-diff: dvi-diff
7280 dvi-diff: \
7281 configure-diff
7282 @[ -f ./diff/Makefile ] || exit 0; \
7283 r=`${PWD_COMMAND}`; export r; \
7284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7285 $(HOST_EXPORTS) \
7286 for flag in $(EXTRA_HOST_FLAGS) ; do \
7287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7288 done; \
7289 echo "Doing dvi in diff" ; \
7290 (cd $(HOST_SUBDIR)/diff && \
7291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7293 "RANLIB=$${RANLIB}" \
7294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7295 dvi) \
7296 || exit 1
7298 @endif diff
7300 .PHONY: maybe-html-diff html-diff
7301 maybe-html-diff:
7302 @if diff
7303 maybe-html-diff: html-diff
7305 html-diff: \
7306 configure-diff
7307 @[ -f ./diff/Makefile ] || exit 0; \
7308 r=`${PWD_COMMAND}`; export r; \
7309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7310 $(HOST_EXPORTS) \
7311 for flag in $(EXTRA_HOST_FLAGS) ; do \
7312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7313 done; \
7314 echo "Doing html in diff" ; \
7315 (cd $(HOST_SUBDIR)/diff && \
7316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7318 "RANLIB=$${RANLIB}" \
7319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7320 html) \
7321 || exit 1
7323 @endif diff
7325 .PHONY: maybe-TAGS-diff TAGS-diff
7326 maybe-TAGS-diff:
7327 @if diff
7328 maybe-TAGS-diff: TAGS-diff
7330 TAGS-diff: \
7331 configure-diff
7332 @[ -f ./diff/Makefile ] || exit 0; \
7333 r=`${PWD_COMMAND}`; export r; \
7334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7335 $(HOST_EXPORTS) \
7336 for flag in $(EXTRA_HOST_FLAGS) ; do \
7337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7338 done; \
7339 echo "Doing TAGS in diff" ; \
7340 (cd $(HOST_SUBDIR)/diff && \
7341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7343 "RANLIB=$${RANLIB}" \
7344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7345 TAGS) \
7346 || exit 1
7348 @endif diff
7350 .PHONY: maybe-install-info-diff install-info-diff
7351 maybe-install-info-diff:
7352 @if diff
7353 maybe-install-info-diff: install-info-diff
7355 install-info-diff: \
7356 configure-diff \
7357 info-diff
7358 @[ -f ./diff/Makefile ] || exit 0; \
7359 r=`${PWD_COMMAND}`; export r; \
7360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7361 $(HOST_EXPORTS) \
7362 for flag in $(EXTRA_HOST_FLAGS) ; do \
7363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7364 done; \
7365 echo "Doing install-info in diff" ; \
7366 (cd $(HOST_SUBDIR)/diff && \
7367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7369 "RANLIB=$${RANLIB}" \
7370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7371 install-info) \
7372 || exit 1
7374 @endif diff
7376 .PHONY: maybe-installcheck-diff installcheck-diff
7377 maybe-installcheck-diff:
7378 @if diff
7379 maybe-installcheck-diff: installcheck-diff
7381 installcheck-diff: \
7382 configure-diff
7383 @[ -f ./diff/Makefile ] || exit 0; \
7384 r=`${PWD_COMMAND}`; export r; \
7385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7386 $(HOST_EXPORTS) \
7387 for flag in $(EXTRA_HOST_FLAGS) ; do \
7388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7389 done; \
7390 echo "Doing installcheck in diff" ; \
7391 (cd $(HOST_SUBDIR)/diff && \
7392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7394 "RANLIB=$${RANLIB}" \
7395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7396 installcheck) \
7397 || exit 1
7399 @endif diff
7401 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7402 maybe-mostlyclean-diff:
7403 @if diff
7404 maybe-mostlyclean-diff: mostlyclean-diff
7406 mostlyclean-diff:
7407 @[ -f ./diff/Makefile ] || exit 0; \
7408 r=`${PWD_COMMAND}`; export r; \
7409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7410 $(HOST_EXPORTS) \
7411 for flag in $(EXTRA_HOST_FLAGS) ; do \
7412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7413 done; \
7414 echo "Doing mostlyclean in diff" ; \
7415 (cd $(HOST_SUBDIR)/diff && \
7416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7418 "RANLIB=$${RANLIB}" \
7419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7420 mostlyclean) \
7421 || exit 1
7423 @endif diff
7425 .PHONY: maybe-clean-diff clean-diff
7426 maybe-clean-diff:
7427 @if diff
7428 maybe-clean-diff: clean-diff
7430 clean-diff:
7431 @[ -f ./diff/Makefile ] || exit 0; \
7432 r=`${PWD_COMMAND}`; export r; \
7433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7434 $(HOST_EXPORTS) \
7435 for flag in $(EXTRA_HOST_FLAGS) ; do \
7436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7437 done; \
7438 echo "Doing clean in diff" ; \
7439 (cd $(HOST_SUBDIR)/diff && \
7440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7442 "RANLIB=$${RANLIB}" \
7443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7444 clean) \
7445 || exit 1
7447 @endif diff
7449 .PHONY: maybe-distclean-diff distclean-diff
7450 maybe-distclean-diff:
7451 @if diff
7452 maybe-distclean-diff: distclean-diff
7454 distclean-diff:
7455 @[ -f ./diff/Makefile ] || exit 0; \
7456 r=`${PWD_COMMAND}`; export r; \
7457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7458 $(HOST_EXPORTS) \
7459 for flag in $(EXTRA_HOST_FLAGS) ; do \
7460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7461 done; \
7462 echo "Doing distclean in diff" ; \
7463 (cd $(HOST_SUBDIR)/diff && \
7464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7466 "RANLIB=$${RANLIB}" \
7467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7468 distclean) \
7469 || exit 1
7471 @endif diff
7473 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7474 maybe-maintainer-clean-diff:
7475 @if diff
7476 maybe-maintainer-clean-diff: maintainer-clean-diff
7478 maintainer-clean-diff:
7479 @[ -f ./diff/Makefile ] || exit 0; \
7480 r=`${PWD_COMMAND}`; export r; \
7481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7482 $(HOST_EXPORTS) \
7483 for flag in $(EXTRA_HOST_FLAGS) ; do \
7484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7485 done; \
7486 echo "Doing maintainer-clean in diff" ; \
7487 (cd $(HOST_SUBDIR)/diff && \
7488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7490 "RANLIB=$${RANLIB}" \
7491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7492 maintainer-clean) \
7493 || exit 1
7495 @endif diff
7499 .PHONY: configure-dosutils maybe-configure-dosutils
7500 maybe-configure-dosutils:
7501 @if dosutils
7502 maybe-configure-dosutils: configure-dosutils
7503 configure-dosutils:
7504 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7505 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7506 r=`${PWD_COMMAND}`; export r; \
7507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7508 $(HOST_EXPORTS) \
7509 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7510 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7511 case $(srcdir) in \
7512 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7513 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7514 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7515 esac; \
7516 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7517 libsrcdir="$$s/dosutils"; \
7518 $(SHELL) $${libsrcdir}/configure \
7519 $(HOST_CONFIGARGS) $${srcdiroption} \
7520 || exit 1
7521 @endif dosutils
7527 .PHONY: all-dosutils maybe-all-dosutils
7528 maybe-all-dosutils:
7529 @if dosutils
7530 TARGET-dosutils=all
7531 maybe-all-dosutils: all-dosutils
7532 all-dosutils: configure-dosutils
7533 @r=`${PWD_COMMAND}`; export r; \
7534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7535 $(HOST_EXPORTS) \
7536 (cd $(HOST_SUBDIR)/dosutils && \
7537 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7538 @endif dosutils
7543 .PHONY: check-dosutils maybe-check-dosutils
7544 maybe-check-dosutils:
7545 @if dosutils
7546 maybe-check-dosutils: check-dosutils
7548 check-dosutils:
7550 @endif dosutils
7552 .PHONY: install-dosutils maybe-install-dosutils
7553 maybe-install-dosutils:
7554 @if dosutils
7555 maybe-install-dosutils: install-dosutils
7557 install-dosutils: installdirs
7558 @r=`${PWD_COMMAND}`; export r; \
7559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7560 $(HOST_EXPORTS) \
7561 (cd $(HOST_SUBDIR)/dosutils && \
7562 $(MAKE) $(FLAGS_TO_PASS) install)
7564 @endif dosutils
7566 # Other targets (info, dvi, etc.)
7568 .PHONY: maybe-info-dosutils info-dosutils
7569 maybe-info-dosutils:
7570 @if dosutils
7571 maybe-info-dosutils: info-dosutils
7573 info-dosutils: \
7574 configure-dosutils
7575 @[ -f ./dosutils/Makefile ] || exit 0; \
7576 r=`${PWD_COMMAND}`; export r; \
7577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7578 $(HOST_EXPORTS) \
7579 for flag in $(EXTRA_HOST_FLAGS) ; do \
7580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7581 done; \
7582 echo "Doing info in dosutils" ; \
7583 (cd $(HOST_SUBDIR)/dosutils && \
7584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7586 "RANLIB=$${RANLIB}" \
7587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7588 info) \
7589 || exit 1
7591 @endif dosutils
7593 .PHONY: maybe-dvi-dosutils dvi-dosutils
7594 maybe-dvi-dosutils:
7595 @if dosutils
7596 maybe-dvi-dosutils: dvi-dosutils
7598 dvi-dosutils: \
7599 configure-dosutils
7600 @[ -f ./dosutils/Makefile ] || exit 0; \
7601 r=`${PWD_COMMAND}`; export r; \
7602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7603 $(HOST_EXPORTS) \
7604 for flag in $(EXTRA_HOST_FLAGS) ; do \
7605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7606 done; \
7607 echo "Doing dvi in dosutils" ; \
7608 (cd $(HOST_SUBDIR)/dosutils && \
7609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7611 "RANLIB=$${RANLIB}" \
7612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7613 dvi) \
7614 || exit 1
7616 @endif dosutils
7618 .PHONY: maybe-html-dosutils html-dosutils
7619 maybe-html-dosutils:
7620 @if dosutils
7621 maybe-html-dosutils: html-dosutils
7623 html-dosutils: \
7624 configure-dosutils
7625 @[ -f ./dosutils/Makefile ] || exit 0; \
7626 r=`${PWD_COMMAND}`; export r; \
7627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7628 $(HOST_EXPORTS) \
7629 for flag in $(EXTRA_HOST_FLAGS) ; do \
7630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7631 done; \
7632 echo "Doing html in dosutils" ; \
7633 (cd $(HOST_SUBDIR)/dosutils && \
7634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7636 "RANLIB=$${RANLIB}" \
7637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7638 html) \
7639 || exit 1
7641 @endif dosutils
7643 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7644 maybe-TAGS-dosutils:
7645 @if dosutils
7646 maybe-TAGS-dosutils: TAGS-dosutils
7648 TAGS-dosutils: \
7649 configure-dosutils
7650 @[ -f ./dosutils/Makefile ] || exit 0; \
7651 r=`${PWD_COMMAND}`; export r; \
7652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7653 $(HOST_EXPORTS) \
7654 for flag in $(EXTRA_HOST_FLAGS) ; do \
7655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7656 done; \
7657 echo "Doing TAGS in dosutils" ; \
7658 (cd $(HOST_SUBDIR)/dosutils && \
7659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7661 "RANLIB=$${RANLIB}" \
7662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7663 TAGS) \
7664 || exit 1
7666 @endif dosutils
7668 .PHONY: maybe-install-info-dosutils install-info-dosutils
7669 maybe-install-info-dosutils:
7670 @if dosutils
7671 maybe-install-info-dosutils: install-info-dosutils
7673 install-info-dosutils: \
7674 configure-dosutils \
7675 info-dosutils
7676 @[ -f ./dosutils/Makefile ] || exit 0; \
7677 r=`${PWD_COMMAND}`; export r; \
7678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7679 $(HOST_EXPORTS) \
7680 for flag in $(EXTRA_HOST_FLAGS) ; do \
7681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7682 done; \
7683 echo "Doing install-info in dosutils" ; \
7684 (cd $(HOST_SUBDIR)/dosutils && \
7685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7687 "RANLIB=$${RANLIB}" \
7688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7689 install-info) \
7690 || exit 1
7692 @endif dosutils
7694 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7695 maybe-installcheck-dosutils:
7696 @if dosutils
7697 maybe-installcheck-dosutils: installcheck-dosutils
7699 installcheck-dosutils: \
7700 configure-dosutils
7701 @[ -f ./dosutils/Makefile ] || exit 0; \
7702 r=`${PWD_COMMAND}`; export r; \
7703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7704 $(HOST_EXPORTS) \
7705 for flag in $(EXTRA_HOST_FLAGS) ; do \
7706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7707 done; \
7708 echo "Doing installcheck in dosutils" ; \
7709 (cd $(HOST_SUBDIR)/dosutils && \
7710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7712 "RANLIB=$${RANLIB}" \
7713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7714 installcheck) \
7715 || exit 1
7717 @endif dosutils
7719 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
7720 maybe-mostlyclean-dosutils:
7721 @if dosutils
7722 maybe-mostlyclean-dosutils: mostlyclean-dosutils
7724 mostlyclean-dosutils:
7725 @[ -f ./dosutils/Makefile ] || exit 0; \
7726 r=`${PWD_COMMAND}`; export r; \
7727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7728 $(HOST_EXPORTS) \
7729 for flag in $(EXTRA_HOST_FLAGS) ; do \
7730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7731 done; \
7732 echo "Doing mostlyclean in dosutils" ; \
7733 (cd $(HOST_SUBDIR)/dosutils && \
7734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7736 "RANLIB=$${RANLIB}" \
7737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7738 mostlyclean) \
7739 || exit 1
7741 @endif dosutils
7743 .PHONY: maybe-clean-dosutils clean-dosutils
7744 maybe-clean-dosutils:
7745 @if dosutils
7746 maybe-clean-dosutils: clean-dosutils
7748 clean-dosutils:
7749 @[ -f ./dosutils/Makefile ] || exit 0; \
7750 r=`${PWD_COMMAND}`; export r; \
7751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7752 $(HOST_EXPORTS) \
7753 for flag in $(EXTRA_HOST_FLAGS) ; do \
7754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7755 done; \
7756 echo "Doing clean in dosutils" ; \
7757 (cd $(HOST_SUBDIR)/dosutils && \
7758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7760 "RANLIB=$${RANLIB}" \
7761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7762 clean) \
7763 || exit 1
7765 @endif dosutils
7767 .PHONY: maybe-distclean-dosutils distclean-dosutils
7768 maybe-distclean-dosutils:
7769 @if dosutils
7770 maybe-distclean-dosutils: distclean-dosutils
7772 distclean-dosutils:
7773 @[ -f ./dosutils/Makefile ] || exit 0; \
7774 r=`${PWD_COMMAND}`; export r; \
7775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7776 $(HOST_EXPORTS) \
7777 for flag in $(EXTRA_HOST_FLAGS) ; do \
7778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7779 done; \
7780 echo "Doing distclean in dosutils" ; \
7781 (cd $(HOST_SUBDIR)/dosutils && \
7782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7784 "RANLIB=$${RANLIB}" \
7785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7786 distclean) \
7787 || exit 1
7789 @endif dosutils
7791 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
7792 maybe-maintainer-clean-dosutils:
7793 @if dosutils
7794 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
7796 maintainer-clean-dosutils:
7797 @[ -f ./dosutils/Makefile ] || exit 0; \
7798 r=`${PWD_COMMAND}`; export r; \
7799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7800 $(HOST_EXPORTS) \
7801 for flag in $(EXTRA_HOST_FLAGS) ; do \
7802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7803 done; \
7804 echo "Doing maintainer-clean in dosutils" ; \
7805 (cd $(HOST_SUBDIR)/dosutils && \
7806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7808 "RANLIB=$${RANLIB}" \
7809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7810 maintainer-clean) \
7811 || exit 1
7813 @endif dosutils
7817 .PHONY: configure-etc maybe-configure-etc
7818 maybe-configure-etc:
7819 @if etc
7820 maybe-configure-etc: configure-etc
7821 configure-etc:
7822 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7823 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
7824 r=`${PWD_COMMAND}`; export r; \
7825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7826 $(HOST_EXPORTS) \
7827 echo Configuring in $(HOST_SUBDIR)/etc; \
7828 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7829 case $(srcdir) in \
7830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7831 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7833 esac; \
7834 srcdiroption="--srcdir=$${topdir}/etc"; \
7835 libsrcdir="$$s/etc"; \
7836 $(SHELL) $${libsrcdir}/configure \
7837 $(HOST_CONFIGARGS) $${srcdiroption} \
7838 || exit 1
7839 @endif etc
7845 .PHONY: all-etc maybe-all-etc
7846 maybe-all-etc:
7847 @if etc
7848 TARGET-etc=all
7849 maybe-all-etc: all-etc
7850 all-etc: configure-etc
7851 @r=`${PWD_COMMAND}`; export r; \
7852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7853 $(HOST_EXPORTS) \
7854 (cd $(HOST_SUBDIR)/etc && \
7855 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
7856 @endif etc
7861 .PHONY: check-etc maybe-check-etc
7862 maybe-check-etc:
7863 @if etc
7864 maybe-check-etc: check-etc
7866 check-etc:
7867 @r=`${PWD_COMMAND}`; export r; \
7868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7869 $(HOST_EXPORTS) \
7870 (cd $(HOST_SUBDIR)/etc && \
7871 $(MAKE) $(FLAGS_TO_PASS) check)
7873 @endif etc
7875 .PHONY: install-etc maybe-install-etc
7876 maybe-install-etc:
7877 @if etc
7878 maybe-install-etc: install-etc
7880 install-etc: installdirs
7881 @r=`${PWD_COMMAND}`; export r; \
7882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7883 $(HOST_EXPORTS) \
7884 (cd $(HOST_SUBDIR)/etc && \
7885 $(MAKE) $(FLAGS_TO_PASS) install)
7887 @endif etc
7889 # Other targets (info, dvi, etc.)
7891 .PHONY: maybe-info-etc info-etc
7892 maybe-info-etc:
7893 @if etc
7894 maybe-info-etc: info-etc
7896 info-etc: \
7897 configure-etc
7898 @[ -f ./etc/Makefile ] || exit 0; \
7899 r=`${PWD_COMMAND}`; export r; \
7900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7901 $(HOST_EXPORTS) \
7902 for flag in $(EXTRA_HOST_FLAGS) ; do \
7903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7904 done; \
7905 echo "Doing info in etc" ; \
7906 (cd $(HOST_SUBDIR)/etc && \
7907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7909 "RANLIB=$${RANLIB}" \
7910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7911 info) \
7912 || exit 1
7914 @endif etc
7916 .PHONY: maybe-dvi-etc dvi-etc
7917 maybe-dvi-etc:
7918 @if etc
7919 maybe-dvi-etc: dvi-etc
7921 dvi-etc: \
7922 configure-etc
7923 @[ -f ./etc/Makefile ] || exit 0; \
7924 r=`${PWD_COMMAND}`; export r; \
7925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7926 $(HOST_EXPORTS) \
7927 for flag in $(EXTRA_HOST_FLAGS) ; do \
7928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7929 done; \
7930 echo "Doing dvi in etc" ; \
7931 (cd $(HOST_SUBDIR)/etc && \
7932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7934 "RANLIB=$${RANLIB}" \
7935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7936 dvi) \
7937 || exit 1
7939 @endif etc
7941 .PHONY: maybe-html-etc html-etc
7942 maybe-html-etc:
7943 @if etc
7944 maybe-html-etc: html-etc
7946 html-etc: \
7947 configure-etc
7948 @[ -f ./etc/Makefile ] || exit 0; \
7949 r=`${PWD_COMMAND}`; export r; \
7950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7951 $(HOST_EXPORTS) \
7952 for flag in $(EXTRA_HOST_FLAGS) ; do \
7953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7954 done; \
7955 echo "Doing html in etc" ; \
7956 (cd $(HOST_SUBDIR)/etc && \
7957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7959 "RANLIB=$${RANLIB}" \
7960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7961 html) \
7962 || exit 1
7964 @endif etc
7966 .PHONY: maybe-TAGS-etc TAGS-etc
7967 maybe-TAGS-etc:
7968 @if etc
7969 maybe-TAGS-etc: TAGS-etc
7971 TAGS-etc: \
7972 configure-etc
7973 @[ -f ./etc/Makefile ] || exit 0; \
7974 r=`${PWD_COMMAND}`; export r; \
7975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7976 $(HOST_EXPORTS) \
7977 for flag in $(EXTRA_HOST_FLAGS) ; do \
7978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7979 done; \
7980 echo "Doing TAGS in etc" ; \
7981 (cd $(HOST_SUBDIR)/etc && \
7982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7984 "RANLIB=$${RANLIB}" \
7985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7986 TAGS) \
7987 || exit 1
7989 @endif etc
7991 .PHONY: maybe-install-info-etc install-info-etc
7992 maybe-install-info-etc:
7993 @if etc
7994 maybe-install-info-etc: install-info-etc
7996 install-info-etc: \
7997 configure-etc \
7998 info-etc
7999 @[ -f ./etc/Makefile ] || exit 0; \
8000 r=`${PWD_COMMAND}`; export r; \
8001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8002 $(HOST_EXPORTS) \
8003 for flag in $(EXTRA_HOST_FLAGS) ; do \
8004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8005 done; \
8006 echo "Doing install-info in etc" ; \
8007 (cd $(HOST_SUBDIR)/etc && \
8008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8010 "RANLIB=$${RANLIB}" \
8011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8012 install-info) \
8013 || exit 1
8015 @endif etc
8017 .PHONY: maybe-installcheck-etc installcheck-etc
8018 maybe-installcheck-etc:
8019 @if etc
8020 maybe-installcheck-etc: installcheck-etc
8022 installcheck-etc: \
8023 configure-etc
8024 @[ -f ./etc/Makefile ] || exit 0; \
8025 r=`${PWD_COMMAND}`; export r; \
8026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8027 $(HOST_EXPORTS) \
8028 for flag in $(EXTRA_HOST_FLAGS) ; do \
8029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8030 done; \
8031 echo "Doing installcheck in etc" ; \
8032 (cd $(HOST_SUBDIR)/etc && \
8033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8035 "RANLIB=$${RANLIB}" \
8036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8037 installcheck) \
8038 || exit 1
8040 @endif etc
8042 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8043 maybe-mostlyclean-etc:
8044 @if etc
8045 maybe-mostlyclean-etc: mostlyclean-etc
8047 mostlyclean-etc:
8048 @[ -f ./etc/Makefile ] || exit 0; \
8049 r=`${PWD_COMMAND}`; export r; \
8050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8051 $(HOST_EXPORTS) \
8052 for flag in $(EXTRA_HOST_FLAGS) ; do \
8053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8054 done; \
8055 echo "Doing mostlyclean in etc" ; \
8056 (cd $(HOST_SUBDIR)/etc && \
8057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8059 "RANLIB=$${RANLIB}" \
8060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8061 mostlyclean) \
8062 || exit 1
8064 @endif etc
8066 .PHONY: maybe-clean-etc clean-etc
8067 maybe-clean-etc:
8068 @if etc
8069 maybe-clean-etc: clean-etc
8071 clean-etc:
8072 @[ -f ./etc/Makefile ] || exit 0; \
8073 r=`${PWD_COMMAND}`; export r; \
8074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8075 $(HOST_EXPORTS) \
8076 for flag in $(EXTRA_HOST_FLAGS) ; do \
8077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8078 done; \
8079 echo "Doing clean in etc" ; \
8080 (cd $(HOST_SUBDIR)/etc && \
8081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8083 "RANLIB=$${RANLIB}" \
8084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8085 clean) \
8086 || exit 1
8088 @endif etc
8090 .PHONY: maybe-distclean-etc distclean-etc
8091 maybe-distclean-etc:
8092 @if etc
8093 maybe-distclean-etc: distclean-etc
8095 distclean-etc:
8096 @[ -f ./etc/Makefile ] || exit 0; \
8097 r=`${PWD_COMMAND}`; export r; \
8098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8099 $(HOST_EXPORTS) \
8100 for flag in $(EXTRA_HOST_FLAGS) ; do \
8101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8102 done; \
8103 echo "Doing distclean in etc" ; \
8104 (cd $(HOST_SUBDIR)/etc && \
8105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8107 "RANLIB=$${RANLIB}" \
8108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8109 distclean) \
8110 || exit 1
8112 @endif etc
8114 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8115 maybe-maintainer-clean-etc:
8116 @if etc
8117 maybe-maintainer-clean-etc: maintainer-clean-etc
8119 maintainer-clean-etc:
8120 @[ -f ./etc/Makefile ] || exit 0; \
8121 r=`${PWD_COMMAND}`; export r; \
8122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8123 $(HOST_EXPORTS) \
8124 for flag in $(EXTRA_HOST_FLAGS) ; do \
8125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8126 done; \
8127 echo "Doing maintainer-clean in etc" ; \
8128 (cd $(HOST_SUBDIR)/etc && \
8129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8131 "RANLIB=$${RANLIB}" \
8132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8133 maintainer-clean) \
8134 || exit 1
8136 @endif etc
8140 .PHONY: configure-fastjar maybe-configure-fastjar
8141 maybe-configure-fastjar:
8142 @if fastjar
8143 maybe-configure-fastjar: configure-fastjar
8144 configure-fastjar:
8145 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8147 r=`${PWD_COMMAND}`; export r; \
8148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8149 $(HOST_EXPORTS) \
8150 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8151 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8152 case $(srcdir) in \
8153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8154 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8156 esac; \
8157 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8158 libsrcdir="$$s/fastjar"; \
8159 $(SHELL) $${libsrcdir}/configure \
8160 $(HOST_CONFIGARGS) $${srcdiroption} \
8161 || exit 1
8162 @endif fastjar
8168 .PHONY: all-fastjar maybe-all-fastjar
8169 maybe-all-fastjar:
8170 @if fastjar
8171 TARGET-fastjar=all
8172 maybe-all-fastjar: all-fastjar
8173 all-fastjar: configure-fastjar
8174 @r=`${PWD_COMMAND}`; export r; \
8175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8176 $(HOST_EXPORTS) \
8177 (cd $(HOST_SUBDIR)/fastjar && \
8178 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8179 @endif fastjar
8184 .PHONY: check-fastjar maybe-check-fastjar
8185 maybe-check-fastjar:
8186 @if fastjar
8187 maybe-check-fastjar: check-fastjar
8189 # This module is only tested in a native toolchain.
8190 check-fastjar:
8191 @if [ '$(host)' = '$(target)' ] ; then \
8192 r=`${PWD_COMMAND}`; export r; \
8193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8194 $(HOST_EXPORTS) \
8195 (cd $(HOST_SUBDIR)/fastjar && \
8196 $(MAKE) $(FLAGS_TO_PASS) check); \
8199 @endif fastjar
8201 .PHONY: install-fastjar maybe-install-fastjar
8202 maybe-install-fastjar:
8203 @if fastjar
8204 maybe-install-fastjar: install-fastjar
8206 install-fastjar: installdirs
8207 @r=`${PWD_COMMAND}`; export r; \
8208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8209 $(HOST_EXPORTS) \
8210 (cd $(HOST_SUBDIR)/fastjar && \
8211 $(MAKE) $(FLAGS_TO_PASS) install)
8213 @endif fastjar
8215 # Other targets (info, dvi, etc.)
8217 .PHONY: maybe-info-fastjar info-fastjar
8218 maybe-info-fastjar:
8219 @if fastjar
8220 maybe-info-fastjar: info-fastjar
8222 info-fastjar: \
8223 configure-fastjar
8224 @[ -f ./fastjar/Makefile ] || exit 0; \
8225 r=`${PWD_COMMAND}`; export r; \
8226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 info in fastjar" ; \
8232 (cd $(HOST_SUBDIR)/fastjar && \
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 info) \
8238 || exit 1
8240 @endif fastjar
8242 .PHONY: maybe-dvi-fastjar dvi-fastjar
8243 maybe-dvi-fastjar:
8244 @if fastjar
8245 maybe-dvi-fastjar: dvi-fastjar
8247 dvi-fastjar: \
8248 configure-fastjar
8249 @[ -f ./fastjar/Makefile ] || exit 0; \
8250 r=`${PWD_COMMAND}`; export r; \
8251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8252 $(HOST_EXPORTS) \
8253 for flag in $(EXTRA_HOST_FLAGS) ; do \
8254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8255 done; \
8256 echo "Doing dvi in fastjar" ; \
8257 (cd $(HOST_SUBDIR)/fastjar && \
8258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8260 "RANLIB=$${RANLIB}" \
8261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8262 dvi) \
8263 || exit 1
8265 @endif fastjar
8267 .PHONY: maybe-html-fastjar html-fastjar
8268 maybe-html-fastjar:
8269 @if fastjar
8270 maybe-html-fastjar: html-fastjar
8272 html-fastjar: \
8273 configure-fastjar
8274 @[ -f ./fastjar/Makefile ] || exit 0; \
8275 r=`${PWD_COMMAND}`; export r; \
8276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8277 $(HOST_EXPORTS) \
8278 for flag in $(EXTRA_HOST_FLAGS) ; do \
8279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8280 done; \
8281 echo "Doing html in fastjar" ; \
8282 (cd $(HOST_SUBDIR)/fastjar && \
8283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8285 "RANLIB=$${RANLIB}" \
8286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8287 html) \
8288 || exit 1
8290 @endif fastjar
8292 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8293 maybe-TAGS-fastjar:
8294 @if fastjar
8295 maybe-TAGS-fastjar: TAGS-fastjar
8297 TAGS-fastjar: \
8298 configure-fastjar
8299 @[ -f ./fastjar/Makefile ] || exit 0; \
8300 r=`${PWD_COMMAND}`; export r; \
8301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8302 $(HOST_EXPORTS) \
8303 for flag in $(EXTRA_HOST_FLAGS) ; do \
8304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8305 done; \
8306 echo "Doing TAGS in fastjar" ; \
8307 (cd $(HOST_SUBDIR)/fastjar && \
8308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8310 "RANLIB=$${RANLIB}" \
8311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8312 TAGS) \
8313 || exit 1
8315 @endif fastjar
8317 .PHONY: maybe-install-info-fastjar install-info-fastjar
8318 maybe-install-info-fastjar:
8319 @if fastjar
8320 maybe-install-info-fastjar: install-info-fastjar
8322 install-info-fastjar: \
8323 configure-fastjar \
8324 info-fastjar
8325 @[ -f ./fastjar/Makefile ] || exit 0; \
8326 r=`${PWD_COMMAND}`; export r; \
8327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 install-info in fastjar" ; \
8333 (cd $(HOST_SUBDIR)/fastjar && \
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 install-info) \
8339 || exit 1
8341 @endif fastjar
8343 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8344 maybe-installcheck-fastjar:
8345 @if fastjar
8346 maybe-installcheck-fastjar: installcheck-fastjar
8348 installcheck-fastjar: \
8349 configure-fastjar
8350 @[ -f ./fastjar/Makefile ] || exit 0; \
8351 r=`${PWD_COMMAND}`; export r; \
8352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 installcheck in fastjar" ; \
8358 (cd $(HOST_SUBDIR)/fastjar && \
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 installcheck) \
8364 || exit 1
8366 @endif fastjar
8368 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8369 maybe-mostlyclean-fastjar:
8370 @if fastjar
8371 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8373 mostlyclean-fastjar:
8374 @[ -f ./fastjar/Makefile ] || exit 0; \
8375 r=`${PWD_COMMAND}`; export r; \
8376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8377 $(HOST_EXPORTS) \
8378 for flag in $(EXTRA_HOST_FLAGS) ; do \
8379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8380 done; \
8381 echo "Doing mostlyclean in fastjar" ; \
8382 (cd $(HOST_SUBDIR)/fastjar && \
8383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8385 "RANLIB=$${RANLIB}" \
8386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8387 mostlyclean) \
8388 || exit 1
8390 @endif fastjar
8392 .PHONY: maybe-clean-fastjar clean-fastjar
8393 maybe-clean-fastjar:
8394 @if fastjar
8395 maybe-clean-fastjar: clean-fastjar
8397 clean-fastjar:
8398 @[ -f ./fastjar/Makefile ] || exit 0; \
8399 r=`${PWD_COMMAND}`; export r; \
8400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8401 $(HOST_EXPORTS) \
8402 for flag in $(EXTRA_HOST_FLAGS) ; do \
8403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8404 done; \
8405 echo "Doing clean in fastjar" ; \
8406 (cd $(HOST_SUBDIR)/fastjar && \
8407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8409 "RANLIB=$${RANLIB}" \
8410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8411 clean) \
8412 || exit 1
8414 @endif fastjar
8416 .PHONY: maybe-distclean-fastjar distclean-fastjar
8417 maybe-distclean-fastjar:
8418 @if fastjar
8419 maybe-distclean-fastjar: distclean-fastjar
8421 distclean-fastjar:
8422 @[ -f ./fastjar/Makefile ] || exit 0; \
8423 r=`${PWD_COMMAND}`; export r; \
8424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8425 $(HOST_EXPORTS) \
8426 for flag in $(EXTRA_HOST_FLAGS) ; do \
8427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8428 done; \
8429 echo "Doing distclean in fastjar" ; \
8430 (cd $(HOST_SUBDIR)/fastjar && \
8431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8433 "RANLIB=$${RANLIB}" \
8434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8435 distclean) \
8436 || exit 1
8438 @endif fastjar
8440 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8441 maybe-maintainer-clean-fastjar:
8442 @if fastjar
8443 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8445 maintainer-clean-fastjar:
8446 @[ -f ./fastjar/Makefile ] || exit 0; \
8447 r=`${PWD_COMMAND}`; export r; \
8448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8449 $(HOST_EXPORTS) \
8450 for flag in $(EXTRA_HOST_FLAGS) ; do \
8451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8452 done; \
8453 echo "Doing maintainer-clean in fastjar" ; \
8454 (cd $(HOST_SUBDIR)/fastjar && \
8455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8457 "RANLIB=$${RANLIB}" \
8458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8459 maintainer-clean) \
8460 || exit 1
8462 @endif fastjar
8466 .PHONY: configure-fileutils maybe-configure-fileutils
8467 maybe-configure-fileutils:
8468 @if fileutils
8469 maybe-configure-fileutils: configure-fileutils
8470 configure-fileutils:
8471 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8472 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8473 r=`${PWD_COMMAND}`; export r; \
8474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8475 $(HOST_EXPORTS) \
8476 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8477 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8478 case $(srcdir) in \
8479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8480 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8482 esac; \
8483 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8484 libsrcdir="$$s/fileutils"; \
8485 $(SHELL) $${libsrcdir}/configure \
8486 $(HOST_CONFIGARGS) $${srcdiroption} \
8487 || exit 1
8488 @endif fileutils
8494 .PHONY: all-fileutils maybe-all-fileutils
8495 maybe-all-fileutils:
8496 @if fileutils
8497 TARGET-fileutils=all
8498 maybe-all-fileutils: all-fileutils
8499 all-fileutils: configure-fileutils
8500 @r=`${PWD_COMMAND}`; export r; \
8501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8502 $(HOST_EXPORTS) \
8503 (cd $(HOST_SUBDIR)/fileutils && \
8504 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8505 @endif fileutils
8510 .PHONY: check-fileutils maybe-check-fileutils
8511 maybe-check-fileutils:
8512 @if fileutils
8513 maybe-check-fileutils: check-fileutils
8515 check-fileutils:
8516 @r=`${PWD_COMMAND}`; export r; \
8517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8518 $(HOST_EXPORTS) \
8519 (cd $(HOST_SUBDIR)/fileutils && \
8520 $(MAKE) $(FLAGS_TO_PASS) check)
8522 @endif fileutils
8524 .PHONY: install-fileutils maybe-install-fileutils
8525 maybe-install-fileutils:
8526 @if fileutils
8527 maybe-install-fileutils: install-fileutils
8529 install-fileutils: installdirs
8530 @r=`${PWD_COMMAND}`; export r; \
8531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8532 $(HOST_EXPORTS) \
8533 (cd $(HOST_SUBDIR)/fileutils && \
8534 $(MAKE) $(FLAGS_TO_PASS) install)
8536 @endif fileutils
8538 # Other targets (info, dvi, etc.)
8540 .PHONY: maybe-info-fileutils info-fileutils
8541 maybe-info-fileutils:
8542 @if fileutils
8543 maybe-info-fileutils: info-fileutils
8545 info-fileutils: \
8546 configure-fileutils
8547 @[ -f ./fileutils/Makefile ] || exit 0; \
8548 r=`${PWD_COMMAND}`; export r; \
8549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 info in fileutils" ; \
8555 (cd $(HOST_SUBDIR)/fileutils && \
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 info) \
8561 || exit 1
8563 @endif fileutils
8565 .PHONY: maybe-dvi-fileutils dvi-fileutils
8566 maybe-dvi-fileutils:
8567 @if fileutils
8568 maybe-dvi-fileutils: dvi-fileutils
8570 dvi-fileutils: \
8571 configure-fileutils
8572 @[ -f ./fileutils/Makefile ] || exit 0; \
8573 r=`${PWD_COMMAND}`; export r; \
8574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8575 $(HOST_EXPORTS) \
8576 for flag in $(EXTRA_HOST_FLAGS) ; do \
8577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8578 done; \
8579 echo "Doing dvi in fileutils" ; \
8580 (cd $(HOST_SUBDIR)/fileutils && \
8581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8583 "RANLIB=$${RANLIB}" \
8584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8585 dvi) \
8586 || exit 1
8588 @endif fileutils
8590 .PHONY: maybe-html-fileutils html-fileutils
8591 maybe-html-fileutils:
8592 @if fileutils
8593 maybe-html-fileutils: html-fileutils
8595 html-fileutils: \
8596 configure-fileutils
8597 @[ -f ./fileutils/Makefile ] || exit 0; \
8598 r=`${PWD_COMMAND}`; export r; \
8599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 html in fileutils" ; \
8605 (cd $(HOST_SUBDIR)/fileutils && \
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 html) \
8611 || exit 1
8613 @endif fileutils
8615 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8616 maybe-TAGS-fileutils:
8617 @if fileutils
8618 maybe-TAGS-fileutils: TAGS-fileutils
8620 TAGS-fileutils: \
8621 configure-fileutils
8622 @[ -f ./fileutils/Makefile ] || exit 0; \
8623 r=`${PWD_COMMAND}`; export r; \
8624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8625 $(HOST_EXPORTS) \
8626 for flag in $(EXTRA_HOST_FLAGS) ; do \
8627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8628 done; \
8629 echo "Doing TAGS in fileutils" ; \
8630 (cd $(HOST_SUBDIR)/fileutils && \
8631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8633 "RANLIB=$${RANLIB}" \
8634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8635 TAGS) \
8636 || exit 1
8638 @endif fileutils
8640 .PHONY: maybe-install-info-fileutils install-info-fileutils
8641 maybe-install-info-fileutils:
8642 @if fileutils
8643 maybe-install-info-fileutils: install-info-fileutils
8645 install-info-fileutils: \
8646 configure-fileutils \
8647 info-fileutils
8648 @[ -f ./fileutils/Makefile ] || exit 0; \
8649 r=`${PWD_COMMAND}`; export r; \
8650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8651 $(HOST_EXPORTS) \
8652 for flag in $(EXTRA_HOST_FLAGS) ; do \
8653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8654 done; \
8655 echo "Doing install-info in fileutils" ; \
8656 (cd $(HOST_SUBDIR)/fileutils && \
8657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8659 "RANLIB=$${RANLIB}" \
8660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8661 install-info) \
8662 || exit 1
8664 @endif fileutils
8666 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8667 maybe-installcheck-fileutils:
8668 @if fileutils
8669 maybe-installcheck-fileutils: installcheck-fileutils
8671 installcheck-fileutils: \
8672 configure-fileutils
8673 @[ -f ./fileutils/Makefile ] || exit 0; \
8674 r=`${PWD_COMMAND}`; export r; \
8675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8676 $(HOST_EXPORTS) \
8677 for flag in $(EXTRA_HOST_FLAGS) ; do \
8678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8679 done; \
8680 echo "Doing installcheck in fileutils" ; \
8681 (cd $(HOST_SUBDIR)/fileutils && \
8682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8684 "RANLIB=$${RANLIB}" \
8685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8686 installcheck) \
8687 || exit 1
8689 @endif fileutils
8691 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
8692 maybe-mostlyclean-fileutils:
8693 @if fileutils
8694 maybe-mostlyclean-fileutils: mostlyclean-fileutils
8696 mostlyclean-fileutils:
8697 @[ -f ./fileutils/Makefile ] || exit 0; \
8698 r=`${PWD_COMMAND}`; export r; \
8699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 mostlyclean in fileutils" ; \
8705 (cd $(HOST_SUBDIR)/fileutils && \
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 mostlyclean) \
8711 || exit 1
8713 @endif fileutils
8715 .PHONY: maybe-clean-fileutils clean-fileutils
8716 maybe-clean-fileutils:
8717 @if fileutils
8718 maybe-clean-fileutils: clean-fileutils
8720 clean-fileutils:
8721 @[ -f ./fileutils/Makefile ] || exit 0; \
8722 r=`${PWD_COMMAND}`; export r; \
8723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8724 $(HOST_EXPORTS) \
8725 for flag in $(EXTRA_HOST_FLAGS) ; do \
8726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8727 done; \
8728 echo "Doing clean in fileutils" ; \
8729 (cd $(HOST_SUBDIR)/fileutils && \
8730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8732 "RANLIB=$${RANLIB}" \
8733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8734 clean) \
8735 || exit 1
8737 @endif fileutils
8739 .PHONY: maybe-distclean-fileutils distclean-fileutils
8740 maybe-distclean-fileutils:
8741 @if fileutils
8742 maybe-distclean-fileutils: distclean-fileutils
8744 distclean-fileutils:
8745 @[ -f ./fileutils/Makefile ] || exit 0; \
8746 r=`${PWD_COMMAND}`; export r; \
8747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8748 $(HOST_EXPORTS) \
8749 for flag in $(EXTRA_HOST_FLAGS) ; do \
8750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8751 done; \
8752 echo "Doing distclean in fileutils" ; \
8753 (cd $(HOST_SUBDIR)/fileutils && \
8754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8756 "RANLIB=$${RANLIB}" \
8757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8758 distclean) \
8759 || exit 1
8761 @endif fileutils
8763 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
8764 maybe-maintainer-clean-fileutils:
8765 @if fileutils
8766 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
8768 maintainer-clean-fileutils:
8769 @[ -f ./fileutils/Makefile ] || exit 0; \
8770 r=`${PWD_COMMAND}`; export r; \
8771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8772 $(HOST_EXPORTS) \
8773 for flag in $(EXTRA_HOST_FLAGS) ; do \
8774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8775 done; \
8776 echo "Doing maintainer-clean in fileutils" ; \
8777 (cd $(HOST_SUBDIR)/fileutils && \
8778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8780 "RANLIB=$${RANLIB}" \
8781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8782 maintainer-clean) \
8783 || exit 1
8785 @endif fileutils
8789 .PHONY: configure-findutils maybe-configure-findutils
8790 maybe-configure-findutils:
8791 @if findutils
8792 maybe-configure-findutils: configure-findutils
8793 configure-findutils:
8794 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
8795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
8796 r=`${PWD_COMMAND}`; export r; \
8797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8798 $(HOST_EXPORTS) \
8799 echo Configuring in $(HOST_SUBDIR)/findutils; \
8800 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
8801 case $(srcdir) in \
8802 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8803 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
8804 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8805 esac; \
8806 srcdiroption="--srcdir=$${topdir}/findutils"; \
8807 libsrcdir="$$s/findutils"; \
8808 $(SHELL) $${libsrcdir}/configure \
8809 $(HOST_CONFIGARGS) $${srcdiroption} \
8810 || exit 1
8811 @endif findutils
8817 .PHONY: all-findutils maybe-all-findutils
8818 maybe-all-findutils:
8819 @if findutils
8820 TARGET-findutils=all
8821 maybe-all-findutils: all-findutils
8822 all-findutils: configure-findutils
8823 @r=`${PWD_COMMAND}`; export r; \
8824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8825 $(HOST_EXPORTS) \
8826 (cd $(HOST_SUBDIR)/findutils && \
8827 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
8828 @endif findutils
8833 .PHONY: check-findutils maybe-check-findutils
8834 maybe-check-findutils:
8835 @if findutils
8836 maybe-check-findutils: check-findutils
8838 check-findutils:
8839 @r=`${PWD_COMMAND}`; export r; \
8840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8841 $(HOST_EXPORTS) \
8842 (cd $(HOST_SUBDIR)/findutils && \
8843 $(MAKE) $(FLAGS_TO_PASS) check)
8845 @endif findutils
8847 .PHONY: install-findutils maybe-install-findutils
8848 maybe-install-findutils:
8849 @if findutils
8850 maybe-install-findutils: install-findutils
8852 install-findutils: installdirs
8853 @r=`${PWD_COMMAND}`; export r; \
8854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8855 $(HOST_EXPORTS) \
8856 (cd $(HOST_SUBDIR)/findutils && \
8857 $(MAKE) $(FLAGS_TO_PASS) install)
8859 @endif findutils
8861 # Other targets (info, dvi, etc.)
8863 .PHONY: maybe-info-findutils info-findutils
8864 maybe-info-findutils:
8865 @if findutils
8866 maybe-info-findutils: info-findutils
8868 info-findutils: \
8869 configure-findutils
8870 @[ -f ./findutils/Makefile ] || exit 0; \
8871 r=`${PWD_COMMAND}`; export r; \
8872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8873 $(HOST_EXPORTS) \
8874 for flag in $(EXTRA_HOST_FLAGS) ; do \
8875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8876 done; \
8877 echo "Doing info in findutils" ; \
8878 (cd $(HOST_SUBDIR)/findutils && \
8879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8881 "RANLIB=$${RANLIB}" \
8882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8883 info) \
8884 || exit 1
8886 @endif findutils
8888 .PHONY: maybe-dvi-findutils dvi-findutils
8889 maybe-dvi-findutils:
8890 @if findutils
8891 maybe-dvi-findutils: dvi-findutils
8893 dvi-findutils: \
8894 configure-findutils
8895 @[ -f ./findutils/Makefile ] || exit 0; \
8896 r=`${PWD_COMMAND}`; export r; \
8897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8898 $(HOST_EXPORTS) \
8899 for flag in $(EXTRA_HOST_FLAGS) ; do \
8900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8901 done; \
8902 echo "Doing dvi in findutils" ; \
8903 (cd $(HOST_SUBDIR)/findutils && \
8904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8906 "RANLIB=$${RANLIB}" \
8907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8908 dvi) \
8909 || exit 1
8911 @endif findutils
8913 .PHONY: maybe-html-findutils html-findutils
8914 maybe-html-findutils:
8915 @if findutils
8916 maybe-html-findutils: html-findutils
8918 html-findutils: \
8919 configure-findutils
8920 @[ -f ./findutils/Makefile ] || exit 0; \
8921 r=`${PWD_COMMAND}`; export r; \
8922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8923 $(HOST_EXPORTS) \
8924 for flag in $(EXTRA_HOST_FLAGS) ; do \
8925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8926 done; \
8927 echo "Doing html in findutils" ; \
8928 (cd $(HOST_SUBDIR)/findutils && \
8929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8931 "RANLIB=$${RANLIB}" \
8932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8933 html) \
8934 || exit 1
8936 @endif findutils
8938 .PHONY: maybe-TAGS-findutils TAGS-findutils
8939 maybe-TAGS-findutils:
8940 @if findutils
8941 maybe-TAGS-findutils: TAGS-findutils
8943 TAGS-findutils: \
8944 configure-findutils
8945 @[ -f ./findutils/Makefile ] || exit 0; \
8946 r=`${PWD_COMMAND}`; export r; \
8947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8948 $(HOST_EXPORTS) \
8949 for flag in $(EXTRA_HOST_FLAGS) ; do \
8950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8951 done; \
8952 echo "Doing TAGS in findutils" ; \
8953 (cd $(HOST_SUBDIR)/findutils && \
8954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8956 "RANLIB=$${RANLIB}" \
8957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8958 TAGS) \
8959 || exit 1
8961 @endif findutils
8963 .PHONY: maybe-install-info-findutils install-info-findutils
8964 maybe-install-info-findutils:
8965 @if findutils
8966 maybe-install-info-findutils: install-info-findutils
8968 install-info-findutils: \
8969 configure-findutils \
8970 info-findutils
8971 @[ -f ./findutils/Makefile ] || exit 0; \
8972 r=`${PWD_COMMAND}`; export r; \
8973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8974 $(HOST_EXPORTS) \
8975 for flag in $(EXTRA_HOST_FLAGS) ; do \
8976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8977 done; \
8978 echo "Doing install-info in findutils" ; \
8979 (cd $(HOST_SUBDIR)/findutils && \
8980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8982 "RANLIB=$${RANLIB}" \
8983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8984 install-info) \
8985 || exit 1
8987 @endif findutils
8989 .PHONY: maybe-installcheck-findutils installcheck-findutils
8990 maybe-installcheck-findutils:
8991 @if findutils
8992 maybe-installcheck-findutils: installcheck-findutils
8994 installcheck-findutils: \
8995 configure-findutils
8996 @[ -f ./findutils/Makefile ] || exit 0; \
8997 r=`${PWD_COMMAND}`; export r; \
8998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8999 $(HOST_EXPORTS) \
9000 for flag in $(EXTRA_HOST_FLAGS) ; do \
9001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9002 done; \
9003 echo "Doing installcheck in findutils" ; \
9004 (cd $(HOST_SUBDIR)/findutils && \
9005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9007 "RANLIB=$${RANLIB}" \
9008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9009 installcheck) \
9010 || exit 1
9012 @endif findutils
9014 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9015 maybe-mostlyclean-findutils:
9016 @if findutils
9017 maybe-mostlyclean-findutils: mostlyclean-findutils
9019 mostlyclean-findutils:
9020 @[ -f ./findutils/Makefile ] || exit 0; \
9021 r=`${PWD_COMMAND}`; export r; \
9022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9023 $(HOST_EXPORTS) \
9024 for flag in $(EXTRA_HOST_FLAGS) ; do \
9025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9026 done; \
9027 echo "Doing mostlyclean in findutils" ; \
9028 (cd $(HOST_SUBDIR)/findutils && \
9029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9031 "RANLIB=$${RANLIB}" \
9032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9033 mostlyclean) \
9034 || exit 1
9036 @endif findutils
9038 .PHONY: maybe-clean-findutils clean-findutils
9039 maybe-clean-findutils:
9040 @if findutils
9041 maybe-clean-findutils: clean-findutils
9043 clean-findutils:
9044 @[ -f ./findutils/Makefile ] || exit 0; \
9045 r=`${PWD_COMMAND}`; export r; \
9046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9047 $(HOST_EXPORTS) \
9048 for flag in $(EXTRA_HOST_FLAGS) ; do \
9049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9050 done; \
9051 echo "Doing clean in findutils" ; \
9052 (cd $(HOST_SUBDIR)/findutils && \
9053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9055 "RANLIB=$${RANLIB}" \
9056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9057 clean) \
9058 || exit 1
9060 @endif findutils
9062 .PHONY: maybe-distclean-findutils distclean-findutils
9063 maybe-distclean-findutils:
9064 @if findutils
9065 maybe-distclean-findutils: distclean-findutils
9067 distclean-findutils:
9068 @[ -f ./findutils/Makefile ] || exit 0; \
9069 r=`${PWD_COMMAND}`; export r; \
9070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9071 $(HOST_EXPORTS) \
9072 for flag in $(EXTRA_HOST_FLAGS) ; do \
9073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9074 done; \
9075 echo "Doing distclean in findutils" ; \
9076 (cd $(HOST_SUBDIR)/findutils && \
9077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9079 "RANLIB=$${RANLIB}" \
9080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9081 distclean) \
9082 || exit 1
9084 @endif findutils
9086 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9087 maybe-maintainer-clean-findutils:
9088 @if findutils
9089 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9091 maintainer-clean-findutils:
9092 @[ -f ./findutils/Makefile ] || exit 0; \
9093 r=`${PWD_COMMAND}`; export r; \
9094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9095 $(HOST_EXPORTS) \
9096 for flag in $(EXTRA_HOST_FLAGS) ; do \
9097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9098 done; \
9099 echo "Doing maintainer-clean in findutils" ; \
9100 (cd $(HOST_SUBDIR)/findutils && \
9101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9103 "RANLIB=$${RANLIB}" \
9104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9105 maintainer-clean) \
9106 || exit 1
9108 @endif findutils
9112 .PHONY: configure-find maybe-configure-find
9113 maybe-configure-find:
9114 @if find
9115 maybe-configure-find: configure-find
9116 configure-find:
9117 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9118 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9119 r=`${PWD_COMMAND}`; export r; \
9120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9121 $(HOST_EXPORTS) \
9122 echo Configuring in $(HOST_SUBDIR)/find; \
9123 cd "$(HOST_SUBDIR)/find" || exit 1; \
9124 case $(srcdir) in \
9125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9126 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9128 esac; \
9129 srcdiroption="--srcdir=$${topdir}/find"; \
9130 libsrcdir="$$s/find"; \
9131 $(SHELL) $${libsrcdir}/configure \
9132 $(HOST_CONFIGARGS) $${srcdiroption} \
9133 || exit 1
9134 @endif find
9140 .PHONY: all-find maybe-all-find
9141 maybe-all-find:
9142 @if find
9143 TARGET-find=all
9144 maybe-all-find: all-find
9145 all-find: configure-find
9146 @r=`${PWD_COMMAND}`; export r; \
9147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9148 $(HOST_EXPORTS) \
9149 (cd $(HOST_SUBDIR)/find && \
9150 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9151 @endif find
9156 .PHONY: check-find maybe-check-find
9157 maybe-check-find:
9158 @if find
9159 maybe-check-find: check-find
9161 check-find:
9162 @r=`${PWD_COMMAND}`; export r; \
9163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9164 $(HOST_EXPORTS) \
9165 (cd $(HOST_SUBDIR)/find && \
9166 $(MAKE) $(FLAGS_TO_PASS) check)
9168 @endif find
9170 .PHONY: install-find maybe-install-find
9171 maybe-install-find:
9172 @if find
9173 maybe-install-find: install-find
9175 install-find: installdirs
9176 @r=`${PWD_COMMAND}`; export r; \
9177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9178 $(HOST_EXPORTS) \
9179 (cd $(HOST_SUBDIR)/find && \
9180 $(MAKE) $(FLAGS_TO_PASS) install)
9182 @endif find
9184 # Other targets (info, dvi, etc.)
9186 .PHONY: maybe-info-find info-find
9187 maybe-info-find:
9188 @if find
9189 maybe-info-find: info-find
9191 info-find: \
9192 configure-find
9193 @[ -f ./find/Makefile ] || exit 0; \
9194 r=`${PWD_COMMAND}`; export r; \
9195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9196 $(HOST_EXPORTS) \
9197 for flag in $(EXTRA_HOST_FLAGS) ; do \
9198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9199 done; \
9200 echo "Doing info in find" ; \
9201 (cd $(HOST_SUBDIR)/find && \
9202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9204 "RANLIB=$${RANLIB}" \
9205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9206 info) \
9207 || exit 1
9209 @endif find
9211 .PHONY: maybe-dvi-find dvi-find
9212 maybe-dvi-find:
9213 @if find
9214 maybe-dvi-find: dvi-find
9216 dvi-find: \
9217 configure-find
9218 @[ -f ./find/Makefile ] || exit 0; \
9219 r=`${PWD_COMMAND}`; export r; \
9220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9221 $(HOST_EXPORTS) \
9222 for flag in $(EXTRA_HOST_FLAGS) ; do \
9223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9224 done; \
9225 echo "Doing dvi in find" ; \
9226 (cd $(HOST_SUBDIR)/find && \
9227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9229 "RANLIB=$${RANLIB}" \
9230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9231 dvi) \
9232 || exit 1
9234 @endif find
9236 .PHONY: maybe-html-find html-find
9237 maybe-html-find:
9238 @if find
9239 maybe-html-find: html-find
9241 html-find: \
9242 configure-find
9243 @[ -f ./find/Makefile ] || exit 0; \
9244 r=`${PWD_COMMAND}`; export r; \
9245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9246 $(HOST_EXPORTS) \
9247 for flag in $(EXTRA_HOST_FLAGS) ; do \
9248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9249 done; \
9250 echo "Doing html in find" ; \
9251 (cd $(HOST_SUBDIR)/find && \
9252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9254 "RANLIB=$${RANLIB}" \
9255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9256 html) \
9257 || exit 1
9259 @endif find
9261 .PHONY: maybe-TAGS-find TAGS-find
9262 maybe-TAGS-find:
9263 @if find
9264 maybe-TAGS-find: TAGS-find
9266 TAGS-find: \
9267 configure-find
9268 @[ -f ./find/Makefile ] || exit 0; \
9269 r=`${PWD_COMMAND}`; export r; \
9270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9271 $(HOST_EXPORTS) \
9272 for flag in $(EXTRA_HOST_FLAGS) ; do \
9273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9274 done; \
9275 echo "Doing TAGS in find" ; \
9276 (cd $(HOST_SUBDIR)/find && \
9277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9279 "RANLIB=$${RANLIB}" \
9280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9281 TAGS) \
9282 || exit 1
9284 @endif find
9286 .PHONY: maybe-install-info-find install-info-find
9287 maybe-install-info-find:
9288 @if find
9289 maybe-install-info-find: install-info-find
9291 install-info-find: \
9292 configure-find \
9293 info-find
9294 @[ -f ./find/Makefile ] || exit 0; \
9295 r=`${PWD_COMMAND}`; export r; \
9296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9297 $(HOST_EXPORTS) \
9298 for flag in $(EXTRA_HOST_FLAGS) ; do \
9299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9300 done; \
9301 echo "Doing install-info in find" ; \
9302 (cd $(HOST_SUBDIR)/find && \
9303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9305 "RANLIB=$${RANLIB}" \
9306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9307 install-info) \
9308 || exit 1
9310 @endif find
9312 .PHONY: maybe-installcheck-find installcheck-find
9313 maybe-installcheck-find:
9314 @if find
9315 maybe-installcheck-find: installcheck-find
9317 installcheck-find: \
9318 configure-find
9319 @[ -f ./find/Makefile ] || exit 0; \
9320 r=`${PWD_COMMAND}`; export r; \
9321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9322 $(HOST_EXPORTS) \
9323 for flag in $(EXTRA_HOST_FLAGS) ; do \
9324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9325 done; \
9326 echo "Doing installcheck in find" ; \
9327 (cd $(HOST_SUBDIR)/find && \
9328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9330 "RANLIB=$${RANLIB}" \
9331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9332 installcheck) \
9333 || exit 1
9335 @endif find
9337 .PHONY: maybe-mostlyclean-find mostlyclean-find
9338 maybe-mostlyclean-find:
9339 @if find
9340 maybe-mostlyclean-find: mostlyclean-find
9342 mostlyclean-find:
9343 @[ -f ./find/Makefile ] || exit 0; \
9344 r=`${PWD_COMMAND}`; export r; \
9345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9346 $(HOST_EXPORTS) \
9347 for flag in $(EXTRA_HOST_FLAGS) ; do \
9348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9349 done; \
9350 echo "Doing mostlyclean in find" ; \
9351 (cd $(HOST_SUBDIR)/find && \
9352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9354 "RANLIB=$${RANLIB}" \
9355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9356 mostlyclean) \
9357 || exit 1
9359 @endif find
9361 .PHONY: maybe-clean-find clean-find
9362 maybe-clean-find:
9363 @if find
9364 maybe-clean-find: clean-find
9366 clean-find:
9367 @[ -f ./find/Makefile ] || exit 0; \
9368 r=`${PWD_COMMAND}`; export r; \
9369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9370 $(HOST_EXPORTS) \
9371 for flag in $(EXTRA_HOST_FLAGS) ; do \
9372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9373 done; \
9374 echo "Doing clean in find" ; \
9375 (cd $(HOST_SUBDIR)/find && \
9376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9378 "RANLIB=$${RANLIB}" \
9379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9380 clean) \
9381 || exit 1
9383 @endif find
9385 .PHONY: maybe-distclean-find distclean-find
9386 maybe-distclean-find:
9387 @if find
9388 maybe-distclean-find: distclean-find
9390 distclean-find:
9391 @[ -f ./find/Makefile ] || exit 0; \
9392 r=`${PWD_COMMAND}`; export r; \
9393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9394 $(HOST_EXPORTS) \
9395 for flag in $(EXTRA_HOST_FLAGS) ; do \
9396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9397 done; \
9398 echo "Doing distclean in find" ; \
9399 (cd $(HOST_SUBDIR)/find && \
9400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9402 "RANLIB=$${RANLIB}" \
9403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9404 distclean) \
9405 || exit 1
9407 @endif find
9409 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9410 maybe-maintainer-clean-find:
9411 @if find
9412 maybe-maintainer-clean-find: maintainer-clean-find
9414 maintainer-clean-find:
9415 @[ -f ./find/Makefile ] || exit 0; \
9416 r=`${PWD_COMMAND}`; export r; \
9417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9418 $(HOST_EXPORTS) \
9419 for flag in $(EXTRA_HOST_FLAGS) ; do \
9420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9421 done; \
9422 echo "Doing maintainer-clean in find" ; \
9423 (cd $(HOST_SUBDIR)/find && \
9424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9426 "RANLIB=$${RANLIB}" \
9427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9428 maintainer-clean) \
9429 || exit 1
9431 @endif find
9435 .PHONY: configure-fixincludes maybe-configure-fixincludes
9436 maybe-configure-fixincludes:
9437 @if fixincludes
9438 maybe-configure-fixincludes: configure-fixincludes
9439 configure-fixincludes:
9440 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9441 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9442 r=`${PWD_COMMAND}`; export r; \
9443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9444 $(HOST_EXPORTS) \
9445 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9446 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9447 case $(srcdir) in \
9448 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9449 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9450 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9451 esac; \
9452 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9453 libsrcdir="$$s/fixincludes"; \
9454 $(SHELL) $${libsrcdir}/configure \
9455 $(HOST_CONFIGARGS) $${srcdiroption} \
9456 || exit 1
9457 @endif fixincludes
9463 .PHONY: all-fixincludes maybe-all-fixincludes
9464 maybe-all-fixincludes:
9465 @if fixincludes
9466 TARGET-fixincludes=all
9467 maybe-all-fixincludes: all-fixincludes
9468 all-fixincludes: configure-fixincludes
9469 @r=`${PWD_COMMAND}`; export r; \
9470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9471 $(HOST_EXPORTS) \
9472 (cd $(HOST_SUBDIR)/fixincludes && \
9473 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9474 @endif fixincludes
9479 .PHONY: check-fixincludes maybe-check-fixincludes
9480 maybe-check-fixincludes:
9481 @if fixincludes
9482 maybe-check-fixincludes: check-fixincludes
9484 check-fixincludes:
9485 @r=`${PWD_COMMAND}`; export r; \
9486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9487 $(HOST_EXPORTS) \
9488 (cd $(HOST_SUBDIR)/fixincludes && \
9489 $(MAKE) $(FLAGS_TO_PASS) check)
9491 @endif fixincludes
9493 .PHONY: install-fixincludes maybe-install-fixincludes
9494 maybe-install-fixincludes:
9495 @if fixincludes
9496 maybe-install-fixincludes: install-fixincludes
9498 install-fixincludes: installdirs
9499 @r=`${PWD_COMMAND}`; export r; \
9500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9501 $(HOST_EXPORTS) \
9502 (cd $(HOST_SUBDIR)/fixincludes && \
9503 $(MAKE) $(FLAGS_TO_PASS) install)
9505 @endif fixincludes
9507 # Other targets (info, dvi, etc.)
9509 .PHONY: maybe-info-fixincludes info-fixincludes
9510 maybe-info-fixincludes:
9511 @if fixincludes
9512 maybe-info-fixincludes: info-fixincludes
9514 # fixincludes doesn't support info.
9515 info-fixincludes:
9517 @endif fixincludes
9519 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9520 maybe-dvi-fixincludes:
9521 @if fixincludes
9522 maybe-dvi-fixincludes: dvi-fixincludes
9524 # fixincludes doesn't support dvi.
9525 dvi-fixincludes:
9527 @endif fixincludes
9529 .PHONY: maybe-html-fixincludes html-fixincludes
9530 maybe-html-fixincludes:
9531 @if fixincludes
9532 maybe-html-fixincludes: html-fixincludes
9534 html-fixincludes: \
9535 configure-fixincludes
9536 @[ -f ./fixincludes/Makefile ] || exit 0; \
9537 r=`${PWD_COMMAND}`; export r; \
9538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9539 $(HOST_EXPORTS) \
9540 for flag in $(EXTRA_HOST_FLAGS) ; do \
9541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9542 done; \
9543 echo "Doing html in fixincludes" ; \
9544 (cd $(HOST_SUBDIR)/fixincludes && \
9545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9547 "RANLIB=$${RANLIB}" \
9548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9549 html) \
9550 || exit 1
9552 @endif fixincludes
9554 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9555 maybe-TAGS-fixincludes:
9556 @if fixincludes
9557 maybe-TAGS-fixincludes: TAGS-fixincludes
9559 # fixincludes doesn't support TAGS.
9560 TAGS-fixincludes:
9562 @endif fixincludes
9564 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9565 maybe-install-info-fixincludes:
9566 @if fixincludes
9567 maybe-install-info-fixincludes: install-info-fixincludes
9569 # fixincludes doesn't support install-info.
9570 install-info-fixincludes:
9572 @endif fixincludes
9574 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9575 maybe-installcheck-fixincludes:
9576 @if fixincludes
9577 maybe-installcheck-fixincludes: installcheck-fixincludes
9579 # fixincludes doesn't support installcheck.
9580 installcheck-fixincludes:
9582 @endif fixincludes
9584 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9585 maybe-mostlyclean-fixincludes:
9586 @if fixincludes
9587 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9589 mostlyclean-fixincludes:
9590 @[ -f ./fixincludes/Makefile ] || exit 0; \
9591 r=`${PWD_COMMAND}`; export r; \
9592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9593 $(HOST_EXPORTS) \
9594 for flag in $(EXTRA_HOST_FLAGS) ; do \
9595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9596 done; \
9597 echo "Doing mostlyclean in fixincludes" ; \
9598 (cd $(HOST_SUBDIR)/fixincludes && \
9599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9601 "RANLIB=$${RANLIB}" \
9602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9603 mostlyclean) \
9604 || exit 1
9606 @endif fixincludes
9608 .PHONY: maybe-clean-fixincludes clean-fixincludes
9609 maybe-clean-fixincludes:
9610 @if fixincludes
9611 maybe-clean-fixincludes: clean-fixincludes
9613 clean-fixincludes:
9614 @[ -f ./fixincludes/Makefile ] || exit 0; \
9615 r=`${PWD_COMMAND}`; export r; \
9616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9617 $(HOST_EXPORTS) \
9618 for flag in $(EXTRA_HOST_FLAGS) ; do \
9619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9620 done; \
9621 echo "Doing clean in fixincludes" ; \
9622 (cd $(HOST_SUBDIR)/fixincludes && \
9623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9625 "RANLIB=$${RANLIB}" \
9626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9627 clean) \
9628 || exit 1
9630 @endif fixincludes
9632 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9633 maybe-distclean-fixincludes:
9634 @if fixincludes
9635 maybe-distclean-fixincludes: distclean-fixincludes
9637 distclean-fixincludes:
9638 @[ -f ./fixincludes/Makefile ] || exit 0; \
9639 r=`${PWD_COMMAND}`; export r; \
9640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9641 $(HOST_EXPORTS) \
9642 for flag in $(EXTRA_HOST_FLAGS) ; do \
9643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9644 done; \
9645 echo "Doing distclean in fixincludes" ; \
9646 (cd $(HOST_SUBDIR)/fixincludes && \
9647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9649 "RANLIB=$${RANLIB}" \
9650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9651 distclean) \
9652 || exit 1
9654 @endif fixincludes
9656 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9657 maybe-maintainer-clean-fixincludes:
9658 @if fixincludes
9659 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9661 maintainer-clean-fixincludes:
9662 @[ -f ./fixincludes/Makefile ] || exit 0; \
9663 r=`${PWD_COMMAND}`; export r; \
9664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9665 $(HOST_EXPORTS) \
9666 for flag in $(EXTRA_HOST_FLAGS) ; do \
9667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9668 done; \
9669 echo "Doing maintainer-clean in fixincludes" ; \
9670 (cd $(HOST_SUBDIR)/fixincludes && \
9671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9673 "RANLIB=$${RANLIB}" \
9674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9675 maintainer-clean) \
9676 || exit 1
9678 @endif fixincludes
9682 .PHONY: configure-flex maybe-configure-flex
9683 maybe-configure-flex:
9684 @if flex
9685 maybe-configure-flex: configure-flex
9686 configure-flex:
9687 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9688 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
9689 r=`${PWD_COMMAND}`; export r; \
9690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9691 $(HOST_EXPORTS) \
9692 echo Configuring in $(HOST_SUBDIR)/flex; \
9693 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9694 case $(srcdir) in \
9695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9696 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9698 esac; \
9699 srcdiroption="--srcdir=$${topdir}/flex"; \
9700 libsrcdir="$$s/flex"; \
9701 $(SHELL) $${libsrcdir}/configure \
9702 $(HOST_CONFIGARGS) $${srcdiroption} \
9703 || exit 1
9704 @endif flex
9710 .PHONY: all-flex maybe-all-flex
9711 maybe-all-flex:
9712 @if flex
9713 TARGET-flex=all
9714 maybe-all-flex: all-flex
9715 all-flex: configure-flex
9716 @r=`${PWD_COMMAND}`; export r; \
9717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9718 $(HOST_EXPORTS) \
9719 (cd $(HOST_SUBDIR)/flex && \
9720 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
9721 @endif flex
9726 .PHONY: check-flex maybe-check-flex
9727 maybe-check-flex:
9728 @if flex
9729 maybe-check-flex: check-flex
9731 # This module is only tested in a native toolchain.
9732 check-flex:
9733 @if [ '$(host)' = '$(target)' ] ; then \
9734 r=`${PWD_COMMAND}`; export r; \
9735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9736 $(HOST_EXPORTS) \
9737 (cd $(HOST_SUBDIR)/flex && \
9738 $(MAKE) $(FLAGS_TO_PASS) check); \
9741 @endif flex
9743 .PHONY: install-flex maybe-install-flex
9744 maybe-install-flex:
9745 @if flex
9746 maybe-install-flex: install-flex
9748 install-flex: installdirs
9749 @r=`${PWD_COMMAND}`; export r; \
9750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9751 $(HOST_EXPORTS) \
9752 (cd $(HOST_SUBDIR)/flex && \
9753 $(MAKE) $(FLAGS_TO_PASS) install)
9755 @endif flex
9757 # Other targets (info, dvi, etc.)
9759 .PHONY: maybe-info-flex info-flex
9760 maybe-info-flex:
9761 @if flex
9762 maybe-info-flex: info-flex
9764 info-flex: \
9765 configure-flex
9766 @[ -f ./flex/Makefile ] || exit 0; \
9767 r=`${PWD_COMMAND}`; export r; \
9768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9769 $(HOST_EXPORTS) \
9770 for flag in $(EXTRA_HOST_FLAGS) ; do \
9771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9772 done; \
9773 echo "Doing info in flex" ; \
9774 (cd $(HOST_SUBDIR)/flex && \
9775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9777 "RANLIB=$${RANLIB}" \
9778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9779 info) \
9780 || exit 1
9782 @endif flex
9784 .PHONY: maybe-dvi-flex dvi-flex
9785 maybe-dvi-flex:
9786 @if flex
9787 maybe-dvi-flex: dvi-flex
9789 dvi-flex: \
9790 configure-flex
9791 @[ -f ./flex/Makefile ] || exit 0; \
9792 r=`${PWD_COMMAND}`; export r; \
9793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9794 $(HOST_EXPORTS) \
9795 for flag in $(EXTRA_HOST_FLAGS) ; do \
9796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9797 done; \
9798 echo "Doing dvi in flex" ; \
9799 (cd $(HOST_SUBDIR)/flex && \
9800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9802 "RANLIB=$${RANLIB}" \
9803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9804 dvi) \
9805 || exit 1
9807 @endif flex
9809 .PHONY: maybe-html-flex html-flex
9810 maybe-html-flex:
9811 @if flex
9812 maybe-html-flex: html-flex
9814 html-flex: \
9815 configure-flex
9816 @[ -f ./flex/Makefile ] || exit 0; \
9817 r=`${PWD_COMMAND}`; export r; \
9818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 html in flex" ; \
9824 (cd $(HOST_SUBDIR)/flex && \
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 html) \
9830 || exit 1
9832 @endif flex
9834 .PHONY: maybe-TAGS-flex TAGS-flex
9835 maybe-TAGS-flex:
9836 @if flex
9837 maybe-TAGS-flex: TAGS-flex
9839 TAGS-flex: \
9840 configure-flex
9841 @[ -f ./flex/Makefile ] || exit 0; \
9842 r=`${PWD_COMMAND}`; export r; \
9843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 TAGS in flex" ; \
9849 (cd $(HOST_SUBDIR)/flex && \
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 TAGS) \
9855 || exit 1
9857 @endif flex
9859 .PHONY: maybe-install-info-flex install-info-flex
9860 maybe-install-info-flex:
9861 @if flex
9862 maybe-install-info-flex: install-info-flex
9864 install-info-flex: \
9865 configure-flex \
9866 info-flex
9867 @[ -f ./flex/Makefile ] || exit 0; \
9868 r=`${PWD_COMMAND}`; export r; \
9869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9870 $(HOST_EXPORTS) \
9871 for flag in $(EXTRA_HOST_FLAGS) ; do \
9872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9873 done; \
9874 echo "Doing install-info in flex" ; \
9875 (cd $(HOST_SUBDIR)/flex && \
9876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9878 "RANLIB=$${RANLIB}" \
9879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9880 install-info) \
9881 || exit 1
9883 @endif flex
9885 .PHONY: maybe-installcheck-flex installcheck-flex
9886 maybe-installcheck-flex:
9887 @if flex
9888 maybe-installcheck-flex: installcheck-flex
9890 installcheck-flex: \
9891 configure-flex
9892 @[ -f ./flex/Makefile ] || exit 0; \
9893 r=`${PWD_COMMAND}`; export r; \
9894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9895 $(HOST_EXPORTS) \
9896 for flag in $(EXTRA_HOST_FLAGS) ; do \
9897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9898 done; \
9899 echo "Doing installcheck in flex" ; \
9900 (cd $(HOST_SUBDIR)/flex && \
9901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9903 "RANLIB=$${RANLIB}" \
9904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9905 installcheck) \
9906 || exit 1
9908 @endif flex
9910 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9911 maybe-mostlyclean-flex:
9912 @if flex
9913 maybe-mostlyclean-flex: mostlyclean-flex
9915 mostlyclean-flex:
9916 @[ -f ./flex/Makefile ] || exit 0; \
9917 r=`${PWD_COMMAND}`; export r; \
9918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 mostlyclean in flex" ; \
9924 (cd $(HOST_SUBDIR)/flex && \
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 mostlyclean) \
9930 || exit 1
9932 @endif flex
9934 .PHONY: maybe-clean-flex clean-flex
9935 maybe-clean-flex:
9936 @if flex
9937 maybe-clean-flex: clean-flex
9939 clean-flex:
9940 @[ -f ./flex/Makefile ] || exit 0; \
9941 r=`${PWD_COMMAND}`; export r; \
9942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9943 $(HOST_EXPORTS) \
9944 for flag in $(EXTRA_HOST_FLAGS) ; do \
9945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9946 done; \
9947 echo "Doing clean in flex" ; \
9948 (cd $(HOST_SUBDIR)/flex && \
9949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9951 "RANLIB=$${RANLIB}" \
9952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9953 clean) \
9954 || exit 1
9956 @endif flex
9958 .PHONY: maybe-distclean-flex distclean-flex
9959 maybe-distclean-flex:
9960 @if flex
9961 maybe-distclean-flex: distclean-flex
9963 distclean-flex:
9964 @[ -f ./flex/Makefile ] || exit 0; \
9965 r=`${PWD_COMMAND}`; export r; \
9966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9967 $(HOST_EXPORTS) \
9968 for flag in $(EXTRA_HOST_FLAGS) ; do \
9969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9970 done; \
9971 echo "Doing distclean in flex" ; \
9972 (cd $(HOST_SUBDIR)/flex && \
9973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9975 "RANLIB=$${RANLIB}" \
9976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9977 distclean) \
9978 || exit 1
9980 @endif flex
9982 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9983 maybe-maintainer-clean-flex:
9984 @if flex
9985 maybe-maintainer-clean-flex: maintainer-clean-flex
9987 maintainer-clean-flex:
9988 @[ -f ./flex/Makefile ] || exit 0; \
9989 r=`${PWD_COMMAND}`; export r; \
9990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9991 $(HOST_EXPORTS) \
9992 for flag in $(EXTRA_HOST_FLAGS) ; do \
9993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9994 done; \
9995 echo "Doing maintainer-clean in flex" ; \
9996 (cd $(HOST_SUBDIR)/flex && \
9997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9999 "RANLIB=$${RANLIB}" \
10000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10001 maintainer-clean) \
10002 || exit 1
10004 @endif flex
10008 .PHONY: configure-gas maybe-configure-gas
10009 maybe-configure-gas:
10010 @if gas
10011 maybe-configure-gas: configure-gas
10012 configure-gas:
10013 @test -f stage_last && exit 0; \
10014 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10016 r=`${PWD_COMMAND}`; export r; \
10017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10018 $(HOST_EXPORTS) \
10019 echo Configuring in $(HOST_SUBDIR)/gas; \
10020 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10021 case $(srcdir) in \
10022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10023 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10025 esac; \
10026 srcdiroption="--srcdir=$${topdir}/gas"; \
10027 libsrcdir="$$s/gas"; \
10028 $(SHELL) $${libsrcdir}/configure \
10029 $(HOST_CONFIGARGS) $${srcdiroption} \
10030 || exit 1
10031 @endif gas
10035 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10036 maybe-configure-stage1-gas:
10037 @if gas-bootstrap
10038 maybe-configure-stage1-gas: configure-stage1-gas
10039 configure-stage1-gas:
10040 @$(MAKE) stage1-start
10041 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10042 r=`${PWD_COMMAND}`; export r; \
10043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10044 $(HOST_EXPORTS) \
10045 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10046 cd $(HOST_SUBDIR)/gas || exit 1; \
10047 case $(srcdir) in \
10048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10049 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10051 esac; \
10052 srcdiroption="--srcdir=$${topdir}/gas"; \
10053 libsrcdir="$$s/gas"; \
10054 $(SHELL) $${libsrcdir}/configure \
10055 $(HOST_CONFIGARGS) $${srcdiroption} \
10056 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10057 @endif gas-bootstrap
10059 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10060 maybe-configure-stage2-gas:
10061 @if gas-bootstrap
10062 maybe-configure-stage2-gas: configure-stage2-gas
10063 configure-stage2-gas:
10064 @$(MAKE) stage2-start
10065 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10066 r=`${PWD_COMMAND}`; export r; \
10067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10068 $(HOST_EXPORTS) \
10069 $(POSTSTAGE1_HOST_EXPORTS) \
10070 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
10071 cd $(HOST_SUBDIR)/gas || exit 1; \
10072 case $(srcdir) in \
10073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10074 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10076 esac; \
10077 srcdiroption="--srcdir=$${topdir}/gas"; \
10078 libsrcdir="$$s/gas"; \
10079 $(SHELL) $${libsrcdir}/configure \
10080 $(HOST_CONFIGARGS) $${srcdiroption} \
10081 @stage2_werror_flag@
10082 @endif gas-bootstrap
10084 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10085 maybe-configure-stage3-gas:
10086 @if gas-bootstrap
10087 maybe-configure-stage3-gas: configure-stage3-gas
10088 configure-stage3-gas:
10089 @$(MAKE) stage3-start
10090 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10091 r=`${PWD_COMMAND}`; export r; \
10092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10093 $(HOST_EXPORTS) \
10094 $(POSTSTAGE1_HOST_EXPORTS) \
10095 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10096 cd $(HOST_SUBDIR)/gas || exit 1; \
10097 case $(srcdir) in \
10098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10099 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10101 esac; \
10102 srcdiroption="--srcdir=$${topdir}/gas"; \
10103 libsrcdir="$$s/gas"; \
10104 $(SHELL) $${libsrcdir}/configure \
10105 $(HOST_CONFIGARGS) $${srcdiroption} \
10106 @stage2_werror_flag@
10107 @endif gas-bootstrap
10109 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10110 maybe-configure-stage4-gas:
10111 @if gas-bootstrap
10112 maybe-configure-stage4-gas: configure-stage4-gas
10113 configure-stage4-gas:
10114 @$(MAKE) stage4-start
10115 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10116 r=`${PWD_COMMAND}`; export r; \
10117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10118 $(HOST_EXPORTS) \
10119 $(POSTSTAGE1_HOST_EXPORTS) \
10120 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10121 cd $(HOST_SUBDIR)/gas || exit 1; \
10122 case $(srcdir) in \
10123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10124 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10126 esac; \
10127 srcdiroption="--srcdir=$${topdir}/gas"; \
10128 libsrcdir="$$s/gas"; \
10129 $(SHELL) $${libsrcdir}/configure \
10130 $(HOST_CONFIGARGS) $${srcdiroption} \
10131 @stage2_werror_flag@
10132 @endif gas-bootstrap
10134 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10135 maybe-configure-stageprofile-gas:
10136 @if gas-bootstrap
10137 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10138 configure-stageprofile-gas:
10139 @$(MAKE) stageprofile-start
10140 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10141 r=`${PWD_COMMAND}`; export r; \
10142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10143 $(HOST_EXPORTS) \
10144 $(POSTSTAGE1_HOST_EXPORTS) \
10145 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10146 cd $(HOST_SUBDIR)/gas || exit 1; \
10147 case $(srcdir) in \
10148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10149 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10151 esac; \
10152 srcdiroption="--srcdir=$${topdir}/gas"; \
10153 libsrcdir="$$s/gas"; \
10154 $(SHELL) $${libsrcdir}/configure \
10155 $(HOST_CONFIGARGS) $${srcdiroption} \
10156 @stage2_werror_flag@
10157 @endif gas-bootstrap
10159 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10160 maybe-configure-stagefeedback-gas:
10161 @if gas-bootstrap
10162 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10163 configure-stagefeedback-gas:
10164 @$(MAKE) stagefeedback-start
10165 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10166 r=`${PWD_COMMAND}`; export r; \
10167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10168 $(HOST_EXPORTS) \
10169 $(POSTSTAGE1_HOST_EXPORTS) \
10170 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10171 cd $(HOST_SUBDIR)/gas || exit 1; \
10172 case $(srcdir) in \
10173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10174 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10176 esac; \
10177 srcdiroption="--srcdir=$${topdir}/gas"; \
10178 libsrcdir="$$s/gas"; \
10179 $(SHELL) $${libsrcdir}/configure \
10180 $(HOST_CONFIGARGS) $${srcdiroption} \
10181 @stage2_werror_flag@
10182 @endif gas-bootstrap
10188 .PHONY: all-gas maybe-all-gas
10189 maybe-all-gas:
10190 @if gas
10191 TARGET-gas=all
10192 maybe-all-gas: all-gas
10193 all-gas: configure-gas
10194 @test -f stage_last && exit 0; \
10195 r=`${PWD_COMMAND}`; export r; \
10196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10197 $(HOST_EXPORTS) \
10198 (cd $(HOST_SUBDIR)/gas && \
10199 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10200 @endif gas
10204 .PHONY: all-stage1-gas maybe-all-stage1-gas
10205 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10206 maybe-all-stage1-gas:
10207 maybe-clean-stage1-gas:
10208 @if gas-bootstrap
10209 maybe-all-stage1-gas: all-stage1-gas
10210 all-stage1: all-stage1-gas
10211 all-stage1-gas: configure-stage1-gas
10212 @$(MAKE) stage1-start
10213 @r=`${PWD_COMMAND}`; export r; \
10214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10215 $(HOST_EXPORTS) \
10216 cd $(HOST_SUBDIR)/gas && \
10217 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
10219 maybe-clean-stage1-gas: clean-stage1-gas
10220 clean-stage1: clean-stage1-gas
10221 clean-stage1-gas:
10222 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10223 || exit 0 ; \
10224 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage1-start ; \
10225 cd $(HOST_SUBDIR)/gas && \
10226 $(MAKE) $(FLAGS_TO_PASS) \
10227 CFLAGS="$(STAGE1_CFLAGS)" clean
10228 @endif gas-bootstrap
10231 .PHONY: all-stage2-gas maybe-all-stage2-gas
10232 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10233 maybe-all-stage2-gas:
10234 maybe-clean-stage2-gas:
10235 @if gas-bootstrap
10236 maybe-all-stage2-gas: all-stage2-gas
10237 all-stage2: all-stage2-gas
10238 all-stage2-gas: configure-stage2-gas
10239 @$(MAKE) stage2-start
10240 @r=`${PWD_COMMAND}`; export r; \
10241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10242 $(HOST_EXPORTS) \
10243 $(POSTSTAGE1_HOST_EXPORTS) \
10244 cd $(HOST_SUBDIR)/gas && \
10245 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
10247 maybe-clean-stage2-gas: clean-stage2-gas
10248 clean-stage2: clean-stage2-gas
10249 clean-stage2-gas:
10250 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10251 || exit 0 ; \
10252 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage2-start ; \
10253 cd $(HOST_SUBDIR)/gas && \
10254 $(MAKE) $(FLAGS_TO_PASS) \
10255 $(POSTSTAGE1_FLAGS_TO_PASS) \
10256 clean
10257 @endif gas-bootstrap
10260 .PHONY: all-stage3-gas maybe-all-stage3-gas
10261 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10262 maybe-all-stage3-gas:
10263 maybe-clean-stage3-gas:
10264 @if gas-bootstrap
10265 maybe-all-stage3-gas: all-stage3-gas
10266 all-stage3: all-stage3-gas
10267 all-stage3-gas: configure-stage3-gas
10268 @$(MAKE) stage3-start
10269 @r=`${PWD_COMMAND}`; export r; \
10270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10271 $(HOST_EXPORTS) \
10272 $(POSTSTAGE1_HOST_EXPORTS) \
10273 cd $(HOST_SUBDIR)/gas && \
10274 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
10276 maybe-clean-stage3-gas: clean-stage3-gas
10277 clean-stage3: clean-stage3-gas
10278 clean-stage3-gas:
10279 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10280 || exit 0 ; \
10281 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage3-start ; \
10282 cd $(HOST_SUBDIR)/gas && \
10283 $(MAKE) $(FLAGS_TO_PASS) \
10284 $(POSTSTAGE1_FLAGS_TO_PASS) \
10285 clean
10286 @endif gas-bootstrap
10289 .PHONY: all-stage4-gas maybe-all-stage4-gas
10290 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10291 maybe-all-stage4-gas:
10292 maybe-clean-stage4-gas:
10293 @if gas-bootstrap
10294 maybe-all-stage4-gas: all-stage4-gas
10295 all-stage4: all-stage4-gas
10296 all-stage4-gas: configure-stage4-gas
10297 @$(MAKE) stage4-start
10298 @r=`${PWD_COMMAND}`; export r; \
10299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10300 $(HOST_EXPORTS) \
10301 $(POSTSTAGE1_HOST_EXPORTS) \
10302 cd $(HOST_SUBDIR)/gas && \
10303 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
10305 maybe-clean-stage4-gas: clean-stage4-gas
10306 clean-stage4: clean-stage4-gas
10307 clean-stage4-gas:
10308 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10309 || exit 0 ; \
10310 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage4-start ; \
10311 cd $(HOST_SUBDIR)/gas && \
10312 $(MAKE) $(FLAGS_TO_PASS) \
10313 $(POSTSTAGE1_FLAGS_TO_PASS) \
10314 clean
10315 @endif gas-bootstrap
10318 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10319 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10320 maybe-all-stageprofile-gas:
10321 maybe-clean-stageprofile-gas:
10322 @if gas-bootstrap
10323 maybe-all-stageprofile-gas: all-stageprofile-gas
10324 all-stageprofile: all-stageprofile-gas
10325 all-stageprofile-gas: configure-stageprofile-gas
10326 @$(MAKE) stageprofile-start
10327 @r=`${PWD_COMMAND}`; export r; \
10328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10329 $(HOST_EXPORTS) \
10330 $(POSTSTAGE1_HOST_EXPORTS) \
10331 cd $(HOST_SUBDIR)/gas && \
10332 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
10334 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10335 clean-stageprofile: clean-stageprofile-gas
10336 clean-stageprofile-gas:
10337 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10338 || exit 0 ; \
10339 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stageprofile-start ; \
10340 cd $(HOST_SUBDIR)/gas && \
10341 $(MAKE) $(FLAGS_TO_PASS) \
10342 $(POSTSTAGE1_FLAGS_TO_PASS) \
10343 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10344 @endif gas-bootstrap
10347 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10348 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10349 maybe-all-stagefeedback-gas:
10350 maybe-clean-stagefeedback-gas:
10351 @if gas-bootstrap
10352 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10353 all-stagefeedback: all-stagefeedback-gas
10354 all-stagefeedback-gas: configure-stagefeedback-gas
10355 @$(MAKE) stagefeedback-start
10356 @r=`${PWD_COMMAND}`; export r; \
10357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10358 $(HOST_EXPORTS) \
10359 $(POSTSTAGE1_HOST_EXPORTS) \
10360 cd $(HOST_SUBDIR)/gas && \
10361 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
10363 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10364 clean-stagefeedback: clean-stagefeedback-gas
10365 clean-stagefeedback-gas:
10366 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10367 || exit 0 ; \
10368 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stagefeedback-start ; \
10369 cd $(HOST_SUBDIR)/gas && \
10370 $(MAKE) $(FLAGS_TO_PASS) \
10371 $(POSTSTAGE1_FLAGS_TO_PASS) \
10372 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10373 @endif gas-bootstrap
10379 .PHONY: check-gas maybe-check-gas
10380 maybe-check-gas:
10381 @if gas
10382 maybe-check-gas: check-gas
10384 check-gas:
10385 @r=`${PWD_COMMAND}`; export r; \
10386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10387 $(HOST_EXPORTS) \
10388 (cd $(HOST_SUBDIR)/gas && \
10389 $(MAKE) $(FLAGS_TO_PASS) check)
10391 @endif gas
10393 .PHONY: install-gas maybe-install-gas
10394 maybe-install-gas:
10395 @if gas
10396 maybe-install-gas: install-gas
10398 install-gas: installdirs
10399 @r=`${PWD_COMMAND}`; export r; \
10400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10401 $(HOST_EXPORTS) \
10402 (cd $(HOST_SUBDIR)/gas && \
10403 $(MAKE) $(FLAGS_TO_PASS) install)
10405 @endif gas
10407 # Other targets (info, dvi, etc.)
10409 .PHONY: maybe-info-gas info-gas
10410 maybe-info-gas:
10411 @if gas
10412 maybe-info-gas: info-gas
10414 info-gas: \
10415 configure-gas
10416 @[ -f ./gas/Makefile ] || exit 0; \
10417 r=`${PWD_COMMAND}`; export r; \
10418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10419 $(HOST_EXPORTS) \
10420 for flag in $(EXTRA_HOST_FLAGS) ; do \
10421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10422 done; \
10423 echo "Doing info in gas" ; \
10424 (cd $(HOST_SUBDIR)/gas && \
10425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10427 "RANLIB=$${RANLIB}" \
10428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10429 info) \
10430 || exit 1
10432 @endif gas
10434 .PHONY: maybe-dvi-gas dvi-gas
10435 maybe-dvi-gas:
10436 @if gas
10437 maybe-dvi-gas: dvi-gas
10439 dvi-gas: \
10440 configure-gas
10441 @[ -f ./gas/Makefile ] || exit 0; \
10442 r=`${PWD_COMMAND}`; export r; \
10443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10444 $(HOST_EXPORTS) \
10445 for flag in $(EXTRA_HOST_FLAGS) ; do \
10446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10447 done; \
10448 echo "Doing dvi in gas" ; \
10449 (cd $(HOST_SUBDIR)/gas && \
10450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10452 "RANLIB=$${RANLIB}" \
10453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10454 dvi) \
10455 || exit 1
10457 @endif gas
10459 .PHONY: maybe-html-gas html-gas
10460 maybe-html-gas:
10461 @if gas
10462 maybe-html-gas: html-gas
10464 html-gas: \
10465 configure-gas
10466 @[ -f ./gas/Makefile ] || exit 0; \
10467 r=`${PWD_COMMAND}`; export r; \
10468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10469 $(HOST_EXPORTS) \
10470 for flag in $(EXTRA_HOST_FLAGS) ; do \
10471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10472 done; \
10473 echo "Doing html in gas" ; \
10474 (cd $(HOST_SUBDIR)/gas && \
10475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10477 "RANLIB=$${RANLIB}" \
10478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10479 html) \
10480 || exit 1
10482 @endif gas
10484 .PHONY: maybe-TAGS-gas TAGS-gas
10485 maybe-TAGS-gas:
10486 @if gas
10487 maybe-TAGS-gas: TAGS-gas
10489 TAGS-gas: \
10490 configure-gas
10491 @[ -f ./gas/Makefile ] || exit 0; \
10492 r=`${PWD_COMMAND}`; export r; \
10493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10494 $(HOST_EXPORTS) \
10495 for flag in $(EXTRA_HOST_FLAGS) ; do \
10496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10497 done; \
10498 echo "Doing TAGS in gas" ; \
10499 (cd $(HOST_SUBDIR)/gas && \
10500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10502 "RANLIB=$${RANLIB}" \
10503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10504 TAGS) \
10505 || exit 1
10507 @endif gas
10509 .PHONY: maybe-install-info-gas install-info-gas
10510 maybe-install-info-gas:
10511 @if gas
10512 maybe-install-info-gas: install-info-gas
10514 install-info-gas: \
10515 configure-gas \
10516 info-gas
10517 @[ -f ./gas/Makefile ] || exit 0; \
10518 r=`${PWD_COMMAND}`; export r; \
10519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10520 $(HOST_EXPORTS) \
10521 for flag in $(EXTRA_HOST_FLAGS) ; do \
10522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10523 done; \
10524 echo "Doing install-info in gas" ; \
10525 (cd $(HOST_SUBDIR)/gas && \
10526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10528 "RANLIB=$${RANLIB}" \
10529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10530 install-info) \
10531 || exit 1
10533 @endif gas
10535 .PHONY: maybe-installcheck-gas installcheck-gas
10536 maybe-installcheck-gas:
10537 @if gas
10538 maybe-installcheck-gas: installcheck-gas
10540 installcheck-gas: \
10541 configure-gas
10542 @[ -f ./gas/Makefile ] || exit 0; \
10543 r=`${PWD_COMMAND}`; export r; \
10544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10545 $(HOST_EXPORTS) \
10546 for flag in $(EXTRA_HOST_FLAGS) ; do \
10547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10548 done; \
10549 echo "Doing installcheck in gas" ; \
10550 (cd $(HOST_SUBDIR)/gas && \
10551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10553 "RANLIB=$${RANLIB}" \
10554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10555 installcheck) \
10556 || exit 1
10558 @endif gas
10560 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10561 maybe-mostlyclean-gas:
10562 @if gas
10563 maybe-mostlyclean-gas: mostlyclean-gas
10565 mostlyclean-gas:
10566 @[ -f ./gas/Makefile ] || exit 0; \
10567 r=`${PWD_COMMAND}`; export r; \
10568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10569 $(HOST_EXPORTS) \
10570 for flag in $(EXTRA_HOST_FLAGS) ; do \
10571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10572 done; \
10573 echo "Doing mostlyclean in gas" ; \
10574 (cd $(HOST_SUBDIR)/gas && \
10575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10577 "RANLIB=$${RANLIB}" \
10578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10579 mostlyclean) \
10580 || exit 1
10582 @endif gas
10584 .PHONY: maybe-clean-gas clean-gas
10585 maybe-clean-gas:
10586 @if gas
10587 maybe-clean-gas: clean-gas
10589 clean-gas:
10590 @[ -f ./gas/Makefile ] || exit 0; \
10591 r=`${PWD_COMMAND}`; export r; \
10592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10593 $(HOST_EXPORTS) \
10594 for flag in $(EXTRA_HOST_FLAGS) ; do \
10595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10596 done; \
10597 echo "Doing clean in gas" ; \
10598 (cd $(HOST_SUBDIR)/gas && \
10599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10601 "RANLIB=$${RANLIB}" \
10602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10603 clean) \
10604 || exit 1
10606 @endif gas
10608 .PHONY: maybe-distclean-gas distclean-gas
10609 maybe-distclean-gas:
10610 @if gas
10611 maybe-distclean-gas: distclean-gas
10613 distclean-gas:
10614 @[ -f ./gas/Makefile ] || exit 0; \
10615 r=`${PWD_COMMAND}`; export r; \
10616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10617 $(HOST_EXPORTS) \
10618 for flag in $(EXTRA_HOST_FLAGS) ; do \
10619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10620 done; \
10621 echo "Doing distclean in gas" ; \
10622 (cd $(HOST_SUBDIR)/gas && \
10623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10625 "RANLIB=$${RANLIB}" \
10626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10627 distclean) \
10628 || exit 1
10630 @endif gas
10632 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10633 maybe-maintainer-clean-gas:
10634 @if gas
10635 maybe-maintainer-clean-gas: maintainer-clean-gas
10637 maintainer-clean-gas:
10638 @[ -f ./gas/Makefile ] || exit 0; \
10639 r=`${PWD_COMMAND}`; export r; \
10640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10641 $(HOST_EXPORTS) \
10642 for flag in $(EXTRA_HOST_FLAGS) ; do \
10643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10644 done; \
10645 echo "Doing maintainer-clean in gas" ; \
10646 (cd $(HOST_SUBDIR)/gas && \
10647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10649 "RANLIB=$${RANLIB}" \
10650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10651 maintainer-clean) \
10652 || exit 1
10654 @endif gas
10658 .PHONY: configure-gcc maybe-configure-gcc
10659 maybe-configure-gcc:
10660 @if gcc
10661 maybe-configure-gcc: configure-gcc
10662 configure-gcc:
10663 @test -f stage_last && exit 0; \
10664 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10665 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10666 r=`${PWD_COMMAND}`; export r; \
10667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10668 $(HOST_EXPORTS) \
10669 echo Configuring in $(HOST_SUBDIR)/gcc; \
10670 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10671 case $(srcdir) in \
10672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10673 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10675 esac; \
10676 srcdiroption="--srcdir=$${topdir}/gcc"; \
10677 libsrcdir="$$s/gcc"; \
10678 $(SHELL) $${libsrcdir}/configure \
10679 $(HOST_CONFIGARGS) $${srcdiroption} \
10680 || exit 1
10681 @endif gcc
10685 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10686 maybe-configure-stage1-gcc:
10687 @if gcc-bootstrap
10688 maybe-configure-stage1-gcc: configure-stage1-gcc
10689 configure-stage1-gcc:
10690 @$(MAKE) stage1-start
10691 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10692 r=`${PWD_COMMAND}`; export r; \
10693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10694 $(HOST_EXPORTS) \
10695 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10696 cd $(HOST_SUBDIR)/gcc || exit 1; \
10697 case $(srcdir) in \
10698 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10699 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10700 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10701 esac; \
10702 srcdiroption="--srcdir=$${topdir}/gcc"; \
10703 libsrcdir="$$s/gcc"; \
10704 $(SHELL) $${libsrcdir}/configure \
10705 $(HOST_CONFIGARGS) $${srcdiroption} \
10706 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10707 @endif gcc-bootstrap
10709 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10710 maybe-configure-stage2-gcc:
10711 @if gcc-bootstrap
10712 maybe-configure-stage2-gcc: configure-stage2-gcc
10713 configure-stage2-gcc:
10714 @$(MAKE) stage2-start
10715 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10716 r=`${PWD_COMMAND}`; export r; \
10717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10718 $(HOST_EXPORTS) \
10719 $(POSTSTAGE1_HOST_EXPORTS) \
10720 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10721 cd $(HOST_SUBDIR)/gcc || exit 1; \
10722 case $(srcdir) in \
10723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10724 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10726 esac; \
10727 srcdiroption="--srcdir=$${topdir}/gcc"; \
10728 libsrcdir="$$s/gcc"; \
10729 $(SHELL) $${libsrcdir}/configure \
10730 $(HOST_CONFIGARGS) $${srcdiroption} \
10731 @stage2_werror_flag@
10732 @endif gcc-bootstrap
10734 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10735 maybe-configure-stage3-gcc:
10736 @if gcc-bootstrap
10737 maybe-configure-stage3-gcc: configure-stage3-gcc
10738 configure-stage3-gcc:
10739 @$(MAKE) stage3-start
10740 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10741 r=`${PWD_COMMAND}`; export r; \
10742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10743 $(HOST_EXPORTS) \
10744 $(POSTSTAGE1_HOST_EXPORTS) \
10745 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10746 cd $(HOST_SUBDIR)/gcc || exit 1; \
10747 case $(srcdir) in \
10748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10749 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10751 esac; \
10752 srcdiroption="--srcdir=$${topdir}/gcc"; \
10753 libsrcdir="$$s/gcc"; \
10754 $(SHELL) $${libsrcdir}/configure \
10755 $(HOST_CONFIGARGS) $${srcdiroption} \
10756 @stage2_werror_flag@
10757 @endif gcc-bootstrap
10759 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10760 maybe-configure-stage4-gcc:
10761 @if gcc-bootstrap
10762 maybe-configure-stage4-gcc: configure-stage4-gcc
10763 configure-stage4-gcc:
10764 @$(MAKE) stage4-start
10765 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10766 r=`${PWD_COMMAND}`; export r; \
10767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10768 $(HOST_EXPORTS) \
10769 $(POSTSTAGE1_HOST_EXPORTS) \
10770 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10771 cd $(HOST_SUBDIR)/gcc || exit 1; \
10772 case $(srcdir) in \
10773 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10774 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10775 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10776 esac; \
10777 srcdiroption="--srcdir=$${topdir}/gcc"; \
10778 libsrcdir="$$s/gcc"; \
10779 $(SHELL) $${libsrcdir}/configure \
10780 $(HOST_CONFIGARGS) $${srcdiroption} \
10781 @stage2_werror_flag@
10782 @endif gcc-bootstrap
10784 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10785 maybe-configure-stageprofile-gcc:
10786 @if gcc-bootstrap
10787 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10788 configure-stageprofile-gcc:
10789 @$(MAKE) stageprofile-start
10790 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10791 r=`${PWD_COMMAND}`; export r; \
10792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10793 $(HOST_EXPORTS) \
10794 $(POSTSTAGE1_HOST_EXPORTS) \
10795 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10796 cd $(HOST_SUBDIR)/gcc || exit 1; \
10797 case $(srcdir) in \
10798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10799 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10801 esac; \
10802 srcdiroption="--srcdir=$${topdir}/gcc"; \
10803 libsrcdir="$$s/gcc"; \
10804 $(SHELL) $${libsrcdir}/configure \
10805 $(HOST_CONFIGARGS) $${srcdiroption} \
10806 @stage2_werror_flag@
10807 @endif gcc-bootstrap
10809 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
10810 maybe-configure-stagefeedback-gcc:
10811 @if gcc-bootstrap
10812 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
10813 configure-stagefeedback-gcc:
10814 @$(MAKE) stagefeedback-start
10815 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10816 r=`${PWD_COMMAND}`; export r; \
10817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10818 $(HOST_EXPORTS) \
10819 $(POSTSTAGE1_HOST_EXPORTS) \
10820 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
10821 cd $(HOST_SUBDIR)/gcc || exit 1; \
10822 case $(srcdir) in \
10823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10824 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10826 esac; \
10827 srcdiroption="--srcdir=$${topdir}/gcc"; \
10828 libsrcdir="$$s/gcc"; \
10829 $(SHELL) $${libsrcdir}/configure \
10830 $(HOST_CONFIGARGS) $${srcdiroption} \
10831 @stage2_werror_flag@
10832 @endif gcc-bootstrap
10838 .PHONY: all-gcc maybe-all-gcc
10839 maybe-all-gcc:
10840 @if gcc
10841 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
10842 maybe-all-gcc: all-gcc
10843 all-gcc: configure-gcc
10844 @test -f stage_last && exit 0; \
10845 r=`${PWD_COMMAND}`; export r; \
10846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10847 $(HOST_EXPORTS) \
10848 (cd $(HOST_SUBDIR)/gcc && \
10849 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
10850 @endif gcc
10854 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
10855 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
10856 maybe-all-stage1-gcc:
10857 maybe-clean-stage1-gcc:
10858 @if gcc-bootstrap
10859 maybe-all-stage1-gcc: all-stage1-gcc
10860 all-stage1: all-stage1-gcc
10861 all-stage1-gcc: configure-stage1-gcc
10862 @$(MAKE) stage1-start
10863 @r=`${PWD_COMMAND}`; export r; \
10864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10865 $(HOST_EXPORTS) \
10866 cd $(HOST_SUBDIR)/gcc && \
10867 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
10869 maybe-clean-stage1-gcc: clean-stage1-gcc
10870 clean-stage1: clean-stage1-gcc
10871 clean-stage1-gcc:
10872 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
10873 || exit 0 ; \
10874 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage1-start ; \
10875 cd $(HOST_SUBDIR)/gcc && \
10876 $(MAKE) $(FLAGS_TO_PASS) \
10877 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
10878 @endif gcc-bootstrap
10881 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
10882 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
10883 maybe-all-stage2-gcc:
10884 maybe-clean-stage2-gcc:
10885 @if gcc-bootstrap
10886 maybe-all-stage2-gcc: all-stage2-gcc
10887 all-stage2: all-stage2-gcc
10888 all-stage2-gcc: configure-stage2-gcc
10889 @$(MAKE) stage2-start
10890 @r=`${PWD_COMMAND}`; export r; \
10891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10892 $(HOST_EXPORTS) \
10893 $(POSTSTAGE1_HOST_EXPORTS) \
10894 cd $(HOST_SUBDIR)/gcc && \
10895 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
10897 maybe-clean-stage2-gcc: clean-stage2-gcc
10898 clean-stage2: clean-stage2-gcc
10899 clean-stage2-gcc:
10900 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
10901 || exit 0 ; \
10902 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage2-start ; \
10903 cd $(HOST_SUBDIR)/gcc && \
10904 $(MAKE) $(FLAGS_TO_PASS) \
10905 $(POSTSTAGE1_FLAGS_TO_PASS) \
10906 $(EXTRA_GCC_FLAGS) clean
10907 @endif gcc-bootstrap
10910 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
10911 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
10912 maybe-all-stage3-gcc:
10913 maybe-clean-stage3-gcc:
10914 @if gcc-bootstrap
10915 maybe-all-stage3-gcc: all-stage3-gcc
10916 all-stage3: all-stage3-gcc
10917 all-stage3-gcc: configure-stage3-gcc
10918 @$(MAKE) stage3-start
10919 @r=`${PWD_COMMAND}`; export r; \
10920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10921 $(HOST_EXPORTS) \
10922 $(POSTSTAGE1_HOST_EXPORTS) \
10923 cd $(HOST_SUBDIR)/gcc && \
10924 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
10926 maybe-clean-stage3-gcc: clean-stage3-gcc
10927 clean-stage3: clean-stage3-gcc
10928 clean-stage3-gcc:
10929 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
10930 || exit 0 ; \
10931 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage3-start ; \
10932 cd $(HOST_SUBDIR)/gcc && \
10933 $(MAKE) $(FLAGS_TO_PASS) \
10934 $(POSTSTAGE1_FLAGS_TO_PASS) \
10935 $(EXTRA_GCC_FLAGS) clean
10936 @endif gcc-bootstrap
10939 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
10940 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
10941 maybe-all-stage4-gcc:
10942 maybe-clean-stage4-gcc:
10943 @if gcc-bootstrap
10944 maybe-all-stage4-gcc: all-stage4-gcc
10945 all-stage4: all-stage4-gcc
10946 all-stage4-gcc: configure-stage4-gcc
10947 @$(MAKE) stage4-start
10948 @r=`${PWD_COMMAND}`; export r; \
10949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10950 $(HOST_EXPORTS) \
10951 $(POSTSTAGE1_HOST_EXPORTS) \
10952 cd $(HOST_SUBDIR)/gcc && \
10953 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
10955 maybe-clean-stage4-gcc: clean-stage4-gcc
10956 clean-stage4: clean-stage4-gcc
10957 clean-stage4-gcc:
10958 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
10959 || exit 0 ; \
10960 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage4-start ; \
10961 cd $(HOST_SUBDIR)/gcc && \
10962 $(MAKE) $(FLAGS_TO_PASS) \
10963 $(POSTSTAGE1_FLAGS_TO_PASS) \
10964 $(EXTRA_GCC_FLAGS) clean
10965 @endif gcc-bootstrap
10968 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
10969 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
10970 maybe-all-stageprofile-gcc:
10971 maybe-clean-stageprofile-gcc:
10972 @if gcc-bootstrap
10973 maybe-all-stageprofile-gcc: all-stageprofile-gcc
10974 all-stageprofile: all-stageprofile-gcc
10975 all-stageprofile-gcc: configure-stageprofile-gcc
10976 @$(MAKE) stageprofile-start
10977 @r=`${PWD_COMMAND}`; export r; \
10978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10979 $(HOST_EXPORTS) \
10980 $(POSTSTAGE1_HOST_EXPORTS) \
10981 cd $(HOST_SUBDIR)/gcc && \
10982 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
10984 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
10985 clean-stageprofile: clean-stageprofile-gcc
10986 clean-stageprofile-gcc:
10987 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
10988 || exit 0 ; \
10989 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stageprofile-start ; \
10990 cd $(HOST_SUBDIR)/gcc && \
10991 $(MAKE) $(FLAGS_TO_PASS) \
10992 $(POSTSTAGE1_FLAGS_TO_PASS) \
10993 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
10994 @endif gcc-bootstrap
10997 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
10998 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
10999 maybe-all-stagefeedback-gcc:
11000 maybe-clean-stagefeedback-gcc:
11001 @if gcc-bootstrap
11002 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11003 all-stagefeedback: all-stagefeedback-gcc
11004 all-stagefeedback-gcc: configure-stagefeedback-gcc
11005 @$(MAKE) stagefeedback-start
11006 @r=`${PWD_COMMAND}`; export r; \
11007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11008 $(HOST_EXPORTS) \
11009 $(POSTSTAGE1_HOST_EXPORTS) \
11010 cd $(HOST_SUBDIR)/gcc && \
11011 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
11013 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11014 clean-stagefeedback: clean-stagefeedback-gcc
11015 clean-stagefeedback-gcc:
11016 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
11017 || exit 0 ; \
11018 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
11019 cd $(HOST_SUBDIR)/gcc && \
11020 $(MAKE) $(FLAGS_TO_PASS) \
11021 $(POSTSTAGE1_FLAGS_TO_PASS) \
11022 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
11023 @endif gcc-bootstrap
11029 .PHONY: check-gcc maybe-check-gcc
11030 maybe-check-gcc:
11031 @if gcc
11032 maybe-check-gcc: check-gcc
11034 check-gcc:
11035 @r=`${PWD_COMMAND}`; export r; \
11036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11037 $(HOST_EXPORTS) \
11038 (cd $(HOST_SUBDIR)/gcc && \
11039 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
11041 @endif gcc
11043 .PHONY: install-gcc maybe-install-gcc
11044 maybe-install-gcc:
11045 @if gcc
11046 maybe-install-gcc: install-gcc
11048 install-gcc: installdirs
11049 @r=`${PWD_COMMAND}`; export r; \
11050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11051 $(HOST_EXPORTS) \
11052 (cd $(HOST_SUBDIR)/gcc && \
11053 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11055 @endif gcc
11057 # Other targets (info, dvi, etc.)
11059 .PHONY: maybe-info-gcc info-gcc
11060 maybe-info-gcc:
11061 @if gcc
11062 maybe-info-gcc: info-gcc
11064 info-gcc: \
11065 configure-gcc
11066 @[ -f ./gcc/Makefile ] || exit 0; \
11067 r=`${PWD_COMMAND}`; export r; \
11068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11069 $(HOST_EXPORTS) \
11070 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11072 done; \
11073 echo "Doing info in gcc" ; \
11074 (cd $(HOST_SUBDIR)/gcc && \
11075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11077 "RANLIB=$${RANLIB}" \
11078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11079 info) \
11080 || exit 1
11082 @endif gcc
11084 .PHONY: maybe-dvi-gcc dvi-gcc
11085 maybe-dvi-gcc:
11086 @if gcc
11087 maybe-dvi-gcc: dvi-gcc
11089 dvi-gcc: \
11090 configure-gcc
11091 @[ -f ./gcc/Makefile ] || exit 0; \
11092 r=`${PWD_COMMAND}`; export r; \
11093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11094 $(HOST_EXPORTS) \
11095 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11097 done; \
11098 echo "Doing dvi in gcc" ; \
11099 (cd $(HOST_SUBDIR)/gcc && \
11100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11102 "RANLIB=$${RANLIB}" \
11103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11104 dvi) \
11105 || exit 1
11107 @endif gcc
11109 .PHONY: maybe-html-gcc html-gcc
11110 maybe-html-gcc:
11111 @if gcc
11112 maybe-html-gcc: html-gcc
11114 html-gcc: \
11115 configure-gcc
11116 @[ -f ./gcc/Makefile ] || exit 0; \
11117 r=`${PWD_COMMAND}`; export r; \
11118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11119 $(HOST_EXPORTS) \
11120 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11122 done; \
11123 echo "Doing html in gcc" ; \
11124 (cd $(HOST_SUBDIR)/gcc && \
11125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11127 "RANLIB=$${RANLIB}" \
11128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11129 html) \
11130 || exit 1
11132 @endif gcc
11134 .PHONY: maybe-TAGS-gcc TAGS-gcc
11135 maybe-TAGS-gcc:
11136 @if gcc
11137 maybe-TAGS-gcc: TAGS-gcc
11139 TAGS-gcc: \
11140 configure-gcc
11141 @[ -f ./gcc/Makefile ] || exit 0; \
11142 r=`${PWD_COMMAND}`; export r; \
11143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11144 $(HOST_EXPORTS) \
11145 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11147 done; \
11148 echo "Doing TAGS in gcc" ; \
11149 (cd $(HOST_SUBDIR)/gcc && \
11150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11152 "RANLIB=$${RANLIB}" \
11153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11154 TAGS) \
11155 || exit 1
11157 @endif gcc
11159 .PHONY: maybe-install-info-gcc install-info-gcc
11160 maybe-install-info-gcc:
11161 @if gcc
11162 maybe-install-info-gcc: install-info-gcc
11164 install-info-gcc: \
11165 configure-gcc \
11166 info-gcc
11167 @[ -f ./gcc/Makefile ] || exit 0; \
11168 r=`${PWD_COMMAND}`; export r; \
11169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11170 $(HOST_EXPORTS) \
11171 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11173 done; \
11174 echo "Doing install-info in gcc" ; \
11175 (cd $(HOST_SUBDIR)/gcc && \
11176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11178 "RANLIB=$${RANLIB}" \
11179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11180 install-info) \
11181 || exit 1
11183 @endif gcc
11185 .PHONY: maybe-installcheck-gcc installcheck-gcc
11186 maybe-installcheck-gcc:
11187 @if gcc
11188 maybe-installcheck-gcc: installcheck-gcc
11190 installcheck-gcc: \
11191 configure-gcc
11192 @[ -f ./gcc/Makefile ] || exit 0; \
11193 r=`${PWD_COMMAND}`; export r; \
11194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11195 $(HOST_EXPORTS) \
11196 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11198 done; \
11199 echo "Doing installcheck in gcc" ; \
11200 (cd $(HOST_SUBDIR)/gcc && \
11201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11203 "RANLIB=$${RANLIB}" \
11204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11205 installcheck) \
11206 || exit 1
11208 @endif gcc
11210 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11211 maybe-mostlyclean-gcc:
11212 @if gcc
11213 maybe-mostlyclean-gcc: mostlyclean-gcc
11215 mostlyclean-gcc:
11216 @[ -f ./gcc/Makefile ] || exit 0; \
11217 r=`${PWD_COMMAND}`; export r; \
11218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11219 $(HOST_EXPORTS) \
11220 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11222 done; \
11223 echo "Doing mostlyclean in gcc" ; \
11224 (cd $(HOST_SUBDIR)/gcc && \
11225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11227 "RANLIB=$${RANLIB}" \
11228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11229 mostlyclean) \
11230 || exit 1
11232 @endif gcc
11234 .PHONY: maybe-clean-gcc clean-gcc
11235 maybe-clean-gcc:
11236 @if gcc
11237 maybe-clean-gcc: clean-gcc
11239 clean-gcc:
11240 @[ -f ./gcc/Makefile ] || exit 0; \
11241 r=`${PWD_COMMAND}`; export r; \
11242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11243 $(HOST_EXPORTS) \
11244 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11246 done; \
11247 echo "Doing clean in gcc" ; \
11248 (cd $(HOST_SUBDIR)/gcc && \
11249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11251 "RANLIB=$${RANLIB}" \
11252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11253 clean) \
11254 || exit 1
11256 @endif gcc
11258 .PHONY: maybe-distclean-gcc distclean-gcc
11259 maybe-distclean-gcc:
11260 @if gcc
11261 maybe-distclean-gcc: distclean-gcc
11263 distclean-gcc:
11264 @[ -f ./gcc/Makefile ] || exit 0; \
11265 r=`${PWD_COMMAND}`; export r; \
11266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11267 $(HOST_EXPORTS) \
11268 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11270 done; \
11271 echo "Doing distclean in gcc" ; \
11272 (cd $(HOST_SUBDIR)/gcc && \
11273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11275 "RANLIB=$${RANLIB}" \
11276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11277 distclean) \
11278 || exit 1
11280 @endif gcc
11282 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11283 maybe-maintainer-clean-gcc:
11284 @if gcc
11285 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11287 maintainer-clean-gcc:
11288 @[ -f ./gcc/Makefile ] || exit 0; \
11289 r=`${PWD_COMMAND}`; export r; \
11290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11291 $(HOST_EXPORTS) \
11292 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11294 done; \
11295 echo "Doing maintainer-clean in gcc" ; \
11296 (cd $(HOST_SUBDIR)/gcc && \
11297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11299 "RANLIB=$${RANLIB}" \
11300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11301 maintainer-clean) \
11302 || exit 1
11304 @endif gcc
11308 .PHONY: configure-gawk maybe-configure-gawk
11309 maybe-configure-gawk:
11310 @if gawk
11311 maybe-configure-gawk: configure-gawk
11312 configure-gawk:
11313 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11315 r=`${PWD_COMMAND}`; export r; \
11316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11317 $(HOST_EXPORTS) \
11318 echo Configuring in $(HOST_SUBDIR)/gawk; \
11319 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11320 case $(srcdir) in \
11321 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11322 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11323 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11324 esac; \
11325 srcdiroption="--srcdir=$${topdir}/gawk"; \
11326 libsrcdir="$$s/gawk"; \
11327 $(SHELL) $${libsrcdir}/configure \
11328 $(HOST_CONFIGARGS) $${srcdiroption} \
11329 || exit 1
11330 @endif gawk
11336 .PHONY: all-gawk maybe-all-gawk
11337 maybe-all-gawk:
11338 @if gawk
11339 TARGET-gawk=all
11340 maybe-all-gawk: all-gawk
11341 all-gawk: configure-gawk
11342 @r=`${PWD_COMMAND}`; export r; \
11343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11344 $(HOST_EXPORTS) \
11345 (cd $(HOST_SUBDIR)/gawk && \
11346 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11347 @endif gawk
11352 .PHONY: check-gawk maybe-check-gawk
11353 maybe-check-gawk:
11354 @if gawk
11355 maybe-check-gawk: check-gawk
11357 check-gawk:
11358 @r=`${PWD_COMMAND}`; export r; \
11359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11360 $(HOST_EXPORTS) \
11361 (cd $(HOST_SUBDIR)/gawk && \
11362 $(MAKE) $(FLAGS_TO_PASS) check)
11364 @endif gawk
11366 .PHONY: install-gawk maybe-install-gawk
11367 maybe-install-gawk:
11368 @if gawk
11369 maybe-install-gawk: install-gawk
11371 install-gawk: installdirs
11372 @r=`${PWD_COMMAND}`; export r; \
11373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11374 $(HOST_EXPORTS) \
11375 (cd $(HOST_SUBDIR)/gawk && \
11376 $(MAKE) $(FLAGS_TO_PASS) install)
11378 @endif gawk
11380 # Other targets (info, dvi, etc.)
11382 .PHONY: maybe-info-gawk info-gawk
11383 maybe-info-gawk:
11384 @if gawk
11385 maybe-info-gawk: info-gawk
11387 info-gawk: \
11388 configure-gawk
11389 @[ -f ./gawk/Makefile ] || exit 0; \
11390 r=`${PWD_COMMAND}`; export r; \
11391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11392 $(HOST_EXPORTS) \
11393 for flag in $(EXTRA_HOST_FLAGS) ; do \
11394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11395 done; \
11396 echo "Doing info in gawk" ; \
11397 (cd $(HOST_SUBDIR)/gawk && \
11398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11400 "RANLIB=$${RANLIB}" \
11401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11402 info) \
11403 || exit 1
11405 @endif gawk
11407 .PHONY: maybe-dvi-gawk dvi-gawk
11408 maybe-dvi-gawk:
11409 @if gawk
11410 maybe-dvi-gawk: dvi-gawk
11412 dvi-gawk: \
11413 configure-gawk
11414 @[ -f ./gawk/Makefile ] || exit 0; \
11415 r=`${PWD_COMMAND}`; export r; \
11416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11417 $(HOST_EXPORTS) \
11418 for flag in $(EXTRA_HOST_FLAGS) ; do \
11419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11420 done; \
11421 echo "Doing dvi in gawk" ; \
11422 (cd $(HOST_SUBDIR)/gawk && \
11423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11425 "RANLIB=$${RANLIB}" \
11426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11427 dvi) \
11428 || exit 1
11430 @endif gawk
11432 .PHONY: maybe-html-gawk html-gawk
11433 maybe-html-gawk:
11434 @if gawk
11435 maybe-html-gawk: html-gawk
11437 html-gawk: \
11438 configure-gawk
11439 @[ -f ./gawk/Makefile ] || exit 0; \
11440 r=`${PWD_COMMAND}`; export r; \
11441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11442 $(HOST_EXPORTS) \
11443 for flag in $(EXTRA_HOST_FLAGS) ; do \
11444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11445 done; \
11446 echo "Doing html in gawk" ; \
11447 (cd $(HOST_SUBDIR)/gawk && \
11448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11450 "RANLIB=$${RANLIB}" \
11451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11452 html) \
11453 || exit 1
11455 @endif gawk
11457 .PHONY: maybe-TAGS-gawk TAGS-gawk
11458 maybe-TAGS-gawk:
11459 @if gawk
11460 maybe-TAGS-gawk: TAGS-gawk
11462 TAGS-gawk: \
11463 configure-gawk
11464 @[ -f ./gawk/Makefile ] || exit 0; \
11465 r=`${PWD_COMMAND}`; export r; \
11466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11467 $(HOST_EXPORTS) \
11468 for flag in $(EXTRA_HOST_FLAGS) ; do \
11469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11470 done; \
11471 echo "Doing TAGS in gawk" ; \
11472 (cd $(HOST_SUBDIR)/gawk && \
11473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11475 "RANLIB=$${RANLIB}" \
11476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11477 TAGS) \
11478 || exit 1
11480 @endif gawk
11482 .PHONY: maybe-install-info-gawk install-info-gawk
11483 maybe-install-info-gawk:
11484 @if gawk
11485 maybe-install-info-gawk: install-info-gawk
11487 install-info-gawk: \
11488 configure-gawk \
11489 info-gawk
11490 @[ -f ./gawk/Makefile ] || exit 0; \
11491 r=`${PWD_COMMAND}`; export r; \
11492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11493 $(HOST_EXPORTS) \
11494 for flag in $(EXTRA_HOST_FLAGS) ; do \
11495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11496 done; \
11497 echo "Doing install-info in gawk" ; \
11498 (cd $(HOST_SUBDIR)/gawk && \
11499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11501 "RANLIB=$${RANLIB}" \
11502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11503 install-info) \
11504 || exit 1
11506 @endif gawk
11508 .PHONY: maybe-installcheck-gawk installcheck-gawk
11509 maybe-installcheck-gawk:
11510 @if gawk
11511 maybe-installcheck-gawk: installcheck-gawk
11513 installcheck-gawk: \
11514 configure-gawk
11515 @[ -f ./gawk/Makefile ] || exit 0; \
11516 r=`${PWD_COMMAND}`; export r; \
11517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11518 $(HOST_EXPORTS) \
11519 for flag in $(EXTRA_HOST_FLAGS) ; do \
11520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11521 done; \
11522 echo "Doing installcheck in gawk" ; \
11523 (cd $(HOST_SUBDIR)/gawk && \
11524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11526 "RANLIB=$${RANLIB}" \
11527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11528 installcheck) \
11529 || exit 1
11531 @endif gawk
11533 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11534 maybe-mostlyclean-gawk:
11535 @if gawk
11536 maybe-mostlyclean-gawk: mostlyclean-gawk
11538 mostlyclean-gawk:
11539 @[ -f ./gawk/Makefile ] || exit 0; \
11540 r=`${PWD_COMMAND}`; export r; \
11541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11542 $(HOST_EXPORTS) \
11543 for flag in $(EXTRA_HOST_FLAGS) ; do \
11544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11545 done; \
11546 echo "Doing mostlyclean in gawk" ; \
11547 (cd $(HOST_SUBDIR)/gawk && \
11548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11550 "RANLIB=$${RANLIB}" \
11551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11552 mostlyclean) \
11553 || exit 1
11555 @endif gawk
11557 .PHONY: maybe-clean-gawk clean-gawk
11558 maybe-clean-gawk:
11559 @if gawk
11560 maybe-clean-gawk: clean-gawk
11562 clean-gawk:
11563 @[ -f ./gawk/Makefile ] || exit 0; \
11564 r=`${PWD_COMMAND}`; export r; \
11565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11566 $(HOST_EXPORTS) \
11567 for flag in $(EXTRA_HOST_FLAGS) ; do \
11568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11569 done; \
11570 echo "Doing clean in gawk" ; \
11571 (cd $(HOST_SUBDIR)/gawk && \
11572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11574 "RANLIB=$${RANLIB}" \
11575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11576 clean) \
11577 || exit 1
11579 @endif gawk
11581 .PHONY: maybe-distclean-gawk distclean-gawk
11582 maybe-distclean-gawk:
11583 @if gawk
11584 maybe-distclean-gawk: distclean-gawk
11586 distclean-gawk:
11587 @[ -f ./gawk/Makefile ] || exit 0; \
11588 r=`${PWD_COMMAND}`; export r; \
11589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11590 $(HOST_EXPORTS) \
11591 for flag in $(EXTRA_HOST_FLAGS) ; do \
11592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11593 done; \
11594 echo "Doing distclean in gawk" ; \
11595 (cd $(HOST_SUBDIR)/gawk && \
11596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11598 "RANLIB=$${RANLIB}" \
11599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11600 distclean) \
11601 || exit 1
11603 @endif gawk
11605 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
11606 maybe-maintainer-clean-gawk:
11607 @if gawk
11608 maybe-maintainer-clean-gawk: maintainer-clean-gawk
11610 maintainer-clean-gawk:
11611 @[ -f ./gawk/Makefile ] || exit 0; \
11612 r=`${PWD_COMMAND}`; export r; \
11613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11614 $(HOST_EXPORTS) \
11615 for flag in $(EXTRA_HOST_FLAGS) ; do \
11616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11617 done; \
11618 echo "Doing maintainer-clean in gawk" ; \
11619 (cd $(HOST_SUBDIR)/gawk && \
11620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11622 "RANLIB=$${RANLIB}" \
11623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11624 maintainer-clean) \
11625 || exit 1
11627 @endif gawk
11631 .PHONY: configure-gettext maybe-configure-gettext
11632 maybe-configure-gettext:
11633 @if gettext
11634 maybe-configure-gettext: configure-gettext
11635 configure-gettext:
11636 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
11637 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
11638 r=`${PWD_COMMAND}`; export r; \
11639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11640 $(HOST_EXPORTS) \
11641 echo Configuring in $(HOST_SUBDIR)/gettext; \
11642 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
11643 case $(srcdir) in \
11644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11645 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
11646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11647 esac; \
11648 srcdiroption="--srcdir=$${topdir}/gettext"; \
11649 libsrcdir="$$s/gettext"; \
11650 $(SHELL) $${libsrcdir}/configure \
11651 $(HOST_CONFIGARGS) $${srcdiroption} \
11652 || exit 1
11653 @endif gettext
11659 .PHONY: all-gettext maybe-all-gettext
11660 maybe-all-gettext:
11661 @if gettext
11662 TARGET-gettext=all
11663 maybe-all-gettext: all-gettext
11664 all-gettext: configure-gettext
11665 @r=`${PWD_COMMAND}`; export r; \
11666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11667 $(HOST_EXPORTS) \
11668 (cd $(HOST_SUBDIR)/gettext && \
11669 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
11670 @endif gettext
11675 .PHONY: check-gettext maybe-check-gettext
11676 maybe-check-gettext:
11677 @if gettext
11678 maybe-check-gettext: check-gettext
11680 check-gettext:
11681 @r=`${PWD_COMMAND}`; export r; \
11682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11683 $(HOST_EXPORTS) \
11684 (cd $(HOST_SUBDIR)/gettext && \
11685 $(MAKE) $(FLAGS_TO_PASS) check)
11687 @endif gettext
11689 .PHONY: install-gettext maybe-install-gettext
11690 maybe-install-gettext:
11691 @if gettext
11692 maybe-install-gettext: install-gettext
11694 install-gettext: installdirs
11695 @r=`${PWD_COMMAND}`; export r; \
11696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11697 $(HOST_EXPORTS) \
11698 (cd $(HOST_SUBDIR)/gettext && \
11699 $(MAKE) $(FLAGS_TO_PASS) install)
11701 @endif gettext
11703 # Other targets (info, dvi, etc.)
11705 .PHONY: maybe-info-gettext info-gettext
11706 maybe-info-gettext:
11707 @if gettext
11708 maybe-info-gettext: info-gettext
11710 info-gettext: \
11711 configure-gettext
11712 @[ -f ./gettext/Makefile ] || exit 0; \
11713 r=`${PWD_COMMAND}`; export r; \
11714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11715 $(HOST_EXPORTS) \
11716 for flag in $(EXTRA_HOST_FLAGS) ; do \
11717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11718 done; \
11719 echo "Doing info in gettext" ; \
11720 (cd $(HOST_SUBDIR)/gettext && \
11721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11723 "RANLIB=$${RANLIB}" \
11724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11725 info) \
11726 || exit 1
11728 @endif gettext
11730 .PHONY: maybe-dvi-gettext dvi-gettext
11731 maybe-dvi-gettext:
11732 @if gettext
11733 maybe-dvi-gettext: dvi-gettext
11735 dvi-gettext: \
11736 configure-gettext
11737 @[ -f ./gettext/Makefile ] || exit 0; \
11738 r=`${PWD_COMMAND}`; export r; \
11739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11740 $(HOST_EXPORTS) \
11741 for flag in $(EXTRA_HOST_FLAGS) ; do \
11742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11743 done; \
11744 echo "Doing dvi in gettext" ; \
11745 (cd $(HOST_SUBDIR)/gettext && \
11746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11748 "RANLIB=$${RANLIB}" \
11749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11750 dvi) \
11751 || exit 1
11753 @endif gettext
11755 .PHONY: maybe-html-gettext html-gettext
11756 maybe-html-gettext:
11757 @if gettext
11758 maybe-html-gettext: html-gettext
11760 html-gettext: \
11761 configure-gettext
11762 @[ -f ./gettext/Makefile ] || exit 0; \
11763 r=`${PWD_COMMAND}`; export r; \
11764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11765 $(HOST_EXPORTS) \
11766 for flag in $(EXTRA_HOST_FLAGS) ; do \
11767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11768 done; \
11769 echo "Doing html in gettext" ; \
11770 (cd $(HOST_SUBDIR)/gettext && \
11771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11773 "RANLIB=$${RANLIB}" \
11774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11775 html) \
11776 || exit 1
11778 @endif gettext
11780 .PHONY: maybe-TAGS-gettext TAGS-gettext
11781 maybe-TAGS-gettext:
11782 @if gettext
11783 maybe-TAGS-gettext: TAGS-gettext
11785 TAGS-gettext: \
11786 configure-gettext
11787 @[ -f ./gettext/Makefile ] || exit 0; \
11788 r=`${PWD_COMMAND}`; export r; \
11789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11790 $(HOST_EXPORTS) \
11791 for flag in $(EXTRA_HOST_FLAGS) ; do \
11792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11793 done; \
11794 echo "Doing TAGS in gettext" ; \
11795 (cd $(HOST_SUBDIR)/gettext && \
11796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11798 "RANLIB=$${RANLIB}" \
11799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11800 TAGS) \
11801 || exit 1
11803 @endif gettext
11805 .PHONY: maybe-install-info-gettext install-info-gettext
11806 maybe-install-info-gettext:
11807 @if gettext
11808 maybe-install-info-gettext: install-info-gettext
11810 install-info-gettext: \
11811 configure-gettext \
11812 info-gettext
11813 @[ -f ./gettext/Makefile ] || exit 0; \
11814 r=`${PWD_COMMAND}`; export r; \
11815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11816 $(HOST_EXPORTS) \
11817 for flag in $(EXTRA_HOST_FLAGS) ; do \
11818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11819 done; \
11820 echo "Doing install-info in gettext" ; \
11821 (cd $(HOST_SUBDIR)/gettext && \
11822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11824 "RANLIB=$${RANLIB}" \
11825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11826 install-info) \
11827 || exit 1
11829 @endif gettext
11831 .PHONY: maybe-installcheck-gettext installcheck-gettext
11832 maybe-installcheck-gettext:
11833 @if gettext
11834 maybe-installcheck-gettext: installcheck-gettext
11836 installcheck-gettext: \
11837 configure-gettext
11838 @[ -f ./gettext/Makefile ] || exit 0; \
11839 r=`${PWD_COMMAND}`; export r; \
11840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11841 $(HOST_EXPORTS) \
11842 for flag in $(EXTRA_HOST_FLAGS) ; do \
11843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11844 done; \
11845 echo "Doing installcheck in gettext" ; \
11846 (cd $(HOST_SUBDIR)/gettext && \
11847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11849 "RANLIB=$${RANLIB}" \
11850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11851 installcheck) \
11852 || exit 1
11854 @endif gettext
11856 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
11857 maybe-mostlyclean-gettext:
11858 @if gettext
11859 maybe-mostlyclean-gettext: mostlyclean-gettext
11861 mostlyclean-gettext:
11862 @[ -f ./gettext/Makefile ] || exit 0; \
11863 r=`${PWD_COMMAND}`; export r; \
11864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11865 $(HOST_EXPORTS) \
11866 for flag in $(EXTRA_HOST_FLAGS) ; do \
11867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11868 done; \
11869 echo "Doing mostlyclean in gettext" ; \
11870 (cd $(HOST_SUBDIR)/gettext && \
11871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11873 "RANLIB=$${RANLIB}" \
11874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11875 mostlyclean) \
11876 || exit 1
11878 @endif gettext
11880 .PHONY: maybe-clean-gettext clean-gettext
11881 maybe-clean-gettext:
11882 @if gettext
11883 maybe-clean-gettext: clean-gettext
11885 clean-gettext:
11886 @[ -f ./gettext/Makefile ] || exit 0; \
11887 r=`${PWD_COMMAND}`; export r; \
11888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11889 $(HOST_EXPORTS) \
11890 for flag in $(EXTRA_HOST_FLAGS) ; do \
11891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11892 done; \
11893 echo "Doing clean in gettext" ; \
11894 (cd $(HOST_SUBDIR)/gettext && \
11895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11897 "RANLIB=$${RANLIB}" \
11898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11899 clean) \
11900 || exit 1
11902 @endif gettext
11904 .PHONY: maybe-distclean-gettext distclean-gettext
11905 maybe-distclean-gettext:
11906 @if gettext
11907 maybe-distclean-gettext: distclean-gettext
11909 distclean-gettext:
11910 @[ -f ./gettext/Makefile ] || exit 0; \
11911 r=`${PWD_COMMAND}`; export r; \
11912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11913 $(HOST_EXPORTS) \
11914 for flag in $(EXTRA_HOST_FLAGS) ; do \
11915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11916 done; \
11917 echo "Doing distclean in gettext" ; \
11918 (cd $(HOST_SUBDIR)/gettext && \
11919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11921 "RANLIB=$${RANLIB}" \
11922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11923 distclean) \
11924 || exit 1
11926 @endif gettext
11928 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
11929 maybe-maintainer-clean-gettext:
11930 @if gettext
11931 maybe-maintainer-clean-gettext: maintainer-clean-gettext
11933 maintainer-clean-gettext:
11934 @[ -f ./gettext/Makefile ] || exit 0; \
11935 r=`${PWD_COMMAND}`; export r; \
11936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11937 $(HOST_EXPORTS) \
11938 for flag in $(EXTRA_HOST_FLAGS) ; do \
11939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11940 done; \
11941 echo "Doing maintainer-clean in gettext" ; \
11942 (cd $(HOST_SUBDIR)/gettext && \
11943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11945 "RANLIB=$${RANLIB}" \
11946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11947 maintainer-clean) \
11948 || exit 1
11950 @endif gettext
11954 .PHONY: configure-gnuserv maybe-configure-gnuserv
11955 maybe-configure-gnuserv:
11956 @if gnuserv
11957 maybe-configure-gnuserv: configure-gnuserv
11958 configure-gnuserv:
11959 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
11960 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
11961 r=`${PWD_COMMAND}`; export r; \
11962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11963 $(HOST_EXPORTS) \
11964 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
11965 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
11966 case $(srcdir) in \
11967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11968 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
11969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11970 esac; \
11971 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
11972 libsrcdir="$$s/gnuserv"; \
11973 $(SHELL) $${libsrcdir}/configure \
11974 $(HOST_CONFIGARGS) $${srcdiroption} \
11975 || exit 1
11976 @endif gnuserv
11982 .PHONY: all-gnuserv maybe-all-gnuserv
11983 maybe-all-gnuserv:
11984 @if gnuserv
11985 TARGET-gnuserv=all
11986 maybe-all-gnuserv: all-gnuserv
11987 all-gnuserv: configure-gnuserv
11988 @r=`${PWD_COMMAND}`; export r; \
11989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11990 $(HOST_EXPORTS) \
11991 (cd $(HOST_SUBDIR)/gnuserv && \
11992 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
11993 @endif gnuserv
11998 .PHONY: check-gnuserv maybe-check-gnuserv
11999 maybe-check-gnuserv:
12000 @if gnuserv
12001 maybe-check-gnuserv: check-gnuserv
12003 check-gnuserv:
12004 @r=`${PWD_COMMAND}`; export r; \
12005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12006 $(HOST_EXPORTS) \
12007 (cd $(HOST_SUBDIR)/gnuserv && \
12008 $(MAKE) $(FLAGS_TO_PASS) check)
12010 @endif gnuserv
12012 .PHONY: install-gnuserv maybe-install-gnuserv
12013 maybe-install-gnuserv:
12014 @if gnuserv
12015 maybe-install-gnuserv: install-gnuserv
12017 install-gnuserv: installdirs
12018 @r=`${PWD_COMMAND}`; export r; \
12019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12020 $(HOST_EXPORTS) \
12021 (cd $(HOST_SUBDIR)/gnuserv && \
12022 $(MAKE) $(FLAGS_TO_PASS) install)
12024 @endif gnuserv
12026 # Other targets (info, dvi, etc.)
12028 .PHONY: maybe-info-gnuserv info-gnuserv
12029 maybe-info-gnuserv:
12030 @if gnuserv
12031 maybe-info-gnuserv: info-gnuserv
12033 info-gnuserv: \
12034 configure-gnuserv
12035 @[ -f ./gnuserv/Makefile ] || exit 0; \
12036 r=`${PWD_COMMAND}`; export r; \
12037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 info in gnuserv" ; \
12043 (cd $(HOST_SUBDIR)/gnuserv && \
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 info) \
12049 || exit 1
12051 @endif gnuserv
12053 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
12054 maybe-dvi-gnuserv:
12055 @if gnuserv
12056 maybe-dvi-gnuserv: dvi-gnuserv
12058 dvi-gnuserv: \
12059 configure-gnuserv
12060 @[ -f ./gnuserv/Makefile ] || exit 0; \
12061 r=`${PWD_COMMAND}`; export r; \
12062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12063 $(HOST_EXPORTS) \
12064 for flag in $(EXTRA_HOST_FLAGS) ; do \
12065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12066 done; \
12067 echo "Doing dvi in gnuserv" ; \
12068 (cd $(HOST_SUBDIR)/gnuserv && \
12069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12071 "RANLIB=$${RANLIB}" \
12072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12073 dvi) \
12074 || exit 1
12076 @endif gnuserv
12078 .PHONY: maybe-html-gnuserv html-gnuserv
12079 maybe-html-gnuserv:
12080 @if gnuserv
12081 maybe-html-gnuserv: html-gnuserv
12083 html-gnuserv: \
12084 configure-gnuserv
12085 @[ -f ./gnuserv/Makefile ] || exit 0; \
12086 r=`${PWD_COMMAND}`; export r; \
12087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12088 $(HOST_EXPORTS) \
12089 for flag in $(EXTRA_HOST_FLAGS) ; do \
12090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12091 done; \
12092 echo "Doing html in gnuserv" ; \
12093 (cd $(HOST_SUBDIR)/gnuserv && \
12094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12096 "RANLIB=$${RANLIB}" \
12097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12098 html) \
12099 || exit 1
12101 @endif gnuserv
12103 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12104 maybe-TAGS-gnuserv:
12105 @if gnuserv
12106 maybe-TAGS-gnuserv: TAGS-gnuserv
12108 TAGS-gnuserv: \
12109 configure-gnuserv
12110 @[ -f ./gnuserv/Makefile ] || exit 0; \
12111 r=`${PWD_COMMAND}`; export r; \
12112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12113 $(HOST_EXPORTS) \
12114 for flag in $(EXTRA_HOST_FLAGS) ; do \
12115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12116 done; \
12117 echo "Doing TAGS in gnuserv" ; \
12118 (cd $(HOST_SUBDIR)/gnuserv && \
12119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12121 "RANLIB=$${RANLIB}" \
12122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12123 TAGS) \
12124 || exit 1
12126 @endif gnuserv
12128 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12129 maybe-install-info-gnuserv:
12130 @if gnuserv
12131 maybe-install-info-gnuserv: install-info-gnuserv
12133 install-info-gnuserv: \
12134 configure-gnuserv \
12135 info-gnuserv
12136 @[ -f ./gnuserv/Makefile ] || exit 0; \
12137 r=`${PWD_COMMAND}`; export r; \
12138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12139 $(HOST_EXPORTS) \
12140 for flag in $(EXTRA_HOST_FLAGS) ; do \
12141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12142 done; \
12143 echo "Doing install-info in gnuserv" ; \
12144 (cd $(HOST_SUBDIR)/gnuserv && \
12145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12147 "RANLIB=$${RANLIB}" \
12148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12149 install-info) \
12150 || exit 1
12152 @endif gnuserv
12154 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12155 maybe-installcheck-gnuserv:
12156 @if gnuserv
12157 maybe-installcheck-gnuserv: installcheck-gnuserv
12159 installcheck-gnuserv: \
12160 configure-gnuserv
12161 @[ -f ./gnuserv/Makefile ] || exit 0; \
12162 r=`${PWD_COMMAND}`; export r; \
12163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12164 $(HOST_EXPORTS) \
12165 for flag in $(EXTRA_HOST_FLAGS) ; do \
12166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12167 done; \
12168 echo "Doing installcheck in gnuserv" ; \
12169 (cd $(HOST_SUBDIR)/gnuserv && \
12170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12172 "RANLIB=$${RANLIB}" \
12173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12174 installcheck) \
12175 || exit 1
12177 @endif gnuserv
12179 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12180 maybe-mostlyclean-gnuserv:
12181 @if gnuserv
12182 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12184 mostlyclean-gnuserv:
12185 @[ -f ./gnuserv/Makefile ] || exit 0; \
12186 r=`${PWD_COMMAND}`; export r; \
12187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12188 $(HOST_EXPORTS) \
12189 for flag in $(EXTRA_HOST_FLAGS) ; do \
12190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12191 done; \
12192 echo "Doing mostlyclean in gnuserv" ; \
12193 (cd $(HOST_SUBDIR)/gnuserv && \
12194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12196 "RANLIB=$${RANLIB}" \
12197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12198 mostlyclean) \
12199 || exit 1
12201 @endif gnuserv
12203 .PHONY: maybe-clean-gnuserv clean-gnuserv
12204 maybe-clean-gnuserv:
12205 @if gnuserv
12206 maybe-clean-gnuserv: clean-gnuserv
12208 clean-gnuserv:
12209 @[ -f ./gnuserv/Makefile ] || exit 0; \
12210 r=`${PWD_COMMAND}`; export r; \
12211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12212 $(HOST_EXPORTS) \
12213 for flag in $(EXTRA_HOST_FLAGS) ; do \
12214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12215 done; \
12216 echo "Doing clean in gnuserv" ; \
12217 (cd $(HOST_SUBDIR)/gnuserv && \
12218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12220 "RANLIB=$${RANLIB}" \
12221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12222 clean) \
12223 || exit 1
12225 @endif gnuserv
12227 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12228 maybe-distclean-gnuserv:
12229 @if gnuserv
12230 maybe-distclean-gnuserv: distclean-gnuserv
12232 distclean-gnuserv:
12233 @[ -f ./gnuserv/Makefile ] || exit 0; \
12234 r=`${PWD_COMMAND}`; export r; \
12235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12236 $(HOST_EXPORTS) \
12237 for flag in $(EXTRA_HOST_FLAGS) ; do \
12238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12239 done; \
12240 echo "Doing distclean in gnuserv" ; \
12241 (cd $(HOST_SUBDIR)/gnuserv && \
12242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12244 "RANLIB=$${RANLIB}" \
12245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12246 distclean) \
12247 || exit 1
12249 @endif gnuserv
12251 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12252 maybe-maintainer-clean-gnuserv:
12253 @if gnuserv
12254 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12256 maintainer-clean-gnuserv:
12257 @[ -f ./gnuserv/Makefile ] || exit 0; \
12258 r=`${PWD_COMMAND}`; export r; \
12259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12260 $(HOST_EXPORTS) \
12261 for flag in $(EXTRA_HOST_FLAGS) ; do \
12262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12263 done; \
12264 echo "Doing maintainer-clean in gnuserv" ; \
12265 (cd $(HOST_SUBDIR)/gnuserv && \
12266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12268 "RANLIB=$${RANLIB}" \
12269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12270 maintainer-clean) \
12271 || exit 1
12273 @endif gnuserv
12277 .PHONY: configure-gprof maybe-configure-gprof
12278 maybe-configure-gprof:
12279 @if gprof
12280 maybe-configure-gprof: configure-gprof
12281 configure-gprof:
12282 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12283 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12284 r=`${PWD_COMMAND}`; export r; \
12285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12286 $(HOST_EXPORTS) \
12287 echo Configuring in $(HOST_SUBDIR)/gprof; \
12288 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12289 case $(srcdir) in \
12290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12291 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12293 esac; \
12294 srcdiroption="--srcdir=$${topdir}/gprof"; \
12295 libsrcdir="$$s/gprof"; \
12296 $(SHELL) $${libsrcdir}/configure \
12297 $(HOST_CONFIGARGS) $${srcdiroption} \
12298 || exit 1
12299 @endif gprof
12305 .PHONY: all-gprof maybe-all-gprof
12306 maybe-all-gprof:
12307 @if gprof
12308 TARGET-gprof=all
12309 maybe-all-gprof: all-gprof
12310 all-gprof: configure-gprof
12311 @r=`${PWD_COMMAND}`; export r; \
12312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12313 $(HOST_EXPORTS) \
12314 (cd $(HOST_SUBDIR)/gprof && \
12315 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12316 @endif gprof
12321 .PHONY: check-gprof maybe-check-gprof
12322 maybe-check-gprof:
12323 @if gprof
12324 maybe-check-gprof: check-gprof
12326 check-gprof:
12327 @r=`${PWD_COMMAND}`; export r; \
12328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12329 $(HOST_EXPORTS) \
12330 (cd $(HOST_SUBDIR)/gprof && \
12331 $(MAKE) $(FLAGS_TO_PASS) check)
12333 @endif gprof
12335 .PHONY: install-gprof maybe-install-gprof
12336 maybe-install-gprof:
12337 @if gprof
12338 maybe-install-gprof: install-gprof
12340 install-gprof: installdirs
12341 @r=`${PWD_COMMAND}`; export r; \
12342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12343 $(HOST_EXPORTS) \
12344 (cd $(HOST_SUBDIR)/gprof && \
12345 $(MAKE) $(FLAGS_TO_PASS) install)
12347 @endif gprof
12349 # Other targets (info, dvi, etc.)
12351 .PHONY: maybe-info-gprof info-gprof
12352 maybe-info-gprof:
12353 @if gprof
12354 maybe-info-gprof: info-gprof
12356 info-gprof: \
12357 configure-gprof
12358 @[ -f ./gprof/Makefile ] || exit 0; \
12359 r=`${PWD_COMMAND}`; export r; \
12360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12361 $(HOST_EXPORTS) \
12362 for flag in $(EXTRA_HOST_FLAGS) ; do \
12363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12364 done; \
12365 echo "Doing info in gprof" ; \
12366 (cd $(HOST_SUBDIR)/gprof && \
12367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12369 "RANLIB=$${RANLIB}" \
12370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12371 info) \
12372 || exit 1
12374 @endif gprof
12376 .PHONY: maybe-dvi-gprof dvi-gprof
12377 maybe-dvi-gprof:
12378 @if gprof
12379 maybe-dvi-gprof: dvi-gprof
12381 dvi-gprof: \
12382 configure-gprof
12383 @[ -f ./gprof/Makefile ] || exit 0; \
12384 r=`${PWD_COMMAND}`; export r; \
12385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12386 $(HOST_EXPORTS) \
12387 for flag in $(EXTRA_HOST_FLAGS) ; do \
12388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12389 done; \
12390 echo "Doing dvi in gprof" ; \
12391 (cd $(HOST_SUBDIR)/gprof && \
12392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12394 "RANLIB=$${RANLIB}" \
12395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12396 dvi) \
12397 || exit 1
12399 @endif gprof
12401 .PHONY: maybe-html-gprof html-gprof
12402 maybe-html-gprof:
12403 @if gprof
12404 maybe-html-gprof: html-gprof
12406 html-gprof: \
12407 configure-gprof
12408 @[ -f ./gprof/Makefile ] || exit 0; \
12409 r=`${PWD_COMMAND}`; export r; \
12410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12411 $(HOST_EXPORTS) \
12412 for flag in $(EXTRA_HOST_FLAGS) ; do \
12413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12414 done; \
12415 echo "Doing html in gprof" ; \
12416 (cd $(HOST_SUBDIR)/gprof && \
12417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12419 "RANLIB=$${RANLIB}" \
12420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12421 html) \
12422 || exit 1
12424 @endif gprof
12426 .PHONY: maybe-TAGS-gprof TAGS-gprof
12427 maybe-TAGS-gprof:
12428 @if gprof
12429 maybe-TAGS-gprof: TAGS-gprof
12431 TAGS-gprof: \
12432 configure-gprof
12433 @[ -f ./gprof/Makefile ] || exit 0; \
12434 r=`${PWD_COMMAND}`; export r; \
12435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12436 $(HOST_EXPORTS) \
12437 for flag in $(EXTRA_HOST_FLAGS) ; do \
12438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12439 done; \
12440 echo "Doing TAGS in gprof" ; \
12441 (cd $(HOST_SUBDIR)/gprof && \
12442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12444 "RANLIB=$${RANLIB}" \
12445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12446 TAGS) \
12447 || exit 1
12449 @endif gprof
12451 .PHONY: maybe-install-info-gprof install-info-gprof
12452 maybe-install-info-gprof:
12453 @if gprof
12454 maybe-install-info-gprof: install-info-gprof
12456 install-info-gprof: \
12457 configure-gprof \
12458 info-gprof
12459 @[ -f ./gprof/Makefile ] || exit 0; \
12460 r=`${PWD_COMMAND}`; export r; \
12461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12462 $(HOST_EXPORTS) \
12463 for flag in $(EXTRA_HOST_FLAGS) ; do \
12464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12465 done; \
12466 echo "Doing install-info in gprof" ; \
12467 (cd $(HOST_SUBDIR)/gprof && \
12468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12470 "RANLIB=$${RANLIB}" \
12471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12472 install-info) \
12473 || exit 1
12475 @endif gprof
12477 .PHONY: maybe-installcheck-gprof installcheck-gprof
12478 maybe-installcheck-gprof:
12479 @if gprof
12480 maybe-installcheck-gprof: installcheck-gprof
12482 installcheck-gprof: \
12483 configure-gprof
12484 @[ -f ./gprof/Makefile ] || exit 0; \
12485 r=`${PWD_COMMAND}`; export r; \
12486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12487 $(HOST_EXPORTS) \
12488 for flag in $(EXTRA_HOST_FLAGS) ; do \
12489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12490 done; \
12491 echo "Doing installcheck in gprof" ; \
12492 (cd $(HOST_SUBDIR)/gprof && \
12493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12495 "RANLIB=$${RANLIB}" \
12496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12497 installcheck) \
12498 || exit 1
12500 @endif gprof
12502 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
12503 maybe-mostlyclean-gprof:
12504 @if gprof
12505 maybe-mostlyclean-gprof: mostlyclean-gprof
12507 mostlyclean-gprof:
12508 @[ -f ./gprof/Makefile ] || exit 0; \
12509 r=`${PWD_COMMAND}`; export r; \
12510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12511 $(HOST_EXPORTS) \
12512 for flag in $(EXTRA_HOST_FLAGS) ; do \
12513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12514 done; \
12515 echo "Doing mostlyclean in gprof" ; \
12516 (cd $(HOST_SUBDIR)/gprof && \
12517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12519 "RANLIB=$${RANLIB}" \
12520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12521 mostlyclean) \
12522 || exit 1
12524 @endif gprof
12526 .PHONY: maybe-clean-gprof clean-gprof
12527 maybe-clean-gprof:
12528 @if gprof
12529 maybe-clean-gprof: clean-gprof
12531 clean-gprof:
12532 @[ -f ./gprof/Makefile ] || exit 0; \
12533 r=`${PWD_COMMAND}`; export r; \
12534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12535 $(HOST_EXPORTS) \
12536 for flag in $(EXTRA_HOST_FLAGS) ; do \
12537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12538 done; \
12539 echo "Doing clean in gprof" ; \
12540 (cd $(HOST_SUBDIR)/gprof && \
12541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12543 "RANLIB=$${RANLIB}" \
12544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12545 clean) \
12546 || exit 1
12548 @endif gprof
12550 .PHONY: maybe-distclean-gprof distclean-gprof
12551 maybe-distclean-gprof:
12552 @if gprof
12553 maybe-distclean-gprof: distclean-gprof
12555 distclean-gprof:
12556 @[ -f ./gprof/Makefile ] || exit 0; \
12557 r=`${PWD_COMMAND}`; export r; \
12558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12559 $(HOST_EXPORTS) \
12560 for flag in $(EXTRA_HOST_FLAGS) ; do \
12561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12562 done; \
12563 echo "Doing distclean in gprof" ; \
12564 (cd $(HOST_SUBDIR)/gprof && \
12565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12567 "RANLIB=$${RANLIB}" \
12568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12569 distclean) \
12570 || exit 1
12572 @endif gprof
12574 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
12575 maybe-maintainer-clean-gprof:
12576 @if gprof
12577 maybe-maintainer-clean-gprof: maintainer-clean-gprof
12579 maintainer-clean-gprof:
12580 @[ -f ./gprof/Makefile ] || exit 0; \
12581 r=`${PWD_COMMAND}`; export r; \
12582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12583 $(HOST_EXPORTS) \
12584 for flag in $(EXTRA_HOST_FLAGS) ; do \
12585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12586 done; \
12587 echo "Doing maintainer-clean in gprof" ; \
12588 (cd $(HOST_SUBDIR)/gprof && \
12589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12591 "RANLIB=$${RANLIB}" \
12592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12593 maintainer-clean) \
12594 || exit 1
12596 @endif gprof
12600 .PHONY: configure-gzip maybe-configure-gzip
12601 maybe-configure-gzip:
12602 @if gzip
12603 maybe-configure-gzip: configure-gzip
12604 configure-gzip:
12605 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
12606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
12607 r=`${PWD_COMMAND}`; export r; \
12608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12609 $(HOST_EXPORTS) \
12610 echo Configuring in $(HOST_SUBDIR)/gzip; \
12611 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
12612 case $(srcdir) in \
12613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12614 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
12615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12616 esac; \
12617 srcdiroption="--srcdir=$${topdir}/gzip"; \
12618 libsrcdir="$$s/gzip"; \
12619 $(SHELL) $${libsrcdir}/configure \
12620 $(HOST_CONFIGARGS) $${srcdiroption} \
12621 || exit 1
12622 @endif gzip
12628 .PHONY: all-gzip maybe-all-gzip
12629 maybe-all-gzip:
12630 @if gzip
12631 TARGET-gzip=all
12632 maybe-all-gzip: all-gzip
12633 all-gzip: configure-gzip
12634 @r=`${PWD_COMMAND}`; export r; \
12635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12636 $(HOST_EXPORTS) \
12637 (cd $(HOST_SUBDIR)/gzip && \
12638 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
12639 @endif gzip
12644 .PHONY: check-gzip maybe-check-gzip
12645 maybe-check-gzip:
12646 @if gzip
12647 maybe-check-gzip: check-gzip
12649 check-gzip:
12650 @r=`${PWD_COMMAND}`; export r; \
12651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12652 $(HOST_EXPORTS) \
12653 (cd $(HOST_SUBDIR)/gzip && \
12654 $(MAKE) $(FLAGS_TO_PASS) check)
12656 @endif gzip
12658 .PHONY: install-gzip maybe-install-gzip
12659 maybe-install-gzip:
12660 @if gzip
12661 maybe-install-gzip: install-gzip
12663 install-gzip: installdirs
12664 @r=`${PWD_COMMAND}`; export r; \
12665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12666 $(HOST_EXPORTS) \
12667 (cd $(HOST_SUBDIR)/gzip && \
12668 $(MAKE) $(FLAGS_TO_PASS) install)
12670 @endif gzip
12672 # Other targets (info, dvi, etc.)
12674 .PHONY: maybe-info-gzip info-gzip
12675 maybe-info-gzip:
12676 @if gzip
12677 maybe-info-gzip: info-gzip
12679 info-gzip: \
12680 configure-gzip
12681 @[ -f ./gzip/Makefile ] || exit 0; \
12682 r=`${PWD_COMMAND}`; export r; \
12683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12684 $(HOST_EXPORTS) \
12685 for flag in $(EXTRA_HOST_FLAGS) ; do \
12686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12687 done; \
12688 echo "Doing info in gzip" ; \
12689 (cd $(HOST_SUBDIR)/gzip && \
12690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12692 "RANLIB=$${RANLIB}" \
12693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12694 info) \
12695 || exit 1
12697 @endif gzip
12699 .PHONY: maybe-dvi-gzip dvi-gzip
12700 maybe-dvi-gzip:
12701 @if gzip
12702 maybe-dvi-gzip: dvi-gzip
12704 dvi-gzip: \
12705 configure-gzip
12706 @[ -f ./gzip/Makefile ] || exit 0; \
12707 r=`${PWD_COMMAND}`; export r; \
12708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12709 $(HOST_EXPORTS) \
12710 for flag in $(EXTRA_HOST_FLAGS) ; do \
12711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12712 done; \
12713 echo "Doing dvi in gzip" ; \
12714 (cd $(HOST_SUBDIR)/gzip && \
12715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12717 "RANLIB=$${RANLIB}" \
12718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12719 dvi) \
12720 || exit 1
12722 @endif gzip
12724 .PHONY: maybe-html-gzip html-gzip
12725 maybe-html-gzip:
12726 @if gzip
12727 maybe-html-gzip: html-gzip
12729 html-gzip: \
12730 configure-gzip
12731 @[ -f ./gzip/Makefile ] || exit 0; \
12732 r=`${PWD_COMMAND}`; export r; \
12733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12734 $(HOST_EXPORTS) \
12735 for flag in $(EXTRA_HOST_FLAGS) ; do \
12736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12737 done; \
12738 echo "Doing html in gzip" ; \
12739 (cd $(HOST_SUBDIR)/gzip && \
12740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12742 "RANLIB=$${RANLIB}" \
12743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12744 html) \
12745 || exit 1
12747 @endif gzip
12749 .PHONY: maybe-TAGS-gzip TAGS-gzip
12750 maybe-TAGS-gzip:
12751 @if gzip
12752 maybe-TAGS-gzip: TAGS-gzip
12754 TAGS-gzip: \
12755 configure-gzip
12756 @[ -f ./gzip/Makefile ] || exit 0; \
12757 r=`${PWD_COMMAND}`; export r; \
12758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12759 $(HOST_EXPORTS) \
12760 for flag in $(EXTRA_HOST_FLAGS) ; do \
12761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12762 done; \
12763 echo "Doing TAGS in gzip" ; \
12764 (cd $(HOST_SUBDIR)/gzip && \
12765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12767 "RANLIB=$${RANLIB}" \
12768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12769 TAGS) \
12770 || exit 1
12772 @endif gzip
12774 .PHONY: maybe-install-info-gzip install-info-gzip
12775 maybe-install-info-gzip:
12776 @if gzip
12777 maybe-install-info-gzip: install-info-gzip
12779 install-info-gzip: \
12780 configure-gzip \
12781 info-gzip
12782 @[ -f ./gzip/Makefile ] || exit 0; \
12783 r=`${PWD_COMMAND}`; export r; \
12784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12785 $(HOST_EXPORTS) \
12786 for flag in $(EXTRA_HOST_FLAGS) ; do \
12787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12788 done; \
12789 echo "Doing install-info in gzip" ; \
12790 (cd $(HOST_SUBDIR)/gzip && \
12791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12793 "RANLIB=$${RANLIB}" \
12794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12795 install-info) \
12796 || exit 1
12798 @endif gzip
12800 .PHONY: maybe-installcheck-gzip installcheck-gzip
12801 maybe-installcheck-gzip:
12802 @if gzip
12803 maybe-installcheck-gzip: installcheck-gzip
12805 installcheck-gzip: \
12806 configure-gzip
12807 @[ -f ./gzip/Makefile ] || exit 0; \
12808 r=`${PWD_COMMAND}`; export r; \
12809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12810 $(HOST_EXPORTS) \
12811 for flag in $(EXTRA_HOST_FLAGS) ; do \
12812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12813 done; \
12814 echo "Doing installcheck in gzip" ; \
12815 (cd $(HOST_SUBDIR)/gzip && \
12816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12818 "RANLIB=$${RANLIB}" \
12819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12820 installcheck) \
12821 || exit 1
12823 @endif gzip
12825 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
12826 maybe-mostlyclean-gzip:
12827 @if gzip
12828 maybe-mostlyclean-gzip: mostlyclean-gzip
12830 mostlyclean-gzip:
12831 @[ -f ./gzip/Makefile ] || exit 0; \
12832 r=`${PWD_COMMAND}`; export r; \
12833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12834 $(HOST_EXPORTS) \
12835 for flag in $(EXTRA_HOST_FLAGS) ; do \
12836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12837 done; \
12838 echo "Doing mostlyclean in gzip" ; \
12839 (cd $(HOST_SUBDIR)/gzip && \
12840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12842 "RANLIB=$${RANLIB}" \
12843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12844 mostlyclean) \
12845 || exit 1
12847 @endif gzip
12849 .PHONY: maybe-clean-gzip clean-gzip
12850 maybe-clean-gzip:
12851 @if gzip
12852 maybe-clean-gzip: clean-gzip
12854 clean-gzip:
12855 @[ -f ./gzip/Makefile ] || exit 0; \
12856 r=`${PWD_COMMAND}`; export r; \
12857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12858 $(HOST_EXPORTS) \
12859 for flag in $(EXTRA_HOST_FLAGS) ; do \
12860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12861 done; \
12862 echo "Doing clean in gzip" ; \
12863 (cd $(HOST_SUBDIR)/gzip && \
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 clean) \
12869 || exit 1
12871 @endif gzip
12873 .PHONY: maybe-distclean-gzip distclean-gzip
12874 maybe-distclean-gzip:
12875 @if gzip
12876 maybe-distclean-gzip: distclean-gzip
12878 distclean-gzip:
12879 @[ -f ./gzip/Makefile ] || exit 0; \
12880 r=`${PWD_COMMAND}`; export r; \
12881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12882 $(HOST_EXPORTS) \
12883 for flag in $(EXTRA_HOST_FLAGS) ; do \
12884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12885 done; \
12886 echo "Doing distclean in gzip" ; \
12887 (cd $(HOST_SUBDIR)/gzip && \
12888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12890 "RANLIB=$${RANLIB}" \
12891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12892 distclean) \
12893 || exit 1
12895 @endif gzip
12897 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
12898 maybe-maintainer-clean-gzip:
12899 @if gzip
12900 maybe-maintainer-clean-gzip: maintainer-clean-gzip
12902 maintainer-clean-gzip:
12903 @[ -f ./gzip/Makefile ] || exit 0; \
12904 r=`${PWD_COMMAND}`; export r; \
12905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12906 $(HOST_EXPORTS) \
12907 for flag in $(EXTRA_HOST_FLAGS) ; do \
12908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12909 done; \
12910 echo "Doing maintainer-clean in gzip" ; \
12911 (cd $(HOST_SUBDIR)/gzip && \
12912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12914 "RANLIB=$${RANLIB}" \
12915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12916 maintainer-clean) \
12917 || exit 1
12919 @endif gzip
12923 .PHONY: configure-hello maybe-configure-hello
12924 maybe-configure-hello:
12925 @if hello
12926 maybe-configure-hello: configure-hello
12927 configure-hello:
12928 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
12929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
12930 r=`${PWD_COMMAND}`; export r; \
12931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12932 $(HOST_EXPORTS) \
12933 echo Configuring in $(HOST_SUBDIR)/hello; \
12934 cd "$(HOST_SUBDIR)/hello" || exit 1; \
12935 case $(srcdir) in \
12936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12937 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
12938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12939 esac; \
12940 srcdiroption="--srcdir=$${topdir}/hello"; \
12941 libsrcdir="$$s/hello"; \
12942 $(SHELL) $${libsrcdir}/configure \
12943 $(HOST_CONFIGARGS) $${srcdiroption} \
12944 || exit 1
12945 @endif hello
12951 .PHONY: all-hello maybe-all-hello
12952 maybe-all-hello:
12953 @if hello
12954 TARGET-hello=all
12955 maybe-all-hello: all-hello
12956 all-hello: configure-hello
12957 @r=`${PWD_COMMAND}`; export r; \
12958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12959 $(HOST_EXPORTS) \
12960 (cd $(HOST_SUBDIR)/hello && \
12961 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
12962 @endif hello
12967 .PHONY: check-hello maybe-check-hello
12968 maybe-check-hello:
12969 @if hello
12970 maybe-check-hello: check-hello
12972 check-hello:
12973 @r=`${PWD_COMMAND}`; export r; \
12974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12975 $(HOST_EXPORTS) \
12976 (cd $(HOST_SUBDIR)/hello && \
12977 $(MAKE) $(FLAGS_TO_PASS) check)
12979 @endif hello
12981 .PHONY: install-hello maybe-install-hello
12982 maybe-install-hello:
12983 @if hello
12984 maybe-install-hello: install-hello
12986 install-hello: installdirs
12987 @r=`${PWD_COMMAND}`; export r; \
12988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12989 $(HOST_EXPORTS) \
12990 (cd $(HOST_SUBDIR)/hello && \
12991 $(MAKE) $(FLAGS_TO_PASS) install)
12993 @endif hello
12995 # Other targets (info, dvi, etc.)
12997 .PHONY: maybe-info-hello info-hello
12998 maybe-info-hello:
12999 @if hello
13000 maybe-info-hello: info-hello
13002 info-hello: \
13003 configure-hello
13004 @[ -f ./hello/Makefile ] || exit 0; \
13005 r=`${PWD_COMMAND}`; export r; \
13006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13007 $(HOST_EXPORTS) \
13008 for flag in $(EXTRA_HOST_FLAGS) ; do \
13009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13010 done; \
13011 echo "Doing info in hello" ; \
13012 (cd $(HOST_SUBDIR)/hello && \
13013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13015 "RANLIB=$${RANLIB}" \
13016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13017 info) \
13018 || exit 1
13020 @endif hello
13022 .PHONY: maybe-dvi-hello dvi-hello
13023 maybe-dvi-hello:
13024 @if hello
13025 maybe-dvi-hello: dvi-hello
13027 dvi-hello: \
13028 configure-hello
13029 @[ -f ./hello/Makefile ] || exit 0; \
13030 r=`${PWD_COMMAND}`; export r; \
13031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13032 $(HOST_EXPORTS) \
13033 for flag in $(EXTRA_HOST_FLAGS) ; do \
13034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13035 done; \
13036 echo "Doing dvi in hello" ; \
13037 (cd $(HOST_SUBDIR)/hello && \
13038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13040 "RANLIB=$${RANLIB}" \
13041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13042 dvi) \
13043 || exit 1
13045 @endif hello
13047 .PHONY: maybe-html-hello html-hello
13048 maybe-html-hello:
13049 @if hello
13050 maybe-html-hello: html-hello
13052 html-hello: \
13053 configure-hello
13054 @[ -f ./hello/Makefile ] || exit 0; \
13055 r=`${PWD_COMMAND}`; export r; \
13056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13057 $(HOST_EXPORTS) \
13058 for flag in $(EXTRA_HOST_FLAGS) ; do \
13059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13060 done; \
13061 echo "Doing html in hello" ; \
13062 (cd $(HOST_SUBDIR)/hello && \
13063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13065 "RANLIB=$${RANLIB}" \
13066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13067 html) \
13068 || exit 1
13070 @endif hello
13072 .PHONY: maybe-TAGS-hello TAGS-hello
13073 maybe-TAGS-hello:
13074 @if hello
13075 maybe-TAGS-hello: TAGS-hello
13077 TAGS-hello: \
13078 configure-hello
13079 @[ -f ./hello/Makefile ] || exit 0; \
13080 r=`${PWD_COMMAND}`; export r; \
13081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13082 $(HOST_EXPORTS) \
13083 for flag in $(EXTRA_HOST_FLAGS) ; do \
13084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13085 done; \
13086 echo "Doing TAGS in hello" ; \
13087 (cd $(HOST_SUBDIR)/hello && \
13088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13090 "RANLIB=$${RANLIB}" \
13091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13092 TAGS) \
13093 || exit 1
13095 @endif hello
13097 .PHONY: maybe-install-info-hello install-info-hello
13098 maybe-install-info-hello:
13099 @if hello
13100 maybe-install-info-hello: install-info-hello
13102 install-info-hello: \
13103 configure-hello \
13104 info-hello
13105 @[ -f ./hello/Makefile ] || exit 0; \
13106 r=`${PWD_COMMAND}`; export r; \
13107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13108 $(HOST_EXPORTS) \
13109 for flag in $(EXTRA_HOST_FLAGS) ; do \
13110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13111 done; \
13112 echo "Doing install-info in hello" ; \
13113 (cd $(HOST_SUBDIR)/hello && \
13114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13116 "RANLIB=$${RANLIB}" \
13117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13118 install-info) \
13119 || exit 1
13121 @endif hello
13123 .PHONY: maybe-installcheck-hello installcheck-hello
13124 maybe-installcheck-hello:
13125 @if hello
13126 maybe-installcheck-hello: installcheck-hello
13128 installcheck-hello: \
13129 configure-hello
13130 @[ -f ./hello/Makefile ] || exit 0; \
13131 r=`${PWD_COMMAND}`; export r; \
13132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13133 $(HOST_EXPORTS) \
13134 for flag in $(EXTRA_HOST_FLAGS) ; do \
13135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13136 done; \
13137 echo "Doing installcheck in hello" ; \
13138 (cd $(HOST_SUBDIR)/hello && \
13139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13141 "RANLIB=$${RANLIB}" \
13142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13143 installcheck) \
13144 || exit 1
13146 @endif hello
13148 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13149 maybe-mostlyclean-hello:
13150 @if hello
13151 maybe-mostlyclean-hello: mostlyclean-hello
13153 mostlyclean-hello:
13154 @[ -f ./hello/Makefile ] || exit 0; \
13155 r=`${PWD_COMMAND}`; export r; \
13156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13157 $(HOST_EXPORTS) \
13158 for flag in $(EXTRA_HOST_FLAGS) ; do \
13159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13160 done; \
13161 echo "Doing mostlyclean in hello" ; \
13162 (cd $(HOST_SUBDIR)/hello && \
13163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13165 "RANLIB=$${RANLIB}" \
13166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13167 mostlyclean) \
13168 || exit 1
13170 @endif hello
13172 .PHONY: maybe-clean-hello clean-hello
13173 maybe-clean-hello:
13174 @if hello
13175 maybe-clean-hello: clean-hello
13177 clean-hello:
13178 @[ -f ./hello/Makefile ] || exit 0; \
13179 r=`${PWD_COMMAND}`; export r; \
13180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13181 $(HOST_EXPORTS) \
13182 for flag in $(EXTRA_HOST_FLAGS) ; do \
13183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13184 done; \
13185 echo "Doing clean in hello" ; \
13186 (cd $(HOST_SUBDIR)/hello && \
13187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13189 "RANLIB=$${RANLIB}" \
13190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13191 clean) \
13192 || exit 1
13194 @endif hello
13196 .PHONY: maybe-distclean-hello distclean-hello
13197 maybe-distclean-hello:
13198 @if hello
13199 maybe-distclean-hello: distclean-hello
13201 distclean-hello:
13202 @[ -f ./hello/Makefile ] || exit 0; \
13203 r=`${PWD_COMMAND}`; export r; \
13204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13205 $(HOST_EXPORTS) \
13206 for flag in $(EXTRA_HOST_FLAGS) ; do \
13207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13208 done; \
13209 echo "Doing distclean in hello" ; \
13210 (cd $(HOST_SUBDIR)/hello && \
13211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13213 "RANLIB=$${RANLIB}" \
13214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13215 distclean) \
13216 || exit 1
13218 @endif hello
13220 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13221 maybe-maintainer-clean-hello:
13222 @if hello
13223 maybe-maintainer-clean-hello: maintainer-clean-hello
13225 maintainer-clean-hello:
13226 @[ -f ./hello/Makefile ] || exit 0; \
13227 r=`${PWD_COMMAND}`; export r; \
13228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13229 $(HOST_EXPORTS) \
13230 for flag in $(EXTRA_HOST_FLAGS) ; do \
13231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13232 done; \
13233 echo "Doing maintainer-clean in hello" ; \
13234 (cd $(HOST_SUBDIR)/hello && \
13235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13237 "RANLIB=$${RANLIB}" \
13238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13239 maintainer-clean) \
13240 || exit 1
13242 @endif hello
13246 .PHONY: configure-indent maybe-configure-indent
13247 maybe-configure-indent:
13248 @if indent
13249 maybe-configure-indent: configure-indent
13250 configure-indent:
13251 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13252 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13253 r=`${PWD_COMMAND}`; export r; \
13254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13255 $(HOST_EXPORTS) \
13256 echo Configuring in $(HOST_SUBDIR)/indent; \
13257 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13258 case $(srcdir) in \
13259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13260 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13262 esac; \
13263 srcdiroption="--srcdir=$${topdir}/indent"; \
13264 libsrcdir="$$s/indent"; \
13265 $(SHELL) $${libsrcdir}/configure \
13266 $(HOST_CONFIGARGS) $${srcdiroption} \
13267 || exit 1
13268 @endif indent
13274 .PHONY: all-indent maybe-all-indent
13275 maybe-all-indent:
13276 @if indent
13277 TARGET-indent=all
13278 maybe-all-indent: all-indent
13279 all-indent: configure-indent
13280 @r=`${PWD_COMMAND}`; export r; \
13281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13282 $(HOST_EXPORTS) \
13283 (cd $(HOST_SUBDIR)/indent && \
13284 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13285 @endif indent
13290 .PHONY: check-indent maybe-check-indent
13291 maybe-check-indent:
13292 @if indent
13293 maybe-check-indent: check-indent
13295 check-indent:
13296 @r=`${PWD_COMMAND}`; export r; \
13297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13298 $(HOST_EXPORTS) \
13299 (cd $(HOST_SUBDIR)/indent && \
13300 $(MAKE) $(FLAGS_TO_PASS) check)
13302 @endif indent
13304 .PHONY: install-indent maybe-install-indent
13305 maybe-install-indent:
13306 @if indent
13307 maybe-install-indent: install-indent
13309 install-indent: installdirs
13310 @r=`${PWD_COMMAND}`; export r; \
13311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13312 $(HOST_EXPORTS) \
13313 (cd $(HOST_SUBDIR)/indent && \
13314 $(MAKE) $(FLAGS_TO_PASS) install)
13316 @endif indent
13318 # Other targets (info, dvi, etc.)
13320 .PHONY: maybe-info-indent info-indent
13321 maybe-info-indent:
13322 @if indent
13323 maybe-info-indent: info-indent
13325 info-indent: \
13326 configure-indent
13327 @[ -f ./indent/Makefile ] || exit 0; \
13328 r=`${PWD_COMMAND}`; export r; \
13329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13330 $(HOST_EXPORTS) \
13331 for flag in $(EXTRA_HOST_FLAGS) ; do \
13332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13333 done; \
13334 echo "Doing info in indent" ; \
13335 (cd $(HOST_SUBDIR)/indent && \
13336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13338 "RANLIB=$${RANLIB}" \
13339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13340 info) \
13341 || exit 1
13343 @endif indent
13345 .PHONY: maybe-dvi-indent dvi-indent
13346 maybe-dvi-indent:
13347 @if indent
13348 maybe-dvi-indent: dvi-indent
13350 dvi-indent: \
13351 configure-indent
13352 @[ -f ./indent/Makefile ] || exit 0; \
13353 r=`${PWD_COMMAND}`; export r; \
13354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13355 $(HOST_EXPORTS) \
13356 for flag in $(EXTRA_HOST_FLAGS) ; do \
13357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13358 done; \
13359 echo "Doing dvi in indent" ; \
13360 (cd $(HOST_SUBDIR)/indent && \
13361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13363 "RANLIB=$${RANLIB}" \
13364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13365 dvi) \
13366 || exit 1
13368 @endif indent
13370 .PHONY: maybe-html-indent html-indent
13371 maybe-html-indent:
13372 @if indent
13373 maybe-html-indent: html-indent
13375 html-indent: \
13376 configure-indent
13377 @[ -f ./indent/Makefile ] || exit 0; \
13378 r=`${PWD_COMMAND}`; export r; \
13379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13380 $(HOST_EXPORTS) \
13381 for flag in $(EXTRA_HOST_FLAGS) ; do \
13382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13383 done; \
13384 echo "Doing html in indent" ; \
13385 (cd $(HOST_SUBDIR)/indent && \
13386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13388 "RANLIB=$${RANLIB}" \
13389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13390 html) \
13391 || exit 1
13393 @endif indent
13395 .PHONY: maybe-TAGS-indent TAGS-indent
13396 maybe-TAGS-indent:
13397 @if indent
13398 maybe-TAGS-indent: TAGS-indent
13400 TAGS-indent: \
13401 configure-indent
13402 @[ -f ./indent/Makefile ] || exit 0; \
13403 r=`${PWD_COMMAND}`; export r; \
13404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13405 $(HOST_EXPORTS) \
13406 for flag in $(EXTRA_HOST_FLAGS) ; do \
13407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13408 done; \
13409 echo "Doing TAGS in indent" ; \
13410 (cd $(HOST_SUBDIR)/indent && \
13411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13413 "RANLIB=$${RANLIB}" \
13414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13415 TAGS) \
13416 || exit 1
13418 @endif indent
13420 .PHONY: maybe-install-info-indent install-info-indent
13421 maybe-install-info-indent:
13422 @if indent
13423 maybe-install-info-indent: install-info-indent
13425 install-info-indent: \
13426 configure-indent \
13427 info-indent
13428 @[ -f ./indent/Makefile ] || exit 0; \
13429 r=`${PWD_COMMAND}`; export r; \
13430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13431 $(HOST_EXPORTS) \
13432 for flag in $(EXTRA_HOST_FLAGS) ; do \
13433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13434 done; \
13435 echo "Doing install-info in indent" ; \
13436 (cd $(HOST_SUBDIR)/indent && \
13437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13439 "RANLIB=$${RANLIB}" \
13440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13441 install-info) \
13442 || exit 1
13444 @endif indent
13446 .PHONY: maybe-installcheck-indent installcheck-indent
13447 maybe-installcheck-indent:
13448 @if indent
13449 maybe-installcheck-indent: installcheck-indent
13451 installcheck-indent: \
13452 configure-indent
13453 @[ -f ./indent/Makefile ] || exit 0; \
13454 r=`${PWD_COMMAND}`; export r; \
13455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13456 $(HOST_EXPORTS) \
13457 for flag in $(EXTRA_HOST_FLAGS) ; do \
13458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13459 done; \
13460 echo "Doing installcheck in indent" ; \
13461 (cd $(HOST_SUBDIR)/indent && \
13462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13464 "RANLIB=$${RANLIB}" \
13465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13466 installcheck) \
13467 || exit 1
13469 @endif indent
13471 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
13472 maybe-mostlyclean-indent:
13473 @if indent
13474 maybe-mostlyclean-indent: mostlyclean-indent
13476 mostlyclean-indent:
13477 @[ -f ./indent/Makefile ] || exit 0; \
13478 r=`${PWD_COMMAND}`; export r; \
13479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13480 $(HOST_EXPORTS) \
13481 for flag in $(EXTRA_HOST_FLAGS) ; do \
13482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13483 done; \
13484 echo "Doing mostlyclean in indent" ; \
13485 (cd $(HOST_SUBDIR)/indent && \
13486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13488 "RANLIB=$${RANLIB}" \
13489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13490 mostlyclean) \
13491 || exit 1
13493 @endif indent
13495 .PHONY: maybe-clean-indent clean-indent
13496 maybe-clean-indent:
13497 @if indent
13498 maybe-clean-indent: clean-indent
13500 clean-indent:
13501 @[ -f ./indent/Makefile ] || exit 0; \
13502 r=`${PWD_COMMAND}`; export r; \
13503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13504 $(HOST_EXPORTS) \
13505 for flag in $(EXTRA_HOST_FLAGS) ; do \
13506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13507 done; \
13508 echo "Doing clean in indent" ; \
13509 (cd $(HOST_SUBDIR)/indent && \
13510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13512 "RANLIB=$${RANLIB}" \
13513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13514 clean) \
13515 || exit 1
13517 @endif indent
13519 .PHONY: maybe-distclean-indent distclean-indent
13520 maybe-distclean-indent:
13521 @if indent
13522 maybe-distclean-indent: distclean-indent
13524 distclean-indent:
13525 @[ -f ./indent/Makefile ] || exit 0; \
13526 r=`${PWD_COMMAND}`; export r; \
13527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13528 $(HOST_EXPORTS) \
13529 for flag in $(EXTRA_HOST_FLAGS) ; do \
13530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13531 done; \
13532 echo "Doing distclean in indent" ; \
13533 (cd $(HOST_SUBDIR)/indent && \
13534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13536 "RANLIB=$${RANLIB}" \
13537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13538 distclean) \
13539 || exit 1
13541 @endif indent
13543 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
13544 maybe-maintainer-clean-indent:
13545 @if indent
13546 maybe-maintainer-clean-indent: maintainer-clean-indent
13548 maintainer-clean-indent:
13549 @[ -f ./indent/Makefile ] || exit 0; \
13550 r=`${PWD_COMMAND}`; export r; \
13551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13552 $(HOST_EXPORTS) \
13553 for flag in $(EXTRA_HOST_FLAGS) ; do \
13554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13555 done; \
13556 echo "Doing maintainer-clean in indent" ; \
13557 (cd $(HOST_SUBDIR)/indent && \
13558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13560 "RANLIB=$${RANLIB}" \
13561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13562 maintainer-clean) \
13563 || exit 1
13565 @endif indent
13569 .PHONY: configure-intl maybe-configure-intl
13570 maybe-configure-intl:
13571 @if intl
13572 maybe-configure-intl: configure-intl
13573 configure-intl:
13574 @test -f stage_last && exit 0; \
13575 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13576 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13577 r=`${PWD_COMMAND}`; export r; \
13578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13579 $(HOST_EXPORTS) \
13580 echo Configuring in $(HOST_SUBDIR)/intl; \
13581 cd "$(HOST_SUBDIR)/intl" || exit 1; \
13582 case $(srcdir) in \
13583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13584 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13586 esac; \
13587 srcdiroption="--srcdir=$${topdir}/intl"; \
13588 libsrcdir="$$s/intl"; \
13589 $(SHELL) $${libsrcdir}/configure \
13590 $(HOST_CONFIGARGS) $${srcdiroption} \
13591 || exit 1
13592 @endif intl
13596 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
13597 maybe-configure-stage1-intl:
13598 @if intl-bootstrap
13599 maybe-configure-stage1-intl: configure-stage1-intl
13600 configure-stage1-intl:
13601 @$(MAKE) stage1-start
13602 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13603 r=`${PWD_COMMAND}`; export r; \
13604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13605 $(HOST_EXPORTS) \
13606 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
13607 cd $(HOST_SUBDIR)/intl || exit 1; \
13608 case $(srcdir) in \
13609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13610 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13612 esac; \
13613 srcdiroption="--srcdir=$${topdir}/intl"; \
13614 libsrcdir="$$s/intl"; \
13615 $(SHELL) $${libsrcdir}/configure \
13616 $(HOST_CONFIGARGS) $${srcdiroption} \
13617 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
13618 @endif intl-bootstrap
13620 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
13621 maybe-configure-stage2-intl:
13622 @if intl-bootstrap
13623 maybe-configure-stage2-intl: configure-stage2-intl
13624 configure-stage2-intl:
13625 @$(MAKE) stage2-start
13626 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13627 r=`${PWD_COMMAND}`; export r; \
13628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13629 $(HOST_EXPORTS) \
13630 $(POSTSTAGE1_HOST_EXPORTS) \
13631 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
13632 cd $(HOST_SUBDIR)/intl || exit 1; \
13633 case $(srcdir) in \
13634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13635 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13637 esac; \
13638 srcdiroption="--srcdir=$${topdir}/intl"; \
13639 libsrcdir="$$s/intl"; \
13640 $(SHELL) $${libsrcdir}/configure \
13641 $(HOST_CONFIGARGS) $${srcdiroption} \
13642 @stage2_werror_flag@
13643 @endif intl-bootstrap
13645 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
13646 maybe-configure-stage3-intl:
13647 @if intl-bootstrap
13648 maybe-configure-stage3-intl: configure-stage3-intl
13649 configure-stage3-intl:
13650 @$(MAKE) stage3-start
13651 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13652 r=`${PWD_COMMAND}`; export r; \
13653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13654 $(HOST_EXPORTS) \
13655 $(POSTSTAGE1_HOST_EXPORTS) \
13656 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
13657 cd $(HOST_SUBDIR)/intl || exit 1; \
13658 case $(srcdir) in \
13659 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13660 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13661 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13662 esac; \
13663 srcdiroption="--srcdir=$${topdir}/intl"; \
13664 libsrcdir="$$s/intl"; \
13665 $(SHELL) $${libsrcdir}/configure \
13666 $(HOST_CONFIGARGS) $${srcdiroption} \
13667 @stage2_werror_flag@
13668 @endif intl-bootstrap
13670 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
13671 maybe-configure-stage4-intl:
13672 @if intl-bootstrap
13673 maybe-configure-stage4-intl: configure-stage4-intl
13674 configure-stage4-intl:
13675 @$(MAKE) stage4-start
13676 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13677 r=`${PWD_COMMAND}`; export r; \
13678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13679 $(HOST_EXPORTS) \
13680 $(POSTSTAGE1_HOST_EXPORTS) \
13681 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
13682 cd $(HOST_SUBDIR)/intl || exit 1; \
13683 case $(srcdir) in \
13684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13685 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13687 esac; \
13688 srcdiroption="--srcdir=$${topdir}/intl"; \
13689 libsrcdir="$$s/intl"; \
13690 $(SHELL) $${libsrcdir}/configure \
13691 $(HOST_CONFIGARGS) $${srcdiroption} \
13692 @stage2_werror_flag@
13693 @endif intl-bootstrap
13695 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
13696 maybe-configure-stageprofile-intl:
13697 @if intl-bootstrap
13698 maybe-configure-stageprofile-intl: configure-stageprofile-intl
13699 configure-stageprofile-intl:
13700 @$(MAKE) stageprofile-start
13701 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13702 r=`${PWD_COMMAND}`; export r; \
13703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13704 $(HOST_EXPORTS) \
13705 $(POSTSTAGE1_HOST_EXPORTS) \
13706 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
13707 cd $(HOST_SUBDIR)/intl || exit 1; \
13708 case $(srcdir) in \
13709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13710 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13712 esac; \
13713 srcdiroption="--srcdir=$${topdir}/intl"; \
13714 libsrcdir="$$s/intl"; \
13715 $(SHELL) $${libsrcdir}/configure \
13716 $(HOST_CONFIGARGS) $${srcdiroption} \
13717 @stage2_werror_flag@
13718 @endif intl-bootstrap
13720 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
13721 maybe-configure-stagefeedback-intl:
13722 @if intl-bootstrap
13723 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
13724 configure-stagefeedback-intl:
13725 @$(MAKE) stagefeedback-start
13726 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13727 r=`${PWD_COMMAND}`; export r; \
13728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13729 $(HOST_EXPORTS) \
13730 $(POSTSTAGE1_HOST_EXPORTS) \
13731 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
13732 cd $(HOST_SUBDIR)/intl || exit 1; \
13733 case $(srcdir) in \
13734 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13735 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13736 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13737 esac; \
13738 srcdiroption="--srcdir=$${topdir}/intl"; \
13739 libsrcdir="$$s/intl"; \
13740 $(SHELL) $${libsrcdir}/configure \
13741 $(HOST_CONFIGARGS) $${srcdiroption} \
13742 @stage2_werror_flag@
13743 @endif intl-bootstrap
13749 .PHONY: all-intl maybe-all-intl
13750 maybe-all-intl:
13751 @if intl
13752 TARGET-intl=all
13753 maybe-all-intl: all-intl
13754 all-intl: configure-intl
13755 @test -f stage_last && exit 0; \
13756 r=`${PWD_COMMAND}`; export r; \
13757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13758 $(HOST_EXPORTS) \
13759 (cd $(HOST_SUBDIR)/intl && \
13760 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
13761 @endif intl
13765 .PHONY: all-stage1-intl maybe-all-stage1-intl
13766 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
13767 maybe-all-stage1-intl:
13768 maybe-clean-stage1-intl:
13769 @if intl-bootstrap
13770 maybe-all-stage1-intl: all-stage1-intl
13771 all-stage1: all-stage1-intl
13772 all-stage1-intl: configure-stage1-intl
13773 @$(MAKE) stage1-start
13774 @r=`${PWD_COMMAND}`; export r; \
13775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13776 $(HOST_EXPORTS) \
13777 cd $(HOST_SUBDIR)/intl && \
13778 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
13780 maybe-clean-stage1-intl: clean-stage1-intl
13781 clean-stage1: clean-stage1-intl
13782 clean-stage1-intl:
13783 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
13784 || exit 0 ; \
13785 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage1-start ; \
13786 cd $(HOST_SUBDIR)/intl && \
13787 $(MAKE) $(FLAGS_TO_PASS) \
13788 CFLAGS="$(STAGE1_CFLAGS)" clean
13789 @endif intl-bootstrap
13792 .PHONY: all-stage2-intl maybe-all-stage2-intl
13793 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
13794 maybe-all-stage2-intl:
13795 maybe-clean-stage2-intl:
13796 @if intl-bootstrap
13797 maybe-all-stage2-intl: all-stage2-intl
13798 all-stage2: all-stage2-intl
13799 all-stage2-intl: configure-stage2-intl
13800 @$(MAKE) stage2-start
13801 @r=`${PWD_COMMAND}`; export r; \
13802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13803 $(HOST_EXPORTS) \
13804 $(POSTSTAGE1_HOST_EXPORTS) \
13805 cd $(HOST_SUBDIR)/intl && \
13806 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
13808 maybe-clean-stage2-intl: clean-stage2-intl
13809 clean-stage2: clean-stage2-intl
13810 clean-stage2-intl:
13811 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
13812 || exit 0 ; \
13813 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage2-start ; \
13814 cd $(HOST_SUBDIR)/intl && \
13815 $(MAKE) $(FLAGS_TO_PASS) \
13816 $(POSTSTAGE1_FLAGS_TO_PASS) \
13817 clean
13818 @endif intl-bootstrap
13821 .PHONY: all-stage3-intl maybe-all-stage3-intl
13822 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
13823 maybe-all-stage3-intl:
13824 maybe-clean-stage3-intl:
13825 @if intl-bootstrap
13826 maybe-all-stage3-intl: all-stage3-intl
13827 all-stage3: all-stage3-intl
13828 all-stage3-intl: configure-stage3-intl
13829 @$(MAKE) stage3-start
13830 @r=`${PWD_COMMAND}`; export r; \
13831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13832 $(HOST_EXPORTS) \
13833 $(POSTSTAGE1_HOST_EXPORTS) \
13834 cd $(HOST_SUBDIR)/intl && \
13835 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
13837 maybe-clean-stage3-intl: clean-stage3-intl
13838 clean-stage3: clean-stage3-intl
13839 clean-stage3-intl:
13840 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
13841 || exit 0 ; \
13842 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage3-start ; \
13843 cd $(HOST_SUBDIR)/intl && \
13844 $(MAKE) $(FLAGS_TO_PASS) \
13845 $(POSTSTAGE1_FLAGS_TO_PASS) \
13846 clean
13847 @endif intl-bootstrap
13850 .PHONY: all-stage4-intl maybe-all-stage4-intl
13851 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
13852 maybe-all-stage4-intl:
13853 maybe-clean-stage4-intl:
13854 @if intl-bootstrap
13855 maybe-all-stage4-intl: all-stage4-intl
13856 all-stage4: all-stage4-intl
13857 all-stage4-intl: configure-stage4-intl
13858 @$(MAKE) stage4-start
13859 @r=`${PWD_COMMAND}`; export r; \
13860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13861 $(HOST_EXPORTS) \
13862 $(POSTSTAGE1_HOST_EXPORTS) \
13863 cd $(HOST_SUBDIR)/intl && \
13864 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
13866 maybe-clean-stage4-intl: clean-stage4-intl
13867 clean-stage4: clean-stage4-intl
13868 clean-stage4-intl:
13869 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
13870 || exit 0 ; \
13871 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage4-start ; \
13872 cd $(HOST_SUBDIR)/intl && \
13873 $(MAKE) $(FLAGS_TO_PASS) \
13874 $(POSTSTAGE1_FLAGS_TO_PASS) \
13875 clean
13876 @endif intl-bootstrap
13879 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
13880 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
13881 maybe-all-stageprofile-intl:
13882 maybe-clean-stageprofile-intl:
13883 @if intl-bootstrap
13884 maybe-all-stageprofile-intl: all-stageprofile-intl
13885 all-stageprofile: all-stageprofile-intl
13886 all-stageprofile-intl: configure-stageprofile-intl
13887 @$(MAKE) stageprofile-start
13888 @r=`${PWD_COMMAND}`; export r; \
13889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13890 $(HOST_EXPORTS) \
13891 $(POSTSTAGE1_HOST_EXPORTS) \
13892 cd $(HOST_SUBDIR)/intl && \
13893 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
13895 maybe-clean-stageprofile-intl: clean-stageprofile-intl
13896 clean-stageprofile: clean-stageprofile-intl
13897 clean-stageprofile-intl:
13898 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
13899 || exit 0 ; \
13900 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stageprofile-start ; \
13901 cd $(HOST_SUBDIR)/intl && \
13902 $(MAKE) $(FLAGS_TO_PASS) \
13903 $(POSTSTAGE1_FLAGS_TO_PASS) \
13904 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
13905 @endif intl-bootstrap
13908 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
13909 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
13910 maybe-all-stagefeedback-intl:
13911 maybe-clean-stagefeedback-intl:
13912 @if intl-bootstrap
13913 maybe-all-stagefeedback-intl: all-stagefeedback-intl
13914 all-stagefeedback: all-stagefeedback-intl
13915 all-stagefeedback-intl: configure-stagefeedback-intl
13916 @$(MAKE) stagefeedback-start
13917 @r=`${PWD_COMMAND}`; export r; \
13918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13919 $(HOST_EXPORTS) \
13920 $(POSTSTAGE1_HOST_EXPORTS) \
13921 cd $(HOST_SUBDIR)/intl && \
13922 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
13924 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
13925 clean-stagefeedback: clean-stagefeedback-intl
13926 clean-stagefeedback-intl:
13927 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
13928 || exit 0 ; \
13929 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stagefeedback-start ; \
13930 cd $(HOST_SUBDIR)/intl && \
13931 $(MAKE) $(FLAGS_TO_PASS) \
13932 $(POSTSTAGE1_FLAGS_TO_PASS) \
13933 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
13934 @endif intl-bootstrap
13940 .PHONY: check-intl maybe-check-intl
13941 maybe-check-intl:
13942 @if intl
13943 maybe-check-intl: check-intl
13945 check-intl:
13946 @r=`${PWD_COMMAND}`; export r; \
13947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13948 $(HOST_EXPORTS) \
13949 (cd $(HOST_SUBDIR)/intl && \
13950 $(MAKE) $(FLAGS_TO_PASS) check)
13952 @endif intl
13954 .PHONY: install-intl maybe-install-intl
13955 maybe-install-intl:
13956 @if intl
13957 maybe-install-intl: install-intl
13959 install-intl: installdirs
13960 @r=`${PWD_COMMAND}`; export r; \
13961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13962 $(HOST_EXPORTS) \
13963 (cd $(HOST_SUBDIR)/intl && \
13964 $(MAKE) $(FLAGS_TO_PASS) install)
13966 @endif intl
13968 # Other targets (info, dvi, etc.)
13970 .PHONY: maybe-info-intl info-intl
13971 maybe-info-intl:
13972 @if intl
13973 maybe-info-intl: info-intl
13975 info-intl: \
13976 configure-intl
13977 @[ -f ./intl/Makefile ] || exit 0; \
13978 r=`${PWD_COMMAND}`; export r; \
13979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13980 $(HOST_EXPORTS) \
13981 for flag in $(EXTRA_HOST_FLAGS) ; do \
13982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13983 done; \
13984 echo "Doing info in intl" ; \
13985 (cd $(HOST_SUBDIR)/intl && \
13986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13988 "RANLIB=$${RANLIB}" \
13989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13990 info) \
13991 || exit 1
13993 @endif intl
13995 .PHONY: maybe-dvi-intl dvi-intl
13996 maybe-dvi-intl:
13997 @if intl
13998 maybe-dvi-intl: dvi-intl
14000 dvi-intl: \
14001 configure-intl
14002 @[ -f ./intl/Makefile ] || exit 0; \
14003 r=`${PWD_COMMAND}`; export r; \
14004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14005 $(HOST_EXPORTS) \
14006 for flag in $(EXTRA_HOST_FLAGS) ; do \
14007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14008 done; \
14009 echo "Doing dvi in intl" ; \
14010 (cd $(HOST_SUBDIR)/intl && \
14011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14013 "RANLIB=$${RANLIB}" \
14014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14015 dvi) \
14016 || exit 1
14018 @endif intl
14020 .PHONY: maybe-html-intl html-intl
14021 maybe-html-intl:
14022 @if intl
14023 maybe-html-intl: html-intl
14025 html-intl: \
14026 configure-intl
14027 @[ -f ./intl/Makefile ] || exit 0; \
14028 r=`${PWD_COMMAND}`; export r; \
14029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14030 $(HOST_EXPORTS) \
14031 for flag in $(EXTRA_HOST_FLAGS) ; do \
14032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14033 done; \
14034 echo "Doing html in intl" ; \
14035 (cd $(HOST_SUBDIR)/intl && \
14036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14038 "RANLIB=$${RANLIB}" \
14039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14040 html) \
14041 || exit 1
14043 @endif intl
14045 .PHONY: maybe-TAGS-intl TAGS-intl
14046 maybe-TAGS-intl:
14047 @if intl
14048 maybe-TAGS-intl: TAGS-intl
14050 TAGS-intl: \
14051 configure-intl
14052 @[ -f ./intl/Makefile ] || exit 0; \
14053 r=`${PWD_COMMAND}`; export r; \
14054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14055 $(HOST_EXPORTS) \
14056 for flag in $(EXTRA_HOST_FLAGS) ; do \
14057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14058 done; \
14059 echo "Doing TAGS in intl" ; \
14060 (cd $(HOST_SUBDIR)/intl && \
14061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14063 "RANLIB=$${RANLIB}" \
14064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14065 TAGS) \
14066 || exit 1
14068 @endif intl
14070 .PHONY: maybe-install-info-intl install-info-intl
14071 maybe-install-info-intl:
14072 @if intl
14073 maybe-install-info-intl: install-info-intl
14075 install-info-intl: \
14076 configure-intl \
14077 info-intl
14078 @[ -f ./intl/Makefile ] || exit 0; \
14079 r=`${PWD_COMMAND}`; export r; \
14080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14081 $(HOST_EXPORTS) \
14082 for flag in $(EXTRA_HOST_FLAGS) ; do \
14083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14084 done; \
14085 echo "Doing install-info in intl" ; \
14086 (cd $(HOST_SUBDIR)/intl && \
14087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14089 "RANLIB=$${RANLIB}" \
14090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14091 install-info) \
14092 || exit 1
14094 @endif intl
14096 .PHONY: maybe-installcheck-intl installcheck-intl
14097 maybe-installcheck-intl:
14098 @if intl
14099 maybe-installcheck-intl: installcheck-intl
14101 installcheck-intl: \
14102 configure-intl
14103 @[ -f ./intl/Makefile ] || exit 0; \
14104 r=`${PWD_COMMAND}`; export r; \
14105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14106 $(HOST_EXPORTS) \
14107 for flag in $(EXTRA_HOST_FLAGS) ; do \
14108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14109 done; \
14110 echo "Doing installcheck in intl" ; \
14111 (cd $(HOST_SUBDIR)/intl && \
14112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14114 "RANLIB=$${RANLIB}" \
14115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14116 installcheck) \
14117 || exit 1
14119 @endif intl
14121 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14122 maybe-mostlyclean-intl:
14123 @if intl
14124 maybe-mostlyclean-intl: mostlyclean-intl
14126 mostlyclean-intl:
14127 @[ -f ./intl/Makefile ] || exit 0; \
14128 r=`${PWD_COMMAND}`; export r; \
14129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14130 $(HOST_EXPORTS) \
14131 for flag in $(EXTRA_HOST_FLAGS) ; do \
14132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14133 done; \
14134 echo "Doing mostlyclean in intl" ; \
14135 (cd $(HOST_SUBDIR)/intl && \
14136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14138 "RANLIB=$${RANLIB}" \
14139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14140 mostlyclean) \
14141 || exit 1
14143 @endif intl
14145 .PHONY: maybe-clean-intl clean-intl
14146 maybe-clean-intl:
14147 @if intl
14148 maybe-clean-intl: clean-intl
14150 clean-intl:
14151 @[ -f ./intl/Makefile ] || exit 0; \
14152 r=`${PWD_COMMAND}`; export r; \
14153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14154 $(HOST_EXPORTS) \
14155 for flag in $(EXTRA_HOST_FLAGS) ; do \
14156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14157 done; \
14158 echo "Doing clean in intl" ; \
14159 (cd $(HOST_SUBDIR)/intl && \
14160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14162 "RANLIB=$${RANLIB}" \
14163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14164 clean) \
14165 || exit 1
14167 @endif intl
14169 .PHONY: maybe-distclean-intl distclean-intl
14170 maybe-distclean-intl:
14171 @if intl
14172 maybe-distclean-intl: distclean-intl
14174 distclean-intl:
14175 @[ -f ./intl/Makefile ] || exit 0; \
14176 r=`${PWD_COMMAND}`; export r; \
14177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14178 $(HOST_EXPORTS) \
14179 for flag in $(EXTRA_HOST_FLAGS) ; do \
14180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14181 done; \
14182 echo "Doing distclean in intl" ; \
14183 (cd $(HOST_SUBDIR)/intl && \
14184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14186 "RANLIB=$${RANLIB}" \
14187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14188 distclean) \
14189 || exit 1
14191 @endif intl
14193 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14194 maybe-maintainer-clean-intl:
14195 @if intl
14196 maybe-maintainer-clean-intl: maintainer-clean-intl
14198 maintainer-clean-intl:
14199 @[ -f ./intl/Makefile ] || exit 0; \
14200 r=`${PWD_COMMAND}`; export r; \
14201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14202 $(HOST_EXPORTS) \
14203 for flag in $(EXTRA_HOST_FLAGS) ; do \
14204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14205 done; \
14206 echo "Doing maintainer-clean in intl" ; \
14207 (cd $(HOST_SUBDIR)/intl && \
14208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14210 "RANLIB=$${RANLIB}" \
14211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14212 maintainer-clean) \
14213 || exit 1
14215 @endif intl
14219 .PHONY: configure-tcl maybe-configure-tcl
14220 maybe-configure-tcl:
14221 @if tcl
14222 maybe-configure-tcl: configure-tcl
14223 configure-tcl:
14224 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14225 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14226 r=`${PWD_COMMAND}`; export r; \
14227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14228 $(HOST_EXPORTS) \
14229 echo Configuring in $(HOST_SUBDIR)/tcl; \
14230 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14231 case $(srcdir) in \
14232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14233 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14235 esac; \
14236 srcdiroption="--srcdir=$${topdir}/tcl"; \
14237 libsrcdir="$$s/tcl"; \
14238 $(SHELL) $${libsrcdir}/configure \
14239 $(HOST_CONFIGARGS) $${srcdiroption} \
14240 || exit 1
14241 @endif tcl
14247 .PHONY: all-tcl maybe-all-tcl
14248 maybe-all-tcl:
14249 @if tcl
14250 TARGET-tcl=all
14251 maybe-all-tcl: all-tcl
14252 all-tcl: configure-tcl
14253 @r=`${PWD_COMMAND}`; export r; \
14254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14255 $(HOST_EXPORTS) \
14256 (cd $(HOST_SUBDIR)/tcl && \
14257 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14258 @endif tcl
14263 .PHONY: check-tcl maybe-check-tcl
14264 maybe-check-tcl:
14265 @if tcl
14266 maybe-check-tcl: check-tcl
14268 check-tcl:
14269 @r=`${PWD_COMMAND}`; export r; \
14270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14271 $(HOST_EXPORTS) \
14272 (cd $(HOST_SUBDIR)/tcl && \
14273 $(MAKE) $(FLAGS_TO_PASS) check)
14275 @endif tcl
14277 .PHONY: install-tcl maybe-install-tcl
14278 maybe-install-tcl:
14279 @if tcl
14280 maybe-install-tcl: install-tcl
14282 install-tcl: installdirs
14283 @r=`${PWD_COMMAND}`; export r; \
14284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14285 $(HOST_EXPORTS) \
14286 (cd $(HOST_SUBDIR)/tcl && \
14287 $(MAKE) $(FLAGS_TO_PASS) install)
14289 @endif tcl
14291 # Other targets (info, dvi, etc.)
14293 .PHONY: maybe-info-tcl info-tcl
14294 maybe-info-tcl:
14295 @if tcl
14296 maybe-info-tcl: info-tcl
14298 info-tcl: \
14299 configure-tcl
14300 @[ -f ./tcl/Makefile ] || exit 0; \
14301 r=`${PWD_COMMAND}`; export r; \
14302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14303 $(HOST_EXPORTS) \
14304 for flag in $(EXTRA_HOST_FLAGS) ; do \
14305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14306 done; \
14307 echo "Doing info in tcl" ; \
14308 (cd $(HOST_SUBDIR)/tcl && \
14309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14311 "RANLIB=$${RANLIB}" \
14312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14313 info) \
14314 || exit 1
14316 @endif tcl
14318 .PHONY: maybe-dvi-tcl dvi-tcl
14319 maybe-dvi-tcl:
14320 @if tcl
14321 maybe-dvi-tcl: dvi-tcl
14323 dvi-tcl: \
14324 configure-tcl
14325 @[ -f ./tcl/Makefile ] || exit 0; \
14326 r=`${PWD_COMMAND}`; export r; \
14327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14328 $(HOST_EXPORTS) \
14329 for flag in $(EXTRA_HOST_FLAGS) ; do \
14330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14331 done; \
14332 echo "Doing dvi in tcl" ; \
14333 (cd $(HOST_SUBDIR)/tcl && \
14334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14336 "RANLIB=$${RANLIB}" \
14337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14338 dvi) \
14339 || exit 1
14341 @endif tcl
14343 .PHONY: maybe-html-tcl html-tcl
14344 maybe-html-tcl:
14345 @if tcl
14346 maybe-html-tcl: html-tcl
14348 html-tcl: \
14349 configure-tcl
14350 @[ -f ./tcl/Makefile ] || exit 0; \
14351 r=`${PWD_COMMAND}`; export r; \
14352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14353 $(HOST_EXPORTS) \
14354 for flag in $(EXTRA_HOST_FLAGS) ; do \
14355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14356 done; \
14357 echo "Doing html in tcl" ; \
14358 (cd $(HOST_SUBDIR)/tcl && \
14359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14361 "RANLIB=$${RANLIB}" \
14362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14363 html) \
14364 || exit 1
14366 @endif tcl
14368 .PHONY: maybe-TAGS-tcl TAGS-tcl
14369 maybe-TAGS-tcl:
14370 @if tcl
14371 maybe-TAGS-tcl: TAGS-tcl
14373 TAGS-tcl: \
14374 configure-tcl
14375 @[ -f ./tcl/Makefile ] || exit 0; \
14376 r=`${PWD_COMMAND}`; export r; \
14377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 TAGS in tcl" ; \
14383 (cd $(HOST_SUBDIR)/tcl && \
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 TAGS) \
14389 || exit 1
14391 @endif tcl
14393 .PHONY: maybe-install-info-tcl install-info-tcl
14394 maybe-install-info-tcl:
14395 @if tcl
14396 maybe-install-info-tcl: install-info-tcl
14398 install-info-tcl: \
14399 configure-tcl \
14400 info-tcl
14401 @[ -f ./tcl/Makefile ] || exit 0; \
14402 r=`${PWD_COMMAND}`; export r; \
14403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 install-info in tcl" ; \
14409 (cd $(HOST_SUBDIR)/tcl && \
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 install-info) \
14415 || exit 1
14417 @endif tcl
14419 .PHONY: maybe-installcheck-tcl installcheck-tcl
14420 maybe-installcheck-tcl:
14421 @if tcl
14422 maybe-installcheck-tcl: installcheck-tcl
14424 installcheck-tcl: \
14425 configure-tcl
14426 @[ -f ./tcl/Makefile ] || exit 0; \
14427 r=`${PWD_COMMAND}`; export r; \
14428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 installcheck in tcl" ; \
14434 (cd $(HOST_SUBDIR)/tcl && \
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 installcheck) \
14440 || exit 1
14442 @endif tcl
14444 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
14445 maybe-mostlyclean-tcl:
14446 @if tcl
14447 maybe-mostlyclean-tcl: mostlyclean-tcl
14449 # tcl doesn't support mostlyclean.
14450 mostlyclean-tcl:
14452 @endif tcl
14454 .PHONY: maybe-clean-tcl clean-tcl
14455 maybe-clean-tcl:
14456 @if tcl
14457 maybe-clean-tcl: clean-tcl
14459 clean-tcl:
14460 @[ -f ./tcl/Makefile ] || exit 0; \
14461 r=`${PWD_COMMAND}`; export r; \
14462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14463 $(HOST_EXPORTS) \
14464 for flag in $(EXTRA_HOST_FLAGS) ; do \
14465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14466 done; \
14467 echo "Doing clean in tcl" ; \
14468 (cd $(HOST_SUBDIR)/tcl && \
14469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14471 "RANLIB=$${RANLIB}" \
14472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14473 clean) \
14474 || exit 1
14476 @endif tcl
14478 .PHONY: maybe-distclean-tcl distclean-tcl
14479 maybe-distclean-tcl:
14480 @if tcl
14481 maybe-distclean-tcl: distclean-tcl
14483 distclean-tcl:
14484 @[ -f ./tcl/Makefile ] || exit 0; \
14485 r=`${PWD_COMMAND}`; export r; \
14486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14487 $(HOST_EXPORTS) \
14488 for flag in $(EXTRA_HOST_FLAGS) ; do \
14489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14490 done; \
14491 echo "Doing distclean in tcl" ; \
14492 (cd $(HOST_SUBDIR)/tcl && \
14493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14495 "RANLIB=$${RANLIB}" \
14496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14497 distclean) \
14498 || exit 1
14500 @endif tcl
14502 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
14503 maybe-maintainer-clean-tcl:
14504 @if tcl
14505 maybe-maintainer-clean-tcl: maintainer-clean-tcl
14507 maintainer-clean-tcl:
14508 @[ -f ./tcl/Makefile ] || exit 0; \
14509 r=`${PWD_COMMAND}`; export r; \
14510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14511 $(HOST_EXPORTS) \
14512 for flag in $(EXTRA_HOST_FLAGS) ; do \
14513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14514 done; \
14515 echo "Doing maintainer-clean in tcl" ; \
14516 (cd $(HOST_SUBDIR)/tcl && \
14517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14519 "RANLIB=$${RANLIB}" \
14520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14521 maintainer-clean) \
14522 || exit 1
14524 @endif tcl
14528 .PHONY: configure-itcl maybe-configure-itcl
14529 maybe-configure-itcl:
14530 @if itcl
14531 maybe-configure-itcl: configure-itcl
14532 configure-itcl:
14533 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
14534 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
14535 r=`${PWD_COMMAND}`; export r; \
14536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14537 $(HOST_EXPORTS) \
14538 echo Configuring in $(HOST_SUBDIR)/itcl; \
14539 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
14540 case $(srcdir) in \
14541 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14542 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
14543 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14544 esac; \
14545 srcdiroption="--srcdir=$${topdir}/itcl"; \
14546 libsrcdir="$$s/itcl"; \
14547 $(SHELL) $${libsrcdir}/configure \
14548 $(HOST_CONFIGARGS) $${srcdiroption} \
14549 || exit 1
14550 @endif itcl
14556 .PHONY: all-itcl maybe-all-itcl
14557 maybe-all-itcl:
14558 @if itcl
14559 TARGET-itcl=all
14560 maybe-all-itcl: all-itcl
14561 all-itcl: configure-itcl
14562 @r=`${PWD_COMMAND}`; export r; \
14563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14564 $(HOST_EXPORTS) \
14565 (cd $(HOST_SUBDIR)/itcl && \
14566 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
14567 @endif itcl
14572 .PHONY: check-itcl maybe-check-itcl
14573 maybe-check-itcl:
14574 @if itcl
14575 maybe-check-itcl: check-itcl
14577 check-itcl:
14578 @r=`${PWD_COMMAND}`; export r; \
14579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14580 $(HOST_EXPORTS) \
14581 (cd $(HOST_SUBDIR)/itcl && \
14582 $(MAKE) $(FLAGS_TO_PASS) check)
14584 @endif itcl
14586 .PHONY: install-itcl maybe-install-itcl
14587 maybe-install-itcl:
14588 @if itcl
14589 maybe-install-itcl: install-itcl
14591 install-itcl: installdirs
14592 @r=`${PWD_COMMAND}`; export r; \
14593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14594 $(HOST_EXPORTS) \
14595 (cd $(HOST_SUBDIR)/itcl && \
14596 $(MAKE) $(FLAGS_TO_PASS) install)
14598 @endif itcl
14600 # Other targets (info, dvi, etc.)
14602 .PHONY: maybe-info-itcl info-itcl
14603 maybe-info-itcl:
14604 @if itcl
14605 maybe-info-itcl: info-itcl
14607 info-itcl: \
14608 configure-itcl
14609 @[ -f ./itcl/Makefile ] || exit 0; \
14610 r=`${PWD_COMMAND}`; export r; \
14611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14612 $(HOST_EXPORTS) \
14613 for flag in $(EXTRA_HOST_FLAGS) ; do \
14614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14615 done; \
14616 echo "Doing info in itcl" ; \
14617 (cd $(HOST_SUBDIR)/itcl && \
14618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14620 "RANLIB=$${RANLIB}" \
14621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14622 info) \
14623 || exit 1
14625 @endif itcl
14627 .PHONY: maybe-dvi-itcl dvi-itcl
14628 maybe-dvi-itcl:
14629 @if itcl
14630 maybe-dvi-itcl: dvi-itcl
14632 dvi-itcl: \
14633 configure-itcl
14634 @[ -f ./itcl/Makefile ] || exit 0; \
14635 r=`${PWD_COMMAND}`; export r; \
14636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14637 $(HOST_EXPORTS) \
14638 for flag in $(EXTRA_HOST_FLAGS) ; do \
14639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14640 done; \
14641 echo "Doing dvi in itcl" ; \
14642 (cd $(HOST_SUBDIR)/itcl && \
14643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14645 "RANLIB=$${RANLIB}" \
14646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14647 dvi) \
14648 || exit 1
14650 @endif itcl
14652 .PHONY: maybe-html-itcl html-itcl
14653 maybe-html-itcl:
14654 @if itcl
14655 maybe-html-itcl: html-itcl
14657 html-itcl: \
14658 configure-itcl
14659 @[ -f ./itcl/Makefile ] || exit 0; \
14660 r=`${PWD_COMMAND}`; export r; \
14661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14662 $(HOST_EXPORTS) \
14663 for flag in $(EXTRA_HOST_FLAGS) ; do \
14664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14665 done; \
14666 echo "Doing html in itcl" ; \
14667 (cd $(HOST_SUBDIR)/itcl && \
14668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14670 "RANLIB=$${RANLIB}" \
14671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14672 html) \
14673 || exit 1
14675 @endif itcl
14677 .PHONY: maybe-TAGS-itcl TAGS-itcl
14678 maybe-TAGS-itcl:
14679 @if itcl
14680 maybe-TAGS-itcl: TAGS-itcl
14682 TAGS-itcl: \
14683 configure-itcl
14684 @[ -f ./itcl/Makefile ] || exit 0; \
14685 r=`${PWD_COMMAND}`; export r; \
14686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14687 $(HOST_EXPORTS) \
14688 for flag in $(EXTRA_HOST_FLAGS) ; do \
14689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14690 done; \
14691 echo "Doing TAGS in itcl" ; \
14692 (cd $(HOST_SUBDIR)/itcl && \
14693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14695 "RANLIB=$${RANLIB}" \
14696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14697 TAGS) \
14698 || exit 1
14700 @endif itcl
14702 .PHONY: maybe-install-info-itcl install-info-itcl
14703 maybe-install-info-itcl:
14704 @if itcl
14705 maybe-install-info-itcl: install-info-itcl
14707 install-info-itcl: \
14708 configure-itcl \
14709 info-itcl
14710 @[ -f ./itcl/Makefile ] || exit 0; \
14711 r=`${PWD_COMMAND}`; export r; \
14712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14713 $(HOST_EXPORTS) \
14714 for flag in $(EXTRA_HOST_FLAGS) ; do \
14715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14716 done; \
14717 echo "Doing install-info in itcl" ; \
14718 (cd $(HOST_SUBDIR)/itcl && \
14719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14721 "RANLIB=$${RANLIB}" \
14722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14723 install-info) \
14724 || exit 1
14726 @endif itcl
14728 .PHONY: maybe-installcheck-itcl installcheck-itcl
14729 maybe-installcheck-itcl:
14730 @if itcl
14731 maybe-installcheck-itcl: installcheck-itcl
14733 installcheck-itcl: \
14734 configure-itcl
14735 @[ -f ./itcl/Makefile ] || exit 0; \
14736 r=`${PWD_COMMAND}`; export r; \
14737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14738 $(HOST_EXPORTS) \
14739 for flag in $(EXTRA_HOST_FLAGS) ; do \
14740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14741 done; \
14742 echo "Doing installcheck in itcl" ; \
14743 (cd $(HOST_SUBDIR)/itcl && \
14744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14746 "RANLIB=$${RANLIB}" \
14747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14748 installcheck) \
14749 || exit 1
14751 @endif itcl
14753 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
14754 maybe-mostlyclean-itcl:
14755 @if itcl
14756 maybe-mostlyclean-itcl: mostlyclean-itcl
14758 mostlyclean-itcl:
14759 @[ -f ./itcl/Makefile ] || exit 0; \
14760 r=`${PWD_COMMAND}`; export r; \
14761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14762 $(HOST_EXPORTS) \
14763 for flag in $(EXTRA_HOST_FLAGS) ; do \
14764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14765 done; \
14766 echo "Doing mostlyclean in itcl" ; \
14767 (cd $(HOST_SUBDIR)/itcl && \
14768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14770 "RANLIB=$${RANLIB}" \
14771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14772 mostlyclean) \
14773 || exit 1
14775 @endif itcl
14777 .PHONY: maybe-clean-itcl clean-itcl
14778 maybe-clean-itcl:
14779 @if itcl
14780 maybe-clean-itcl: clean-itcl
14782 clean-itcl:
14783 @[ -f ./itcl/Makefile ] || exit 0; \
14784 r=`${PWD_COMMAND}`; export r; \
14785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14786 $(HOST_EXPORTS) \
14787 for flag in $(EXTRA_HOST_FLAGS) ; do \
14788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14789 done; \
14790 echo "Doing clean in itcl" ; \
14791 (cd $(HOST_SUBDIR)/itcl && \
14792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14794 "RANLIB=$${RANLIB}" \
14795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14796 clean) \
14797 || exit 1
14799 @endif itcl
14801 .PHONY: maybe-distclean-itcl distclean-itcl
14802 maybe-distclean-itcl:
14803 @if itcl
14804 maybe-distclean-itcl: distclean-itcl
14806 distclean-itcl:
14807 @[ -f ./itcl/Makefile ] || exit 0; \
14808 r=`${PWD_COMMAND}`; export r; \
14809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14810 $(HOST_EXPORTS) \
14811 for flag in $(EXTRA_HOST_FLAGS) ; do \
14812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14813 done; \
14814 echo "Doing distclean in itcl" ; \
14815 (cd $(HOST_SUBDIR)/itcl && \
14816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14818 "RANLIB=$${RANLIB}" \
14819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14820 distclean) \
14821 || exit 1
14823 @endif itcl
14825 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
14826 maybe-maintainer-clean-itcl:
14827 @if itcl
14828 maybe-maintainer-clean-itcl: maintainer-clean-itcl
14830 maintainer-clean-itcl:
14831 @[ -f ./itcl/Makefile ] || exit 0; \
14832 r=`${PWD_COMMAND}`; export r; \
14833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14834 $(HOST_EXPORTS) \
14835 for flag in $(EXTRA_HOST_FLAGS) ; do \
14836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14837 done; \
14838 echo "Doing maintainer-clean in itcl" ; \
14839 (cd $(HOST_SUBDIR)/itcl && \
14840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14842 "RANLIB=$${RANLIB}" \
14843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14844 maintainer-clean) \
14845 || exit 1
14847 @endif itcl
14851 .PHONY: configure-ld maybe-configure-ld
14852 maybe-configure-ld:
14853 @if ld
14854 maybe-configure-ld: configure-ld
14855 configure-ld:
14856 @test -f stage_last && exit 0; \
14857 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
14858 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
14859 r=`${PWD_COMMAND}`; export r; \
14860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14861 $(HOST_EXPORTS) \
14862 echo Configuring in $(HOST_SUBDIR)/ld; \
14863 cd "$(HOST_SUBDIR)/ld" || exit 1; \
14864 case $(srcdir) in \
14865 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14866 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14867 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14868 esac; \
14869 srcdiroption="--srcdir=$${topdir}/ld"; \
14870 libsrcdir="$$s/ld"; \
14871 $(SHELL) $${libsrcdir}/configure \
14872 $(HOST_CONFIGARGS) $${srcdiroption} \
14873 || exit 1
14874 @endif ld
14878 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
14879 maybe-configure-stage1-ld:
14880 @if ld-bootstrap
14881 maybe-configure-stage1-ld: configure-stage1-ld
14882 configure-stage1-ld:
14883 @$(MAKE) stage1-start
14884 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14885 r=`${PWD_COMMAND}`; export r; \
14886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14887 $(HOST_EXPORTS) \
14888 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
14889 cd $(HOST_SUBDIR)/ld || exit 1; \
14890 case $(srcdir) in \
14891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14892 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14894 esac; \
14895 srcdiroption="--srcdir=$${topdir}/ld"; \
14896 libsrcdir="$$s/ld"; \
14897 $(SHELL) $${libsrcdir}/configure \
14898 $(HOST_CONFIGARGS) $${srcdiroption} \
14899 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14900 @endif ld-bootstrap
14902 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
14903 maybe-configure-stage2-ld:
14904 @if ld-bootstrap
14905 maybe-configure-stage2-ld: configure-stage2-ld
14906 configure-stage2-ld:
14907 @$(MAKE) stage2-start
14908 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14909 r=`${PWD_COMMAND}`; export r; \
14910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14911 $(HOST_EXPORTS) \
14912 $(POSTSTAGE1_HOST_EXPORTS) \
14913 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
14914 cd $(HOST_SUBDIR)/ld || exit 1; \
14915 case $(srcdir) in \
14916 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14917 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14918 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14919 esac; \
14920 srcdiroption="--srcdir=$${topdir}/ld"; \
14921 libsrcdir="$$s/ld"; \
14922 $(SHELL) $${libsrcdir}/configure \
14923 $(HOST_CONFIGARGS) $${srcdiroption} \
14924 @stage2_werror_flag@
14925 @endif ld-bootstrap
14927 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
14928 maybe-configure-stage3-ld:
14929 @if ld-bootstrap
14930 maybe-configure-stage3-ld: configure-stage3-ld
14931 configure-stage3-ld:
14932 @$(MAKE) stage3-start
14933 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14934 r=`${PWD_COMMAND}`; export r; \
14935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14936 $(HOST_EXPORTS) \
14937 $(POSTSTAGE1_HOST_EXPORTS) \
14938 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
14939 cd $(HOST_SUBDIR)/ld || exit 1; \
14940 case $(srcdir) in \
14941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14942 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14944 esac; \
14945 srcdiroption="--srcdir=$${topdir}/ld"; \
14946 libsrcdir="$$s/ld"; \
14947 $(SHELL) $${libsrcdir}/configure \
14948 $(HOST_CONFIGARGS) $${srcdiroption} \
14949 @stage2_werror_flag@
14950 @endif ld-bootstrap
14952 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
14953 maybe-configure-stage4-ld:
14954 @if ld-bootstrap
14955 maybe-configure-stage4-ld: configure-stage4-ld
14956 configure-stage4-ld:
14957 @$(MAKE) stage4-start
14958 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14959 r=`${PWD_COMMAND}`; export r; \
14960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14961 $(HOST_EXPORTS) \
14962 $(POSTSTAGE1_HOST_EXPORTS) \
14963 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
14964 cd $(HOST_SUBDIR)/ld || exit 1; \
14965 case $(srcdir) in \
14966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14967 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14969 esac; \
14970 srcdiroption="--srcdir=$${topdir}/ld"; \
14971 libsrcdir="$$s/ld"; \
14972 $(SHELL) $${libsrcdir}/configure \
14973 $(HOST_CONFIGARGS) $${srcdiroption} \
14974 @stage2_werror_flag@
14975 @endif ld-bootstrap
14977 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
14978 maybe-configure-stageprofile-ld:
14979 @if ld-bootstrap
14980 maybe-configure-stageprofile-ld: configure-stageprofile-ld
14981 configure-stageprofile-ld:
14982 @$(MAKE) stageprofile-start
14983 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14984 r=`${PWD_COMMAND}`; export r; \
14985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14986 $(HOST_EXPORTS) \
14987 $(POSTSTAGE1_HOST_EXPORTS) \
14988 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
14989 cd $(HOST_SUBDIR)/ld || exit 1; \
14990 case $(srcdir) in \
14991 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14992 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14993 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14994 esac; \
14995 srcdiroption="--srcdir=$${topdir}/ld"; \
14996 libsrcdir="$$s/ld"; \
14997 $(SHELL) $${libsrcdir}/configure \
14998 $(HOST_CONFIGARGS) $${srcdiroption} \
14999 @stage2_werror_flag@
15000 @endif ld-bootstrap
15002 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
15003 maybe-configure-stagefeedback-ld:
15004 @if ld-bootstrap
15005 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
15006 configure-stagefeedback-ld:
15007 @$(MAKE) stagefeedback-start
15008 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15009 r=`${PWD_COMMAND}`; export r; \
15010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15011 $(HOST_EXPORTS) \
15012 $(POSTSTAGE1_HOST_EXPORTS) \
15013 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
15014 cd $(HOST_SUBDIR)/ld || exit 1; \
15015 case $(srcdir) in \
15016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15017 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15019 esac; \
15020 srcdiroption="--srcdir=$${topdir}/ld"; \
15021 libsrcdir="$$s/ld"; \
15022 $(SHELL) $${libsrcdir}/configure \
15023 $(HOST_CONFIGARGS) $${srcdiroption} \
15024 @stage2_werror_flag@
15025 @endif ld-bootstrap
15031 .PHONY: all-ld maybe-all-ld
15032 maybe-all-ld:
15033 @if ld
15034 TARGET-ld=all
15035 maybe-all-ld: all-ld
15036 all-ld: configure-ld
15037 @test -f stage_last && exit 0; \
15038 r=`${PWD_COMMAND}`; export r; \
15039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15040 $(HOST_EXPORTS) \
15041 (cd $(HOST_SUBDIR)/ld && \
15042 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
15043 @endif ld
15047 .PHONY: all-stage1-ld maybe-all-stage1-ld
15048 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
15049 maybe-all-stage1-ld:
15050 maybe-clean-stage1-ld:
15051 @if ld-bootstrap
15052 maybe-all-stage1-ld: all-stage1-ld
15053 all-stage1: all-stage1-ld
15054 all-stage1-ld: configure-stage1-ld
15055 @$(MAKE) stage1-start
15056 @r=`${PWD_COMMAND}`; export r; \
15057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15058 $(HOST_EXPORTS) \
15059 cd $(HOST_SUBDIR)/ld && \
15060 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
15062 maybe-clean-stage1-ld: clean-stage1-ld
15063 clean-stage1: clean-stage1-ld
15064 clean-stage1-ld:
15065 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
15066 || exit 0 ; \
15067 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage1-start ; \
15068 cd $(HOST_SUBDIR)/ld && \
15069 $(MAKE) $(FLAGS_TO_PASS) \
15070 CFLAGS="$(STAGE1_CFLAGS)" clean
15071 @endif ld-bootstrap
15074 .PHONY: all-stage2-ld maybe-all-stage2-ld
15075 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
15076 maybe-all-stage2-ld:
15077 maybe-clean-stage2-ld:
15078 @if ld-bootstrap
15079 maybe-all-stage2-ld: all-stage2-ld
15080 all-stage2: all-stage2-ld
15081 all-stage2-ld: configure-stage2-ld
15082 @$(MAKE) stage2-start
15083 @r=`${PWD_COMMAND}`; export r; \
15084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15085 $(HOST_EXPORTS) \
15086 $(POSTSTAGE1_HOST_EXPORTS) \
15087 cd $(HOST_SUBDIR)/ld && \
15088 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15090 maybe-clean-stage2-ld: clean-stage2-ld
15091 clean-stage2: clean-stage2-ld
15092 clean-stage2-ld:
15093 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15094 || exit 0 ; \
15095 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage2-start ; \
15096 cd $(HOST_SUBDIR)/ld && \
15097 $(MAKE) $(FLAGS_TO_PASS) \
15098 $(POSTSTAGE1_FLAGS_TO_PASS) \
15099 clean
15100 @endif ld-bootstrap
15103 .PHONY: all-stage3-ld maybe-all-stage3-ld
15104 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
15105 maybe-all-stage3-ld:
15106 maybe-clean-stage3-ld:
15107 @if ld-bootstrap
15108 maybe-all-stage3-ld: all-stage3-ld
15109 all-stage3: all-stage3-ld
15110 all-stage3-ld: configure-stage3-ld
15111 @$(MAKE) stage3-start
15112 @r=`${PWD_COMMAND}`; export r; \
15113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15114 $(HOST_EXPORTS) \
15115 $(POSTSTAGE1_HOST_EXPORTS) \
15116 cd $(HOST_SUBDIR)/ld && \
15117 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15119 maybe-clean-stage3-ld: clean-stage3-ld
15120 clean-stage3: clean-stage3-ld
15121 clean-stage3-ld:
15122 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15123 || exit 0 ; \
15124 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage3-start ; \
15125 cd $(HOST_SUBDIR)/ld && \
15126 $(MAKE) $(FLAGS_TO_PASS) \
15127 $(POSTSTAGE1_FLAGS_TO_PASS) \
15128 clean
15129 @endif ld-bootstrap
15132 .PHONY: all-stage4-ld maybe-all-stage4-ld
15133 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15134 maybe-all-stage4-ld:
15135 maybe-clean-stage4-ld:
15136 @if ld-bootstrap
15137 maybe-all-stage4-ld: all-stage4-ld
15138 all-stage4: all-stage4-ld
15139 all-stage4-ld: configure-stage4-ld
15140 @$(MAKE) stage4-start
15141 @r=`${PWD_COMMAND}`; export r; \
15142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15143 $(HOST_EXPORTS) \
15144 $(POSTSTAGE1_HOST_EXPORTS) \
15145 cd $(HOST_SUBDIR)/ld && \
15146 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15148 maybe-clean-stage4-ld: clean-stage4-ld
15149 clean-stage4: clean-stage4-ld
15150 clean-stage4-ld:
15151 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15152 || exit 0 ; \
15153 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage4-start ; \
15154 cd $(HOST_SUBDIR)/ld && \
15155 $(MAKE) $(FLAGS_TO_PASS) \
15156 $(POSTSTAGE1_FLAGS_TO_PASS) \
15157 clean
15158 @endif ld-bootstrap
15161 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15162 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15163 maybe-all-stageprofile-ld:
15164 maybe-clean-stageprofile-ld:
15165 @if ld-bootstrap
15166 maybe-all-stageprofile-ld: all-stageprofile-ld
15167 all-stageprofile: all-stageprofile-ld
15168 all-stageprofile-ld: configure-stageprofile-ld
15169 @$(MAKE) stageprofile-start
15170 @r=`${PWD_COMMAND}`; export r; \
15171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15172 $(HOST_EXPORTS) \
15173 $(POSTSTAGE1_HOST_EXPORTS) \
15174 cd $(HOST_SUBDIR)/ld && \
15175 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
15177 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15178 clean-stageprofile: clean-stageprofile-ld
15179 clean-stageprofile-ld:
15180 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15181 || exit 0 ; \
15182 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stageprofile-start ; \
15183 cd $(HOST_SUBDIR)/ld && \
15184 $(MAKE) $(FLAGS_TO_PASS) \
15185 $(POSTSTAGE1_FLAGS_TO_PASS) \
15186 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15187 @endif ld-bootstrap
15190 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15191 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15192 maybe-all-stagefeedback-ld:
15193 maybe-clean-stagefeedback-ld:
15194 @if ld-bootstrap
15195 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15196 all-stagefeedback: all-stagefeedback-ld
15197 all-stagefeedback-ld: configure-stagefeedback-ld
15198 @$(MAKE) stagefeedback-start
15199 @r=`${PWD_COMMAND}`; export r; \
15200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15201 $(HOST_EXPORTS) \
15202 $(POSTSTAGE1_HOST_EXPORTS) \
15203 cd $(HOST_SUBDIR)/ld && \
15204 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
15206 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15207 clean-stagefeedback: clean-stagefeedback-ld
15208 clean-stagefeedback-ld:
15209 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15210 || exit 0 ; \
15211 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stagefeedback-start ; \
15212 cd $(HOST_SUBDIR)/ld && \
15213 $(MAKE) $(FLAGS_TO_PASS) \
15214 $(POSTSTAGE1_FLAGS_TO_PASS) \
15215 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15216 @endif ld-bootstrap
15222 .PHONY: check-ld maybe-check-ld
15223 maybe-check-ld:
15224 @if ld
15225 maybe-check-ld: check-ld
15227 check-ld:
15228 @r=`${PWD_COMMAND}`; export r; \
15229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15230 $(HOST_EXPORTS) \
15231 (cd $(HOST_SUBDIR)/ld && \
15232 $(MAKE) $(FLAGS_TO_PASS) check)
15234 @endif ld
15236 .PHONY: install-ld maybe-install-ld
15237 maybe-install-ld:
15238 @if ld
15239 maybe-install-ld: install-ld
15241 install-ld: installdirs
15242 @r=`${PWD_COMMAND}`; export r; \
15243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15244 $(HOST_EXPORTS) \
15245 (cd $(HOST_SUBDIR)/ld && \
15246 $(MAKE) $(FLAGS_TO_PASS) install)
15248 @endif ld
15250 # Other targets (info, dvi, etc.)
15252 .PHONY: maybe-info-ld info-ld
15253 maybe-info-ld:
15254 @if ld
15255 maybe-info-ld: info-ld
15257 info-ld: \
15258 configure-ld
15259 @[ -f ./ld/Makefile ] || exit 0; \
15260 r=`${PWD_COMMAND}`; export r; \
15261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15262 $(HOST_EXPORTS) \
15263 for flag in $(EXTRA_HOST_FLAGS) ; do \
15264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15265 done; \
15266 echo "Doing info in ld" ; \
15267 (cd $(HOST_SUBDIR)/ld && \
15268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15270 "RANLIB=$${RANLIB}" \
15271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15272 info) \
15273 || exit 1
15275 @endif ld
15277 .PHONY: maybe-dvi-ld dvi-ld
15278 maybe-dvi-ld:
15279 @if ld
15280 maybe-dvi-ld: dvi-ld
15282 dvi-ld: \
15283 configure-ld
15284 @[ -f ./ld/Makefile ] || exit 0; \
15285 r=`${PWD_COMMAND}`; export r; \
15286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15287 $(HOST_EXPORTS) \
15288 for flag in $(EXTRA_HOST_FLAGS) ; do \
15289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15290 done; \
15291 echo "Doing dvi in ld" ; \
15292 (cd $(HOST_SUBDIR)/ld && \
15293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15295 "RANLIB=$${RANLIB}" \
15296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15297 dvi) \
15298 || exit 1
15300 @endif ld
15302 .PHONY: maybe-html-ld html-ld
15303 maybe-html-ld:
15304 @if ld
15305 maybe-html-ld: html-ld
15307 html-ld: \
15308 configure-ld
15309 @[ -f ./ld/Makefile ] || exit 0; \
15310 r=`${PWD_COMMAND}`; export r; \
15311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15312 $(HOST_EXPORTS) \
15313 for flag in $(EXTRA_HOST_FLAGS) ; do \
15314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15315 done; \
15316 echo "Doing html in ld" ; \
15317 (cd $(HOST_SUBDIR)/ld && \
15318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15320 "RANLIB=$${RANLIB}" \
15321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15322 html) \
15323 || exit 1
15325 @endif ld
15327 .PHONY: maybe-TAGS-ld TAGS-ld
15328 maybe-TAGS-ld:
15329 @if ld
15330 maybe-TAGS-ld: TAGS-ld
15332 TAGS-ld: \
15333 configure-ld
15334 @[ -f ./ld/Makefile ] || exit 0; \
15335 r=`${PWD_COMMAND}`; export r; \
15336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15337 $(HOST_EXPORTS) \
15338 for flag in $(EXTRA_HOST_FLAGS) ; do \
15339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15340 done; \
15341 echo "Doing TAGS in ld" ; \
15342 (cd $(HOST_SUBDIR)/ld && \
15343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15345 "RANLIB=$${RANLIB}" \
15346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15347 TAGS) \
15348 || exit 1
15350 @endif ld
15352 .PHONY: maybe-install-info-ld install-info-ld
15353 maybe-install-info-ld:
15354 @if ld
15355 maybe-install-info-ld: install-info-ld
15357 install-info-ld: \
15358 configure-ld \
15359 info-ld
15360 @[ -f ./ld/Makefile ] || exit 0; \
15361 r=`${PWD_COMMAND}`; export r; \
15362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15363 $(HOST_EXPORTS) \
15364 for flag in $(EXTRA_HOST_FLAGS) ; do \
15365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15366 done; \
15367 echo "Doing install-info in ld" ; \
15368 (cd $(HOST_SUBDIR)/ld && \
15369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15371 "RANLIB=$${RANLIB}" \
15372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15373 install-info) \
15374 || exit 1
15376 @endif ld
15378 .PHONY: maybe-installcheck-ld installcheck-ld
15379 maybe-installcheck-ld:
15380 @if ld
15381 maybe-installcheck-ld: installcheck-ld
15383 installcheck-ld: \
15384 configure-ld
15385 @[ -f ./ld/Makefile ] || exit 0; \
15386 r=`${PWD_COMMAND}`; export r; \
15387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15388 $(HOST_EXPORTS) \
15389 for flag in $(EXTRA_HOST_FLAGS) ; do \
15390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15391 done; \
15392 echo "Doing installcheck in ld" ; \
15393 (cd $(HOST_SUBDIR)/ld && \
15394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15396 "RANLIB=$${RANLIB}" \
15397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15398 installcheck) \
15399 || exit 1
15401 @endif ld
15403 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
15404 maybe-mostlyclean-ld:
15405 @if ld
15406 maybe-mostlyclean-ld: mostlyclean-ld
15408 mostlyclean-ld:
15409 @[ -f ./ld/Makefile ] || exit 0; \
15410 r=`${PWD_COMMAND}`; export r; \
15411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15412 $(HOST_EXPORTS) \
15413 for flag in $(EXTRA_HOST_FLAGS) ; do \
15414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15415 done; \
15416 echo "Doing mostlyclean in ld" ; \
15417 (cd $(HOST_SUBDIR)/ld && \
15418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15420 "RANLIB=$${RANLIB}" \
15421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15422 mostlyclean) \
15423 || exit 1
15425 @endif ld
15427 .PHONY: maybe-clean-ld clean-ld
15428 maybe-clean-ld:
15429 @if ld
15430 maybe-clean-ld: clean-ld
15432 clean-ld:
15433 @[ -f ./ld/Makefile ] || exit 0; \
15434 r=`${PWD_COMMAND}`; export r; \
15435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15436 $(HOST_EXPORTS) \
15437 for flag in $(EXTRA_HOST_FLAGS) ; do \
15438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15439 done; \
15440 echo "Doing clean in ld" ; \
15441 (cd $(HOST_SUBDIR)/ld && \
15442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15444 "RANLIB=$${RANLIB}" \
15445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15446 clean) \
15447 || exit 1
15449 @endif ld
15451 .PHONY: maybe-distclean-ld distclean-ld
15452 maybe-distclean-ld:
15453 @if ld
15454 maybe-distclean-ld: distclean-ld
15456 distclean-ld:
15457 @[ -f ./ld/Makefile ] || exit 0; \
15458 r=`${PWD_COMMAND}`; export r; \
15459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15460 $(HOST_EXPORTS) \
15461 for flag in $(EXTRA_HOST_FLAGS) ; do \
15462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15463 done; \
15464 echo "Doing distclean in ld" ; \
15465 (cd $(HOST_SUBDIR)/ld && \
15466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15468 "RANLIB=$${RANLIB}" \
15469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15470 distclean) \
15471 || exit 1
15473 @endif ld
15475 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
15476 maybe-maintainer-clean-ld:
15477 @if ld
15478 maybe-maintainer-clean-ld: maintainer-clean-ld
15480 maintainer-clean-ld:
15481 @[ -f ./ld/Makefile ] || exit 0; \
15482 r=`${PWD_COMMAND}`; export r; \
15483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15484 $(HOST_EXPORTS) \
15485 for flag in $(EXTRA_HOST_FLAGS) ; do \
15486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15487 done; \
15488 echo "Doing maintainer-clean in ld" ; \
15489 (cd $(HOST_SUBDIR)/ld && \
15490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15492 "RANLIB=$${RANLIB}" \
15493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15494 maintainer-clean) \
15495 || exit 1
15497 @endif ld
15501 .PHONY: configure-libcpp maybe-configure-libcpp
15502 maybe-configure-libcpp:
15503 @if libcpp
15504 maybe-configure-libcpp: configure-libcpp
15505 configure-libcpp:
15506 @test -f stage_last && exit 0; \
15507 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15508 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15509 r=`${PWD_COMMAND}`; export r; \
15510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15511 $(HOST_EXPORTS) \
15512 echo Configuring in $(HOST_SUBDIR)/libcpp; \
15513 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
15514 case $(srcdir) in \
15515 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15516 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15517 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15518 esac; \
15519 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15520 libsrcdir="$$s/libcpp"; \
15521 $(SHELL) $${libsrcdir}/configure \
15522 $(HOST_CONFIGARGS) $${srcdiroption} \
15523 || exit 1
15524 @endif libcpp
15528 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
15529 maybe-configure-stage1-libcpp:
15530 @if libcpp-bootstrap
15531 maybe-configure-stage1-libcpp: configure-stage1-libcpp
15532 configure-stage1-libcpp:
15533 @$(MAKE) stage1-start
15534 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15535 r=`${PWD_COMMAND}`; export r; \
15536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15537 $(HOST_EXPORTS) \
15538 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
15539 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15540 case $(srcdir) in \
15541 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15542 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15543 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15544 esac; \
15545 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15546 libsrcdir="$$s/libcpp"; \
15547 $(SHELL) $${libsrcdir}/configure \
15548 $(HOST_CONFIGARGS) $${srcdiroption} \
15549 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15550 @endif libcpp-bootstrap
15552 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
15553 maybe-configure-stage2-libcpp:
15554 @if libcpp-bootstrap
15555 maybe-configure-stage2-libcpp: configure-stage2-libcpp
15556 configure-stage2-libcpp:
15557 @$(MAKE) stage2-start
15558 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15559 r=`${PWD_COMMAND}`; export r; \
15560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15561 $(HOST_EXPORTS) \
15562 $(POSTSTAGE1_HOST_EXPORTS) \
15563 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
15564 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15565 case $(srcdir) in \
15566 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15567 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15568 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15569 esac; \
15570 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15571 libsrcdir="$$s/libcpp"; \
15572 $(SHELL) $${libsrcdir}/configure \
15573 $(HOST_CONFIGARGS) $${srcdiroption} \
15574 @stage2_werror_flag@
15575 @endif libcpp-bootstrap
15577 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
15578 maybe-configure-stage3-libcpp:
15579 @if libcpp-bootstrap
15580 maybe-configure-stage3-libcpp: configure-stage3-libcpp
15581 configure-stage3-libcpp:
15582 @$(MAKE) stage3-start
15583 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15584 r=`${PWD_COMMAND}`; export r; \
15585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15586 $(HOST_EXPORTS) \
15587 $(POSTSTAGE1_HOST_EXPORTS) \
15588 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
15589 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15590 case $(srcdir) in \
15591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15592 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15594 esac; \
15595 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15596 libsrcdir="$$s/libcpp"; \
15597 $(SHELL) $${libsrcdir}/configure \
15598 $(HOST_CONFIGARGS) $${srcdiroption} \
15599 @stage2_werror_flag@
15600 @endif libcpp-bootstrap
15602 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
15603 maybe-configure-stage4-libcpp:
15604 @if libcpp-bootstrap
15605 maybe-configure-stage4-libcpp: configure-stage4-libcpp
15606 configure-stage4-libcpp:
15607 @$(MAKE) stage4-start
15608 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15609 r=`${PWD_COMMAND}`; export r; \
15610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15611 $(HOST_EXPORTS) \
15612 $(POSTSTAGE1_HOST_EXPORTS) \
15613 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
15614 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15615 case $(srcdir) in \
15616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15617 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15619 esac; \
15620 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15621 libsrcdir="$$s/libcpp"; \
15622 $(SHELL) $${libsrcdir}/configure \
15623 $(HOST_CONFIGARGS) $${srcdiroption} \
15624 @stage2_werror_flag@
15625 @endif libcpp-bootstrap
15627 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
15628 maybe-configure-stageprofile-libcpp:
15629 @if libcpp-bootstrap
15630 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
15631 configure-stageprofile-libcpp:
15632 @$(MAKE) stageprofile-start
15633 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15634 r=`${PWD_COMMAND}`; export r; \
15635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15636 $(HOST_EXPORTS) \
15637 $(POSTSTAGE1_HOST_EXPORTS) \
15638 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
15639 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15640 case $(srcdir) in \
15641 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15642 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15643 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15644 esac; \
15645 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15646 libsrcdir="$$s/libcpp"; \
15647 $(SHELL) $${libsrcdir}/configure \
15648 $(HOST_CONFIGARGS) $${srcdiroption} \
15649 @stage2_werror_flag@
15650 @endif libcpp-bootstrap
15652 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
15653 maybe-configure-stagefeedback-libcpp:
15654 @if libcpp-bootstrap
15655 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
15656 configure-stagefeedback-libcpp:
15657 @$(MAKE) stagefeedback-start
15658 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15659 r=`${PWD_COMMAND}`; export r; \
15660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15661 $(HOST_EXPORTS) \
15662 $(POSTSTAGE1_HOST_EXPORTS) \
15663 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
15664 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15665 case $(srcdir) in \
15666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15667 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15669 esac; \
15670 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15671 libsrcdir="$$s/libcpp"; \
15672 $(SHELL) $${libsrcdir}/configure \
15673 $(HOST_CONFIGARGS) $${srcdiroption} \
15674 @stage2_werror_flag@
15675 @endif libcpp-bootstrap
15681 .PHONY: all-libcpp maybe-all-libcpp
15682 maybe-all-libcpp:
15683 @if libcpp
15684 TARGET-libcpp=all
15685 maybe-all-libcpp: all-libcpp
15686 all-libcpp: configure-libcpp
15687 @test -f stage_last && exit 0; \
15688 r=`${PWD_COMMAND}`; export r; \
15689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15690 $(HOST_EXPORTS) \
15691 (cd $(HOST_SUBDIR)/libcpp && \
15692 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
15693 @endif libcpp
15697 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
15698 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
15699 maybe-all-stage1-libcpp:
15700 maybe-clean-stage1-libcpp:
15701 @if libcpp-bootstrap
15702 maybe-all-stage1-libcpp: all-stage1-libcpp
15703 all-stage1: all-stage1-libcpp
15704 all-stage1-libcpp: configure-stage1-libcpp
15705 @$(MAKE) stage1-start
15706 @r=`${PWD_COMMAND}`; export r; \
15707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15708 $(HOST_EXPORTS) \
15709 cd $(HOST_SUBDIR)/libcpp && \
15710 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
15712 maybe-clean-stage1-libcpp: clean-stage1-libcpp
15713 clean-stage1: clean-stage1-libcpp
15714 clean-stage1-libcpp:
15715 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
15716 || exit 0 ; \
15717 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage1-start ; \
15718 cd $(HOST_SUBDIR)/libcpp && \
15719 $(MAKE) $(FLAGS_TO_PASS) \
15720 CFLAGS="$(STAGE1_CFLAGS)" clean
15721 @endif libcpp-bootstrap
15724 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
15725 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
15726 maybe-all-stage2-libcpp:
15727 maybe-clean-stage2-libcpp:
15728 @if libcpp-bootstrap
15729 maybe-all-stage2-libcpp: all-stage2-libcpp
15730 all-stage2: all-stage2-libcpp
15731 all-stage2-libcpp: configure-stage2-libcpp
15732 @$(MAKE) stage2-start
15733 @r=`${PWD_COMMAND}`; export r; \
15734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15735 $(HOST_EXPORTS) \
15736 $(POSTSTAGE1_HOST_EXPORTS) \
15737 cd $(HOST_SUBDIR)/libcpp && \
15738 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15740 maybe-clean-stage2-libcpp: clean-stage2-libcpp
15741 clean-stage2: clean-stage2-libcpp
15742 clean-stage2-libcpp:
15743 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
15744 || exit 0 ; \
15745 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage2-start ; \
15746 cd $(HOST_SUBDIR)/libcpp && \
15747 $(MAKE) $(FLAGS_TO_PASS) \
15748 $(POSTSTAGE1_FLAGS_TO_PASS) \
15749 clean
15750 @endif libcpp-bootstrap
15753 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
15754 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
15755 maybe-all-stage3-libcpp:
15756 maybe-clean-stage3-libcpp:
15757 @if libcpp-bootstrap
15758 maybe-all-stage3-libcpp: all-stage3-libcpp
15759 all-stage3: all-stage3-libcpp
15760 all-stage3-libcpp: configure-stage3-libcpp
15761 @$(MAKE) stage3-start
15762 @r=`${PWD_COMMAND}`; export r; \
15763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15764 $(HOST_EXPORTS) \
15765 $(POSTSTAGE1_HOST_EXPORTS) \
15766 cd $(HOST_SUBDIR)/libcpp && \
15767 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15769 maybe-clean-stage3-libcpp: clean-stage3-libcpp
15770 clean-stage3: clean-stage3-libcpp
15771 clean-stage3-libcpp:
15772 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
15773 || exit 0 ; \
15774 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage3-start ; \
15775 cd $(HOST_SUBDIR)/libcpp && \
15776 $(MAKE) $(FLAGS_TO_PASS) \
15777 $(POSTSTAGE1_FLAGS_TO_PASS) \
15778 clean
15779 @endif libcpp-bootstrap
15782 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
15783 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
15784 maybe-all-stage4-libcpp:
15785 maybe-clean-stage4-libcpp:
15786 @if libcpp-bootstrap
15787 maybe-all-stage4-libcpp: all-stage4-libcpp
15788 all-stage4: all-stage4-libcpp
15789 all-stage4-libcpp: configure-stage4-libcpp
15790 @$(MAKE) stage4-start
15791 @r=`${PWD_COMMAND}`; export r; \
15792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15793 $(HOST_EXPORTS) \
15794 $(POSTSTAGE1_HOST_EXPORTS) \
15795 cd $(HOST_SUBDIR)/libcpp && \
15796 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15798 maybe-clean-stage4-libcpp: clean-stage4-libcpp
15799 clean-stage4: clean-stage4-libcpp
15800 clean-stage4-libcpp:
15801 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
15802 || exit 0 ; \
15803 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage4-start ; \
15804 cd $(HOST_SUBDIR)/libcpp && \
15805 $(MAKE) $(FLAGS_TO_PASS) \
15806 $(POSTSTAGE1_FLAGS_TO_PASS) \
15807 clean
15808 @endif libcpp-bootstrap
15811 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
15812 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
15813 maybe-all-stageprofile-libcpp:
15814 maybe-clean-stageprofile-libcpp:
15815 @if libcpp-bootstrap
15816 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
15817 all-stageprofile: all-stageprofile-libcpp
15818 all-stageprofile-libcpp: configure-stageprofile-libcpp
15819 @$(MAKE) stageprofile-start
15820 @r=`${PWD_COMMAND}`; export r; \
15821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15822 $(HOST_EXPORTS) \
15823 $(POSTSTAGE1_HOST_EXPORTS) \
15824 cd $(HOST_SUBDIR)/libcpp && \
15825 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
15827 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
15828 clean-stageprofile: clean-stageprofile-libcpp
15829 clean-stageprofile-libcpp:
15830 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
15831 || exit 0 ; \
15832 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
15833 cd $(HOST_SUBDIR)/libcpp && \
15834 $(MAKE) $(FLAGS_TO_PASS) \
15835 $(POSTSTAGE1_FLAGS_TO_PASS) \
15836 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15837 @endif libcpp-bootstrap
15840 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
15841 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
15842 maybe-all-stagefeedback-libcpp:
15843 maybe-clean-stagefeedback-libcpp:
15844 @if libcpp-bootstrap
15845 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
15846 all-stagefeedback: all-stagefeedback-libcpp
15847 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
15848 @$(MAKE) stagefeedback-start
15849 @r=`${PWD_COMMAND}`; export r; \
15850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15851 $(HOST_EXPORTS) \
15852 $(POSTSTAGE1_HOST_EXPORTS) \
15853 cd $(HOST_SUBDIR)/libcpp && \
15854 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
15856 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
15857 clean-stagefeedback: clean-stagefeedback-libcpp
15858 clean-stagefeedback-libcpp:
15859 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
15860 || exit 0 ; \
15861 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
15862 cd $(HOST_SUBDIR)/libcpp && \
15863 $(MAKE) $(FLAGS_TO_PASS) \
15864 $(POSTSTAGE1_FLAGS_TO_PASS) \
15865 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15866 @endif libcpp-bootstrap
15872 .PHONY: check-libcpp maybe-check-libcpp
15873 maybe-check-libcpp:
15874 @if libcpp
15875 maybe-check-libcpp: check-libcpp
15877 check-libcpp:
15878 @r=`${PWD_COMMAND}`; export r; \
15879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15880 $(HOST_EXPORTS) \
15881 (cd $(HOST_SUBDIR)/libcpp && \
15882 $(MAKE) $(FLAGS_TO_PASS) check)
15884 @endif libcpp
15886 .PHONY: install-libcpp maybe-install-libcpp
15887 maybe-install-libcpp:
15888 @if libcpp
15889 maybe-install-libcpp: install-libcpp
15891 install-libcpp: installdirs
15892 @r=`${PWD_COMMAND}`; export r; \
15893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15894 $(HOST_EXPORTS) \
15895 (cd $(HOST_SUBDIR)/libcpp && \
15896 $(MAKE) $(FLAGS_TO_PASS) install)
15898 @endif libcpp
15900 # Other targets (info, dvi, etc.)
15902 .PHONY: maybe-info-libcpp info-libcpp
15903 maybe-info-libcpp:
15904 @if libcpp
15905 maybe-info-libcpp: info-libcpp
15907 info-libcpp: \
15908 configure-libcpp
15909 @[ -f ./libcpp/Makefile ] || exit 0; \
15910 r=`${PWD_COMMAND}`; export r; \
15911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15912 $(HOST_EXPORTS) \
15913 for flag in $(EXTRA_HOST_FLAGS) ; do \
15914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15915 done; \
15916 echo "Doing info in libcpp" ; \
15917 (cd $(HOST_SUBDIR)/libcpp && \
15918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15920 "RANLIB=$${RANLIB}" \
15921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15922 info) \
15923 || exit 1
15925 @endif libcpp
15927 .PHONY: maybe-dvi-libcpp dvi-libcpp
15928 maybe-dvi-libcpp:
15929 @if libcpp
15930 maybe-dvi-libcpp: dvi-libcpp
15932 dvi-libcpp: \
15933 configure-libcpp
15934 @[ -f ./libcpp/Makefile ] || exit 0; \
15935 r=`${PWD_COMMAND}`; export r; \
15936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15937 $(HOST_EXPORTS) \
15938 for flag in $(EXTRA_HOST_FLAGS) ; do \
15939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15940 done; \
15941 echo "Doing dvi in libcpp" ; \
15942 (cd $(HOST_SUBDIR)/libcpp && \
15943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15945 "RANLIB=$${RANLIB}" \
15946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15947 dvi) \
15948 || exit 1
15950 @endif libcpp
15952 .PHONY: maybe-html-libcpp html-libcpp
15953 maybe-html-libcpp:
15954 @if libcpp
15955 maybe-html-libcpp: html-libcpp
15957 html-libcpp: \
15958 configure-libcpp
15959 @[ -f ./libcpp/Makefile ] || exit 0; \
15960 r=`${PWD_COMMAND}`; export r; \
15961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15962 $(HOST_EXPORTS) \
15963 for flag in $(EXTRA_HOST_FLAGS) ; do \
15964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15965 done; \
15966 echo "Doing html in libcpp" ; \
15967 (cd $(HOST_SUBDIR)/libcpp && \
15968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15970 "RANLIB=$${RANLIB}" \
15971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15972 html) \
15973 || exit 1
15975 @endif libcpp
15977 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
15978 maybe-TAGS-libcpp:
15979 @if libcpp
15980 maybe-TAGS-libcpp: TAGS-libcpp
15982 TAGS-libcpp: \
15983 configure-libcpp
15984 @[ -f ./libcpp/Makefile ] || exit 0; \
15985 r=`${PWD_COMMAND}`; export r; \
15986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15987 $(HOST_EXPORTS) \
15988 for flag in $(EXTRA_HOST_FLAGS) ; do \
15989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15990 done; \
15991 echo "Doing TAGS in libcpp" ; \
15992 (cd $(HOST_SUBDIR)/libcpp && \
15993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15995 "RANLIB=$${RANLIB}" \
15996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15997 TAGS) \
15998 || exit 1
16000 @endif libcpp
16002 .PHONY: maybe-install-info-libcpp install-info-libcpp
16003 maybe-install-info-libcpp:
16004 @if libcpp
16005 maybe-install-info-libcpp: install-info-libcpp
16007 install-info-libcpp: \
16008 configure-libcpp \
16009 info-libcpp
16010 @[ -f ./libcpp/Makefile ] || exit 0; \
16011 r=`${PWD_COMMAND}`; export r; \
16012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16013 $(HOST_EXPORTS) \
16014 for flag in $(EXTRA_HOST_FLAGS) ; do \
16015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16016 done; \
16017 echo "Doing install-info in libcpp" ; \
16018 (cd $(HOST_SUBDIR)/libcpp && \
16019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16021 "RANLIB=$${RANLIB}" \
16022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16023 install-info) \
16024 || exit 1
16026 @endif libcpp
16028 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
16029 maybe-installcheck-libcpp:
16030 @if libcpp
16031 maybe-installcheck-libcpp: installcheck-libcpp
16033 installcheck-libcpp: \
16034 configure-libcpp
16035 @[ -f ./libcpp/Makefile ] || exit 0; \
16036 r=`${PWD_COMMAND}`; export r; \
16037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 libcpp" ; \
16043 (cd $(HOST_SUBDIR)/libcpp && \
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 libcpp
16053 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
16054 maybe-mostlyclean-libcpp:
16055 @if libcpp
16056 maybe-mostlyclean-libcpp: mostlyclean-libcpp
16058 mostlyclean-libcpp:
16059 @[ -f ./libcpp/Makefile ] || exit 0; \
16060 r=`${PWD_COMMAND}`; export r; \
16061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16062 $(HOST_EXPORTS) \
16063 for flag in $(EXTRA_HOST_FLAGS) ; do \
16064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16065 done; \
16066 echo "Doing mostlyclean in libcpp" ; \
16067 (cd $(HOST_SUBDIR)/libcpp && \
16068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16070 "RANLIB=$${RANLIB}" \
16071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16072 mostlyclean) \
16073 || exit 1
16075 @endif libcpp
16077 .PHONY: maybe-clean-libcpp clean-libcpp
16078 maybe-clean-libcpp:
16079 @if libcpp
16080 maybe-clean-libcpp: clean-libcpp
16082 clean-libcpp:
16083 @[ -f ./libcpp/Makefile ] || exit 0; \
16084 r=`${PWD_COMMAND}`; export r; \
16085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16086 $(HOST_EXPORTS) \
16087 for flag in $(EXTRA_HOST_FLAGS) ; do \
16088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16089 done; \
16090 echo "Doing clean in libcpp" ; \
16091 (cd $(HOST_SUBDIR)/libcpp && \
16092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16094 "RANLIB=$${RANLIB}" \
16095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16096 clean) \
16097 || exit 1
16099 @endif libcpp
16101 .PHONY: maybe-distclean-libcpp distclean-libcpp
16102 maybe-distclean-libcpp:
16103 @if libcpp
16104 maybe-distclean-libcpp: distclean-libcpp
16106 distclean-libcpp:
16107 @[ -f ./libcpp/Makefile ] || exit 0; \
16108 r=`${PWD_COMMAND}`; export r; \
16109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16110 $(HOST_EXPORTS) \
16111 for flag in $(EXTRA_HOST_FLAGS) ; do \
16112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16113 done; \
16114 echo "Doing distclean in libcpp" ; \
16115 (cd $(HOST_SUBDIR)/libcpp && \
16116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16118 "RANLIB=$${RANLIB}" \
16119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16120 distclean) \
16121 || exit 1
16123 @endif libcpp
16125 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16126 maybe-maintainer-clean-libcpp:
16127 @if libcpp
16128 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16130 maintainer-clean-libcpp:
16131 @[ -f ./libcpp/Makefile ] || exit 0; \
16132 r=`${PWD_COMMAND}`; export r; \
16133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16134 $(HOST_EXPORTS) \
16135 for flag in $(EXTRA_HOST_FLAGS) ; do \
16136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16137 done; \
16138 echo "Doing maintainer-clean in libcpp" ; \
16139 (cd $(HOST_SUBDIR)/libcpp && \
16140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16142 "RANLIB=$${RANLIB}" \
16143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16144 maintainer-clean) \
16145 || exit 1
16147 @endif libcpp
16151 .PHONY: configure-libgui maybe-configure-libgui
16152 maybe-configure-libgui:
16153 @if libgui
16154 maybe-configure-libgui: configure-libgui
16155 configure-libgui:
16156 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
16157 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
16158 r=`${PWD_COMMAND}`; export r; \
16159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16160 $(HOST_EXPORTS) \
16161 echo Configuring in $(HOST_SUBDIR)/libgui; \
16162 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
16163 case $(srcdir) in \
16164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16165 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
16166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16167 esac; \
16168 srcdiroption="--srcdir=$${topdir}/libgui"; \
16169 libsrcdir="$$s/libgui"; \
16170 $(SHELL) $${libsrcdir}/configure \
16171 $(HOST_CONFIGARGS) $${srcdiroption} \
16172 || exit 1
16173 @endif libgui
16179 .PHONY: all-libgui maybe-all-libgui
16180 maybe-all-libgui:
16181 @if libgui
16182 TARGET-libgui=all
16183 maybe-all-libgui: all-libgui
16184 all-libgui: configure-libgui
16185 @r=`${PWD_COMMAND}`; export r; \
16186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16187 $(HOST_EXPORTS) \
16188 (cd $(HOST_SUBDIR)/libgui && \
16189 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
16190 @endif libgui
16195 .PHONY: check-libgui maybe-check-libgui
16196 maybe-check-libgui:
16197 @if libgui
16198 maybe-check-libgui: check-libgui
16200 check-libgui:
16201 @r=`${PWD_COMMAND}`; export r; \
16202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16203 $(HOST_EXPORTS) \
16204 (cd $(HOST_SUBDIR)/libgui && \
16205 $(MAKE) $(FLAGS_TO_PASS) check)
16207 @endif libgui
16209 .PHONY: install-libgui maybe-install-libgui
16210 maybe-install-libgui:
16211 @if libgui
16212 maybe-install-libgui: install-libgui
16214 install-libgui: installdirs
16215 @r=`${PWD_COMMAND}`; export r; \
16216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16217 $(HOST_EXPORTS) \
16218 (cd $(HOST_SUBDIR)/libgui && \
16219 $(MAKE) $(FLAGS_TO_PASS) install)
16221 @endif libgui
16223 # Other targets (info, dvi, etc.)
16225 .PHONY: maybe-info-libgui info-libgui
16226 maybe-info-libgui:
16227 @if libgui
16228 maybe-info-libgui: info-libgui
16230 info-libgui: \
16231 configure-libgui
16232 @[ -f ./libgui/Makefile ] || exit 0; \
16233 r=`${PWD_COMMAND}`; export r; \
16234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 libgui" ; \
16240 (cd $(HOST_SUBDIR)/libgui && \
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 libgui
16250 .PHONY: maybe-dvi-libgui dvi-libgui
16251 maybe-dvi-libgui:
16252 @if libgui
16253 maybe-dvi-libgui: dvi-libgui
16255 dvi-libgui: \
16256 configure-libgui
16257 @[ -f ./libgui/Makefile ] || exit 0; \
16258 r=`${PWD_COMMAND}`; export r; \
16259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16260 $(HOST_EXPORTS) \
16261 for flag in $(EXTRA_HOST_FLAGS) ; do \
16262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16263 done; \
16264 echo "Doing dvi in libgui" ; \
16265 (cd $(HOST_SUBDIR)/libgui && \
16266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16268 "RANLIB=$${RANLIB}" \
16269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16270 dvi) \
16271 || exit 1
16273 @endif libgui
16275 .PHONY: maybe-html-libgui html-libgui
16276 maybe-html-libgui:
16277 @if libgui
16278 maybe-html-libgui: html-libgui
16280 html-libgui: \
16281 configure-libgui
16282 @[ -f ./libgui/Makefile ] || exit 0; \
16283 r=`${PWD_COMMAND}`; export r; \
16284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16285 $(HOST_EXPORTS) \
16286 for flag in $(EXTRA_HOST_FLAGS) ; do \
16287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16288 done; \
16289 echo "Doing html in libgui" ; \
16290 (cd $(HOST_SUBDIR)/libgui && \
16291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16293 "RANLIB=$${RANLIB}" \
16294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16295 html) \
16296 || exit 1
16298 @endif libgui
16300 .PHONY: maybe-TAGS-libgui TAGS-libgui
16301 maybe-TAGS-libgui:
16302 @if libgui
16303 maybe-TAGS-libgui: TAGS-libgui
16305 TAGS-libgui: \
16306 configure-libgui
16307 @[ -f ./libgui/Makefile ] || exit 0; \
16308 r=`${PWD_COMMAND}`; export r; \
16309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16310 $(HOST_EXPORTS) \
16311 for flag in $(EXTRA_HOST_FLAGS) ; do \
16312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16313 done; \
16314 echo "Doing TAGS in libgui" ; \
16315 (cd $(HOST_SUBDIR)/libgui && \
16316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16318 "RANLIB=$${RANLIB}" \
16319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16320 TAGS) \
16321 || exit 1
16323 @endif libgui
16325 .PHONY: maybe-install-info-libgui install-info-libgui
16326 maybe-install-info-libgui:
16327 @if libgui
16328 maybe-install-info-libgui: install-info-libgui
16330 install-info-libgui: \
16331 configure-libgui \
16332 info-libgui
16333 @[ -f ./libgui/Makefile ] || exit 0; \
16334 r=`${PWD_COMMAND}`; export r; \
16335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16336 $(HOST_EXPORTS) \
16337 for flag in $(EXTRA_HOST_FLAGS) ; do \
16338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16339 done; \
16340 echo "Doing install-info in libgui" ; \
16341 (cd $(HOST_SUBDIR)/libgui && \
16342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16344 "RANLIB=$${RANLIB}" \
16345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16346 install-info) \
16347 || exit 1
16349 @endif libgui
16351 .PHONY: maybe-installcheck-libgui installcheck-libgui
16352 maybe-installcheck-libgui:
16353 @if libgui
16354 maybe-installcheck-libgui: installcheck-libgui
16356 installcheck-libgui: \
16357 configure-libgui
16358 @[ -f ./libgui/Makefile ] || exit 0; \
16359 r=`${PWD_COMMAND}`; export r; \
16360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16361 $(HOST_EXPORTS) \
16362 for flag in $(EXTRA_HOST_FLAGS) ; do \
16363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16364 done; \
16365 echo "Doing installcheck in libgui" ; \
16366 (cd $(HOST_SUBDIR)/libgui && \
16367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16369 "RANLIB=$${RANLIB}" \
16370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16371 installcheck) \
16372 || exit 1
16374 @endif libgui
16376 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
16377 maybe-mostlyclean-libgui:
16378 @if libgui
16379 maybe-mostlyclean-libgui: mostlyclean-libgui
16381 mostlyclean-libgui:
16382 @[ -f ./libgui/Makefile ] || exit 0; \
16383 r=`${PWD_COMMAND}`; export r; \
16384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16385 $(HOST_EXPORTS) \
16386 for flag in $(EXTRA_HOST_FLAGS) ; do \
16387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16388 done; \
16389 echo "Doing mostlyclean in libgui" ; \
16390 (cd $(HOST_SUBDIR)/libgui && \
16391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16393 "RANLIB=$${RANLIB}" \
16394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16395 mostlyclean) \
16396 || exit 1
16398 @endif libgui
16400 .PHONY: maybe-clean-libgui clean-libgui
16401 maybe-clean-libgui:
16402 @if libgui
16403 maybe-clean-libgui: clean-libgui
16405 clean-libgui:
16406 @[ -f ./libgui/Makefile ] || exit 0; \
16407 r=`${PWD_COMMAND}`; export r; \
16408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16409 $(HOST_EXPORTS) \
16410 for flag in $(EXTRA_HOST_FLAGS) ; do \
16411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16412 done; \
16413 echo "Doing clean in libgui" ; \
16414 (cd $(HOST_SUBDIR)/libgui && \
16415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16417 "RANLIB=$${RANLIB}" \
16418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16419 clean) \
16420 || exit 1
16422 @endif libgui
16424 .PHONY: maybe-distclean-libgui distclean-libgui
16425 maybe-distclean-libgui:
16426 @if libgui
16427 maybe-distclean-libgui: distclean-libgui
16429 distclean-libgui:
16430 @[ -f ./libgui/Makefile ] || exit 0; \
16431 r=`${PWD_COMMAND}`; export r; \
16432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16433 $(HOST_EXPORTS) \
16434 for flag in $(EXTRA_HOST_FLAGS) ; do \
16435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16436 done; \
16437 echo "Doing distclean in libgui" ; \
16438 (cd $(HOST_SUBDIR)/libgui && \
16439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16441 "RANLIB=$${RANLIB}" \
16442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16443 distclean) \
16444 || exit 1
16446 @endif libgui
16448 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
16449 maybe-maintainer-clean-libgui:
16450 @if libgui
16451 maybe-maintainer-clean-libgui: maintainer-clean-libgui
16453 maintainer-clean-libgui:
16454 @[ -f ./libgui/Makefile ] || exit 0; \
16455 r=`${PWD_COMMAND}`; export r; \
16456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16457 $(HOST_EXPORTS) \
16458 for flag in $(EXTRA_HOST_FLAGS) ; do \
16459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16460 done; \
16461 echo "Doing maintainer-clean in libgui" ; \
16462 (cd $(HOST_SUBDIR)/libgui && \
16463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16465 "RANLIB=$${RANLIB}" \
16466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16467 maintainer-clean) \
16468 || exit 1
16470 @endif libgui
16474 .PHONY: configure-libiberty maybe-configure-libiberty
16475 maybe-configure-libiberty:
16476 @if libiberty
16477 maybe-configure-libiberty: configure-libiberty
16478 configure-libiberty:
16479 @test -f stage_last && exit 0; \
16480 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
16481 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
16482 r=`${PWD_COMMAND}`; export r; \
16483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16484 $(HOST_EXPORTS) \
16485 echo Configuring in $(HOST_SUBDIR)/libiberty; \
16486 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
16487 case $(srcdir) in \
16488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16489 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16491 esac; \
16492 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16493 libsrcdir="$$s/libiberty"; \
16494 $(SHELL) $${libsrcdir}/configure \
16495 $(HOST_CONFIGARGS) $${srcdiroption} \
16496 || exit 1
16497 @endif libiberty
16501 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
16502 maybe-configure-stage1-libiberty:
16503 @if libiberty-bootstrap
16504 maybe-configure-stage1-libiberty: configure-stage1-libiberty
16505 configure-stage1-libiberty:
16506 @$(MAKE) stage1-start
16507 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16508 r=`${PWD_COMMAND}`; export r; \
16509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16510 $(HOST_EXPORTS) \
16511 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
16512 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16513 case $(srcdir) in \
16514 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16515 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16516 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16517 esac; \
16518 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16519 libsrcdir="$$s/libiberty"; \
16520 $(SHELL) $${libsrcdir}/configure \
16521 $(HOST_CONFIGARGS) $${srcdiroption} \
16522 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16523 @endif libiberty-bootstrap
16525 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
16526 maybe-configure-stage2-libiberty:
16527 @if libiberty-bootstrap
16528 maybe-configure-stage2-libiberty: configure-stage2-libiberty
16529 configure-stage2-libiberty:
16530 @$(MAKE) stage2-start
16531 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16532 r=`${PWD_COMMAND}`; export r; \
16533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16534 $(HOST_EXPORTS) \
16535 $(POSTSTAGE1_HOST_EXPORTS) \
16536 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
16537 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16538 case $(srcdir) in \
16539 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16540 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16541 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16542 esac; \
16543 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16544 libsrcdir="$$s/libiberty"; \
16545 $(SHELL) $${libsrcdir}/configure \
16546 $(HOST_CONFIGARGS) $${srcdiroption} \
16547 @stage2_werror_flag@
16548 @endif libiberty-bootstrap
16550 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
16551 maybe-configure-stage3-libiberty:
16552 @if libiberty-bootstrap
16553 maybe-configure-stage3-libiberty: configure-stage3-libiberty
16554 configure-stage3-libiberty:
16555 @$(MAKE) stage3-start
16556 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16557 r=`${PWD_COMMAND}`; export r; \
16558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16559 $(HOST_EXPORTS) \
16560 $(POSTSTAGE1_HOST_EXPORTS) \
16561 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
16562 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16563 case $(srcdir) in \
16564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16565 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16567 esac; \
16568 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16569 libsrcdir="$$s/libiberty"; \
16570 $(SHELL) $${libsrcdir}/configure \
16571 $(HOST_CONFIGARGS) $${srcdiroption} \
16572 @stage2_werror_flag@
16573 @endif libiberty-bootstrap
16575 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
16576 maybe-configure-stage4-libiberty:
16577 @if libiberty-bootstrap
16578 maybe-configure-stage4-libiberty: configure-stage4-libiberty
16579 configure-stage4-libiberty:
16580 @$(MAKE) stage4-start
16581 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16582 r=`${PWD_COMMAND}`; export r; \
16583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16584 $(HOST_EXPORTS) \
16585 $(POSTSTAGE1_HOST_EXPORTS) \
16586 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
16587 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16588 case $(srcdir) in \
16589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16590 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16592 esac; \
16593 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16594 libsrcdir="$$s/libiberty"; \
16595 $(SHELL) $${libsrcdir}/configure \
16596 $(HOST_CONFIGARGS) $${srcdiroption} \
16597 @stage2_werror_flag@
16598 @endif libiberty-bootstrap
16600 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
16601 maybe-configure-stageprofile-libiberty:
16602 @if libiberty-bootstrap
16603 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
16604 configure-stageprofile-libiberty:
16605 @$(MAKE) stageprofile-start
16606 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16607 r=`${PWD_COMMAND}`; export r; \
16608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16609 $(HOST_EXPORTS) \
16610 $(POSTSTAGE1_HOST_EXPORTS) \
16611 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
16612 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16613 case $(srcdir) in \
16614 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16615 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16616 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16617 esac; \
16618 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16619 libsrcdir="$$s/libiberty"; \
16620 $(SHELL) $${libsrcdir}/configure \
16621 $(HOST_CONFIGARGS) $${srcdiroption} \
16622 @stage2_werror_flag@
16623 @endif libiberty-bootstrap
16625 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
16626 maybe-configure-stagefeedback-libiberty:
16627 @if libiberty-bootstrap
16628 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
16629 configure-stagefeedback-libiberty:
16630 @$(MAKE) stagefeedback-start
16631 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16632 r=`${PWD_COMMAND}`; export r; \
16633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16634 $(HOST_EXPORTS) \
16635 $(POSTSTAGE1_HOST_EXPORTS) \
16636 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
16637 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16638 case $(srcdir) in \
16639 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16640 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16641 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16642 esac; \
16643 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16644 libsrcdir="$$s/libiberty"; \
16645 $(SHELL) $${libsrcdir}/configure \
16646 $(HOST_CONFIGARGS) $${srcdiroption} \
16647 @stage2_werror_flag@
16648 @endif libiberty-bootstrap
16654 .PHONY: all-libiberty maybe-all-libiberty
16655 maybe-all-libiberty:
16656 @if libiberty
16657 TARGET-libiberty=all
16658 maybe-all-libiberty: all-libiberty
16659 all-libiberty: configure-libiberty
16660 @test -f stage_last && exit 0; \
16661 r=`${PWD_COMMAND}`; export r; \
16662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16663 $(HOST_EXPORTS) \
16664 (cd $(HOST_SUBDIR)/libiberty && \
16665 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
16666 @endif libiberty
16670 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
16671 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
16672 maybe-all-stage1-libiberty:
16673 maybe-clean-stage1-libiberty:
16674 @if libiberty-bootstrap
16675 maybe-all-stage1-libiberty: all-stage1-libiberty
16676 all-stage1: all-stage1-libiberty
16677 all-stage1-libiberty: configure-stage1-libiberty
16678 @$(MAKE) stage1-start
16679 @r=`${PWD_COMMAND}`; export r; \
16680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16681 $(HOST_EXPORTS) \
16682 cd $(HOST_SUBDIR)/libiberty && \
16683 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
16685 maybe-clean-stage1-libiberty: clean-stage1-libiberty
16686 clean-stage1: clean-stage1-libiberty
16687 clean-stage1-libiberty:
16688 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
16689 || exit 0 ; \
16690 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage1-start ; \
16691 cd $(HOST_SUBDIR)/libiberty && \
16692 $(MAKE) $(FLAGS_TO_PASS) \
16693 CFLAGS="$(STAGE1_CFLAGS)" clean
16694 @endif libiberty-bootstrap
16697 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
16698 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
16699 maybe-all-stage2-libiberty:
16700 maybe-clean-stage2-libiberty:
16701 @if libiberty-bootstrap
16702 maybe-all-stage2-libiberty: all-stage2-libiberty
16703 all-stage2: all-stage2-libiberty
16704 all-stage2-libiberty: configure-stage2-libiberty
16705 @$(MAKE) stage2-start
16706 @r=`${PWD_COMMAND}`; export r; \
16707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16708 $(HOST_EXPORTS) \
16709 $(POSTSTAGE1_HOST_EXPORTS) \
16710 cd $(HOST_SUBDIR)/libiberty && \
16711 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
16713 maybe-clean-stage2-libiberty: clean-stage2-libiberty
16714 clean-stage2: clean-stage2-libiberty
16715 clean-stage2-libiberty:
16716 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
16717 || exit 0 ; \
16718 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage2-start ; \
16719 cd $(HOST_SUBDIR)/libiberty && \
16720 $(MAKE) $(FLAGS_TO_PASS) \
16721 $(POSTSTAGE1_FLAGS_TO_PASS) \
16722 clean
16723 @endif libiberty-bootstrap
16726 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
16727 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
16728 maybe-all-stage3-libiberty:
16729 maybe-clean-stage3-libiberty:
16730 @if libiberty-bootstrap
16731 maybe-all-stage3-libiberty: all-stage3-libiberty
16732 all-stage3: all-stage3-libiberty
16733 all-stage3-libiberty: configure-stage3-libiberty
16734 @$(MAKE) stage3-start
16735 @r=`${PWD_COMMAND}`; export r; \
16736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16737 $(HOST_EXPORTS) \
16738 $(POSTSTAGE1_HOST_EXPORTS) \
16739 cd $(HOST_SUBDIR)/libiberty && \
16740 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
16742 maybe-clean-stage3-libiberty: clean-stage3-libiberty
16743 clean-stage3: clean-stage3-libiberty
16744 clean-stage3-libiberty:
16745 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
16746 || exit 0 ; \
16747 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage3-start ; \
16748 cd $(HOST_SUBDIR)/libiberty && \
16749 $(MAKE) $(FLAGS_TO_PASS) \
16750 $(POSTSTAGE1_FLAGS_TO_PASS) \
16751 clean
16752 @endif libiberty-bootstrap
16755 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
16756 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
16757 maybe-all-stage4-libiberty:
16758 maybe-clean-stage4-libiberty:
16759 @if libiberty-bootstrap
16760 maybe-all-stage4-libiberty: all-stage4-libiberty
16761 all-stage4: all-stage4-libiberty
16762 all-stage4-libiberty: configure-stage4-libiberty
16763 @$(MAKE) stage4-start
16764 @r=`${PWD_COMMAND}`; export r; \
16765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16766 $(HOST_EXPORTS) \
16767 $(POSTSTAGE1_HOST_EXPORTS) \
16768 cd $(HOST_SUBDIR)/libiberty && \
16769 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
16771 maybe-clean-stage4-libiberty: clean-stage4-libiberty
16772 clean-stage4: clean-stage4-libiberty
16773 clean-stage4-libiberty:
16774 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
16775 || exit 0 ; \
16776 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage4-start ; \
16777 cd $(HOST_SUBDIR)/libiberty && \
16778 $(MAKE) $(FLAGS_TO_PASS) \
16779 $(POSTSTAGE1_FLAGS_TO_PASS) \
16780 clean
16781 @endif libiberty-bootstrap
16784 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
16785 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
16786 maybe-all-stageprofile-libiberty:
16787 maybe-clean-stageprofile-libiberty:
16788 @if libiberty-bootstrap
16789 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
16790 all-stageprofile: all-stageprofile-libiberty
16791 all-stageprofile-libiberty: configure-stageprofile-libiberty
16792 @$(MAKE) stageprofile-start
16793 @r=`${PWD_COMMAND}`; export r; \
16794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16795 $(HOST_EXPORTS) \
16796 $(POSTSTAGE1_HOST_EXPORTS) \
16797 cd $(HOST_SUBDIR)/libiberty && \
16798 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
16800 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
16801 clean-stageprofile: clean-stageprofile-libiberty
16802 clean-stageprofile-libiberty:
16803 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
16804 || exit 0 ; \
16805 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
16806 cd $(HOST_SUBDIR)/libiberty && \
16807 $(MAKE) $(FLAGS_TO_PASS) \
16808 $(POSTSTAGE1_FLAGS_TO_PASS) \
16809 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16810 @endif libiberty-bootstrap
16813 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
16814 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
16815 maybe-all-stagefeedback-libiberty:
16816 maybe-clean-stagefeedback-libiberty:
16817 @if libiberty-bootstrap
16818 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
16819 all-stagefeedback: all-stagefeedback-libiberty
16820 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
16821 @$(MAKE) stagefeedback-start
16822 @r=`${PWD_COMMAND}`; export r; \
16823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16824 $(HOST_EXPORTS) \
16825 $(POSTSTAGE1_HOST_EXPORTS) \
16826 cd $(HOST_SUBDIR)/libiberty && \
16827 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
16829 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
16830 clean-stagefeedback: clean-stagefeedback-libiberty
16831 clean-stagefeedback-libiberty:
16832 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
16833 || exit 0 ; \
16834 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
16835 cd $(HOST_SUBDIR)/libiberty && \
16836 $(MAKE) $(FLAGS_TO_PASS) \
16837 $(POSTSTAGE1_FLAGS_TO_PASS) \
16838 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16839 @endif libiberty-bootstrap
16845 .PHONY: check-libiberty maybe-check-libiberty
16846 maybe-check-libiberty:
16847 @if libiberty
16848 maybe-check-libiberty: check-libiberty
16850 check-libiberty:
16851 @r=`${PWD_COMMAND}`; export r; \
16852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16853 $(HOST_EXPORTS) \
16854 (cd $(HOST_SUBDIR)/libiberty && \
16855 $(MAKE) $(FLAGS_TO_PASS) check)
16857 @endif libiberty
16859 .PHONY: install-libiberty maybe-install-libiberty
16860 maybe-install-libiberty:
16861 @if libiberty
16862 maybe-install-libiberty: install-libiberty
16864 install-libiberty: installdirs
16865 @r=`${PWD_COMMAND}`; export r; \
16866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16867 $(HOST_EXPORTS) \
16868 (cd $(HOST_SUBDIR)/libiberty && \
16869 $(MAKE) $(FLAGS_TO_PASS) install)
16871 @endif libiberty
16873 # Other targets (info, dvi, etc.)
16875 .PHONY: maybe-info-libiberty info-libiberty
16876 maybe-info-libiberty:
16877 @if libiberty
16878 maybe-info-libiberty: info-libiberty
16880 info-libiberty: \
16881 configure-libiberty
16882 @[ -f ./libiberty/Makefile ] || exit 0; \
16883 r=`${PWD_COMMAND}`; export r; \
16884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16885 $(HOST_EXPORTS) \
16886 for flag in $(EXTRA_HOST_FLAGS) ; do \
16887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16888 done; \
16889 echo "Doing info in libiberty" ; \
16890 (cd $(HOST_SUBDIR)/libiberty && \
16891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16893 "RANLIB=$${RANLIB}" \
16894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16895 info) \
16896 || exit 1
16898 @endif libiberty
16900 .PHONY: maybe-dvi-libiberty dvi-libiberty
16901 maybe-dvi-libiberty:
16902 @if libiberty
16903 maybe-dvi-libiberty: dvi-libiberty
16905 dvi-libiberty: \
16906 configure-libiberty
16907 @[ -f ./libiberty/Makefile ] || exit 0; \
16908 r=`${PWD_COMMAND}`; export r; \
16909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16910 $(HOST_EXPORTS) \
16911 for flag in $(EXTRA_HOST_FLAGS) ; do \
16912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16913 done; \
16914 echo "Doing dvi in libiberty" ; \
16915 (cd $(HOST_SUBDIR)/libiberty && \
16916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16918 "RANLIB=$${RANLIB}" \
16919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16920 dvi) \
16921 || exit 1
16923 @endif libiberty
16925 .PHONY: maybe-html-libiberty html-libiberty
16926 maybe-html-libiberty:
16927 @if libiberty
16928 maybe-html-libiberty: html-libiberty
16930 html-libiberty: \
16931 configure-libiberty
16932 @[ -f ./libiberty/Makefile ] || exit 0; \
16933 r=`${PWD_COMMAND}`; export r; \
16934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16935 $(HOST_EXPORTS) \
16936 for flag in $(EXTRA_HOST_FLAGS) ; do \
16937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16938 done; \
16939 echo "Doing html in libiberty" ; \
16940 (cd $(HOST_SUBDIR)/libiberty && \
16941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16943 "RANLIB=$${RANLIB}" \
16944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16945 html) \
16946 || exit 1
16948 @endif libiberty
16950 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
16951 maybe-TAGS-libiberty:
16952 @if libiberty
16953 maybe-TAGS-libiberty: TAGS-libiberty
16955 TAGS-libiberty: \
16956 configure-libiberty
16957 @[ -f ./libiberty/Makefile ] || exit 0; \
16958 r=`${PWD_COMMAND}`; export r; \
16959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16960 $(HOST_EXPORTS) \
16961 for flag in $(EXTRA_HOST_FLAGS) ; do \
16962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16963 done; \
16964 echo "Doing TAGS in libiberty" ; \
16965 (cd $(HOST_SUBDIR)/libiberty && \
16966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16968 "RANLIB=$${RANLIB}" \
16969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16970 TAGS) \
16971 || exit 1
16973 @endif libiberty
16975 .PHONY: maybe-install-info-libiberty install-info-libiberty
16976 maybe-install-info-libiberty:
16977 @if libiberty
16978 maybe-install-info-libiberty: install-info-libiberty
16980 install-info-libiberty: \
16981 configure-libiberty \
16982 info-libiberty
16983 @[ -f ./libiberty/Makefile ] || exit 0; \
16984 r=`${PWD_COMMAND}`; export r; \
16985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16986 $(HOST_EXPORTS) \
16987 for flag in $(EXTRA_HOST_FLAGS) ; do \
16988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16989 done; \
16990 echo "Doing install-info in libiberty" ; \
16991 (cd $(HOST_SUBDIR)/libiberty && \
16992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16994 "RANLIB=$${RANLIB}" \
16995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16996 install-info) \
16997 || exit 1
16999 @endif libiberty
17001 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
17002 maybe-installcheck-libiberty:
17003 @if libiberty
17004 maybe-installcheck-libiberty: installcheck-libiberty
17006 installcheck-libiberty: \
17007 configure-libiberty
17008 @[ -f ./libiberty/Makefile ] || exit 0; \
17009 r=`${PWD_COMMAND}`; export r; \
17010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17011 $(HOST_EXPORTS) \
17012 for flag in $(EXTRA_HOST_FLAGS) ; do \
17013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17014 done; \
17015 echo "Doing installcheck in libiberty" ; \
17016 (cd $(HOST_SUBDIR)/libiberty && \
17017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17019 "RANLIB=$${RANLIB}" \
17020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17021 installcheck) \
17022 || exit 1
17024 @endif libiberty
17026 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
17027 maybe-mostlyclean-libiberty:
17028 @if libiberty
17029 maybe-mostlyclean-libiberty: mostlyclean-libiberty
17031 mostlyclean-libiberty:
17032 @[ -f ./libiberty/Makefile ] || exit 0; \
17033 r=`${PWD_COMMAND}`; export r; \
17034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17035 $(HOST_EXPORTS) \
17036 for flag in $(EXTRA_HOST_FLAGS) ; do \
17037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17038 done; \
17039 echo "Doing mostlyclean in libiberty" ; \
17040 (cd $(HOST_SUBDIR)/libiberty && \
17041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17043 "RANLIB=$${RANLIB}" \
17044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17045 mostlyclean) \
17046 || exit 1
17048 @endif libiberty
17050 .PHONY: maybe-clean-libiberty clean-libiberty
17051 maybe-clean-libiberty:
17052 @if libiberty
17053 maybe-clean-libiberty: clean-libiberty
17055 clean-libiberty:
17056 @[ -f ./libiberty/Makefile ] || exit 0; \
17057 r=`${PWD_COMMAND}`; export r; \
17058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17059 $(HOST_EXPORTS) \
17060 for flag in $(EXTRA_HOST_FLAGS) ; do \
17061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17062 done; \
17063 echo "Doing clean in libiberty" ; \
17064 (cd $(HOST_SUBDIR)/libiberty && \
17065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17067 "RANLIB=$${RANLIB}" \
17068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17069 clean) \
17070 || exit 1
17072 @endif libiberty
17074 .PHONY: maybe-distclean-libiberty distclean-libiberty
17075 maybe-distclean-libiberty:
17076 @if libiberty
17077 maybe-distclean-libiberty: distclean-libiberty
17079 distclean-libiberty:
17080 @[ -f ./libiberty/Makefile ] || exit 0; \
17081 r=`${PWD_COMMAND}`; export r; \
17082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17083 $(HOST_EXPORTS) \
17084 for flag in $(EXTRA_HOST_FLAGS) ; do \
17085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17086 done; \
17087 echo "Doing distclean in libiberty" ; \
17088 (cd $(HOST_SUBDIR)/libiberty && \
17089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17091 "RANLIB=$${RANLIB}" \
17092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17093 distclean) \
17094 || exit 1
17096 @endif libiberty
17098 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
17099 maybe-maintainer-clean-libiberty:
17100 @if libiberty
17101 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
17103 maintainer-clean-libiberty:
17104 @[ -f ./libiberty/Makefile ] || exit 0; \
17105 r=`${PWD_COMMAND}`; export r; \
17106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17107 $(HOST_EXPORTS) \
17108 for flag in $(EXTRA_HOST_FLAGS) ; do \
17109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17110 done; \
17111 echo "Doing maintainer-clean in libiberty" ; \
17112 (cd $(HOST_SUBDIR)/libiberty && \
17113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17115 "RANLIB=$${RANLIB}" \
17116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17117 maintainer-clean) \
17118 || exit 1
17120 @endif libiberty
17124 .PHONY: configure-libtool maybe-configure-libtool
17125 maybe-configure-libtool:
17126 @if libtool
17127 maybe-configure-libtool: configure-libtool
17128 configure-libtool:
17129 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
17130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
17131 r=`${PWD_COMMAND}`; export r; \
17132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17133 $(HOST_EXPORTS) \
17134 echo Configuring in $(HOST_SUBDIR)/libtool; \
17135 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
17136 case $(srcdir) in \
17137 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17138 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
17139 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17140 esac; \
17141 srcdiroption="--srcdir=$${topdir}/libtool"; \
17142 libsrcdir="$$s/libtool"; \
17143 $(SHELL) $${libsrcdir}/configure \
17144 $(HOST_CONFIGARGS) $${srcdiroption} \
17145 || exit 1
17146 @endif libtool
17152 .PHONY: all-libtool maybe-all-libtool
17153 maybe-all-libtool:
17154 @if libtool
17155 TARGET-libtool=all
17156 maybe-all-libtool: all-libtool
17157 all-libtool: configure-libtool
17158 @r=`${PWD_COMMAND}`; export r; \
17159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17160 $(HOST_EXPORTS) \
17161 (cd $(HOST_SUBDIR)/libtool && \
17162 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
17163 @endif libtool
17168 .PHONY: check-libtool maybe-check-libtool
17169 maybe-check-libtool:
17170 @if libtool
17171 maybe-check-libtool: check-libtool
17173 check-libtool:
17174 @r=`${PWD_COMMAND}`; export r; \
17175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17176 $(HOST_EXPORTS) \
17177 (cd $(HOST_SUBDIR)/libtool && \
17178 $(MAKE) $(FLAGS_TO_PASS) check)
17180 @endif libtool
17182 .PHONY: install-libtool maybe-install-libtool
17183 maybe-install-libtool:
17184 @if libtool
17185 maybe-install-libtool: install-libtool
17187 install-libtool: installdirs
17188 @r=`${PWD_COMMAND}`; export r; \
17189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17190 $(HOST_EXPORTS) \
17191 (cd $(HOST_SUBDIR)/libtool && \
17192 $(MAKE) $(FLAGS_TO_PASS) install)
17194 @endif libtool
17196 # Other targets (info, dvi, etc.)
17198 .PHONY: maybe-info-libtool info-libtool
17199 maybe-info-libtool:
17200 @if libtool
17201 maybe-info-libtool: info-libtool
17203 info-libtool: \
17204 configure-libtool
17205 @[ -f ./libtool/Makefile ] || exit 0; \
17206 r=`${PWD_COMMAND}`; export r; \
17207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17208 $(HOST_EXPORTS) \
17209 for flag in $(EXTRA_HOST_FLAGS) ; do \
17210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17211 done; \
17212 echo "Doing info in libtool" ; \
17213 (cd $(HOST_SUBDIR)/libtool && \
17214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17216 "RANLIB=$${RANLIB}" \
17217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17218 info) \
17219 || exit 1
17221 @endif libtool
17223 .PHONY: maybe-dvi-libtool dvi-libtool
17224 maybe-dvi-libtool:
17225 @if libtool
17226 maybe-dvi-libtool: dvi-libtool
17228 dvi-libtool: \
17229 configure-libtool
17230 @[ -f ./libtool/Makefile ] || exit 0; \
17231 r=`${PWD_COMMAND}`; export r; \
17232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 libtool" ; \
17238 (cd $(HOST_SUBDIR)/libtool && \
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 libtool
17248 .PHONY: maybe-html-libtool html-libtool
17249 maybe-html-libtool:
17250 @if libtool
17251 maybe-html-libtool: html-libtool
17253 html-libtool: \
17254 configure-libtool
17255 @[ -f ./libtool/Makefile ] || exit 0; \
17256 r=`${PWD_COMMAND}`; export r; \
17257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17258 $(HOST_EXPORTS) \
17259 for flag in $(EXTRA_HOST_FLAGS) ; do \
17260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17261 done; \
17262 echo "Doing html in libtool" ; \
17263 (cd $(HOST_SUBDIR)/libtool && \
17264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17266 "RANLIB=$${RANLIB}" \
17267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17268 html) \
17269 || exit 1
17271 @endif libtool
17273 .PHONY: maybe-TAGS-libtool TAGS-libtool
17274 maybe-TAGS-libtool:
17275 @if libtool
17276 maybe-TAGS-libtool: TAGS-libtool
17278 TAGS-libtool: \
17279 configure-libtool
17280 @[ -f ./libtool/Makefile ] || exit 0; \
17281 r=`${PWD_COMMAND}`; export r; \
17282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17283 $(HOST_EXPORTS) \
17284 for flag in $(EXTRA_HOST_FLAGS) ; do \
17285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17286 done; \
17287 echo "Doing TAGS in libtool" ; \
17288 (cd $(HOST_SUBDIR)/libtool && \
17289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17291 "RANLIB=$${RANLIB}" \
17292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17293 TAGS) \
17294 || exit 1
17296 @endif libtool
17298 .PHONY: maybe-install-info-libtool install-info-libtool
17299 maybe-install-info-libtool:
17300 @if libtool
17301 maybe-install-info-libtool: install-info-libtool
17303 install-info-libtool: \
17304 configure-libtool \
17305 info-libtool
17306 @[ -f ./libtool/Makefile ] || exit 0; \
17307 r=`${PWD_COMMAND}`; export r; \
17308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17309 $(HOST_EXPORTS) \
17310 for flag in $(EXTRA_HOST_FLAGS) ; do \
17311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17312 done; \
17313 echo "Doing install-info in libtool" ; \
17314 (cd $(HOST_SUBDIR)/libtool && \
17315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17317 "RANLIB=$${RANLIB}" \
17318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17319 install-info) \
17320 || exit 1
17322 @endif libtool
17324 .PHONY: maybe-installcheck-libtool installcheck-libtool
17325 maybe-installcheck-libtool:
17326 @if libtool
17327 maybe-installcheck-libtool: installcheck-libtool
17329 installcheck-libtool: \
17330 configure-libtool
17331 @[ -f ./libtool/Makefile ] || exit 0; \
17332 r=`${PWD_COMMAND}`; export r; \
17333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17334 $(HOST_EXPORTS) \
17335 for flag in $(EXTRA_HOST_FLAGS) ; do \
17336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17337 done; \
17338 echo "Doing installcheck in libtool" ; \
17339 (cd $(HOST_SUBDIR)/libtool && \
17340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17342 "RANLIB=$${RANLIB}" \
17343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17344 installcheck) \
17345 || exit 1
17347 @endif libtool
17349 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
17350 maybe-mostlyclean-libtool:
17351 @if libtool
17352 maybe-mostlyclean-libtool: mostlyclean-libtool
17354 mostlyclean-libtool:
17355 @[ -f ./libtool/Makefile ] || exit 0; \
17356 r=`${PWD_COMMAND}`; export r; \
17357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17358 $(HOST_EXPORTS) \
17359 for flag in $(EXTRA_HOST_FLAGS) ; do \
17360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17361 done; \
17362 echo "Doing mostlyclean in libtool" ; \
17363 (cd $(HOST_SUBDIR)/libtool && \
17364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17366 "RANLIB=$${RANLIB}" \
17367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17368 mostlyclean) \
17369 || exit 1
17371 @endif libtool
17373 .PHONY: maybe-clean-libtool clean-libtool
17374 maybe-clean-libtool:
17375 @if libtool
17376 maybe-clean-libtool: clean-libtool
17378 clean-libtool:
17379 @[ -f ./libtool/Makefile ] || exit 0; \
17380 r=`${PWD_COMMAND}`; export r; \
17381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17382 $(HOST_EXPORTS) \
17383 for flag in $(EXTRA_HOST_FLAGS) ; do \
17384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17385 done; \
17386 echo "Doing clean in libtool" ; \
17387 (cd $(HOST_SUBDIR)/libtool && \
17388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17390 "RANLIB=$${RANLIB}" \
17391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17392 clean) \
17393 || exit 1
17395 @endif libtool
17397 .PHONY: maybe-distclean-libtool distclean-libtool
17398 maybe-distclean-libtool:
17399 @if libtool
17400 maybe-distclean-libtool: distclean-libtool
17402 distclean-libtool:
17403 @[ -f ./libtool/Makefile ] || exit 0; \
17404 r=`${PWD_COMMAND}`; export r; \
17405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17406 $(HOST_EXPORTS) \
17407 for flag in $(EXTRA_HOST_FLAGS) ; do \
17408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17409 done; \
17410 echo "Doing distclean in libtool" ; \
17411 (cd $(HOST_SUBDIR)/libtool && \
17412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17414 "RANLIB=$${RANLIB}" \
17415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17416 distclean) \
17417 || exit 1
17419 @endif libtool
17421 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
17422 maybe-maintainer-clean-libtool:
17423 @if libtool
17424 maybe-maintainer-clean-libtool: maintainer-clean-libtool
17426 maintainer-clean-libtool:
17427 @[ -f ./libtool/Makefile ] || exit 0; \
17428 r=`${PWD_COMMAND}`; export r; \
17429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17430 $(HOST_EXPORTS) \
17431 for flag in $(EXTRA_HOST_FLAGS) ; do \
17432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17433 done; \
17434 echo "Doing maintainer-clean in libtool" ; \
17435 (cd $(HOST_SUBDIR)/libtool && \
17436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17438 "RANLIB=$${RANLIB}" \
17439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17440 maintainer-clean) \
17441 || exit 1
17443 @endif libtool
17447 .PHONY: configure-m4 maybe-configure-m4
17448 maybe-configure-m4:
17449 @if m4
17450 maybe-configure-m4: configure-m4
17451 configure-m4:
17452 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
17453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
17454 r=`${PWD_COMMAND}`; export r; \
17455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17456 $(HOST_EXPORTS) \
17457 echo Configuring in $(HOST_SUBDIR)/m4; \
17458 cd "$(HOST_SUBDIR)/m4" || exit 1; \
17459 case $(srcdir) in \
17460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17461 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
17462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17463 esac; \
17464 srcdiroption="--srcdir=$${topdir}/m4"; \
17465 libsrcdir="$$s/m4"; \
17466 $(SHELL) $${libsrcdir}/configure \
17467 $(HOST_CONFIGARGS) $${srcdiroption} \
17468 || exit 1
17469 @endif m4
17475 .PHONY: all-m4 maybe-all-m4
17476 maybe-all-m4:
17477 @if m4
17478 TARGET-m4=all
17479 maybe-all-m4: all-m4
17480 all-m4: configure-m4
17481 @r=`${PWD_COMMAND}`; export r; \
17482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17483 $(HOST_EXPORTS) \
17484 (cd $(HOST_SUBDIR)/m4 && \
17485 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
17486 @endif m4
17491 .PHONY: check-m4 maybe-check-m4
17492 maybe-check-m4:
17493 @if m4
17494 maybe-check-m4: check-m4
17496 check-m4:
17497 @r=`${PWD_COMMAND}`; export r; \
17498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17499 $(HOST_EXPORTS) \
17500 (cd $(HOST_SUBDIR)/m4 && \
17501 $(MAKE) $(FLAGS_TO_PASS) check)
17503 @endif m4
17505 .PHONY: install-m4 maybe-install-m4
17506 maybe-install-m4:
17507 @if m4
17508 maybe-install-m4: install-m4
17510 install-m4: installdirs
17511 @r=`${PWD_COMMAND}`; export r; \
17512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17513 $(HOST_EXPORTS) \
17514 (cd $(HOST_SUBDIR)/m4 && \
17515 $(MAKE) $(FLAGS_TO_PASS) install)
17517 @endif m4
17519 # Other targets (info, dvi, etc.)
17521 .PHONY: maybe-info-m4 info-m4
17522 maybe-info-m4:
17523 @if m4
17524 maybe-info-m4: info-m4
17526 info-m4: \
17527 configure-m4
17528 @[ -f ./m4/Makefile ] || exit 0; \
17529 r=`${PWD_COMMAND}`; export r; \
17530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17531 $(HOST_EXPORTS) \
17532 for flag in $(EXTRA_HOST_FLAGS) ; do \
17533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17534 done; \
17535 echo "Doing info in m4" ; \
17536 (cd $(HOST_SUBDIR)/m4 && \
17537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17539 "RANLIB=$${RANLIB}" \
17540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17541 info) \
17542 || exit 1
17544 @endif m4
17546 .PHONY: maybe-dvi-m4 dvi-m4
17547 maybe-dvi-m4:
17548 @if m4
17549 maybe-dvi-m4: dvi-m4
17551 dvi-m4: \
17552 configure-m4
17553 @[ -f ./m4/Makefile ] || exit 0; \
17554 r=`${PWD_COMMAND}`; export r; \
17555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17556 $(HOST_EXPORTS) \
17557 for flag in $(EXTRA_HOST_FLAGS) ; do \
17558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17559 done; \
17560 echo "Doing dvi in m4" ; \
17561 (cd $(HOST_SUBDIR)/m4 && \
17562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17564 "RANLIB=$${RANLIB}" \
17565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17566 dvi) \
17567 || exit 1
17569 @endif m4
17571 .PHONY: maybe-html-m4 html-m4
17572 maybe-html-m4:
17573 @if m4
17574 maybe-html-m4: html-m4
17576 html-m4: \
17577 configure-m4
17578 @[ -f ./m4/Makefile ] || exit 0; \
17579 r=`${PWD_COMMAND}`; export r; \
17580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17581 $(HOST_EXPORTS) \
17582 for flag in $(EXTRA_HOST_FLAGS) ; do \
17583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17584 done; \
17585 echo "Doing html in m4" ; \
17586 (cd $(HOST_SUBDIR)/m4 && \
17587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17589 "RANLIB=$${RANLIB}" \
17590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17591 html) \
17592 || exit 1
17594 @endif m4
17596 .PHONY: maybe-TAGS-m4 TAGS-m4
17597 maybe-TAGS-m4:
17598 @if m4
17599 maybe-TAGS-m4: TAGS-m4
17601 TAGS-m4: \
17602 configure-m4
17603 @[ -f ./m4/Makefile ] || exit 0; \
17604 r=`${PWD_COMMAND}`; export r; \
17605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17606 $(HOST_EXPORTS) \
17607 for flag in $(EXTRA_HOST_FLAGS) ; do \
17608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17609 done; \
17610 echo "Doing TAGS in m4" ; \
17611 (cd $(HOST_SUBDIR)/m4 && \
17612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17614 "RANLIB=$${RANLIB}" \
17615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17616 TAGS) \
17617 || exit 1
17619 @endif m4
17621 .PHONY: maybe-install-info-m4 install-info-m4
17622 maybe-install-info-m4:
17623 @if m4
17624 maybe-install-info-m4: install-info-m4
17626 install-info-m4: \
17627 configure-m4 \
17628 info-m4
17629 @[ -f ./m4/Makefile ] || exit 0; \
17630 r=`${PWD_COMMAND}`; export r; \
17631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17632 $(HOST_EXPORTS) \
17633 for flag in $(EXTRA_HOST_FLAGS) ; do \
17634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17635 done; \
17636 echo "Doing install-info in m4" ; \
17637 (cd $(HOST_SUBDIR)/m4 && \
17638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17640 "RANLIB=$${RANLIB}" \
17641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17642 install-info) \
17643 || exit 1
17645 @endif m4
17647 .PHONY: maybe-installcheck-m4 installcheck-m4
17648 maybe-installcheck-m4:
17649 @if m4
17650 maybe-installcheck-m4: installcheck-m4
17652 installcheck-m4: \
17653 configure-m4
17654 @[ -f ./m4/Makefile ] || exit 0; \
17655 r=`${PWD_COMMAND}`; export r; \
17656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17657 $(HOST_EXPORTS) \
17658 for flag in $(EXTRA_HOST_FLAGS) ; do \
17659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17660 done; \
17661 echo "Doing installcheck in m4" ; \
17662 (cd $(HOST_SUBDIR)/m4 && \
17663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17665 "RANLIB=$${RANLIB}" \
17666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17667 installcheck) \
17668 || exit 1
17670 @endif m4
17672 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
17673 maybe-mostlyclean-m4:
17674 @if m4
17675 maybe-mostlyclean-m4: mostlyclean-m4
17677 mostlyclean-m4:
17678 @[ -f ./m4/Makefile ] || exit 0; \
17679 r=`${PWD_COMMAND}`; export r; \
17680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17681 $(HOST_EXPORTS) \
17682 for flag in $(EXTRA_HOST_FLAGS) ; do \
17683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17684 done; \
17685 echo "Doing mostlyclean in m4" ; \
17686 (cd $(HOST_SUBDIR)/m4 && \
17687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17689 "RANLIB=$${RANLIB}" \
17690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17691 mostlyclean) \
17692 || exit 1
17694 @endif m4
17696 .PHONY: maybe-clean-m4 clean-m4
17697 maybe-clean-m4:
17698 @if m4
17699 maybe-clean-m4: clean-m4
17701 clean-m4:
17702 @[ -f ./m4/Makefile ] || exit 0; \
17703 r=`${PWD_COMMAND}`; export r; \
17704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17705 $(HOST_EXPORTS) \
17706 for flag in $(EXTRA_HOST_FLAGS) ; do \
17707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17708 done; \
17709 echo "Doing clean in m4" ; \
17710 (cd $(HOST_SUBDIR)/m4 && \
17711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17713 "RANLIB=$${RANLIB}" \
17714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17715 clean) \
17716 || exit 1
17718 @endif m4
17720 .PHONY: maybe-distclean-m4 distclean-m4
17721 maybe-distclean-m4:
17722 @if m4
17723 maybe-distclean-m4: distclean-m4
17725 distclean-m4:
17726 @[ -f ./m4/Makefile ] || exit 0; \
17727 r=`${PWD_COMMAND}`; export r; \
17728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17729 $(HOST_EXPORTS) \
17730 for flag in $(EXTRA_HOST_FLAGS) ; do \
17731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17732 done; \
17733 echo "Doing distclean in m4" ; \
17734 (cd $(HOST_SUBDIR)/m4 && \
17735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17737 "RANLIB=$${RANLIB}" \
17738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17739 distclean) \
17740 || exit 1
17742 @endif m4
17744 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
17745 maybe-maintainer-clean-m4:
17746 @if m4
17747 maybe-maintainer-clean-m4: maintainer-clean-m4
17749 maintainer-clean-m4:
17750 @[ -f ./m4/Makefile ] || exit 0; \
17751 r=`${PWD_COMMAND}`; export r; \
17752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17753 $(HOST_EXPORTS) \
17754 for flag in $(EXTRA_HOST_FLAGS) ; do \
17755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17756 done; \
17757 echo "Doing maintainer-clean in m4" ; \
17758 (cd $(HOST_SUBDIR)/m4 && \
17759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17761 "RANLIB=$${RANLIB}" \
17762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17763 maintainer-clean) \
17764 || exit 1
17766 @endif m4
17770 .PHONY: configure-make maybe-configure-make
17771 maybe-configure-make:
17772 @if make
17773 maybe-configure-make: configure-make
17774 configure-make:
17775 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
17776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
17777 r=`${PWD_COMMAND}`; export r; \
17778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17779 $(HOST_EXPORTS) \
17780 echo Configuring in $(HOST_SUBDIR)/make; \
17781 cd "$(HOST_SUBDIR)/make" || exit 1; \
17782 case $(srcdir) in \
17783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17784 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
17785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17786 esac; \
17787 srcdiroption="--srcdir=$${topdir}/make"; \
17788 libsrcdir="$$s/make"; \
17789 $(SHELL) $${libsrcdir}/configure \
17790 $(HOST_CONFIGARGS) $${srcdiroption} \
17791 || exit 1
17792 @endif make
17798 .PHONY: all-make maybe-all-make
17799 maybe-all-make:
17800 @if make
17801 TARGET-make=all
17802 maybe-all-make: all-make
17803 all-make: configure-make
17804 @r=`${PWD_COMMAND}`; export r; \
17805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17806 $(HOST_EXPORTS) \
17807 (cd $(HOST_SUBDIR)/make && \
17808 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
17809 @endif make
17814 .PHONY: check-make maybe-check-make
17815 maybe-check-make:
17816 @if make
17817 maybe-check-make: check-make
17819 check-make:
17820 @r=`${PWD_COMMAND}`; export r; \
17821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17822 $(HOST_EXPORTS) \
17823 (cd $(HOST_SUBDIR)/make && \
17824 $(MAKE) $(FLAGS_TO_PASS) check)
17826 @endif make
17828 .PHONY: install-make maybe-install-make
17829 maybe-install-make:
17830 @if make
17831 maybe-install-make: install-make
17833 install-make: installdirs
17834 @r=`${PWD_COMMAND}`; export r; \
17835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17836 $(HOST_EXPORTS) \
17837 (cd $(HOST_SUBDIR)/make && \
17838 $(MAKE) $(FLAGS_TO_PASS) install)
17840 @endif make
17842 # Other targets (info, dvi, etc.)
17844 .PHONY: maybe-info-make info-make
17845 maybe-info-make:
17846 @if make
17847 maybe-info-make: info-make
17849 info-make: \
17850 configure-make
17851 @[ -f ./make/Makefile ] || exit 0; \
17852 r=`${PWD_COMMAND}`; export r; \
17853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17854 $(HOST_EXPORTS) \
17855 for flag in $(EXTRA_HOST_FLAGS) ; do \
17856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17857 done; \
17858 echo "Doing info in make" ; \
17859 (cd $(HOST_SUBDIR)/make && \
17860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17862 "RANLIB=$${RANLIB}" \
17863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17864 info) \
17865 || exit 1
17867 @endif make
17869 .PHONY: maybe-dvi-make dvi-make
17870 maybe-dvi-make:
17871 @if make
17872 maybe-dvi-make: dvi-make
17874 dvi-make: \
17875 configure-make
17876 @[ -f ./make/Makefile ] || exit 0; \
17877 r=`${PWD_COMMAND}`; export r; \
17878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17879 $(HOST_EXPORTS) \
17880 for flag in $(EXTRA_HOST_FLAGS) ; do \
17881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17882 done; \
17883 echo "Doing dvi in make" ; \
17884 (cd $(HOST_SUBDIR)/make && \
17885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17887 "RANLIB=$${RANLIB}" \
17888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17889 dvi) \
17890 || exit 1
17892 @endif make
17894 .PHONY: maybe-html-make html-make
17895 maybe-html-make:
17896 @if make
17897 maybe-html-make: html-make
17899 html-make: \
17900 configure-make
17901 @[ -f ./make/Makefile ] || exit 0; \
17902 r=`${PWD_COMMAND}`; export r; \
17903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17904 $(HOST_EXPORTS) \
17905 for flag in $(EXTRA_HOST_FLAGS) ; do \
17906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17907 done; \
17908 echo "Doing html in make" ; \
17909 (cd $(HOST_SUBDIR)/make && \
17910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17912 "RANLIB=$${RANLIB}" \
17913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17914 html) \
17915 || exit 1
17917 @endif make
17919 .PHONY: maybe-TAGS-make TAGS-make
17920 maybe-TAGS-make:
17921 @if make
17922 maybe-TAGS-make: TAGS-make
17924 TAGS-make: \
17925 configure-make
17926 @[ -f ./make/Makefile ] || exit 0; \
17927 r=`${PWD_COMMAND}`; export r; \
17928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17929 $(HOST_EXPORTS) \
17930 for flag in $(EXTRA_HOST_FLAGS) ; do \
17931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17932 done; \
17933 echo "Doing TAGS in make" ; \
17934 (cd $(HOST_SUBDIR)/make && \
17935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17937 "RANLIB=$${RANLIB}" \
17938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17939 TAGS) \
17940 || exit 1
17942 @endif make
17944 .PHONY: maybe-install-info-make install-info-make
17945 maybe-install-info-make:
17946 @if make
17947 maybe-install-info-make: install-info-make
17949 install-info-make: \
17950 configure-make \
17951 info-make
17952 @[ -f ./make/Makefile ] || exit 0; \
17953 r=`${PWD_COMMAND}`; export r; \
17954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17955 $(HOST_EXPORTS) \
17956 for flag in $(EXTRA_HOST_FLAGS) ; do \
17957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17958 done; \
17959 echo "Doing install-info in make" ; \
17960 (cd $(HOST_SUBDIR)/make && \
17961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17963 "RANLIB=$${RANLIB}" \
17964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17965 install-info) \
17966 || exit 1
17968 @endif make
17970 .PHONY: maybe-installcheck-make installcheck-make
17971 maybe-installcheck-make:
17972 @if make
17973 maybe-installcheck-make: installcheck-make
17975 installcheck-make: \
17976 configure-make
17977 @[ -f ./make/Makefile ] || exit 0; \
17978 r=`${PWD_COMMAND}`; export r; \
17979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17980 $(HOST_EXPORTS) \
17981 for flag in $(EXTRA_HOST_FLAGS) ; do \
17982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17983 done; \
17984 echo "Doing installcheck in make" ; \
17985 (cd $(HOST_SUBDIR)/make && \
17986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17988 "RANLIB=$${RANLIB}" \
17989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17990 installcheck) \
17991 || exit 1
17993 @endif make
17995 .PHONY: maybe-mostlyclean-make mostlyclean-make
17996 maybe-mostlyclean-make:
17997 @if make
17998 maybe-mostlyclean-make: mostlyclean-make
18000 mostlyclean-make:
18001 @[ -f ./make/Makefile ] || exit 0; \
18002 r=`${PWD_COMMAND}`; export r; \
18003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18004 $(HOST_EXPORTS) \
18005 for flag in $(EXTRA_HOST_FLAGS) ; do \
18006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18007 done; \
18008 echo "Doing mostlyclean in make" ; \
18009 (cd $(HOST_SUBDIR)/make && \
18010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18012 "RANLIB=$${RANLIB}" \
18013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18014 mostlyclean) \
18015 || exit 1
18017 @endif make
18019 .PHONY: maybe-clean-make clean-make
18020 maybe-clean-make:
18021 @if make
18022 maybe-clean-make: clean-make
18024 clean-make:
18025 @[ -f ./make/Makefile ] || exit 0; \
18026 r=`${PWD_COMMAND}`; export r; \
18027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18028 $(HOST_EXPORTS) \
18029 for flag in $(EXTRA_HOST_FLAGS) ; do \
18030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18031 done; \
18032 echo "Doing clean in make" ; \
18033 (cd $(HOST_SUBDIR)/make && \
18034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18036 "RANLIB=$${RANLIB}" \
18037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18038 clean) \
18039 || exit 1
18041 @endif make
18043 .PHONY: maybe-distclean-make distclean-make
18044 maybe-distclean-make:
18045 @if make
18046 maybe-distclean-make: distclean-make
18048 distclean-make:
18049 @[ -f ./make/Makefile ] || exit 0; \
18050 r=`${PWD_COMMAND}`; export r; \
18051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18052 $(HOST_EXPORTS) \
18053 for flag in $(EXTRA_HOST_FLAGS) ; do \
18054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18055 done; \
18056 echo "Doing distclean in make" ; \
18057 (cd $(HOST_SUBDIR)/make && \
18058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18060 "RANLIB=$${RANLIB}" \
18061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18062 distclean) \
18063 || exit 1
18065 @endif make
18067 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
18068 maybe-maintainer-clean-make:
18069 @if make
18070 maybe-maintainer-clean-make: maintainer-clean-make
18072 maintainer-clean-make:
18073 @[ -f ./make/Makefile ] || exit 0; \
18074 r=`${PWD_COMMAND}`; export r; \
18075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18076 $(HOST_EXPORTS) \
18077 for flag in $(EXTRA_HOST_FLAGS) ; do \
18078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18079 done; \
18080 echo "Doing maintainer-clean in make" ; \
18081 (cd $(HOST_SUBDIR)/make && \
18082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18084 "RANLIB=$${RANLIB}" \
18085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18086 maintainer-clean) \
18087 || exit 1
18089 @endif make
18093 .PHONY: configure-mmalloc maybe-configure-mmalloc
18094 maybe-configure-mmalloc:
18095 @if mmalloc
18096 maybe-configure-mmalloc: configure-mmalloc
18097 configure-mmalloc:
18098 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
18099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
18100 r=`${PWD_COMMAND}`; export r; \
18101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18102 $(HOST_EXPORTS) \
18103 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
18104 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
18105 case $(srcdir) in \
18106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18107 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
18108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18109 esac; \
18110 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
18111 libsrcdir="$$s/mmalloc"; \
18112 $(SHELL) $${libsrcdir}/configure \
18113 $(HOST_CONFIGARGS) $${srcdiroption} \
18114 || exit 1
18115 @endif mmalloc
18121 .PHONY: all-mmalloc maybe-all-mmalloc
18122 maybe-all-mmalloc:
18123 @if mmalloc
18124 TARGET-mmalloc=all
18125 maybe-all-mmalloc: all-mmalloc
18126 all-mmalloc: configure-mmalloc
18127 @r=`${PWD_COMMAND}`; export r; \
18128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18129 $(HOST_EXPORTS) \
18130 (cd $(HOST_SUBDIR)/mmalloc && \
18131 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
18132 @endif mmalloc
18137 .PHONY: check-mmalloc maybe-check-mmalloc
18138 maybe-check-mmalloc:
18139 @if mmalloc
18140 maybe-check-mmalloc: check-mmalloc
18142 check-mmalloc:
18144 @endif mmalloc
18146 .PHONY: install-mmalloc maybe-install-mmalloc
18147 maybe-install-mmalloc:
18148 @if mmalloc
18149 maybe-install-mmalloc: install-mmalloc
18151 install-mmalloc: installdirs
18152 @r=`${PWD_COMMAND}`; export r; \
18153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18154 $(HOST_EXPORTS) \
18155 (cd $(HOST_SUBDIR)/mmalloc && \
18156 $(MAKE) $(FLAGS_TO_PASS) install)
18158 @endif mmalloc
18160 # Other targets (info, dvi, etc.)
18162 .PHONY: maybe-info-mmalloc info-mmalloc
18163 maybe-info-mmalloc:
18164 @if mmalloc
18165 maybe-info-mmalloc: info-mmalloc
18167 info-mmalloc: \
18168 configure-mmalloc
18169 @[ -f ./mmalloc/Makefile ] || exit 0; \
18170 r=`${PWD_COMMAND}`; export r; \
18171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18172 $(HOST_EXPORTS) \
18173 for flag in $(EXTRA_HOST_FLAGS) ; do \
18174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18175 done; \
18176 echo "Doing info in mmalloc" ; \
18177 (cd $(HOST_SUBDIR)/mmalloc && \
18178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18180 "RANLIB=$${RANLIB}" \
18181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18182 info) \
18183 || exit 1
18185 @endif mmalloc
18187 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
18188 maybe-dvi-mmalloc:
18189 @if mmalloc
18190 maybe-dvi-mmalloc: dvi-mmalloc
18192 dvi-mmalloc: \
18193 configure-mmalloc
18194 @[ -f ./mmalloc/Makefile ] || exit 0; \
18195 r=`${PWD_COMMAND}`; export r; \
18196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18197 $(HOST_EXPORTS) \
18198 for flag in $(EXTRA_HOST_FLAGS) ; do \
18199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18200 done; \
18201 echo "Doing dvi in mmalloc" ; \
18202 (cd $(HOST_SUBDIR)/mmalloc && \
18203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18205 "RANLIB=$${RANLIB}" \
18206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18207 dvi) \
18208 || exit 1
18210 @endif mmalloc
18212 .PHONY: maybe-html-mmalloc html-mmalloc
18213 maybe-html-mmalloc:
18214 @if mmalloc
18215 maybe-html-mmalloc: html-mmalloc
18217 html-mmalloc: \
18218 configure-mmalloc
18219 @[ -f ./mmalloc/Makefile ] || exit 0; \
18220 r=`${PWD_COMMAND}`; export r; \
18221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18222 $(HOST_EXPORTS) \
18223 for flag in $(EXTRA_HOST_FLAGS) ; do \
18224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18225 done; \
18226 echo "Doing html in mmalloc" ; \
18227 (cd $(HOST_SUBDIR)/mmalloc && \
18228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18230 "RANLIB=$${RANLIB}" \
18231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18232 html) \
18233 || exit 1
18235 @endif mmalloc
18237 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
18238 maybe-TAGS-mmalloc:
18239 @if mmalloc
18240 maybe-TAGS-mmalloc: TAGS-mmalloc
18242 TAGS-mmalloc: \
18243 configure-mmalloc
18244 @[ -f ./mmalloc/Makefile ] || exit 0; \
18245 r=`${PWD_COMMAND}`; export r; \
18246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18247 $(HOST_EXPORTS) \
18248 for flag in $(EXTRA_HOST_FLAGS) ; do \
18249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18250 done; \
18251 echo "Doing TAGS in mmalloc" ; \
18252 (cd $(HOST_SUBDIR)/mmalloc && \
18253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18255 "RANLIB=$${RANLIB}" \
18256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18257 TAGS) \
18258 || exit 1
18260 @endif mmalloc
18262 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
18263 maybe-install-info-mmalloc:
18264 @if mmalloc
18265 maybe-install-info-mmalloc: install-info-mmalloc
18267 install-info-mmalloc: \
18268 configure-mmalloc \
18269 info-mmalloc
18270 @[ -f ./mmalloc/Makefile ] || exit 0; \
18271 r=`${PWD_COMMAND}`; export r; \
18272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18273 $(HOST_EXPORTS) \
18274 for flag in $(EXTRA_HOST_FLAGS) ; do \
18275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18276 done; \
18277 echo "Doing install-info in mmalloc" ; \
18278 (cd $(HOST_SUBDIR)/mmalloc && \
18279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18281 "RANLIB=$${RANLIB}" \
18282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18283 install-info) \
18284 || exit 1
18286 @endif mmalloc
18288 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
18289 maybe-installcheck-mmalloc:
18290 @if mmalloc
18291 maybe-installcheck-mmalloc: installcheck-mmalloc
18293 installcheck-mmalloc: \
18294 configure-mmalloc
18295 @[ -f ./mmalloc/Makefile ] || exit 0; \
18296 r=`${PWD_COMMAND}`; export r; \
18297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18298 $(HOST_EXPORTS) \
18299 for flag in $(EXTRA_HOST_FLAGS) ; do \
18300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18301 done; \
18302 echo "Doing installcheck in mmalloc" ; \
18303 (cd $(HOST_SUBDIR)/mmalloc && \
18304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18306 "RANLIB=$${RANLIB}" \
18307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18308 installcheck) \
18309 || exit 1
18311 @endif mmalloc
18313 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
18314 maybe-mostlyclean-mmalloc:
18315 @if mmalloc
18316 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
18318 mostlyclean-mmalloc:
18319 @[ -f ./mmalloc/Makefile ] || exit 0; \
18320 r=`${PWD_COMMAND}`; export r; \
18321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 mostlyclean in mmalloc" ; \
18327 (cd $(HOST_SUBDIR)/mmalloc && \
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 mostlyclean) \
18333 || exit 1
18335 @endif mmalloc
18337 .PHONY: maybe-clean-mmalloc clean-mmalloc
18338 maybe-clean-mmalloc:
18339 @if mmalloc
18340 maybe-clean-mmalloc: clean-mmalloc
18342 clean-mmalloc:
18343 @[ -f ./mmalloc/Makefile ] || exit 0; \
18344 r=`${PWD_COMMAND}`; export r; \
18345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18346 $(HOST_EXPORTS) \
18347 for flag in $(EXTRA_HOST_FLAGS) ; do \
18348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18349 done; \
18350 echo "Doing clean in mmalloc" ; \
18351 (cd $(HOST_SUBDIR)/mmalloc && \
18352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18354 "RANLIB=$${RANLIB}" \
18355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18356 clean) \
18357 || exit 1
18359 @endif mmalloc
18361 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
18362 maybe-distclean-mmalloc:
18363 @if mmalloc
18364 maybe-distclean-mmalloc: distclean-mmalloc
18366 distclean-mmalloc:
18367 @[ -f ./mmalloc/Makefile ] || exit 0; \
18368 r=`${PWD_COMMAND}`; export r; \
18369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18370 $(HOST_EXPORTS) \
18371 for flag in $(EXTRA_HOST_FLAGS) ; do \
18372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18373 done; \
18374 echo "Doing distclean in mmalloc" ; \
18375 (cd $(HOST_SUBDIR)/mmalloc && \
18376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18378 "RANLIB=$${RANLIB}" \
18379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18380 distclean) \
18381 || exit 1
18383 @endif mmalloc
18385 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
18386 maybe-maintainer-clean-mmalloc:
18387 @if mmalloc
18388 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
18390 maintainer-clean-mmalloc:
18391 @[ -f ./mmalloc/Makefile ] || exit 0; \
18392 r=`${PWD_COMMAND}`; export r; \
18393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18394 $(HOST_EXPORTS) \
18395 for flag in $(EXTRA_HOST_FLAGS) ; do \
18396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18397 done; \
18398 echo "Doing maintainer-clean in mmalloc" ; \
18399 (cd $(HOST_SUBDIR)/mmalloc && \
18400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18402 "RANLIB=$${RANLIB}" \
18403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18404 maintainer-clean) \
18405 || exit 1
18407 @endif mmalloc
18411 .PHONY: configure-patch maybe-configure-patch
18412 maybe-configure-patch:
18413 @if patch
18414 maybe-configure-patch: configure-patch
18415 configure-patch:
18416 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
18417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
18418 r=`${PWD_COMMAND}`; export r; \
18419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18420 $(HOST_EXPORTS) \
18421 echo Configuring in $(HOST_SUBDIR)/patch; \
18422 cd "$(HOST_SUBDIR)/patch" || exit 1; \
18423 case $(srcdir) in \
18424 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18425 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
18426 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18427 esac; \
18428 srcdiroption="--srcdir=$${topdir}/patch"; \
18429 libsrcdir="$$s/patch"; \
18430 $(SHELL) $${libsrcdir}/configure \
18431 $(HOST_CONFIGARGS) $${srcdiroption} \
18432 || exit 1
18433 @endif patch
18439 .PHONY: all-patch maybe-all-patch
18440 maybe-all-patch:
18441 @if patch
18442 TARGET-patch=all
18443 maybe-all-patch: all-patch
18444 all-patch: configure-patch
18445 @r=`${PWD_COMMAND}`; export r; \
18446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18447 $(HOST_EXPORTS) \
18448 (cd $(HOST_SUBDIR)/patch && \
18449 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
18450 @endif patch
18455 .PHONY: check-patch maybe-check-patch
18456 maybe-check-patch:
18457 @if patch
18458 maybe-check-patch: check-patch
18460 check-patch:
18461 @r=`${PWD_COMMAND}`; export r; \
18462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18463 $(HOST_EXPORTS) \
18464 (cd $(HOST_SUBDIR)/patch && \
18465 $(MAKE) $(FLAGS_TO_PASS) check)
18467 @endif patch
18469 .PHONY: install-patch maybe-install-patch
18470 maybe-install-patch:
18471 @if patch
18472 maybe-install-patch: install-patch
18474 install-patch: installdirs
18475 @r=`${PWD_COMMAND}`; export r; \
18476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18477 $(HOST_EXPORTS) \
18478 (cd $(HOST_SUBDIR)/patch && \
18479 $(MAKE) $(FLAGS_TO_PASS) install)
18481 @endif patch
18483 # Other targets (info, dvi, etc.)
18485 .PHONY: maybe-info-patch info-patch
18486 maybe-info-patch:
18487 @if patch
18488 maybe-info-patch: info-patch
18490 info-patch: \
18491 configure-patch
18492 @[ -f ./patch/Makefile ] || exit 0; \
18493 r=`${PWD_COMMAND}`; export r; \
18494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18495 $(HOST_EXPORTS) \
18496 for flag in $(EXTRA_HOST_FLAGS) ; do \
18497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18498 done; \
18499 echo "Doing info in patch" ; \
18500 (cd $(HOST_SUBDIR)/patch && \
18501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18503 "RANLIB=$${RANLIB}" \
18504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18505 info) \
18506 || exit 1
18508 @endif patch
18510 .PHONY: maybe-dvi-patch dvi-patch
18511 maybe-dvi-patch:
18512 @if patch
18513 maybe-dvi-patch: dvi-patch
18515 dvi-patch: \
18516 configure-patch
18517 @[ -f ./patch/Makefile ] || exit 0; \
18518 r=`${PWD_COMMAND}`; export r; \
18519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18520 $(HOST_EXPORTS) \
18521 for flag in $(EXTRA_HOST_FLAGS) ; do \
18522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18523 done; \
18524 echo "Doing dvi in patch" ; \
18525 (cd $(HOST_SUBDIR)/patch && \
18526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18528 "RANLIB=$${RANLIB}" \
18529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18530 dvi) \
18531 || exit 1
18533 @endif patch
18535 .PHONY: maybe-html-patch html-patch
18536 maybe-html-patch:
18537 @if patch
18538 maybe-html-patch: html-patch
18540 html-patch: \
18541 configure-patch
18542 @[ -f ./patch/Makefile ] || exit 0; \
18543 r=`${PWD_COMMAND}`; export r; \
18544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 html in patch" ; \
18550 (cd $(HOST_SUBDIR)/patch && \
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 html) \
18556 || exit 1
18558 @endif patch
18560 .PHONY: maybe-TAGS-patch TAGS-patch
18561 maybe-TAGS-patch:
18562 @if patch
18563 maybe-TAGS-patch: TAGS-patch
18565 TAGS-patch: \
18566 configure-patch
18567 @[ -f ./patch/Makefile ] || exit 0; \
18568 r=`${PWD_COMMAND}`; export r; \
18569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18570 $(HOST_EXPORTS) \
18571 for flag in $(EXTRA_HOST_FLAGS) ; do \
18572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18573 done; \
18574 echo "Doing TAGS in patch" ; \
18575 (cd $(HOST_SUBDIR)/patch && \
18576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18578 "RANLIB=$${RANLIB}" \
18579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18580 TAGS) \
18581 || exit 1
18583 @endif patch
18585 .PHONY: maybe-install-info-patch install-info-patch
18586 maybe-install-info-patch:
18587 @if patch
18588 maybe-install-info-patch: install-info-patch
18590 install-info-patch: \
18591 configure-patch \
18592 info-patch
18593 @[ -f ./patch/Makefile ] || exit 0; \
18594 r=`${PWD_COMMAND}`; export r; \
18595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18596 $(HOST_EXPORTS) \
18597 for flag in $(EXTRA_HOST_FLAGS) ; do \
18598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18599 done; \
18600 echo "Doing install-info in patch" ; \
18601 (cd $(HOST_SUBDIR)/patch && \
18602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18604 "RANLIB=$${RANLIB}" \
18605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18606 install-info) \
18607 || exit 1
18609 @endif patch
18611 .PHONY: maybe-installcheck-patch installcheck-patch
18612 maybe-installcheck-patch:
18613 @if patch
18614 maybe-installcheck-patch: installcheck-patch
18616 installcheck-patch: \
18617 configure-patch
18618 @[ -f ./patch/Makefile ] || exit 0; \
18619 r=`${PWD_COMMAND}`; export r; \
18620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18621 $(HOST_EXPORTS) \
18622 for flag in $(EXTRA_HOST_FLAGS) ; do \
18623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18624 done; \
18625 echo "Doing installcheck in patch" ; \
18626 (cd $(HOST_SUBDIR)/patch && \
18627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18629 "RANLIB=$${RANLIB}" \
18630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18631 installcheck) \
18632 || exit 1
18634 @endif patch
18636 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
18637 maybe-mostlyclean-patch:
18638 @if patch
18639 maybe-mostlyclean-patch: mostlyclean-patch
18641 mostlyclean-patch:
18642 @[ -f ./patch/Makefile ] || exit 0; \
18643 r=`${PWD_COMMAND}`; export r; \
18644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18645 $(HOST_EXPORTS) \
18646 for flag in $(EXTRA_HOST_FLAGS) ; do \
18647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18648 done; \
18649 echo "Doing mostlyclean in patch" ; \
18650 (cd $(HOST_SUBDIR)/patch && \
18651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18653 "RANLIB=$${RANLIB}" \
18654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18655 mostlyclean) \
18656 || exit 1
18658 @endif patch
18660 .PHONY: maybe-clean-patch clean-patch
18661 maybe-clean-patch:
18662 @if patch
18663 maybe-clean-patch: clean-patch
18665 clean-patch:
18666 @[ -f ./patch/Makefile ] || exit 0; \
18667 r=`${PWD_COMMAND}`; export r; \
18668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18669 $(HOST_EXPORTS) \
18670 for flag in $(EXTRA_HOST_FLAGS) ; do \
18671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18672 done; \
18673 echo "Doing clean in patch" ; \
18674 (cd $(HOST_SUBDIR)/patch && \
18675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18677 "RANLIB=$${RANLIB}" \
18678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18679 clean) \
18680 || exit 1
18682 @endif patch
18684 .PHONY: maybe-distclean-patch distclean-patch
18685 maybe-distclean-patch:
18686 @if patch
18687 maybe-distclean-patch: distclean-patch
18689 distclean-patch:
18690 @[ -f ./patch/Makefile ] || exit 0; \
18691 r=`${PWD_COMMAND}`; export r; \
18692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18693 $(HOST_EXPORTS) \
18694 for flag in $(EXTRA_HOST_FLAGS) ; do \
18695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18696 done; \
18697 echo "Doing distclean in patch" ; \
18698 (cd $(HOST_SUBDIR)/patch && \
18699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18701 "RANLIB=$${RANLIB}" \
18702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18703 distclean) \
18704 || exit 1
18706 @endif patch
18708 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
18709 maybe-maintainer-clean-patch:
18710 @if patch
18711 maybe-maintainer-clean-patch: maintainer-clean-patch
18713 maintainer-clean-patch:
18714 @[ -f ./patch/Makefile ] || exit 0; \
18715 r=`${PWD_COMMAND}`; export r; \
18716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18717 $(HOST_EXPORTS) \
18718 for flag in $(EXTRA_HOST_FLAGS) ; do \
18719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18720 done; \
18721 echo "Doing maintainer-clean in patch" ; \
18722 (cd $(HOST_SUBDIR)/patch && \
18723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18725 "RANLIB=$${RANLIB}" \
18726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18727 maintainer-clean) \
18728 || exit 1
18730 @endif patch
18734 .PHONY: configure-perl maybe-configure-perl
18735 maybe-configure-perl:
18736 @if perl
18737 maybe-configure-perl: configure-perl
18738 configure-perl:
18739 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
18740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
18741 r=`${PWD_COMMAND}`; export r; \
18742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18743 $(HOST_EXPORTS) \
18744 echo Configuring in $(HOST_SUBDIR)/perl; \
18745 cd "$(HOST_SUBDIR)/perl" || exit 1; \
18746 case $(srcdir) in \
18747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18748 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
18749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18750 esac; \
18751 srcdiroption="--srcdir=$${topdir}/perl"; \
18752 libsrcdir="$$s/perl"; \
18753 $(SHELL) $${libsrcdir}/configure \
18754 $(HOST_CONFIGARGS) $${srcdiroption} \
18755 || exit 1
18756 @endif perl
18762 .PHONY: all-perl maybe-all-perl
18763 maybe-all-perl:
18764 @if perl
18765 TARGET-perl=all
18766 maybe-all-perl: all-perl
18767 all-perl: configure-perl
18768 @r=`${PWD_COMMAND}`; export r; \
18769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18770 $(HOST_EXPORTS) \
18771 (cd $(HOST_SUBDIR)/perl && \
18772 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
18773 @endif perl
18778 .PHONY: check-perl maybe-check-perl
18779 maybe-check-perl:
18780 @if perl
18781 maybe-check-perl: check-perl
18783 check-perl:
18784 @r=`${PWD_COMMAND}`; export r; \
18785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18786 $(HOST_EXPORTS) \
18787 (cd $(HOST_SUBDIR)/perl && \
18788 $(MAKE) $(FLAGS_TO_PASS) check)
18790 @endif perl
18792 .PHONY: install-perl maybe-install-perl
18793 maybe-install-perl:
18794 @if perl
18795 maybe-install-perl: install-perl
18797 install-perl: installdirs
18798 @r=`${PWD_COMMAND}`; export r; \
18799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18800 $(HOST_EXPORTS) \
18801 (cd $(HOST_SUBDIR)/perl && \
18802 $(MAKE) $(FLAGS_TO_PASS) install)
18804 @endif perl
18806 # Other targets (info, dvi, etc.)
18808 .PHONY: maybe-info-perl info-perl
18809 maybe-info-perl:
18810 @if perl
18811 maybe-info-perl: info-perl
18813 info-perl: \
18814 configure-perl
18815 @[ -f ./perl/Makefile ] || exit 0; \
18816 r=`${PWD_COMMAND}`; export r; \
18817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18818 $(HOST_EXPORTS) \
18819 for flag in $(EXTRA_HOST_FLAGS) ; do \
18820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18821 done; \
18822 echo "Doing info in perl" ; \
18823 (cd $(HOST_SUBDIR)/perl && \
18824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18826 "RANLIB=$${RANLIB}" \
18827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18828 info) \
18829 || exit 1
18831 @endif perl
18833 .PHONY: maybe-dvi-perl dvi-perl
18834 maybe-dvi-perl:
18835 @if perl
18836 maybe-dvi-perl: dvi-perl
18838 dvi-perl: \
18839 configure-perl
18840 @[ -f ./perl/Makefile ] || exit 0; \
18841 r=`${PWD_COMMAND}`; export r; \
18842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18843 $(HOST_EXPORTS) \
18844 for flag in $(EXTRA_HOST_FLAGS) ; do \
18845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18846 done; \
18847 echo "Doing dvi in perl" ; \
18848 (cd $(HOST_SUBDIR)/perl && \
18849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18851 "RANLIB=$${RANLIB}" \
18852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18853 dvi) \
18854 || exit 1
18856 @endif perl
18858 .PHONY: maybe-html-perl html-perl
18859 maybe-html-perl:
18860 @if perl
18861 maybe-html-perl: html-perl
18863 html-perl: \
18864 configure-perl
18865 @[ -f ./perl/Makefile ] || exit 0; \
18866 r=`${PWD_COMMAND}`; export r; \
18867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18868 $(HOST_EXPORTS) \
18869 for flag in $(EXTRA_HOST_FLAGS) ; do \
18870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18871 done; \
18872 echo "Doing html in perl" ; \
18873 (cd $(HOST_SUBDIR)/perl && \
18874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18876 "RANLIB=$${RANLIB}" \
18877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18878 html) \
18879 || exit 1
18881 @endif perl
18883 .PHONY: maybe-TAGS-perl TAGS-perl
18884 maybe-TAGS-perl:
18885 @if perl
18886 maybe-TAGS-perl: TAGS-perl
18888 TAGS-perl: \
18889 configure-perl
18890 @[ -f ./perl/Makefile ] || exit 0; \
18891 r=`${PWD_COMMAND}`; export r; \
18892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18893 $(HOST_EXPORTS) \
18894 for flag in $(EXTRA_HOST_FLAGS) ; do \
18895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18896 done; \
18897 echo "Doing TAGS in perl" ; \
18898 (cd $(HOST_SUBDIR)/perl && \
18899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18901 "RANLIB=$${RANLIB}" \
18902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18903 TAGS) \
18904 || exit 1
18906 @endif perl
18908 .PHONY: maybe-install-info-perl install-info-perl
18909 maybe-install-info-perl:
18910 @if perl
18911 maybe-install-info-perl: install-info-perl
18913 install-info-perl: \
18914 configure-perl \
18915 info-perl
18916 @[ -f ./perl/Makefile ] || exit 0; \
18917 r=`${PWD_COMMAND}`; export r; \
18918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18919 $(HOST_EXPORTS) \
18920 for flag in $(EXTRA_HOST_FLAGS) ; do \
18921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18922 done; \
18923 echo "Doing install-info in perl" ; \
18924 (cd $(HOST_SUBDIR)/perl && \
18925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18927 "RANLIB=$${RANLIB}" \
18928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18929 install-info) \
18930 || exit 1
18932 @endif perl
18934 .PHONY: maybe-installcheck-perl installcheck-perl
18935 maybe-installcheck-perl:
18936 @if perl
18937 maybe-installcheck-perl: installcheck-perl
18939 installcheck-perl: \
18940 configure-perl
18941 @[ -f ./perl/Makefile ] || exit 0; \
18942 r=`${PWD_COMMAND}`; export r; \
18943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18944 $(HOST_EXPORTS) \
18945 for flag in $(EXTRA_HOST_FLAGS) ; do \
18946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18947 done; \
18948 echo "Doing installcheck in perl" ; \
18949 (cd $(HOST_SUBDIR)/perl && \
18950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18952 "RANLIB=$${RANLIB}" \
18953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18954 installcheck) \
18955 || exit 1
18957 @endif perl
18959 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
18960 maybe-mostlyclean-perl:
18961 @if perl
18962 maybe-mostlyclean-perl: mostlyclean-perl
18964 mostlyclean-perl:
18965 @[ -f ./perl/Makefile ] || exit 0; \
18966 r=`${PWD_COMMAND}`; export r; \
18967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18968 $(HOST_EXPORTS) \
18969 for flag in $(EXTRA_HOST_FLAGS) ; do \
18970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18971 done; \
18972 echo "Doing mostlyclean in perl" ; \
18973 (cd $(HOST_SUBDIR)/perl && \
18974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18976 "RANLIB=$${RANLIB}" \
18977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18978 mostlyclean) \
18979 || exit 1
18981 @endif perl
18983 .PHONY: maybe-clean-perl clean-perl
18984 maybe-clean-perl:
18985 @if perl
18986 maybe-clean-perl: clean-perl
18988 clean-perl:
18989 @[ -f ./perl/Makefile ] || exit 0; \
18990 r=`${PWD_COMMAND}`; export r; \
18991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18992 $(HOST_EXPORTS) \
18993 for flag in $(EXTRA_HOST_FLAGS) ; do \
18994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18995 done; \
18996 echo "Doing clean in perl" ; \
18997 (cd $(HOST_SUBDIR)/perl && \
18998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19000 "RANLIB=$${RANLIB}" \
19001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19002 clean) \
19003 || exit 1
19005 @endif perl
19007 .PHONY: maybe-distclean-perl distclean-perl
19008 maybe-distclean-perl:
19009 @if perl
19010 maybe-distclean-perl: distclean-perl
19012 distclean-perl:
19013 @[ -f ./perl/Makefile ] || exit 0; \
19014 r=`${PWD_COMMAND}`; export r; \
19015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19016 $(HOST_EXPORTS) \
19017 for flag in $(EXTRA_HOST_FLAGS) ; do \
19018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19019 done; \
19020 echo "Doing distclean in perl" ; \
19021 (cd $(HOST_SUBDIR)/perl && \
19022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19024 "RANLIB=$${RANLIB}" \
19025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19026 distclean) \
19027 || exit 1
19029 @endif perl
19031 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
19032 maybe-maintainer-clean-perl:
19033 @if perl
19034 maybe-maintainer-clean-perl: maintainer-clean-perl
19036 maintainer-clean-perl:
19037 @[ -f ./perl/Makefile ] || exit 0; \
19038 r=`${PWD_COMMAND}`; export r; \
19039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19040 $(HOST_EXPORTS) \
19041 for flag in $(EXTRA_HOST_FLAGS) ; do \
19042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19043 done; \
19044 echo "Doing maintainer-clean in perl" ; \
19045 (cd $(HOST_SUBDIR)/perl && \
19046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19048 "RANLIB=$${RANLIB}" \
19049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19050 maintainer-clean) \
19051 || exit 1
19053 @endif perl
19057 .PHONY: configure-prms maybe-configure-prms
19058 maybe-configure-prms:
19059 @if prms
19060 maybe-configure-prms: configure-prms
19061 configure-prms:
19062 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
19063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
19064 r=`${PWD_COMMAND}`; export r; \
19065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19066 $(HOST_EXPORTS) \
19067 echo Configuring in $(HOST_SUBDIR)/prms; \
19068 cd "$(HOST_SUBDIR)/prms" || exit 1; \
19069 case $(srcdir) in \
19070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19071 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
19072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19073 esac; \
19074 srcdiroption="--srcdir=$${topdir}/prms"; \
19075 libsrcdir="$$s/prms"; \
19076 $(SHELL) $${libsrcdir}/configure \
19077 $(HOST_CONFIGARGS) $${srcdiroption} \
19078 || exit 1
19079 @endif prms
19085 .PHONY: all-prms maybe-all-prms
19086 maybe-all-prms:
19087 @if prms
19088 TARGET-prms=all
19089 maybe-all-prms: all-prms
19090 all-prms: configure-prms
19091 @r=`${PWD_COMMAND}`; export r; \
19092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19093 $(HOST_EXPORTS) \
19094 (cd $(HOST_SUBDIR)/prms && \
19095 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
19096 @endif prms
19101 .PHONY: check-prms maybe-check-prms
19102 maybe-check-prms:
19103 @if prms
19104 maybe-check-prms: check-prms
19106 check-prms:
19107 @r=`${PWD_COMMAND}`; export r; \
19108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19109 $(HOST_EXPORTS) \
19110 (cd $(HOST_SUBDIR)/prms && \
19111 $(MAKE) $(FLAGS_TO_PASS) check)
19113 @endif prms
19115 .PHONY: install-prms maybe-install-prms
19116 maybe-install-prms:
19117 @if prms
19118 maybe-install-prms: install-prms
19120 install-prms: installdirs
19121 @r=`${PWD_COMMAND}`; export r; \
19122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19123 $(HOST_EXPORTS) \
19124 (cd $(HOST_SUBDIR)/prms && \
19125 $(MAKE) $(FLAGS_TO_PASS) install)
19127 @endif prms
19129 # Other targets (info, dvi, etc.)
19131 .PHONY: maybe-info-prms info-prms
19132 maybe-info-prms:
19133 @if prms
19134 maybe-info-prms: info-prms
19136 info-prms: \
19137 configure-prms
19138 @[ -f ./prms/Makefile ] || exit 0; \
19139 r=`${PWD_COMMAND}`; export r; \
19140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19141 $(HOST_EXPORTS) \
19142 for flag in $(EXTRA_HOST_FLAGS) ; do \
19143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19144 done; \
19145 echo "Doing info in prms" ; \
19146 (cd $(HOST_SUBDIR)/prms && \
19147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19149 "RANLIB=$${RANLIB}" \
19150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19151 info) \
19152 || exit 1
19154 @endif prms
19156 .PHONY: maybe-dvi-prms dvi-prms
19157 maybe-dvi-prms:
19158 @if prms
19159 maybe-dvi-prms: dvi-prms
19161 dvi-prms: \
19162 configure-prms
19163 @[ -f ./prms/Makefile ] || exit 0; \
19164 r=`${PWD_COMMAND}`; export r; \
19165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19166 $(HOST_EXPORTS) \
19167 for flag in $(EXTRA_HOST_FLAGS) ; do \
19168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19169 done; \
19170 echo "Doing dvi in prms" ; \
19171 (cd $(HOST_SUBDIR)/prms && \
19172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19174 "RANLIB=$${RANLIB}" \
19175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19176 dvi) \
19177 || exit 1
19179 @endif prms
19181 .PHONY: maybe-html-prms html-prms
19182 maybe-html-prms:
19183 @if prms
19184 maybe-html-prms: html-prms
19186 html-prms: \
19187 configure-prms
19188 @[ -f ./prms/Makefile ] || exit 0; \
19189 r=`${PWD_COMMAND}`; export r; \
19190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19191 $(HOST_EXPORTS) \
19192 for flag in $(EXTRA_HOST_FLAGS) ; do \
19193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19194 done; \
19195 echo "Doing html in prms" ; \
19196 (cd $(HOST_SUBDIR)/prms && \
19197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19199 "RANLIB=$${RANLIB}" \
19200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19201 html) \
19202 || exit 1
19204 @endif prms
19206 .PHONY: maybe-TAGS-prms TAGS-prms
19207 maybe-TAGS-prms:
19208 @if prms
19209 maybe-TAGS-prms: TAGS-prms
19211 TAGS-prms: \
19212 configure-prms
19213 @[ -f ./prms/Makefile ] || exit 0; \
19214 r=`${PWD_COMMAND}`; export r; \
19215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19216 $(HOST_EXPORTS) \
19217 for flag in $(EXTRA_HOST_FLAGS) ; do \
19218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19219 done; \
19220 echo "Doing TAGS in prms" ; \
19221 (cd $(HOST_SUBDIR)/prms && \
19222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19224 "RANLIB=$${RANLIB}" \
19225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19226 TAGS) \
19227 || exit 1
19229 @endif prms
19231 .PHONY: maybe-install-info-prms install-info-prms
19232 maybe-install-info-prms:
19233 @if prms
19234 maybe-install-info-prms: install-info-prms
19236 install-info-prms: \
19237 configure-prms \
19238 info-prms
19239 @[ -f ./prms/Makefile ] || exit 0; \
19240 r=`${PWD_COMMAND}`; export r; \
19241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19242 $(HOST_EXPORTS) \
19243 for flag in $(EXTRA_HOST_FLAGS) ; do \
19244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19245 done; \
19246 echo "Doing install-info in prms" ; \
19247 (cd $(HOST_SUBDIR)/prms && \
19248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19250 "RANLIB=$${RANLIB}" \
19251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19252 install-info) \
19253 || exit 1
19255 @endif prms
19257 .PHONY: maybe-installcheck-prms installcheck-prms
19258 maybe-installcheck-prms:
19259 @if prms
19260 maybe-installcheck-prms: installcheck-prms
19262 installcheck-prms: \
19263 configure-prms
19264 @[ -f ./prms/Makefile ] || exit 0; \
19265 r=`${PWD_COMMAND}`; export r; \
19266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19267 $(HOST_EXPORTS) \
19268 for flag in $(EXTRA_HOST_FLAGS) ; do \
19269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19270 done; \
19271 echo "Doing installcheck in prms" ; \
19272 (cd $(HOST_SUBDIR)/prms && \
19273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19275 "RANLIB=$${RANLIB}" \
19276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19277 installcheck) \
19278 || exit 1
19280 @endif prms
19282 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
19283 maybe-mostlyclean-prms:
19284 @if prms
19285 maybe-mostlyclean-prms: mostlyclean-prms
19287 mostlyclean-prms:
19288 @[ -f ./prms/Makefile ] || exit 0; \
19289 r=`${PWD_COMMAND}`; export r; \
19290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19291 $(HOST_EXPORTS) \
19292 for flag in $(EXTRA_HOST_FLAGS) ; do \
19293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19294 done; \
19295 echo "Doing mostlyclean in prms" ; \
19296 (cd $(HOST_SUBDIR)/prms && \
19297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19299 "RANLIB=$${RANLIB}" \
19300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19301 mostlyclean) \
19302 || exit 1
19304 @endif prms
19306 .PHONY: maybe-clean-prms clean-prms
19307 maybe-clean-prms:
19308 @if prms
19309 maybe-clean-prms: clean-prms
19311 clean-prms:
19312 @[ -f ./prms/Makefile ] || exit 0; \
19313 r=`${PWD_COMMAND}`; export r; \
19314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19315 $(HOST_EXPORTS) \
19316 for flag in $(EXTRA_HOST_FLAGS) ; do \
19317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19318 done; \
19319 echo "Doing clean in prms" ; \
19320 (cd $(HOST_SUBDIR)/prms && \
19321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19323 "RANLIB=$${RANLIB}" \
19324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19325 clean) \
19326 || exit 1
19328 @endif prms
19330 .PHONY: maybe-distclean-prms distclean-prms
19331 maybe-distclean-prms:
19332 @if prms
19333 maybe-distclean-prms: distclean-prms
19335 distclean-prms:
19336 @[ -f ./prms/Makefile ] || exit 0; \
19337 r=`${PWD_COMMAND}`; export r; \
19338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19339 $(HOST_EXPORTS) \
19340 for flag in $(EXTRA_HOST_FLAGS) ; do \
19341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19342 done; \
19343 echo "Doing distclean in prms" ; \
19344 (cd $(HOST_SUBDIR)/prms && \
19345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19347 "RANLIB=$${RANLIB}" \
19348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19349 distclean) \
19350 || exit 1
19352 @endif prms
19354 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
19355 maybe-maintainer-clean-prms:
19356 @if prms
19357 maybe-maintainer-clean-prms: maintainer-clean-prms
19359 maintainer-clean-prms:
19360 @[ -f ./prms/Makefile ] || exit 0; \
19361 r=`${PWD_COMMAND}`; export r; \
19362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19363 $(HOST_EXPORTS) \
19364 for flag in $(EXTRA_HOST_FLAGS) ; do \
19365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19366 done; \
19367 echo "Doing maintainer-clean in prms" ; \
19368 (cd $(HOST_SUBDIR)/prms && \
19369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19371 "RANLIB=$${RANLIB}" \
19372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19373 maintainer-clean) \
19374 || exit 1
19376 @endif prms
19380 .PHONY: configure-rcs maybe-configure-rcs
19381 maybe-configure-rcs:
19382 @if rcs
19383 maybe-configure-rcs: configure-rcs
19384 configure-rcs:
19385 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
19386 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
19387 r=`${PWD_COMMAND}`; export r; \
19388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19389 $(HOST_EXPORTS) \
19390 echo Configuring in $(HOST_SUBDIR)/rcs; \
19391 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
19392 case $(srcdir) in \
19393 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19394 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
19395 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19396 esac; \
19397 srcdiroption="--srcdir=$${topdir}/rcs"; \
19398 libsrcdir="$$s/rcs"; \
19399 $(SHELL) $${libsrcdir}/configure \
19400 $(HOST_CONFIGARGS) $${srcdiroption} \
19401 || exit 1
19402 @endif rcs
19408 .PHONY: all-rcs maybe-all-rcs
19409 maybe-all-rcs:
19410 @if rcs
19411 TARGET-rcs=all
19412 maybe-all-rcs: all-rcs
19413 all-rcs: configure-rcs
19414 @r=`${PWD_COMMAND}`; export r; \
19415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19416 $(HOST_EXPORTS) \
19417 (cd $(HOST_SUBDIR)/rcs && \
19418 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
19419 @endif rcs
19424 .PHONY: check-rcs maybe-check-rcs
19425 maybe-check-rcs:
19426 @if rcs
19427 maybe-check-rcs: check-rcs
19429 check-rcs:
19430 @r=`${PWD_COMMAND}`; export r; \
19431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19432 $(HOST_EXPORTS) \
19433 (cd $(HOST_SUBDIR)/rcs && \
19434 $(MAKE) $(FLAGS_TO_PASS) check)
19436 @endif rcs
19438 .PHONY: install-rcs maybe-install-rcs
19439 maybe-install-rcs:
19440 @if rcs
19441 maybe-install-rcs: install-rcs
19443 install-rcs: installdirs
19444 @r=`${PWD_COMMAND}`; export r; \
19445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19446 $(HOST_EXPORTS) \
19447 (cd $(HOST_SUBDIR)/rcs && \
19448 $(MAKE) $(FLAGS_TO_PASS) install)
19450 @endif rcs
19452 # Other targets (info, dvi, etc.)
19454 .PHONY: maybe-info-rcs info-rcs
19455 maybe-info-rcs:
19456 @if rcs
19457 maybe-info-rcs: info-rcs
19459 info-rcs: \
19460 configure-rcs
19461 @[ -f ./rcs/Makefile ] || exit 0; \
19462 r=`${PWD_COMMAND}`; export r; \
19463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19464 $(HOST_EXPORTS) \
19465 for flag in $(EXTRA_HOST_FLAGS) ; do \
19466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19467 done; \
19468 echo "Doing info in rcs" ; \
19469 (cd $(HOST_SUBDIR)/rcs && \
19470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19472 "RANLIB=$${RANLIB}" \
19473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19474 info) \
19475 || exit 1
19477 @endif rcs
19479 .PHONY: maybe-dvi-rcs dvi-rcs
19480 maybe-dvi-rcs:
19481 @if rcs
19482 maybe-dvi-rcs: dvi-rcs
19484 dvi-rcs: \
19485 configure-rcs
19486 @[ -f ./rcs/Makefile ] || exit 0; \
19487 r=`${PWD_COMMAND}`; export r; \
19488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19489 $(HOST_EXPORTS) \
19490 for flag in $(EXTRA_HOST_FLAGS) ; do \
19491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19492 done; \
19493 echo "Doing dvi in rcs" ; \
19494 (cd $(HOST_SUBDIR)/rcs && \
19495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19497 "RANLIB=$${RANLIB}" \
19498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19499 dvi) \
19500 || exit 1
19502 @endif rcs
19504 .PHONY: maybe-html-rcs html-rcs
19505 maybe-html-rcs:
19506 @if rcs
19507 maybe-html-rcs: html-rcs
19509 html-rcs: \
19510 configure-rcs
19511 @[ -f ./rcs/Makefile ] || exit 0; \
19512 r=`${PWD_COMMAND}`; export r; \
19513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19514 $(HOST_EXPORTS) \
19515 for flag in $(EXTRA_HOST_FLAGS) ; do \
19516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19517 done; \
19518 echo "Doing html in rcs" ; \
19519 (cd $(HOST_SUBDIR)/rcs && \
19520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19522 "RANLIB=$${RANLIB}" \
19523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19524 html) \
19525 || exit 1
19527 @endif rcs
19529 .PHONY: maybe-TAGS-rcs TAGS-rcs
19530 maybe-TAGS-rcs:
19531 @if rcs
19532 maybe-TAGS-rcs: TAGS-rcs
19534 TAGS-rcs: \
19535 configure-rcs
19536 @[ -f ./rcs/Makefile ] || exit 0; \
19537 r=`${PWD_COMMAND}`; export r; \
19538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19539 $(HOST_EXPORTS) \
19540 for flag in $(EXTRA_HOST_FLAGS) ; do \
19541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19542 done; \
19543 echo "Doing TAGS in rcs" ; \
19544 (cd $(HOST_SUBDIR)/rcs && \
19545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19547 "RANLIB=$${RANLIB}" \
19548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19549 TAGS) \
19550 || exit 1
19552 @endif rcs
19554 .PHONY: maybe-install-info-rcs install-info-rcs
19555 maybe-install-info-rcs:
19556 @if rcs
19557 maybe-install-info-rcs: install-info-rcs
19559 install-info-rcs: \
19560 configure-rcs \
19561 info-rcs
19562 @[ -f ./rcs/Makefile ] || exit 0; \
19563 r=`${PWD_COMMAND}`; export r; \
19564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19565 $(HOST_EXPORTS) \
19566 for flag in $(EXTRA_HOST_FLAGS) ; do \
19567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19568 done; \
19569 echo "Doing install-info in rcs" ; \
19570 (cd $(HOST_SUBDIR)/rcs && \
19571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19573 "RANLIB=$${RANLIB}" \
19574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19575 install-info) \
19576 || exit 1
19578 @endif rcs
19580 .PHONY: maybe-installcheck-rcs installcheck-rcs
19581 maybe-installcheck-rcs:
19582 @if rcs
19583 maybe-installcheck-rcs: installcheck-rcs
19585 installcheck-rcs: \
19586 configure-rcs
19587 @[ -f ./rcs/Makefile ] || exit 0; \
19588 r=`${PWD_COMMAND}`; export r; \
19589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19590 $(HOST_EXPORTS) \
19591 for flag in $(EXTRA_HOST_FLAGS) ; do \
19592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19593 done; \
19594 echo "Doing installcheck in rcs" ; \
19595 (cd $(HOST_SUBDIR)/rcs && \
19596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19598 "RANLIB=$${RANLIB}" \
19599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19600 installcheck) \
19601 || exit 1
19603 @endif rcs
19605 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
19606 maybe-mostlyclean-rcs:
19607 @if rcs
19608 maybe-mostlyclean-rcs: mostlyclean-rcs
19610 mostlyclean-rcs:
19611 @[ -f ./rcs/Makefile ] || exit 0; \
19612 r=`${PWD_COMMAND}`; export r; \
19613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19614 $(HOST_EXPORTS) \
19615 for flag in $(EXTRA_HOST_FLAGS) ; do \
19616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19617 done; \
19618 echo "Doing mostlyclean in rcs" ; \
19619 (cd $(HOST_SUBDIR)/rcs && \
19620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19622 "RANLIB=$${RANLIB}" \
19623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19624 mostlyclean) \
19625 || exit 1
19627 @endif rcs
19629 .PHONY: maybe-clean-rcs clean-rcs
19630 maybe-clean-rcs:
19631 @if rcs
19632 maybe-clean-rcs: clean-rcs
19634 clean-rcs:
19635 @[ -f ./rcs/Makefile ] || exit 0; \
19636 r=`${PWD_COMMAND}`; export r; \
19637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19638 $(HOST_EXPORTS) \
19639 for flag in $(EXTRA_HOST_FLAGS) ; do \
19640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19641 done; \
19642 echo "Doing clean in rcs" ; \
19643 (cd $(HOST_SUBDIR)/rcs && \
19644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19646 "RANLIB=$${RANLIB}" \
19647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19648 clean) \
19649 || exit 1
19651 @endif rcs
19653 .PHONY: maybe-distclean-rcs distclean-rcs
19654 maybe-distclean-rcs:
19655 @if rcs
19656 maybe-distclean-rcs: distclean-rcs
19658 distclean-rcs:
19659 @[ -f ./rcs/Makefile ] || exit 0; \
19660 r=`${PWD_COMMAND}`; export r; \
19661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19662 $(HOST_EXPORTS) \
19663 for flag in $(EXTRA_HOST_FLAGS) ; do \
19664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19665 done; \
19666 echo "Doing distclean in rcs" ; \
19667 (cd $(HOST_SUBDIR)/rcs && \
19668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19670 "RANLIB=$${RANLIB}" \
19671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19672 distclean) \
19673 || exit 1
19675 @endif rcs
19677 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
19678 maybe-maintainer-clean-rcs:
19679 @if rcs
19680 maybe-maintainer-clean-rcs: maintainer-clean-rcs
19682 maintainer-clean-rcs:
19683 @[ -f ./rcs/Makefile ] || exit 0; \
19684 r=`${PWD_COMMAND}`; export r; \
19685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19686 $(HOST_EXPORTS) \
19687 for flag in $(EXTRA_HOST_FLAGS) ; do \
19688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19689 done; \
19690 echo "Doing maintainer-clean in rcs" ; \
19691 (cd $(HOST_SUBDIR)/rcs && \
19692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19694 "RANLIB=$${RANLIB}" \
19695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19696 maintainer-clean) \
19697 || exit 1
19699 @endif rcs
19703 .PHONY: configure-readline maybe-configure-readline
19704 maybe-configure-readline:
19705 @if readline
19706 maybe-configure-readline: configure-readline
19707 configure-readline:
19708 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
19709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
19710 r=`${PWD_COMMAND}`; export r; \
19711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19712 $(HOST_EXPORTS) \
19713 echo Configuring in $(HOST_SUBDIR)/readline; \
19714 cd "$(HOST_SUBDIR)/readline" || exit 1; \
19715 case $(srcdir) in \
19716 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19717 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
19718 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19719 esac; \
19720 srcdiroption="--srcdir=$${topdir}/readline"; \
19721 libsrcdir="$$s/readline"; \
19722 $(SHELL) $${libsrcdir}/configure \
19723 $(HOST_CONFIGARGS) $${srcdiroption} \
19724 || exit 1
19725 @endif readline
19731 .PHONY: all-readline maybe-all-readline
19732 maybe-all-readline:
19733 @if readline
19734 TARGET-readline=all
19735 maybe-all-readline: all-readline
19736 all-readline: configure-readline
19737 @r=`${PWD_COMMAND}`; export r; \
19738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19739 $(HOST_EXPORTS) \
19740 (cd $(HOST_SUBDIR)/readline && \
19741 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
19742 @endif readline
19747 .PHONY: check-readline maybe-check-readline
19748 maybe-check-readline:
19749 @if readline
19750 maybe-check-readline: check-readline
19752 check-readline:
19753 @r=`${PWD_COMMAND}`; export r; \
19754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19755 $(HOST_EXPORTS) \
19756 (cd $(HOST_SUBDIR)/readline && \
19757 $(MAKE) $(FLAGS_TO_PASS) check)
19759 @endif readline
19761 .PHONY: install-readline maybe-install-readline
19762 maybe-install-readline:
19763 @if readline
19764 maybe-install-readline: install-readline
19766 install-readline: installdirs
19767 @r=`${PWD_COMMAND}`; export r; \
19768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19769 $(HOST_EXPORTS) \
19770 (cd $(HOST_SUBDIR)/readline && \
19771 $(MAKE) $(FLAGS_TO_PASS) install)
19773 @endif readline
19775 # Other targets (info, dvi, etc.)
19777 .PHONY: maybe-info-readline info-readline
19778 maybe-info-readline:
19779 @if readline
19780 maybe-info-readline: info-readline
19782 info-readline: \
19783 configure-readline
19784 @[ -f ./readline/Makefile ] || exit 0; \
19785 r=`${PWD_COMMAND}`; export r; \
19786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19787 $(HOST_EXPORTS) \
19788 for flag in $(EXTRA_HOST_FLAGS) ; do \
19789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19790 done; \
19791 echo "Doing info in readline" ; \
19792 (cd $(HOST_SUBDIR)/readline && \
19793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19795 "RANLIB=$${RANLIB}" \
19796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19797 info) \
19798 || exit 1
19800 @endif readline
19802 .PHONY: maybe-dvi-readline dvi-readline
19803 maybe-dvi-readline:
19804 @if readline
19805 maybe-dvi-readline: dvi-readline
19807 dvi-readline: \
19808 configure-readline
19809 @[ -f ./readline/Makefile ] || exit 0; \
19810 r=`${PWD_COMMAND}`; export r; \
19811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19812 $(HOST_EXPORTS) \
19813 for flag in $(EXTRA_HOST_FLAGS) ; do \
19814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19815 done; \
19816 echo "Doing dvi in readline" ; \
19817 (cd $(HOST_SUBDIR)/readline && \
19818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19820 "RANLIB=$${RANLIB}" \
19821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19822 dvi) \
19823 || exit 1
19825 @endif readline
19827 .PHONY: maybe-html-readline html-readline
19828 maybe-html-readline:
19829 @if readline
19830 maybe-html-readline: html-readline
19832 html-readline: \
19833 configure-readline
19834 @[ -f ./readline/Makefile ] || exit 0; \
19835 r=`${PWD_COMMAND}`; export r; \
19836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19837 $(HOST_EXPORTS) \
19838 for flag in $(EXTRA_HOST_FLAGS) ; do \
19839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19840 done; \
19841 echo "Doing html in readline" ; \
19842 (cd $(HOST_SUBDIR)/readline && \
19843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19845 "RANLIB=$${RANLIB}" \
19846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19847 html) \
19848 || exit 1
19850 @endif readline
19852 .PHONY: maybe-TAGS-readline TAGS-readline
19853 maybe-TAGS-readline:
19854 @if readline
19855 maybe-TAGS-readline: TAGS-readline
19857 TAGS-readline: \
19858 configure-readline
19859 @[ -f ./readline/Makefile ] || exit 0; \
19860 r=`${PWD_COMMAND}`; export r; \
19861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19862 $(HOST_EXPORTS) \
19863 for flag in $(EXTRA_HOST_FLAGS) ; do \
19864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19865 done; \
19866 echo "Doing TAGS in readline" ; \
19867 (cd $(HOST_SUBDIR)/readline && \
19868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19870 "RANLIB=$${RANLIB}" \
19871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19872 TAGS) \
19873 || exit 1
19875 @endif readline
19877 .PHONY: maybe-install-info-readline install-info-readline
19878 maybe-install-info-readline:
19879 @if readline
19880 maybe-install-info-readline: install-info-readline
19882 install-info-readline: \
19883 configure-readline \
19884 info-readline
19885 @[ -f ./readline/Makefile ] || exit 0; \
19886 r=`${PWD_COMMAND}`; export r; \
19887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19888 $(HOST_EXPORTS) \
19889 for flag in $(EXTRA_HOST_FLAGS) ; do \
19890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19891 done; \
19892 echo "Doing install-info in readline" ; \
19893 (cd $(HOST_SUBDIR)/readline && \
19894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19896 "RANLIB=$${RANLIB}" \
19897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19898 install-info) \
19899 || exit 1
19901 @endif readline
19903 .PHONY: maybe-installcheck-readline installcheck-readline
19904 maybe-installcheck-readline:
19905 @if readline
19906 maybe-installcheck-readline: installcheck-readline
19908 installcheck-readline: \
19909 configure-readline
19910 @[ -f ./readline/Makefile ] || exit 0; \
19911 r=`${PWD_COMMAND}`; export r; \
19912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19913 $(HOST_EXPORTS) \
19914 for flag in $(EXTRA_HOST_FLAGS) ; do \
19915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19916 done; \
19917 echo "Doing installcheck in readline" ; \
19918 (cd $(HOST_SUBDIR)/readline && \
19919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19921 "RANLIB=$${RANLIB}" \
19922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19923 installcheck) \
19924 || exit 1
19926 @endif readline
19928 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
19929 maybe-mostlyclean-readline:
19930 @if readline
19931 maybe-mostlyclean-readline: mostlyclean-readline
19933 mostlyclean-readline:
19934 @[ -f ./readline/Makefile ] || exit 0; \
19935 r=`${PWD_COMMAND}`; export r; \
19936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19937 $(HOST_EXPORTS) \
19938 for flag in $(EXTRA_HOST_FLAGS) ; do \
19939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19940 done; \
19941 echo "Doing mostlyclean in readline" ; \
19942 (cd $(HOST_SUBDIR)/readline && \
19943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19945 "RANLIB=$${RANLIB}" \
19946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19947 mostlyclean) \
19948 || exit 1
19950 @endif readline
19952 .PHONY: maybe-clean-readline clean-readline
19953 maybe-clean-readline:
19954 @if readline
19955 maybe-clean-readline: clean-readline
19957 clean-readline:
19958 @[ -f ./readline/Makefile ] || exit 0; \
19959 r=`${PWD_COMMAND}`; export r; \
19960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19961 $(HOST_EXPORTS) \
19962 for flag in $(EXTRA_HOST_FLAGS) ; do \
19963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19964 done; \
19965 echo "Doing clean in readline" ; \
19966 (cd $(HOST_SUBDIR)/readline && \
19967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19969 "RANLIB=$${RANLIB}" \
19970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19971 clean) \
19972 || exit 1
19974 @endif readline
19976 .PHONY: maybe-distclean-readline distclean-readline
19977 maybe-distclean-readline:
19978 @if readline
19979 maybe-distclean-readline: distclean-readline
19981 distclean-readline:
19982 @[ -f ./readline/Makefile ] || exit 0; \
19983 r=`${PWD_COMMAND}`; export r; \
19984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19985 $(HOST_EXPORTS) \
19986 for flag in $(EXTRA_HOST_FLAGS) ; do \
19987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19988 done; \
19989 echo "Doing distclean in readline" ; \
19990 (cd $(HOST_SUBDIR)/readline && \
19991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19993 "RANLIB=$${RANLIB}" \
19994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19995 distclean) \
19996 || exit 1
19998 @endif readline
20000 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
20001 maybe-maintainer-clean-readline:
20002 @if readline
20003 maybe-maintainer-clean-readline: maintainer-clean-readline
20005 maintainer-clean-readline:
20006 @[ -f ./readline/Makefile ] || exit 0; \
20007 r=`${PWD_COMMAND}`; export r; \
20008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20009 $(HOST_EXPORTS) \
20010 for flag in $(EXTRA_HOST_FLAGS) ; do \
20011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20012 done; \
20013 echo "Doing maintainer-clean in readline" ; \
20014 (cd $(HOST_SUBDIR)/readline && \
20015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20017 "RANLIB=$${RANLIB}" \
20018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20019 maintainer-clean) \
20020 || exit 1
20022 @endif readline
20026 .PHONY: configure-release maybe-configure-release
20027 maybe-configure-release:
20028 @if release
20029 maybe-configure-release: configure-release
20030 configure-release:
20031 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
20032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
20033 r=`${PWD_COMMAND}`; export r; \
20034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20035 $(HOST_EXPORTS) \
20036 echo Configuring in $(HOST_SUBDIR)/release; \
20037 cd "$(HOST_SUBDIR)/release" || exit 1; \
20038 case $(srcdir) in \
20039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20040 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
20041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20042 esac; \
20043 srcdiroption="--srcdir=$${topdir}/release"; \
20044 libsrcdir="$$s/release"; \
20045 $(SHELL) $${libsrcdir}/configure \
20046 $(HOST_CONFIGARGS) $${srcdiroption} \
20047 || exit 1
20048 @endif release
20054 .PHONY: all-release maybe-all-release
20055 maybe-all-release:
20056 @if release
20057 TARGET-release=all
20058 maybe-all-release: all-release
20059 all-release: configure-release
20060 @r=`${PWD_COMMAND}`; export r; \
20061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20062 $(HOST_EXPORTS) \
20063 (cd $(HOST_SUBDIR)/release && \
20064 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
20065 @endif release
20070 .PHONY: check-release maybe-check-release
20071 maybe-check-release:
20072 @if release
20073 maybe-check-release: check-release
20075 check-release:
20077 @endif release
20079 .PHONY: install-release maybe-install-release
20080 maybe-install-release:
20081 @if release
20082 maybe-install-release: install-release
20084 install-release:
20086 @endif release
20088 # Other targets (info, dvi, etc.)
20090 .PHONY: maybe-info-release info-release
20091 maybe-info-release:
20092 @if release
20093 maybe-info-release: info-release
20095 info-release: \
20096 configure-release
20097 @[ -f ./release/Makefile ] || exit 0; \
20098 r=`${PWD_COMMAND}`; export r; \
20099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20100 $(HOST_EXPORTS) \
20101 for flag in $(EXTRA_HOST_FLAGS) ; do \
20102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20103 done; \
20104 echo "Doing info in release" ; \
20105 (cd $(HOST_SUBDIR)/release && \
20106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20108 "RANLIB=$${RANLIB}" \
20109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20110 info) \
20111 || exit 1
20113 @endif release
20115 .PHONY: maybe-dvi-release dvi-release
20116 maybe-dvi-release:
20117 @if release
20118 maybe-dvi-release: dvi-release
20120 dvi-release: \
20121 configure-release
20122 @[ -f ./release/Makefile ] || exit 0; \
20123 r=`${PWD_COMMAND}`; export r; \
20124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20125 $(HOST_EXPORTS) \
20126 for flag in $(EXTRA_HOST_FLAGS) ; do \
20127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20128 done; \
20129 echo "Doing dvi in release" ; \
20130 (cd $(HOST_SUBDIR)/release && \
20131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20133 "RANLIB=$${RANLIB}" \
20134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20135 dvi) \
20136 || exit 1
20138 @endif release
20140 .PHONY: maybe-html-release html-release
20141 maybe-html-release:
20142 @if release
20143 maybe-html-release: html-release
20145 html-release: \
20146 configure-release
20147 @[ -f ./release/Makefile ] || exit 0; \
20148 r=`${PWD_COMMAND}`; export r; \
20149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20150 $(HOST_EXPORTS) \
20151 for flag in $(EXTRA_HOST_FLAGS) ; do \
20152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20153 done; \
20154 echo "Doing html in release" ; \
20155 (cd $(HOST_SUBDIR)/release && \
20156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20158 "RANLIB=$${RANLIB}" \
20159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20160 html) \
20161 || exit 1
20163 @endif release
20165 .PHONY: maybe-TAGS-release TAGS-release
20166 maybe-TAGS-release:
20167 @if release
20168 maybe-TAGS-release: TAGS-release
20170 TAGS-release: \
20171 configure-release
20172 @[ -f ./release/Makefile ] || exit 0; \
20173 r=`${PWD_COMMAND}`; export r; \
20174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20175 $(HOST_EXPORTS) \
20176 for flag in $(EXTRA_HOST_FLAGS) ; do \
20177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20178 done; \
20179 echo "Doing TAGS in release" ; \
20180 (cd $(HOST_SUBDIR)/release && \
20181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20183 "RANLIB=$${RANLIB}" \
20184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20185 TAGS) \
20186 || exit 1
20188 @endif release
20190 .PHONY: maybe-install-info-release install-info-release
20191 maybe-install-info-release:
20192 @if release
20193 maybe-install-info-release: install-info-release
20195 install-info-release: \
20196 configure-release \
20197 info-release
20198 @[ -f ./release/Makefile ] || exit 0; \
20199 r=`${PWD_COMMAND}`; export r; \
20200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20201 $(HOST_EXPORTS) \
20202 for flag in $(EXTRA_HOST_FLAGS) ; do \
20203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20204 done; \
20205 echo "Doing install-info in release" ; \
20206 (cd $(HOST_SUBDIR)/release && \
20207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20209 "RANLIB=$${RANLIB}" \
20210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20211 install-info) \
20212 || exit 1
20214 @endif release
20216 .PHONY: maybe-installcheck-release installcheck-release
20217 maybe-installcheck-release:
20218 @if release
20219 maybe-installcheck-release: installcheck-release
20221 installcheck-release: \
20222 configure-release
20223 @[ -f ./release/Makefile ] || exit 0; \
20224 r=`${PWD_COMMAND}`; export r; \
20225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20226 $(HOST_EXPORTS) \
20227 for flag in $(EXTRA_HOST_FLAGS) ; do \
20228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20229 done; \
20230 echo "Doing installcheck in release" ; \
20231 (cd $(HOST_SUBDIR)/release && \
20232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20234 "RANLIB=$${RANLIB}" \
20235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20236 installcheck) \
20237 || exit 1
20239 @endif release
20241 .PHONY: maybe-mostlyclean-release mostlyclean-release
20242 maybe-mostlyclean-release:
20243 @if release
20244 maybe-mostlyclean-release: mostlyclean-release
20246 mostlyclean-release:
20247 @[ -f ./release/Makefile ] || exit 0; \
20248 r=`${PWD_COMMAND}`; export r; \
20249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20250 $(HOST_EXPORTS) \
20251 for flag in $(EXTRA_HOST_FLAGS) ; do \
20252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20253 done; \
20254 echo "Doing mostlyclean in release" ; \
20255 (cd $(HOST_SUBDIR)/release && \
20256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20258 "RANLIB=$${RANLIB}" \
20259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20260 mostlyclean) \
20261 || exit 1
20263 @endif release
20265 .PHONY: maybe-clean-release clean-release
20266 maybe-clean-release:
20267 @if release
20268 maybe-clean-release: clean-release
20270 clean-release:
20271 @[ -f ./release/Makefile ] || exit 0; \
20272 r=`${PWD_COMMAND}`; export r; \
20273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20274 $(HOST_EXPORTS) \
20275 for flag in $(EXTRA_HOST_FLAGS) ; do \
20276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20277 done; \
20278 echo "Doing clean in release" ; \
20279 (cd $(HOST_SUBDIR)/release && \
20280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20282 "RANLIB=$${RANLIB}" \
20283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20284 clean) \
20285 || exit 1
20287 @endif release
20289 .PHONY: maybe-distclean-release distclean-release
20290 maybe-distclean-release:
20291 @if release
20292 maybe-distclean-release: distclean-release
20294 distclean-release:
20295 @[ -f ./release/Makefile ] || exit 0; \
20296 r=`${PWD_COMMAND}`; export r; \
20297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20298 $(HOST_EXPORTS) \
20299 for flag in $(EXTRA_HOST_FLAGS) ; do \
20300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20301 done; \
20302 echo "Doing distclean in release" ; \
20303 (cd $(HOST_SUBDIR)/release && \
20304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20306 "RANLIB=$${RANLIB}" \
20307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20308 distclean) \
20309 || exit 1
20311 @endif release
20313 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
20314 maybe-maintainer-clean-release:
20315 @if release
20316 maybe-maintainer-clean-release: maintainer-clean-release
20318 maintainer-clean-release:
20319 @[ -f ./release/Makefile ] || exit 0; \
20320 r=`${PWD_COMMAND}`; export r; \
20321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20322 $(HOST_EXPORTS) \
20323 for flag in $(EXTRA_HOST_FLAGS) ; do \
20324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20325 done; \
20326 echo "Doing maintainer-clean in release" ; \
20327 (cd $(HOST_SUBDIR)/release && \
20328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20330 "RANLIB=$${RANLIB}" \
20331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20332 maintainer-clean) \
20333 || exit 1
20335 @endif release
20339 .PHONY: configure-recode maybe-configure-recode
20340 maybe-configure-recode:
20341 @if recode
20342 maybe-configure-recode: configure-recode
20343 configure-recode:
20344 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
20345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
20346 r=`${PWD_COMMAND}`; export r; \
20347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20348 $(HOST_EXPORTS) \
20349 echo Configuring in $(HOST_SUBDIR)/recode; \
20350 cd "$(HOST_SUBDIR)/recode" || exit 1; \
20351 case $(srcdir) in \
20352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20353 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
20354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20355 esac; \
20356 srcdiroption="--srcdir=$${topdir}/recode"; \
20357 libsrcdir="$$s/recode"; \
20358 $(SHELL) $${libsrcdir}/configure \
20359 $(HOST_CONFIGARGS) $${srcdiroption} \
20360 || exit 1
20361 @endif recode
20367 .PHONY: all-recode maybe-all-recode
20368 maybe-all-recode:
20369 @if recode
20370 TARGET-recode=all
20371 maybe-all-recode: all-recode
20372 all-recode: configure-recode
20373 @r=`${PWD_COMMAND}`; export r; \
20374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20375 $(HOST_EXPORTS) \
20376 (cd $(HOST_SUBDIR)/recode && \
20377 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
20378 @endif recode
20383 .PHONY: check-recode maybe-check-recode
20384 maybe-check-recode:
20385 @if recode
20386 maybe-check-recode: check-recode
20388 check-recode:
20389 @r=`${PWD_COMMAND}`; export r; \
20390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20391 $(HOST_EXPORTS) \
20392 (cd $(HOST_SUBDIR)/recode && \
20393 $(MAKE) $(FLAGS_TO_PASS) check)
20395 @endif recode
20397 .PHONY: install-recode maybe-install-recode
20398 maybe-install-recode:
20399 @if recode
20400 maybe-install-recode: install-recode
20402 install-recode: installdirs
20403 @r=`${PWD_COMMAND}`; export r; \
20404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20405 $(HOST_EXPORTS) \
20406 (cd $(HOST_SUBDIR)/recode && \
20407 $(MAKE) $(FLAGS_TO_PASS) install)
20409 @endif recode
20411 # Other targets (info, dvi, etc.)
20413 .PHONY: maybe-info-recode info-recode
20414 maybe-info-recode:
20415 @if recode
20416 maybe-info-recode: info-recode
20418 info-recode: \
20419 configure-recode
20420 @[ -f ./recode/Makefile ] || exit 0; \
20421 r=`${PWD_COMMAND}`; export r; \
20422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20423 $(HOST_EXPORTS) \
20424 for flag in $(EXTRA_HOST_FLAGS) ; do \
20425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20426 done; \
20427 echo "Doing info in recode" ; \
20428 (cd $(HOST_SUBDIR)/recode && \
20429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20431 "RANLIB=$${RANLIB}" \
20432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20433 info) \
20434 || exit 1
20436 @endif recode
20438 .PHONY: maybe-dvi-recode dvi-recode
20439 maybe-dvi-recode:
20440 @if recode
20441 maybe-dvi-recode: dvi-recode
20443 dvi-recode: \
20444 configure-recode
20445 @[ -f ./recode/Makefile ] || exit 0; \
20446 r=`${PWD_COMMAND}`; export r; \
20447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20448 $(HOST_EXPORTS) \
20449 for flag in $(EXTRA_HOST_FLAGS) ; do \
20450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20451 done; \
20452 echo "Doing dvi in recode" ; \
20453 (cd $(HOST_SUBDIR)/recode && \
20454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20456 "RANLIB=$${RANLIB}" \
20457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20458 dvi) \
20459 || exit 1
20461 @endif recode
20463 .PHONY: maybe-html-recode html-recode
20464 maybe-html-recode:
20465 @if recode
20466 maybe-html-recode: html-recode
20468 html-recode: \
20469 configure-recode
20470 @[ -f ./recode/Makefile ] || exit 0; \
20471 r=`${PWD_COMMAND}`; export r; \
20472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20473 $(HOST_EXPORTS) \
20474 for flag in $(EXTRA_HOST_FLAGS) ; do \
20475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20476 done; \
20477 echo "Doing html in recode" ; \
20478 (cd $(HOST_SUBDIR)/recode && \
20479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20481 "RANLIB=$${RANLIB}" \
20482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20483 html) \
20484 || exit 1
20486 @endif recode
20488 .PHONY: maybe-TAGS-recode TAGS-recode
20489 maybe-TAGS-recode:
20490 @if recode
20491 maybe-TAGS-recode: TAGS-recode
20493 TAGS-recode: \
20494 configure-recode
20495 @[ -f ./recode/Makefile ] || exit 0; \
20496 r=`${PWD_COMMAND}`; export r; \
20497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20498 $(HOST_EXPORTS) \
20499 for flag in $(EXTRA_HOST_FLAGS) ; do \
20500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20501 done; \
20502 echo "Doing TAGS in recode" ; \
20503 (cd $(HOST_SUBDIR)/recode && \
20504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20506 "RANLIB=$${RANLIB}" \
20507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20508 TAGS) \
20509 || exit 1
20511 @endif recode
20513 .PHONY: maybe-install-info-recode install-info-recode
20514 maybe-install-info-recode:
20515 @if recode
20516 maybe-install-info-recode: install-info-recode
20518 install-info-recode: \
20519 configure-recode \
20520 info-recode
20521 @[ -f ./recode/Makefile ] || exit 0; \
20522 r=`${PWD_COMMAND}`; export r; \
20523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20524 $(HOST_EXPORTS) \
20525 for flag in $(EXTRA_HOST_FLAGS) ; do \
20526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20527 done; \
20528 echo "Doing install-info in recode" ; \
20529 (cd $(HOST_SUBDIR)/recode && \
20530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20532 "RANLIB=$${RANLIB}" \
20533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20534 install-info) \
20535 || exit 1
20537 @endif recode
20539 .PHONY: maybe-installcheck-recode installcheck-recode
20540 maybe-installcheck-recode:
20541 @if recode
20542 maybe-installcheck-recode: installcheck-recode
20544 installcheck-recode: \
20545 configure-recode
20546 @[ -f ./recode/Makefile ] || exit 0; \
20547 r=`${PWD_COMMAND}`; export r; \
20548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20549 $(HOST_EXPORTS) \
20550 for flag in $(EXTRA_HOST_FLAGS) ; do \
20551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20552 done; \
20553 echo "Doing installcheck in recode" ; \
20554 (cd $(HOST_SUBDIR)/recode && \
20555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20557 "RANLIB=$${RANLIB}" \
20558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20559 installcheck) \
20560 || exit 1
20562 @endif recode
20564 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
20565 maybe-mostlyclean-recode:
20566 @if recode
20567 maybe-mostlyclean-recode: mostlyclean-recode
20569 mostlyclean-recode:
20570 @[ -f ./recode/Makefile ] || exit 0; \
20571 r=`${PWD_COMMAND}`; export r; \
20572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20573 $(HOST_EXPORTS) \
20574 for flag in $(EXTRA_HOST_FLAGS) ; do \
20575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20576 done; \
20577 echo "Doing mostlyclean in recode" ; \
20578 (cd $(HOST_SUBDIR)/recode && \
20579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20581 "RANLIB=$${RANLIB}" \
20582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20583 mostlyclean) \
20584 || exit 1
20586 @endif recode
20588 .PHONY: maybe-clean-recode clean-recode
20589 maybe-clean-recode:
20590 @if recode
20591 maybe-clean-recode: clean-recode
20593 clean-recode:
20594 @[ -f ./recode/Makefile ] || exit 0; \
20595 r=`${PWD_COMMAND}`; export r; \
20596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20597 $(HOST_EXPORTS) \
20598 for flag in $(EXTRA_HOST_FLAGS) ; do \
20599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20600 done; \
20601 echo "Doing clean in recode" ; \
20602 (cd $(HOST_SUBDIR)/recode && \
20603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20605 "RANLIB=$${RANLIB}" \
20606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20607 clean) \
20608 || exit 1
20610 @endif recode
20612 .PHONY: maybe-distclean-recode distclean-recode
20613 maybe-distclean-recode:
20614 @if recode
20615 maybe-distclean-recode: distclean-recode
20617 distclean-recode:
20618 @[ -f ./recode/Makefile ] || exit 0; \
20619 r=`${PWD_COMMAND}`; export r; \
20620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20621 $(HOST_EXPORTS) \
20622 for flag in $(EXTRA_HOST_FLAGS) ; do \
20623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20624 done; \
20625 echo "Doing distclean in recode" ; \
20626 (cd $(HOST_SUBDIR)/recode && \
20627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20629 "RANLIB=$${RANLIB}" \
20630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20631 distclean) \
20632 || exit 1
20634 @endif recode
20636 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
20637 maybe-maintainer-clean-recode:
20638 @if recode
20639 maybe-maintainer-clean-recode: maintainer-clean-recode
20641 maintainer-clean-recode:
20642 @[ -f ./recode/Makefile ] || exit 0; \
20643 r=`${PWD_COMMAND}`; export r; \
20644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20645 $(HOST_EXPORTS) \
20646 for flag in $(EXTRA_HOST_FLAGS) ; do \
20647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20648 done; \
20649 echo "Doing maintainer-clean in recode" ; \
20650 (cd $(HOST_SUBDIR)/recode && \
20651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20653 "RANLIB=$${RANLIB}" \
20654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20655 maintainer-clean) \
20656 || exit 1
20658 @endif recode
20662 .PHONY: configure-sed maybe-configure-sed
20663 maybe-configure-sed:
20664 @if sed
20665 maybe-configure-sed: configure-sed
20666 configure-sed:
20667 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
20668 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
20669 r=`${PWD_COMMAND}`; export r; \
20670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20671 $(HOST_EXPORTS) \
20672 echo Configuring in $(HOST_SUBDIR)/sed; \
20673 cd "$(HOST_SUBDIR)/sed" || exit 1; \
20674 case $(srcdir) in \
20675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20676 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
20677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20678 esac; \
20679 srcdiroption="--srcdir=$${topdir}/sed"; \
20680 libsrcdir="$$s/sed"; \
20681 $(SHELL) $${libsrcdir}/configure \
20682 $(HOST_CONFIGARGS) $${srcdiroption} \
20683 || exit 1
20684 @endif sed
20690 .PHONY: all-sed maybe-all-sed
20691 maybe-all-sed:
20692 @if sed
20693 TARGET-sed=all
20694 maybe-all-sed: all-sed
20695 all-sed: configure-sed
20696 @r=`${PWD_COMMAND}`; export r; \
20697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20698 $(HOST_EXPORTS) \
20699 (cd $(HOST_SUBDIR)/sed && \
20700 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
20701 @endif sed
20706 .PHONY: check-sed maybe-check-sed
20707 maybe-check-sed:
20708 @if sed
20709 maybe-check-sed: check-sed
20711 check-sed:
20712 @r=`${PWD_COMMAND}`; export r; \
20713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20714 $(HOST_EXPORTS) \
20715 (cd $(HOST_SUBDIR)/sed && \
20716 $(MAKE) $(FLAGS_TO_PASS) check)
20718 @endif sed
20720 .PHONY: install-sed maybe-install-sed
20721 maybe-install-sed:
20722 @if sed
20723 maybe-install-sed: install-sed
20725 install-sed: installdirs
20726 @r=`${PWD_COMMAND}`; export r; \
20727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20728 $(HOST_EXPORTS) \
20729 (cd $(HOST_SUBDIR)/sed && \
20730 $(MAKE) $(FLAGS_TO_PASS) install)
20732 @endif sed
20734 # Other targets (info, dvi, etc.)
20736 .PHONY: maybe-info-sed info-sed
20737 maybe-info-sed:
20738 @if sed
20739 maybe-info-sed: info-sed
20741 info-sed: \
20742 configure-sed
20743 @[ -f ./sed/Makefile ] || exit 0; \
20744 r=`${PWD_COMMAND}`; export r; \
20745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20746 $(HOST_EXPORTS) \
20747 for flag in $(EXTRA_HOST_FLAGS) ; do \
20748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20749 done; \
20750 echo "Doing info in sed" ; \
20751 (cd $(HOST_SUBDIR)/sed && \
20752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20754 "RANLIB=$${RANLIB}" \
20755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20756 info) \
20757 || exit 1
20759 @endif sed
20761 .PHONY: maybe-dvi-sed dvi-sed
20762 maybe-dvi-sed:
20763 @if sed
20764 maybe-dvi-sed: dvi-sed
20766 dvi-sed: \
20767 configure-sed
20768 @[ -f ./sed/Makefile ] || exit 0; \
20769 r=`${PWD_COMMAND}`; export r; \
20770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20771 $(HOST_EXPORTS) \
20772 for flag in $(EXTRA_HOST_FLAGS) ; do \
20773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20774 done; \
20775 echo "Doing dvi in sed" ; \
20776 (cd $(HOST_SUBDIR)/sed && \
20777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20779 "RANLIB=$${RANLIB}" \
20780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20781 dvi) \
20782 || exit 1
20784 @endif sed
20786 .PHONY: maybe-html-sed html-sed
20787 maybe-html-sed:
20788 @if sed
20789 maybe-html-sed: html-sed
20791 html-sed: \
20792 configure-sed
20793 @[ -f ./sed/Makefile ] || exit 0; \
20794 r=`${PWD_COMMAND}`; export r; \
20795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20796 $(HOST_EXPORTS) \
20797 for flag in $(EXTRA_HOST_FLAGS) ; do \
20798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20799 done; \
20800 echo "Doing html in sed" ; \
20801 (cd $(HOST_SUBDIR)/sed && \
20802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20804 "RANLIB=$${RANLIB}" \
20805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20806 html) \
20807 || exit 1
20809 @endif sed
20811 .PHONY: maybe-TAGS-sed TAGS-sed
20812 maybe-TAGS-sed:
20813 @if sed
20814 maybe-TAGS-sed: TAGS-sed
20816 TAGS-sed: \
20817 configure-sed
20818 @[ -f ./sed/Makefile ] || exit 0; \
20819 r=`${PWD_COMMAND}`; export r; \
20820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20821 $(HOST_EXPORTS) \
20822 for flag in $(EXTRA_HOST_FLAGS) ; do \
20823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20824 done; \
20825 echo "Doing TAGS in sed" ; \
20826 (cd $(HOST_SUBDIR)/sed && \
20827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20829 "RANLIB=$${RANLIB}" \
20830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20831 TAGS) \
20832 || exit 1
20834 @endif sed
20836 .PHONY: maybe-install-info-sed install-info-sed
20837 maybe-install-info-sed:
20838 @if sed
20839 maybe-install-info-sed: install-info-sed
20841 install-info-sed: \
20842 configure-sed \
20843 info-sed
20844 @[ -f ./sed/Makefile ] || exit 0; \
20845 r=`${PWD_COMMAND}`; export r; \
20846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20847 $(HOST_EXPORTS) \
20848 for flag in $(EXTRA_HOST_FLAGS) ; do \
20849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20850 done; \
20851 echo "Doing install-info in sed" ; \
20852 (cd $(HOST_SUBDIR)/sed && \
20853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20855 "RANLIB=$${RANLIB}" \
20856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20857 install-info) \
20858 || exit 1
20860 @endif sed
20862 .PHONY: maybe-installcheck-sed installcheck-sed
20863 maybe-installcheck-sed:
20864 @if sed
20865 maybe-installcheck-sed: installcheck-sed
20867 installcheck-sed: \
20868 configure-sed
20869 @[ -f ./sed/Makefile ] || exit 0; \
20870 r=`${PWD_COMMAND}`; export r; \
20871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20872 $(HOST_EXPORTS) \
20873 for flag in $(EXTRA_HOST_FLAGS) ; do \
20874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20875 done; \
20876 echo "Doing installcheck in sed" ; \
20877 (cd $(HOST_SUBDIR)/sed && \
20878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20880 "RANLIB=$${RANLIB}" \
20881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20882 installcheck) \
20883 || exit 1
20885 @endif sed
20887 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
20888 maybe-mostlyclean-sed:
20889 @if sed
20890 maybe-mostlyclean-sed: mostlyclean-sed
20892 mostlyclean-sed:
20893 @[ -f ./sed/Makefile ] || exit 0; \
20894 r=`${PWD_COMMAND}`; export r; \
20895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20896 $(HOST_EXPORTS) \
20897 for flag in $(EXTRA_HOST_FLAGS) ; do \
20898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20899 done; \
20900 echo "Doing mostlyclean in sed" ; \
20901 (cd $(HOST_SUBDIR)/sed && \
20902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20904 "RANLIB=$${RANLIB}" \
20905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20906 mostlyclean) \
20907 || exit 1
20909 @endif sed
20911 .PHONY: maybe-clean-sed clean-sed
20912 maybe-clean-sed:
20913 @if sed
20914 maybe-clean-sed: clean-sed
20916 clean-sed:
20917 @[ -f ./sed/Makefile ] || exit 0; \
20918 r=`${PWD_COMMAND}`; export r; \
20919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20920 $(HOST_EXPORTS) \
20921 for flag in $(EXTRA_HOST_FLAGS) ; do \
20922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20923 done; \
20924 echo "Doing clean in sed" ; \
20925 (cd $(HOST_SUBDIR)/sed && \
20926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20928 "RANLIB=$${RANLIB}" \
20929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20930 clean) \
20931 || exit 1
20933 @endif sed
20935 .PHONY: maybe-distclean-sed distclean-sed
20936 maybe-distclean-sed:
20937 @if sed
20938 maybe-distclean-sed: distclean-sed
20940 distclean-sed:
20941 @[ -f ./sed/Makefile ] || exit 0; \
20942 r=`${PWD_COMMAND}`; export r; \
20943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20944 $(HOST_EXPORTS) \
20945 for flag in $(EXTRA_HOST_FLAGS) ; do \
20946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20947 done; \
20948 echo "Doing distclean in sed" ; \
20949 (cd $(HOST_SUBDIR)/sed && \
20950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20952 "RANLIB=$${RANLIB}" \
20953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20954 distclean) \
20955 || exit 1
20957 @endif sed
20959 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
20960 maybe-maintainer-clean-sed:
20961 @if sed
20962 maybe-maintainer-clean-sed: maintainer-clean-sed
20964 maintainer-clean-sed:
20965 @[ -f ./sed/Makefile ] || exit 0; \
20966 r=`${PWD_COMMAND}`; export r; \
20967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20968 $(HOST_EXPORTS) \
20969 for flag in $(EXTRA_HOST_FLAGS) ; do \
20970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20971 done; \
20972 echo "Doing maintainer-clean in sed" ; \
20973 (cd $(HOST_SUBDIR)/sed && \
20974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20976 "RANLIB=$${RANLIB}" \
20977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20978 maintainer-clean) \
20979 || exit 1
20981 @endif sed
20985 .PHONY: configure-send-pr maybe-configure-send-pr
20986 maybe-configure-send-pr:
20987 @if send-pr
20988 maybe-configure-send-pr: configure-send-pr
20989 configure-send-pr:
20990 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
20991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
20992 r=`${PWD_COMMAND}`; export r; \
20993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20994 $(HOST_EXPORTS) \
20995 echo Configuring in $(HOST_SUBDIR)/send-pr; \
20996 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
20997 case $(srcdir) in \
20998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20999 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
21000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21001 esac; \
21002 srcdiroption="--srcdir=$${topdir}/send-pr"; \
21003 libsrcdir="$$s/send-pr"; \
21004 $(SHELL) $${libsrcdir}/configure \
21005 $(HOST_CONFIGARGS) $${srcdiroption} \
21006 || exit 1
21007 @endif send-pr
21013 .PHONY: all-send-pr maybe-all-send-pr
21014 maybe-all-send-pr:
21015 @if send-pr
21016 TARGET-send-pr=all
21017 maybe-all-send-pr: all-send-pr
21018 all-send-pr: configure-send-pr
21019 @r=`${PWD_COMMAND}`; export r; \
21020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21021 $(HOST_EXPORTS) \
21022 (cd $(HOST_SUBDIR)/send-pr && \
21023 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
21024 @endif send-pr
21029 .PHONY: check-send-pr maybe-check-send-pr
21030 maybe-check-send-pr:
21031 @if send-pr
21032 maybe-check-send-pr: check-send-pr
21034 check-send-pr:
21035 @r=`${PWD_COMMAND}`; export r; \
21036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21037 $(HOST_EXPORTS) \
21038 (cd $(HOST_SUBDIR)/send-pr && \
21039 $(MAKE) $(FLAGS_TO_PASS) check)
21041 @endif send-pr
21043 .PHONY: install-send-pr maybe-install-send-pr
21044 maybe-install-send-pr:
21045 @if send-pr
21046 maybe-install-send-pr: install-send-pr
21048 install-send-pr: installdirs
21049 @r=`${PWD_COMMAND}`; export r; \
21050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21051 $(HOST_EXPORTS) \
21052 (cd $(HOST_SUBDIR)/send-pr && \
21053 $(MAKE) $(FLAGS_TO_PASS) install)
21055 @endif send-pr
21057 # Other targets (info, dvi, etc.)
21059 .PHONY: maybe-info-send-pr info-send-pr
21060 maybe-info-send-pr:
21061 @if send-pr
21062 maybe-info-send-pr: info-send-pr
21064 info-send-pr: \
21065 configure-send-pr
21066 @[ -f ./send-pr/Makefile ] || exit 0; \
21067 r=`${PWD_COMMAND}`; export r; \
21068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21069 $(HOST_EXPORTS) \
21070 for flag in $(EXTRA_HOST_FLAGS) ; do \
21071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21072 done; \
21073 echo "Doing info in send-pr" ; \
21074 (cd $(HOST_SUBDIR)/send-pr && \
21075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21077 "RANLIB=$${RANLIB}" \
21078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21079 info) \
21080 || exit 1
21082 @endif send-pr
21084 .PHONY: maybe-dvi-send-pr dvi-send-pr
21085 maybe-dvi-send-pr:
21086 @if send-pr
21087 maybe-dvi-send-pr: dvi-send-pr
21089 dvi-send-pr: \
21090 configure-send-pr
21091 @[ -f ./send-pr/Makefile ] || exit 0; \
21092 r=`${PWD_COMMAND}`; export r; \
21093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21094 $(HOST_EXPORTS) \
21095 for flag in $(EXTRA_HOST_FLAGS) ; do \
21096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21097 done; \
21098 echo "Doing dvi in send-pr" ; \
21099 (cd $(HOST_SUBDIR)/send-pr && \
21100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21102 "RANLIB=$${RANLIB}" \
21103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21104 dvi) \
21105 || exit 1
21107 @endif send-pr
21109 .PHONY: maybe-html-send-pr html-send-pr
21110 maybe-html-send-pr:
21111 @if send-pr
21112 maybe-html-send-pr: html-send-pr
21114 html-send-pr: \
21115 configure-send-pr
21116 @[ -f ./send-pr/Makefile ] || exit 0; \
21117 r=`${PWD_COMMAND}`; export r; \
21118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21119 $(HOST_EXPORTS) \
21120 for flag in $(EXTRA_HOST_FLAGS) ; do \
21121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21122 done; \
21123 echo "Doing html in send-pr" ; \
21124 (cd $(HOST_SUBDIR)/send-pr && \
21125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21127 "RANLIB=$${RANLIB}" \
21128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21129 html) \
21130 || exit 1
21132 @endif send-pr
21134 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
21135 maybe-TAGS-send-pr:
21136 @if send-pr
21137 maybe-TAGS-send-pr: TAGS-send-pr
21139 TAGS-send-pr: \
21140 configure-send-pr
21141 @[ -f ./send-pr/Makefile ] || exit 0; \
21142 r=`${PWD_COMMAND}`; export r; \
21143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21144 $(HOST_EXPORTS) \
21145 for flag in $(EXTRA_HOST_FLAGS) ; do \
21146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21147 done; \
21148 echo "Doing TAGS in send-pr" ; \
21149 (cd $(HOST_SUBDIR)/send-pr && \
21150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21152 "RANLIB=$${RANLIB}" \
21153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21154 TAGS) \
21155 || exit 1
21157 @endif send-pr
21159 .PHONY: maybe-install-info-send-pr install-info-send-pr
21160 maybe-install-info-send-pr:
21161 @if send-pr
21162 maybe-install-info-send-pr: install-info-send-pr
21164 install-info-send-pr: \
21165 configure-send-pr \
21166 info-send-pr
21167 @[ -f ./send-pr/Makefile ] || exit 0; \
21168 r=`${PWD_COMMAND}`; export r; \
21169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21170 $(HOST_EXPORTS) \
21171 for flag in $(EXTRA_HOST_FLAGS) ; do \
21172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21173 done; \
21174 echo "Doing install-info in send-pr" ; \
21175 (cd $(HOST_SUBDIR)/send-pr && \
21176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21178 "RANLIB=$${RANLIB}" \
21179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21180 install-info) \
21181 || exit 1
21183 @endif send-pr
21185 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
21186 maybe-installcheck-send-pr:
21187 @if send-pr
21188 maybe-installcheck-send-pr: installcheck-send-pr
21190 installcheck-send-pr: \
21191 configure-send-pr
21192 @[ -f ./send-pr/Makefile ] || exit 0; \
21193 r=`${PWD_COMMAND}`; export r; \
21194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21195 $(HOST_EXPORTS) \
21196 for flag in $(EXTRA_HOST_FLAGS) ; do \
21197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21198 done; \
21199 echo "Doing installcheck in send-pr" ; \
21200 (cd $(HOST_SUBDIR)/send-pr && \
21201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21203 "RANLIB=$${RANLIB}" \
21204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21205 installcheck) \
21206 || exit 1
21208 @endif send-pr
21210 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
21211 maybe-mostlyclean-send-pr:
21212 @if send-pr
21213 maybe-mostlyclean-send-pr: mostlyclean-send-pr
21215 mostlyclean-send-pr:
21216 @[ -f ./send-pr/Makefile ] || exit 0; \
21217 r=`${PWD_COMMAND}`; export r; \
21218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21219 $(HOST_EXPORTS) \
21220 for flag in $(EXTRA_HOST_FLAGS) ; do \
21221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21222 done; \
21223 echo "Doing mostlyclean in send-pr" ; \
21224 (cd $(HOST_SUBDIR)/send-pr && \
21225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21227 "RANLIB=$${RANLIB}" \
21228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21229 mostlyclean) \
21230 || exit 1
21232 @endif send-pr
21234 .PHONY: maybe-clean-send-pr clean-send-pr
21235 maybe-clean-send-pr:
21236 @if send-pr
21237 maybe-clean-send-pr: clean-send-pr
21239 clean-send-pr:
21240 @[ -f ./send-pr/Makefile ] || exit 0; \
21241 r=`${PWD_COMMAND}`; export r; \
21242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21243 $(HOST_EXPORTS) \
21244 for flag in $(EXTRA_HOST_FLAGS) ; do \
21245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21246 done; \
21247 echo "Doing clean in send-pr" ; \
21248 (cd $(HOST_SUBDIR)/send-pr && \
21249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21251 "RANLIB=$${RANLIB}" \
21252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21253 clean) \
21254 || exit 1
21256 @endif send-pr
21258 .PHONY: maybe-distclean-send-pr distclean-send-pr
21259 maybe-distclean-send-pr:
21260 @if send-pr
21261 maybe-distclean-send-pr: distclean-send-pr
21263 distclean-send-pr:
21264 @[ -f ./send-pr/Makefile ] || exit 0; \
21265 r=`${PWD_COMMAND}`; export r; \
21266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21267 $(HOST_EXPORTS) \
21268 for flag in $(EXTRA_HOST_FLAGS) ; do \
21269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21270 done; \
21271 echo "Doing distclean in send-pr" ; \
21272 (cd $(HOST_SUBDIR)/send-pr && \
21273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21275 "RANLIB=$${RANLIB}" \
21276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21277 distclean) \
21278 || exit 1
21280 @endif send-pr
21282 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
21283 maybe-maintainer-clean-send-pr:
21284 @if send-pr
21285 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
21287 maintainer-clean-send-pr:
21288 @[ -f ./send-pr/Makefile ] || exit 0; \
21289 r=`${PWD_COMMAND}`; export r; \
21290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21291 $(HOST_EXPORTS) \
21292 for flag in $(EXTRA_HOST_FLAGS) ; do \
21293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21294 done; \
21295 echo "Doing maintainer-clean in send-pr" ; \
21296 (cd $(HOST_SUBDIR)/send-pr && \
21297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21299 "RANLIB=$${RANLIB}" \
21300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21301 maintainer-clean) \
21302 || exit 1
21304 @endif send-pr
21308 .PHONY: configure-shellutils maybe-configure-shellutils
21309 maybe-configure-shellutils:
21310 @if shellutils
21311 maybe-configure-shellutils: configure-shellutils
21312 configure-shellutils:
21313 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
21314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
21315 r=`${PWD_COMMAND}`; export r; \
21316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21317 $(HOST_EXPORTS) \
21318 echo Configuring in $(HOST_SUBDIR)/shellutils; \
21319 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
21320 case $(srcdir) in \
21321 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21322 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
21323 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21324 esac; \
21325 srcdiroption="--srcdir=$${topdir}/shellutils"; \
21326 libsrcdir="$$s/shellutils"; \
21327 $(SHELL) $${libsrcdir}/configure \
21328 $(HOST_CONFIGARGS) $${srcdiroption} \
21329 || exit 1
21330 @endif shellutils
21336 .PHONY: all-shellutils maybe-all-shellutils
21337 maybe-all-shellutils:
21338 @if shellutils
21339 TARGET-shellutils=all
21340 maybe-all-shellutils: all-shellutils
21341 all-shellutils: configure-shellutils
21342 @r=`${PWD_COMMAND}`; export r; \
21343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21344 $(HOST_EXPORTS) \
21345 (cd $(HOST_SUBDIR)/shellutils && \
21346 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
21347 @endif shellutils
21352 .PHONY: check-shellutils maybe-check-shellutils
21353 maybe-check-shellutils:
21354 @if shellutils
21355 maybe-check-shellutils: check-shellutils
21357 check-shellutils:
21358 @r=`${PWD_COMMAND}`; export r; \
21359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21360 $(HOST_EXPORTS) \
21361 (cd $(HOST_SUBDIR)/shellutils && \
21362 $(MAKE) $(FLAGS_TO_PASS) check)
21364 @endif shellutils
21366 .PHONY: install-shellutils maybe-install-shellutils
21367 maybe-install-shellutils:
21368 @if shellutils
21369 maybe-install-shellutils: install-shellutils
21371 install-shellutils: installdirs
21372 @r=`${PWD_COMMAND}`; export r; \
21373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21374 $(HOST_EXPORTS) \
21375 (cd $(HOST_SUBDIR)/shellutils && \
21376 $(MAKE) $(FLAGS_TO_PASS) install)
21378 @endif shellutils
21380 # Other targets (info, dvi, etc.)
21382 .PHONY: maybe-info-shellutils info-shellutils
21383 maybe-info-shellutils:
21384 @if shellutils
21385 maybe-info-shellutils: info-shellutils
21387 info-shellutils: \
21388 configure-shellutils
21389 @[ -f ./shellutils/Makefile ] || exit 0; \
21390 r=`${PWD_COMMAND}`; export r; \
21391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21392 $(HOST_EXPORTS) \
21393 for flag in $(EXTRA_HOST_FLAGS) ; do \
21394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21395 done; \
21396 echo "Doing info in shellutils" ; \
21397 (cd $(HOST_SUBDIR)/shellutils && \
21398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21400 "RANLIB=$${RANLIB}" \
21401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21402 info) \
21403 || exit 1
21405 @endif shellutils
21407 .PHONY: maybe-dvi-shellutils dvi-shellutils
21408 maybe-dvi-shellutils:
21409 @if shellutils
21410 maybe-dvi-shellutils: dvi-shellutils
21412 dvi-shellutils: \
21413 configure-shellutils
21414 @[ -f ./shellutils/Makefile ] || exit 0; \
21415 r=`${PWD_COMMAND}`; export r; \
21416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21417 $(HOST_EXPORTS) \
21418 for flag in $(EXTRA_HOST_FLAGS) ; do \
21419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21420 done; \
21421 echo "Doing dvi in shellutils" ; \
21422 (cd $(HOST_SUBDIR)/shellutils && \
21423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21425 "RANLIB=$${RANLIB}" \
21426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21427 dvi) \
21428 || exit 1
21430 @endif shellutils
21432 .PHONY: maybe-html-shellutils html-shellutils
21433 maybe-html-shellutils:
21434 @if shellutils
21435 maybe-html-shellutils: html-shellutils
21437 html-shellutils: \
21438 configure-shellutils
21439 @[ -f ./shellutils/Makefile ] || exit 0; \
21440 r=`${PWD_COMMAND}`; export r; \
21441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21442 $(HOST_EXPORTS) \
21443 for flag in $(EXTRA_HOST_FLAGS) ; do \
21444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21445 done; \
21446 echo "Doing html in shellutils" ; \
21447 (cd $(HOST_SUBDIR)/shellutils && \
21448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21450 "RANLIB=$${RANLIB}" \
21451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21452 html) \
21453 || exit 1
21455 @endif shellutils
21457 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
21458 maybe-TAGS-shellutils:
21459 @if shellutils
21460 maybe-TAGS-shellutils: TAGS-shellutils
21462 TAGS-shellutils: \
21463 configure-shellutils
21464 @[ -f ./shellutils/Makefile ] || exit 0; \
21465 r=`${PWD_COMMAND}`; export r; \
21466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21467 $(HOST_EXPORTS) \
21468 for flag in $(EXTRA_HOST_FLAGS) ; do \
21469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21470 done; \
21471 echo "Doing TAGS in shellutils" ; \
21472 (cd $(HOST_SUBDIR)/shellutils && \
21473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21475 "RANLIB=$${RANLIB}" \
21476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21477 TAGS) \
21478 || exit 1
21480 @endif shellutils
21482 .PHONY: maybe-install-info-shellutils install-info-shellutils
21483 maybe-install-info-shellutils:
21484 @if shellutils
21485 maybe-install-info-shellutils: install-info-shellutils
21487 install-info-shellutils: \
21488 configure-shellutils \
21489 info-shellutils
21490 @[ -f ./shellutils/Makefile ] || exit 0; \
21491 r=`${PWD_COMMAND}`; export r; \
21492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21493 $(HOST_EXPORTS) \
21494 for flag in $(EXTRA_HOST_FLAGS) ; do \
21495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21496 done; \
21497 echo "Doing install-info in shellutils" ; \
21498 (cd $(HOST_SUBDIR)/shellutils && \
21499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21501 "RANLIB=$${RANLIB}" \
21502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21503 install-info) \
21504 || exit 1
21506 @endif shellutils
21508 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
21509 maybe-installcheck-shellutils:
21510 @if shellutils
21511 maybe-installcheck-shellutils: installcheck-shellutils
21513 installcheck-shellutils: \
21514 configure-shellutils
21515 @[ -f ./shellutils/Makefile ] || exit 0; \
21516 r=`${PWD_COMMAND}`; export r; \
21517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21518 $(HOST_EXPORTS) \
21519 for flag in $(EXTRA_HOST_FLAGS) ; do \
21520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21521 done; \
21522 echo "Doing installcheck in shellutils" ; \
21523 (cd $(HOST_SUBDIR)/shellutils && \
21524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21526 "RANLIB=$${RANLIB}" \
21527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21528 installcheck) \
21529 || exit 1
21531 @endif shellutils
21533 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
21534 maybe-mostlyclean-shellutils:
21535 @if shellutils
21536 maybe-mostlyclean-shellutils: mostlyclean-shellutils
21538 mostlyclean-shellutils:
21539 @[ -f ./shellutils/Makefile ] || exit 0; \
21540 r=`${PWD_COMMAND}`; export r; \
21541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21542 $(HOST_EXPORTS) \
21543 for flag in $(EXTRA_HOST_FLAGS) ; do \
21544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21545 done; \
21546 echo "Doing mostlyclean in shellutils" ; \
21547 (cd $(HOST_SUBDIR)/shellutils && \
21548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21550 "RANLIB=$${RANLIB}" \
21551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21552 mostlyclean) \
21553 || exit 1
21555 @endif shellutils
21557 .PHONY: maybe-clean-shellutils clean-shellutils
21558 maybe-clean-shellutils:
21559 @if shellutils
21560 maybe-clean-shellutils: clean-shellutils
21562 clean-shellutils:
21563 @[ -f ./shellutils/Makefile ] || exit 0; \
21564 r=`${PWD_COMMAND}`; export r; \
21565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21566 $(HOST_EXPORTS) \
21567 for flag in $(EXTRA_HOST_FLAGS) ; do \
21568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21569 done; \
21570 echo "Doing clean in shellutils" ; \
21571 (cd $(HOST_SUBDIR)/shellutils && \
21572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21574 "RANLIB=$${RANLIB}" \
21575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21576 clean) \
21577 || exit 1
21579 @endif shellutils
21581 .PHONY: maybe-distclean-shellutils distclean-shellutils
21582 maybe-distclean-shellutils:
21583 @if shellutils
21584 maybe-distclean-shellutils: distclean-shellutils
21586 distclean-shellutils:
21587 @[ -f ./shellutils/Makefile ] || exit 0; \
21588 r=`${PWD_COMMAND}`; export r; \
21589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21590 $(HOST_EXPORTS) \
21591 for flag in $(EXTRA_HOST_FLAGS) ; do \
21592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21593 done; \
21594 echo "Doing distclean in shellutils" ; \
21595 (cd $(HOST_SUBDIR)/shellutils && \
21596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21598 "RANLIB=$${RANLIB}" \
21599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21600 distclean) \
21601 || exit 1
21603 @endif shellutils
21605 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
21606 maybe-maintainer-clean-shellutils:
21607 @if shellutils
21608 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
21610 maintainer-clean-shellutils:
21611 @[ -f ./shellutils/Makefile ] || exit 0; \
21612 r=`${PWD_COMMAND}`; export r; \
21613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21614 $(HOST_EXPORTS) \
21615 for flag in $(EXTRA_HOST_FLAGS) ; do \
21616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21617 done; \
21618 echo "Doing maintainer-clean in shellutils" ; \
21619 (cd $(HOST_SUBDIR)/shellutils && \
21620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21622 "RANLIB=$${RANLIB}" \
21623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21624 maintainer-clean) \
21625 || exit 1
21627 @endif shellutils
21631 .PHONY: configure-sid maybe-configure-sid
21632 maybe-configure-sid:
21633 @if sid
21634 maybe-configure-sid: configure-sid
21635 configure-sid:
21636 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
21637 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
21638 r=`${PWD_COMMAND}`; export r; \
21639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21640 $(HOST_EXPORTS) \
21641 echo Configuring in $(HOST_SUBDIR)/sid; \
21642 cd "$(HOST_SUBDIR)/sid" || exit 1; \
21643 case $(srcdir) in \
21644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21645 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
21646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21647 esac; \
21648 srcdiroption="--srcdir=$${topdir}/sid"; \
21649 libsrcdir="$$s/sid"; \
21650 $(SHELL) $${libsrcdir}/configure \
21651 $(HOST_CONFIGARGS) $${srcdiroption} \
21652 || exit 1
21653 @endif sid
21659 .PHONY: all-sid maybe-all-sid
21660 maybe-all-sid:
21661 @if sid
21662 TARGET-sid=all
21663 maybe-all-sid: all-sid
21664 all-sid: configure-sid
21665 @r=`${PWD_COMMAND}`; export r; \
21666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21667 $(HOST_EXPORTS) \
21668 (cd $(HOST_SUBDIR)/sid && \
21669 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
21670 @endif sid
21675 .PHONY: check-sid maybe-check-sid
21676 maybe-check-sid:
21677 @if sid
21678 maybe-check-sid: check-sid
21680 check-sid:
21681 @r=`${PWD_COMMAND}`; export r; \
21682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21683 $(HOST_EXPORTS) \
21684 (cd $(HOST_SUBDIR)/sid && \
21685 $(MAKE) $(FLAGS_TO_PASS) check)
21687 @endif sid
21689 .PHONY: install-sid maybe-install-sid
21690 maybe-install-sid:
21691 @if sid
21692 maybe-install-sid: install-sid
21694 install-sid: installdirs
21695 @r=`${PWD_COMMAND}`; export r; \
21696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21697 $(HOST_EXPORTS) \
21698 (cd $(HOST_SUBDIR)/sid && \
21699 $(MAKE) $(FLAGS_TO_PASS) install)
21701 @endif sid
21703 # Other targets (info, dvi, etc.)
21705 .PHONY: maybe-info-sid info-sid
21706 maybe-info-sid:
21707 @if sid
21708 maybe-info-sid: info-sid
21710 info-sid: \
21711 configure-sid
21712 @[ -f ./sid/Makefile ] || exit 0; \
21713 r=`${PWD_COMMAND}`; export r; \
21714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21715 $(HOST_EXPORTS) \
21716 for flag in $(EXTRA_HOST_FLAGS) ; do \
21717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21718 done; \
21719 echo "Doing info in sid" ; \
21720 (cd $(HOST_SUBDIR)/sid && \
21721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21723 "RANLIB=$${RANLIB}" \
21724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21725 info) \
21726 || exit 1
21728 @endif sid
21730 .PHONY: maybe-dvi-sid dvi-sid
21731 maybe-dvi-sid:
21732 @if sid
21733 maybe-dvi-sid: dvi-sid
21735 dvi-sid: \
21736 configure-sid
21737 @[ -f ./sid/Makefile ] || exit 0; \
21738 r=`${PWD_COMMAND}`; export r; \
21739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21740 $(HOST_EXPORTS) \
21741 for flag in $(EXTRA_HOST_FLAGS) ; do \
21742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21743 done; \
21744 echo "Doing dvi in sid" ; \
21745 (cd $(HOST_SUBDIR)/sid && \
21746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21748 "RANLIB=$${RANLIB}" \
21749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21750 dvi) \
21751 || exit 1
21753 @endif sid
21755 .PHONY: maybe-html-sid html-sid
21756 maybe-html-sid:
21757 @if sid
21758 maybe-html-sid: html-sid
21760 html-sid: \
21761 configure-sid
21762 @[ -f ./sid/Makefile ] || exit 0; \
21763 r=`${PWD_COMMAND}`; export r; \
21764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21765 $(HOST_EXPORTS) \
21766 for flag in $(EXTRA_HOST_FLAGS) ; do \
21767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21768 done; \
21769 echo "Doing html in sid" ; \
21770 (cd $(HOST_SUBDIR)/sid && \
21771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21773 "RANLIB=$${RANLIB}" \
21774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21775 html) \
21776 || exit 1
21778 @endif sid
21780 .PHONY: maybe-TAGS-sid TAGS-sid
21781 maybe-TAGS-sid:
21782 @if sid
21783 maybe-TAGS-sid: TAGS-sid
21785 TAGS-sid: \
21786 configure-sid
21787 @[ -f ./sid/Makefile ] || exit 0; \
21788 r=`${PWD_COMMAND}`; export r; \
21789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21790 $(HOST_EXPORTS) \
21791 for flag in $(EXTRA_HOST_FLAGS) ; do \
21792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21793 done; \
21794 echo "Doing TAGS in sid" ; \
21795 (cd $(HOST_SUBDIR)/sid && \
21796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21798 "RANLIB=$${RANLIB}" \
21799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21800 TAGS) \
21801 || exit 1
21803 @endif sid
21805 .PHONY: maybe-install-info-sid install-info-sid
21806 maybe-install-info-sid:
21807 @if sid
21808 maybe-install-info-sid: install-info-sid
21810 install-info-sid: \
21811 configure-sid \
21812 info-sid
21813 @[ -f ./sid/Makefile ] || exit 0; \
21814 r=`${PWD_COMMAND}`; export r; \
21815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21816 $(HOST_EXPORTS) \
21817 for flag in $(EXTRA_HOST_FLAGS) ; do \
21818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21819 done; \
21820 echo "Doing install-info in sid" ; \
21821 (cd $(HOST_SUBDIR)/sid && \
21822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21824 "RANLIB=$${RANLIB}" \
21825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21826 install-info) \
21827 || exit 1
21829 @endif sid
21831 .PHONY: maybe-installcheck-sid installcheck-sid
21832 maybe-installcheck-sid:
21833 @if sid
21834 maybe-installcheck-sid: installcheck-sid
21836 installcheck-sid: \
21837 configure-sid
21838 @[ -f ./sid/Makefile ] || exit 0; \
21839 r=`${PWD_COMMAND}`; export r; \
21840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21841 $(HOST_EXPORTS) \
21842 for flag in $(EXTRA_HOST_FLAGS) ; do \
21843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21844 done; \
21845 echo "Doing installcheck in sid" ; \
21846 (cd $(HOST_SUBDIR)/sid && \
21847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21849 "RANLIB=$${RANLIB}" \
21850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21851 installcheck) \
21852 || exit 1
21854 @endif sid
21856 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
21857 maybe-mostlyclean-sid:
21858 @if sid
21859 maybe-mostlyclean-sid: mostlyclean-sid
21861 mostlyclean-sid:
21862 @[ -f ./sid/Makefile ] || exit 0; \
21863 r=`${PWD_COMMAND}`; export r; \
21864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21865 $(HOST_EXPORTS) \
21866 for flag in $(EXTRA_HOST_FLAGS) ; do \
21867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21868 done; \
21869 echo "Doing mostlyclean in sid" ; \
21870 (cd $(HOST_SUBDIR)/sid && \
21871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21873 "RANLIB=$${RANLIB}" \
21874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21875 mostlyclean) \
21876 || exit 1
21878 @endif sid
21880 .PHONY: maybe-clean-sid clean-sid
21881 maybe-clean-sid:
21882 @if sid
21883 maybe-clean-sid: clean-sid
21885 clean-sid:
21886 @[ -f ./sid/Makefile ] || exit 0; \
21887 r=`${PWD_COMMAND}`; export r; \
21888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21889 $(HOST_EXPORTS) \
21890 for flag in $(EXTRA_HOST_FLAGS) ; do \
21891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21892 done; \
21893 echo "Doing clean in sid" ; \
21894 (cd $(HOST_SUBDIR)/sid && \
21895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21897 "RANLIB=$${RANLIB}" \
21898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21899 clean) \
21900 || exit 1
21902 @endif sid
21904 .PHONY: maybe-distclean-sid distclean-sid
21905 maybe-distclean-sid:
21906 @if sid
21907 maybe-distclean-sid: distclean-sid
21909 distclean-sid:
21910 @[ -f ./sid/Makefile ] || exit 0; \
21911 r=`${PWD_COMMAND}`; export r; \
21912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21913 $(HOST_EXPORTS) \
21914 for flag in $(EXTRA_HOST_FLAGS) ; do \
21915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21916 done; \
21917 echo "Doing distclean in sid" ; \
21918 (cd $(HOST_SUBDIR)/sid && \
21919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21921 "RANLIB=$${RANLIB}" \
21922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21923 distclean) \
21924 || exit 1
21926 @endif sid
21928 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
21929 maybe-maintainer-clean-sid:
21930 @if sid
21931 maybe-maintainer-clean-sid: maintainer-clean-sid
21933 maintainer-clean-sid:
21934 @[ -f ./sid/Makefile ] || exit 0; \
21935 r=`${PWD_COMMAND}`; export r; \
21936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21937 $(HOST_EXPORTS) \
21938 for flag in $(EXTRA_HOST_FLAGS) ; do \
21939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21940 done; \
21941 echo "Doing maintainer-clean in sid" ; \
21942 (cd $(HOST_SUBDIR)/sid && \
21943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21945 "RANLIB=$${RANLIB}" \
21946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21947 maintainer-clean) \
21948 || exit 1
21950 @endif sid
21954 .PHONY: configure-sim maybe-configure-sim
21955 maybe-configure-sim:
21956 @if sim
21957 maybe-configure-sim: configure-sim
21958 configure-sim:
21959 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
21960 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
21961 r=`${PWD_COMMAND}`; export r; \
21962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21963 $(HOST_EXPORTS) \
21964 echo Configuring in $(HOST_SUBDIR)/sim; \
21965 cd "$(HOST_SUBDIR)/sim" || exit 1; \
21966 case $(srcdir) in \
21967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21968 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
21969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21970 esac; \
21971 srcdiroption="--srcdir=$${topdir}/sim"; \
21972 libsrcdir="$$s/sim"; \
21973 $(SHELL) $${libsrcdir}/configure \
21974 $(HOST_CONFIGARGS) $${srcdiroption} \
21975 || exit 1
21976 @endif sim
21982 .PHONY: all-sim maybe-all-sim
21983 maybe-all-sim:
21984 @if sim
21985 TARGET-sim=all
21986 maybe-all-sim: all-sim
21987 all-sim: configure-sim
21988 @r=`${PWD_COMMAND}`; export r; \
21989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21990 $(HOST_EXPORTS) \
21991 (cd $(HOST_SUBDIR)/sim && \
21992 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
21993 @endif sim
21998 .PHONY: check-sim maybe-check-sim
21999 maybe-check-sim:
22000 @if sim
22001 maybe-check-sim: check-sim
22003 check-sim:
22004 @r=`${PWD_COMMAND}`; export r; \
22005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22006 $(HOST_EXPORTS) \
22007 (cd $(HOST_SUBDIR)/sim && \
22008 $(MAKE) $(FLAGS_TO_PASS) check)
22010 @endif sim
22012 .PHONY: install-sim maybe-install-sim
22013 maybe-install-sim:
22014 @if sim
22015 maybe-install-sim: install-sim
22017 install-sim: installdirs
22018 @r=`${PWD_COMMAND}`; export r; \
22019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22020 $(HOST_EXPORTS) \
22021 (cd $(HOST_SUBDIR)/sim && \
22022 $(MAKE) $(FLAGS_TO_PASS) install)
22024 @endif sim
22026 # Other targets (info, dvi, etc.)
22028 .PHONY: maybe-info-sim info-sim
22029 maybe-info-sim:
22030 @if sim
22031 maybe-info-sim: info-sim
22033 info-sim: \
22034 configure-sim
22035 @[ -f ./sim/Makefile ] || exit 0; \
22036 r=`${PWD_COMMAND}`; export r; \
22037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22038 $(HOST_EXPORTS) \
22039 for flag in $(EXTRA_HOST_FLAGS) ; do \
22040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22041 done; \
22042 echo "Doing info in sim" ; \
22043 (cd $(HOST_SUBDIR)/sim && \
22044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22046 "RANLIB=$${RANLIB}" \
22047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22048 info) \
22049 || exit 1
22051 @endif sim
22053 .PHONY: maybe-dvi-sim dvi-sim
22054 maybe-dvi-sim:
22055 @if sim
22056 maybe-dvi-sim: dvi-sim
22058 dvi-sim: \
22059 configure-sim
22060 @[ -f ./sim/Makefile ] || exit 0; \
22061 r=`${PWD_COMMAND}`; export r; \
22062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22063 $(HOST_EXPORTS) \
22064 for flag in $(EXTRA_HOST_FLAGS) ; do \
22065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22066 done; \
22067 echo "Doing dvi in sim" ; \
22068 (cd $(HOST_SUBDIR)/sim && \
22069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22071 "RANLIB=$${RANLIB}" \
22072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22073 dvi) \
22074 || exit 1
22076 @endif sim
22078 .PHONY: maybe-html-sim html-sim
22079 maybe-html-sim:
22080 @if sim
22081 maybe-html-sim: html-sim
22083 html-sim: \
22084 configure-sim
22085 @[ -f ./sim/Makefile ] || exit 0; \
22086 r=`${PWD_COMMAND}`; export r; \
22087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22088 $(HOST_EXPORTS) \
22089 for flag in $(EXTRA_HOST_FLAGS) ; do \
22090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22091 done; \
22092 echo "Doing html in sim" ; \
22093 (cd $(HOST_SUBDIR)/sim && \
22094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22096 "RANLIB=$${RANLIB}" \
22097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22098 html) \
22099 || exit 1
22101 @endif sim
22103 .PHONY: maybe-TAGS-sim TAGS-sim
22104 maybe-TAGS-sim:
22105 @if sim
22106 maybe-TAGS-sim: TAGS-sim
22108 TAGS-sim: \
22109 configure-sim
22110 @[ -f ./sim/Makefile ] || exit 0; \
22111 r=`${PWD_COMMAND}`; export r; \
22112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22113 $(HOST_EXPORTS) \
22114 for flag in $(EXTRA_HOST_FLAGS) ; do \
22115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22116 done; \
22117 echo "Doing TAGS in sim" ; \
22118 (cd $(HOST_SUBDIR)/sim && \
22119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22121 "RANLIB=$${RANLIB}" \
22122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22123 TAGS) \
22124 || exit 1
22126 @endif sim
22128 .PHONY: maybe-install-info-sim install-info-sim
22129 maybe-install-info-sim:
22130 @if sim
22131 maybe-install-info-sim: install-info-sim
22133 install-info-sim: \
22134 configure-sim \
22135 info-sim
22136 @[ -f ./sim/Makefile ] || exit 0; \
22137 r=`${PWD_COMMAND}`; export r; \
22138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22139 $(HOST_EXPORTS) \
22140 for flag in $(EXTRA_HOST_FLAGS) ; do \
22141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22142 done; \
22143 echo "Doing install-info in sim" ; \
22144 (cd $(HOST_SUBDIR)/sim && \
22145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22147 "RANLIB=$${RANLIB}" \
22148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22149 install-info) \
22150 || exit 1
22152 @endif sim
22154 .PHONY: maybe-installcheck-sim installcheck-sim
22155 maybe-installcheck-sim:
22156 @if sim
22157 maybe-installcheck-sim: installcheck-sim
22159 installcheck-sim: \
22160 configure-sim
22161 @[ -f ./sim/Makefile ] || exit 0; \
22162 r=`${PWD_COMMAND}`; export r; \
22163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22164 $(HOST_EXPORTS) \
22165 for flag in $(EXTRA_HOST_FLAGS) ; do \
22166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22167 done; \
22168 echo "Doing installcheck in sim" ; \
22169 (cd $(HOST_SUBDIR)/sim && \
22170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22172 "RANLIB=$${RANLIB}" \
22173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22174 installcheck) \
22175 || exit 1
22177 @endif sim
22179 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
22180 maybe-mostlyclean-sim:
22181 @if sim
22182 maybe-mostlyclean-sim: mostlyclean-sim
22184 mostlyclean-sim:
22185 @[ -f ./sim/Makefile ] || exit 0; \
22186 r=`${PWD_COMMAND}`; export r; \
22187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22188 $(HOST_EXPORTS) \
22189 for flag in $(EXTRA_HOST_FLAGS) ; do \
22190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22191 done; \
22192 echo "Doing mostlyclean in sim" ; \
22193 (cd $(HOST_SUBDIR)/sim && \
22194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22196 "RANLIB=$${RANLIB}" \
22197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22198 mostlyclean) \
22199 || exit 1
22201 @endif sim
22203 .PHONY: maybe-clean-sim clean-sim
22204 maybe-clean-sim:
22205 @if sim
22206 maybe-clean-sim: clean-sim
22208 clean-sim:
22209 @[ -f ./sim/Makefile ] || exit 0; \
22210 r=`${PWD_COMMAND}`; export r; \
22211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22212 $(HOST_EXPORTS) \
22213 for flag in $(EXTRA_HOST_FLAGS) ; do \
22214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22215 done; \
22216 echo "Doing clean in sim" ; \
22217 (cd $(HOST_SUBDIR)/sim && \
22218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22220 "RANLIB=$${RANLIB}" \
22221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22222 clean) \
22223 || exit 1
22225 @endif sim
22227 .PHONY: maybe-distclean-sim distclean-sim
22228 maybe-distclean-sim:
22229 @if sim
22230 maybe-distclean-sim: distclean-sim
22232 distclean-sim:
22233 @[ -f ./sim/Makefile ] || exit 0; \
22234 r=`${PWD_COMMAND}`; export r; \
22235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22236 $(HOST_EXPORTS) \
22237 for flag in $(EXTRA_HOST_FLAGS) ; do \
22238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22239 done; \
22240 echo "Doing distclean in sim" ; \
22241 (cd $(HOST_SUBDIR)/sim && \
22242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22244 "RANLIB=$${RANLIB}" \
22245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22246 distclean) \
22247 || exit 1
22249 @endif sim
22251 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
22252 maybe-maintainer-clean-sim:
22253 @if sim
22254 maybe-maintainer-clean-sim: maintainer-clean-sim
22256 maintainer-clean-sim:
22257 @[ -f ./sim/Makefile ] || exit 0; \
22258 r=`${PWD_COMMAND}`; export r; \
22259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22260 $(HOST_EXPORTS) \
22261 for flag in $(EXTRA_HOST_FLAGS) ; do \
22262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22263 done; \
22264 echo "Doing maintainer-clean in sim" ; \
22265 (cd $(HOST_SUBDIR)/sim && \
22266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22268 "RANLIB=$${RANLIB}" \
22269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22270 maintainer-clean) \
22271 || exit 1
22273 @endif sim
22277 .PHONY: configure-tar maybe-configure-tar
22278 maybe-configure-tar:
22279 @if tar
22280 maybe-configure-tar: configure-tar
22281 configure-tar:
22282 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
22283 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
22284 r=`${PWD_COMMAND}`; export r; \
22285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22286 $(HOST_EXPORTS) \
22287 echo Configuring in $(HOST_SUBDIR)/tar; \
22288 cd "$(HOST_SUBDIR)/tar" || exit 1; \
22289 case $(srcdir) in \
22290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22291 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
22292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22293 esac; \
22294 srcdiroption="--srcdir=$${topdir}/tar"; \
22295 libsrcdir="$$s/tar"; \
22296 $(SHELL) $${libsrcdir}/configure \
22297 $(HOST_CONFIGARGS) $${srcdiroption} \
22298 || exit 1
22299 @endif tar
22305 .PHONY: all-tar maybe-all-tar
22306 maybe-all-tar:
22307 @if tar
22308 TARGET-tar=all
22309 maybe-all-tar: all-tar
22310 all-tar: configure-tar
22311 @r=`${PWD_COMMAND}`; export r; \
22312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22313 $(HOST_EXPORTS) \
22314 (cd $(HOST_SUBDIR)/tar && \
22315 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
22316 @endif tar
22321 .PHONY: check-tar maybe-check-tar
22322 maybe-check-tar:
22323 @if tar
22324 maybe-check-tar: check-tar
22326 check-tar:
22327 @r=`${PWD_COMMAND}`; export r; \
22328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22329 $(HOST_EXPORTS) \
22330 (cd $(HOST_SUBDIR)/tar && \
22331 $(MAKE) $(FLAGS_TO_PASS) check)
22333 @endif tar
22335 .PHONY: install-tar maybe-install-tar
22336 maybe-install-tar:
22337 @if tar
22338 maybe-install-tar: install-tar
22340 install-tar: installdirs
22341 @r=`${PWD_COMMAND}`; export r; \
22342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22343 $(HOST_EXPORTS) \
22344 (cd $(HOST_SUBDIR)/tar && \
22345 $(MAKE) $(FLAGS_TO_PASS) install)
22347 @endif tar
22349 # Other targets (info, dvi, etc.)
22351 .PHONY: maybe-info-tar info-tar
22352 maybe-info-tar:
22353 @if tar
22354 maybe-info-tar: info-tar
22356 info-tar: \
22357 configure-tar
22358 @[ -f ./tar/Makefile ] || exit 0; \
22359 r=`${PWD_COMMAND}`; export r; \
22360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22361 $(HOST_EXPORTS) \
22362 for flag in $(EXTRA_HOST_FLAGS) ; do \
22363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22364 done; \
22365 echo "Doing info in tar" ; \
22366 (cd $(HOST_SUBDIR)/tar && \
22367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22369 "RANLIB=$${RANLIB}" \
22370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22371 info) \
22372 || exit 1
22374 @endif tar
22376 .PHONY: maybe-dvi-tar dvi-tar
22377 maybe-dvi-tar:
22378 @if tar
22379 maybe-dvi-tar: dvi-tar
22381 dvi-tar: \
22382 configure-tar
22383 @[ -f ./tar/Makefile ] || exit 0; \
22384 r=`${PWD_COMMAND}`; export r; \
22385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22386 $(HOST_EXPORTS) \
22387 for flag in $(EXTRA_HOST_FLAGS) ; do \
22388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22389 done; \
22390 echo "Doing dvi in tar" ; \
22391 (cd $(HOST_SUBDIR)/tar && \
22392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22394 "RANLIB=$${RANLIB}" \
22395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22396 dvi) \
22397 || exit 1
22399 @endif tar
22401 .PHONY: maybe-html-tar html-tar
22402 maybe-html-tar:
22403 @if tar
22404 maybe-html-tar: html-tar
22406 html-tar: \
22407 configure-tar
22408 @[ -f ./tar/Makefile ] || exit 0; \
22409 r=`${PWD_COMMAND}`; export r; \
22410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22411 $(HOST_EXPORTS) \
22412 for flag in $(EXTRA_HOST_FLAGS) ; do \
22413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22414 done; \
22415 echo "Doing html in tar" ; \
22416 (cd $(HOST_SUBDIR)/tar && \
22417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22419 "RANLIB=$${RANLIB}" \
22420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22421 html) \
22422 || exit 1
22424 @endif tar
22426 .PHONY: maybe-TAGS-tar TAGS-tar
22427 maybe-TAGS-tar:
22428 @if tar
22429 maybe-TAGS-tar: TAGS-tar
22431 TAGS-tar: \
22432 configure-tar
22433 @[ -f ./tar/Makefile ] || exit 0; \
22434 r=`${PWD_COMMAND}`; export r; \
22435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22436 $(HOST_EXPORTS) \
22437 for flag in $(EXTRA_HOST_FLAGS) ; do \
22438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22439 done; \
22440 echo "Doing TAGS in tar" ; \
22441 (cd $(HOST_SUBDIR)/tar && \
22442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22444 "RANLIB=$${RANLIB}" \
22445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22446 TAGS) \
22447 || exit 1
22449 @endif tar
22451 .PHONY: maybe-install-info-tar install-info-tar
22452 maybe-install-info-tar:
22453 @if tar
22454 maybe-install-info-tar: install-info-tar
22456 install-info-tar: \
22457 configure-tar \
22458 info-tar
22459 @[ -f ./tar/Makefile ] || exit 0; \
22460 r=`${PWD_COMMAND}`; export r; \
22461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22462 $(HOST_EXPORTS) \
22463 for flag in $(EXTRA_HOST_FLAGS) ; do \
22464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22465 done; \
22466 echo "Doing install-info in tar" ; \
22467 (cd $(HOST_SUBDIR)/tar && \
22468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22470 "RANLIB=$${RANLIB}" \
22471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22472 install-info) \
22473 || exit 1
22475 @endif tar
22477 .PHONY: maybe-installcheck-tar installcheck-tar
22478 maybe-installcheck-tar:
22479 @if tar
22480 maybe-installcheck-tar: installcheck-tar
22482 installcheck-tar: \
22483 configure-tar
22484 @[ -f ./tar/Makefile ] || exit 0; \
22485 r=`${PWD_COMMAND}`; export r; \
22486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22487 $(HOST_EXPORTS) \
22488 for flag in $(EXTRA_HOST_FLAGS) ; do \
22489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22490 done; \
22491 echo "Doing installcheck in tar" ; \
22492 (cd $(HOST_SUBDIR)/tar && \
22493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22495 "RANLIB=$${RANLIB}" \
22496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22497 installcheck) \
22498 || exit 1
22500 @endif tar
22502 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
22503 maybe-mostlyclean-tar:
22504 @if tar
22505 maybe-mostlyclean-tar: mostlyclean-tar
22507 mostlyclean-tar:
22508 @[ -f ./tar/Makefile ] || exit 0; \
22509 r=`${PWD_COMMAND}`; export r; \
22510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22511 $(HOST_EXPORTS) \
22512 for flag in $(EXTRA_HOST_FLAGS) ; do \
22513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22514 done; \
22515 echo "Doing mostlyclean in tar" ; \
22516 (cd $(HOST_SUBDIR)/tar && \
22517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22519 "RANLIB=$${RANLIB}" \
22520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22521 mostlyclean) \
22522 || exit 1
22524 @endif tar
22526 .PHONY: maybe-clean-tar clean-tar
22527 maybe-clean-tar:
22528 @if tar
22529 maybe-clean-tar: clean-tar
22531 clean-tar:
22532 @[ -f ./tar/Makefile ] || exit 0; \
22533 r=`${PWD_COMMAND}`; export r; \
22534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22535 $(HOST_EXPORTS) \
22536 for flag in $(EXTRA_HOST_FLAGS) ; do \
22537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22538 done; \
22539 echo "Doing clean in tar" ; \
22540 (cd $(HOST_SUBDIR)/tar && \
22541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22543 "RANLIB=$${RANLIB}" \
22544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22545 clean) \
22546 || exit 1
22548 @endif tar
22550 .PHONY: maybe-distclean-tar distclean-tar
22551 maybe-distclean-tar:
22552 @if tar
22553 maybe-distclean-tar: distclean-tar
22555 distclean-tar:
22556 @[ -f ./tar/Makefile ] || exit 0; \
22557 r=`${PWD_COMMAND}`; export r; \
22558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22559 $(HOST_EXPORTS) \
22560 for flag in $(EXTRA_HOST_FLAGS) ; do \
22561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22562 done; \
22563 echo "Doing distclean in tar" ; \
22564 (cd $(HOST_SUBDIR)/tar && \
22565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22567 "RANLIB=$${RANLIB}" \
22568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22569 distclean) \
22570 || exit 1
22572 @endif tar
22574 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
22575 maybe-maintainer-clean-tar:
22576 @if tar
22577 maybe-maintainer-clean-tar: maintainer-clean-tar
22579 maintainer-clean-tar:
22580 @[ -f ./tar/Makefile ] || exit 0; \
22581 r=`${PWD_COMMAND}`; export r; \
22582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22583 $(HOST_EXPORTS) \
22584 for flag in $(EXTRA_HOST_FLAGS) ; do \
22585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22586 done; \
22587 echo "Doing maintainer-clean in tar" ; \
22588 (cd $(HOST_SUBDIR)/tar && \
22589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22591 "RANLIB=$${RANLIB}" \
22592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22593 maintainer-clean) \
22594 || exit 1
22596 @endif tar
22600 .PHONY: configure-texinfo maybe-configure-texinfo
22601 maybe-configure-texinfo:
22602 @if texinfo
22603 maybe-configure-texinfo: configure-texinfo
22604 configure-texinfo:
22605 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
22606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
22607 r=`${PWD_COMMAND}`; export r; \
22608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22609 $(HOST_EXPORTS) \
22610 echo Configuring in $(HOST_SUBDIR)/texinfo; \
22611 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
22612 case $(srcdir) in \
22613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22614 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
22615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22616 esac; \
22617 srcdiroption="--srcdir=$${topdir}/texinfo"; \
22618 libsrcdir="$$s/texinfo"; \
22619 $(SHELL) $${libsrcdir}/configure \
22620 $(HOST_CONFIGARGS) $${srcdiroption} \
22621 || exit 1
22622 @endif texinfo
22628 .PHONY: all-texinfo maybe-all-texinfo
22629 maybe-all-texinfo:
22630 @if texinfo
22631 TARGET-texinfo=all
22632 maybe-all-texinfo: all-texinfo
22633 all-texinfo: configure-texinfo
22634 @r=`${PWD_COMMAND}`; export r; \
22635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22636 $(HOST_EXPORTS) \
22637 (cd $(HOST_SUBDIR)/texinfo && \
22638 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
22639 @endif texinfo
22644 .PHONY: check-texinfo maybe-check-texinfo
22645 maybe-check-texinfo:
22646 @if texinfo
22647 maybe-check-texinfo: check-texinfo
22649 check-texinfo:
22650 @r=`${PWD_COMMAND}`; export r; \
22651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22652 $(HOST_EXPORTS) \
22653 (cd $(HOST_SUBDIR)/texinfo && \
22654 $(MAKE) $(FLAGS_TO_PASS) check)
22656 @endif texinfo
22658 .PHONY: install-texinfo maybe-install-texinfo
22659 maybe-install-texinfo:
22660 @if texinfo
22661 maybe-install-texinfo: install-texinfo
22663 install-texinfo:
22665 @endif texinfo
22667 # Other targets (info, dvi, etc.)
22669 .PHONY: maybe-info-texinfo info-texinfo
22670 maybe-info-texinfo:
22671 @if texinfo
22672 maybe-info-texinfo: info-texinfo
22674 info-texinfo: \
22675 configure-texinfo
22676 @[ -f ./texinfo/Makefile ] || exit 0; \
22677 r=`${PWD_COMMAND}`; export r; \
22678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22679 $(HOST_EXPORTS) \
22680 for flag in $(EXTRA_HOST_FLAGS) ; do \
22681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22682 done; \
22683 echo "Doing info in texinfo" ; \
22684 (cd $(HOST_SUBDIR)/texinfo && \
22685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22687 "RANLIB=$${RANLIB}" \
22688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22689 info) \
22690 || exit 1
22692 @endif texinfo
22694 .PHONY: maybe-dvi-texinfo dvi-texinfo
22695 maybe-dvi-texinfo:
22696 @if texinfo
22697 maybe-dvi-texinfo: dvi-texinfo
22699 dvi-texinfo: \
22700 configure-texinfo
22701 @[ -f ./texinfo/Makefile ] || exit 0; \
22702 r=`${PWD_COMMAND}`; export r; \
22703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22704 $(HOST_EXPORTS) \
22705 for flag in $(EXTRA_HOST_FLAGS) ; do \
22706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22707 done; \
22708 echo "Doing dvi in texinfo" ; \
22709 (cd $(HOST_SUBDIR)/texinfo && \
22710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22712 "RANLIB=$${RANLIB}" \
22713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22714 dvi) \
22715 || exit 1
22717 @endif texinfo
22719 .PHONY: maybe-html-texinfo html-texinfo
22720 maybe-html-texinfo:
22721 @if texinfo
22722 maybe-html-texinfo: html-texinfo
22724 html-texinfo: \
22725 configure-texinfo
22726 @[ -f ./texinfo/Makefile ] || exit 0; \
22727 r=`${PWD_COMMAND}`; export r; \
22728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22729 $(HOST_EXPORTS) \
22730 for flag in $(EXTRA_HOST_FLAGS) ; do \
22731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22732 done; \
22733 echo "Doing html in texinfo" ; \
22734 (cd $(HOST_SUBDIR)/texinfo && \
22735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22737 "RANLIB=$${RANLIB}" \
22738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22739 html) \
22740 || exit 1
22742 @endif texinfo
22744 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
22745 maybe-TAGS-texinfo:
22746 @if texinfo
22747 maybe-TAGS-texinfo: TAGS-texinfo
22749 TAGS-texinfo: \
22750 configure-texinfo
22751 @[ -f ./texinfo/Makefile ] || exit 0; \
22752 r=`${PWD_COMMAND}`; export r; \
22753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22754 $(HOST_EXPORTS) \
22755 for flag in $(EXTRA_HOST_FLAGS) ; do \
22756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22757 done; \
22758 echo "Doing TAGS in texinfo" ; \
22759 (cd $(HOST_SUBDIR)/texinfo && \
22760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22762 "RANLIB=$${RANLIB}" \
22763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22764 TAGS) \
22765 || exit 1
22767 @endif texinfo
22769 .PHONY: maybe-install-info-texinfo install-info-texinfo
22770 maybe-install-info-texinfo:
22771 @if texinfo
22772 maybe-install-info-texinfo: install-info-texinfo
22774 install-info-texinfo: \
22775 configure-texinfo \
22776 info-texinfo
22777 @[ -f ./texinfo/Makefile ] || exit 0; \
22778 r=`${PWD_COMMAND}`; export r; \
22779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22780 $(HOST_EXPORTS) \
22781 for flag in $(EXTRA_HOST_FLAGS) ; do \
22782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22783 done; \
22784 echo "Doing install-info in texinfo" ; \
22785 (cd $(HOST_SUBDIR)/texinfo && \
22786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22788 "RANLIB=$${RANLIB}" \
22789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22790 install-info) \
22791 || exit 1
22793 @endif texinfo
22795 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
22796 maybe-installcheck-texinfo:
22797 @if texinfo
22798 maybe-installcheck-texinfo: installcheck-texinfo
22800 installcheck-texinfo: \
22801 configure-texinfo
22802 @[ -f ./texinfo/Makefile ] || exit 0; \
22803 r=`${PWD_COMMAND}`; export r; \
22804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22805 $(HOST_EXPORTS) \
22806 for flag in $(EXTRA_HOST_FLAGS) ; do \
22807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22808 done; \
22809 echo "Doing installcheck in texinfo" ; \
22810 (cd $(HOST_SUBDIR)/texinfo && \
22811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22813 "RANLIB=$${RANLIB}" \
22814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22815 installcheck) \
22816 || exit 1
22818 @endif texinfo
22820 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
22821 maybe-mostlyclean-texinfo:
22822 @if texinfo
22823 maybe-mostlyclean-texinfo: mostlyclean-texinfo
22825 mostlyclean-texinfo:
22826 @[ -f ./texinfo/Makefile ] || exit 0; \
22827 r=`${PWD_COMMAND}`; export r; \
22828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22829 $(HOST_EXPORTS) \
22830 for flag in $(EXTRA_HOST_FLAGS) ; do \
22831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22832 done; \
22833 echo "Doing mostlyclean in texinfo" ; \
22834 (cd $(HOST_SUBDIR)/texinfo && \
22835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22837 "RANLIB=$${RANLIB}" \
22838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22839 mostlyclean) \
22840 || exit 1
22842 @endif texinfo
22844 .PHONY: maybe-clean-texinfo clean-texinfo
22845 maybe-clean-texinfo:
22846 @if texinfo
22847 maybe-clean-texinfo: clean-texinfo
22849 clean-texinfo:
22850 @[ -f ./texinfo/Makefile ] || exit 0; \
22851 r=`${PWD_COMMAND}`; export r; \
22852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22853 $(HOST_EXPORTS) \
22854 for flag in $(EXTRA_HOST_FLAGS) ; do \
22855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22856 done; \
22857 echo "Doing clean in texinfo" ; \
22858 (cd $(HOST_SUBDIR)/texinfo && \
22859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22861 "RANLIB=$${RANLIB}" \
22862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22863 clean) \
22864 || exit 1
22866 @endif texinfo
22868 .PHONY: maybe-distclean-texinfo distclean-texinfo
22869 maybe-distclean-texinfo:
22870 @if texinfo
22871 maybe-distclean-texinfo: distclean-texinfo
22873 distclean-texinfo:
22874 @[ -f ./texinfo/Makefile ] || exit 0; \
22875 r=`${PWD_COMMAND}`; export r; \
22876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22877 $(HOST_EXPORTS) \
22878 for flag in $(EXTRA_HOST_FLAGS) ; do \
22879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22880 done; \
22881 echo "Doing distclean in texinfo" ; \
22882 (cd $(HOST_SUBDIR)/texinfo && \
22883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22885 "RANLIB=$${RANLIB}" \
22886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22887 distclean) \
22888 || exit 1
22890 @endif texinfo
22892 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
22893 maybe-maintainer-clean-texinfo:
22894 @if texinfo
22895 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
22897 maintainer-clean-texinfo:
22898 @[ -f ./texinfo/Makefile ] || exit 0; \
22899 r=`${PWD_COMMAND}`; export r; \
22900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22901 $(HOST_EXPORTS) \
22902 for flag in $(EXTRA_HOST_FLAGS) ; do \
22903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22904 done; \
22905 echo "Doing maintainer-clean in texinfo" ; \
22906 (cd $(HOST_SUBDIR)/texinfo && \
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 maintainer-clean) \
22912 || exit 1
22914 @endif texinfo
22918 .PHONY: configure-textutils maybe-configure-textutils
22919 maybe-configure-textutils:
22920 @if textutils
22921 maybe-configure-textutils: configure-textutils
22922 configure-textutils:
22923 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
22924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
22925 r=`${PWD_COMMAND}`; export r; \
22926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22927 $(HOST_EXPORTS) \
22928 echo Configuring in $(HOST_SUBDIR)/textutils; \
22929 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
22930 case $(srcdir) in \
22931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22932 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
22933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22934 esac; \
22935 srcdiroption="--srcdir=$${topdir}/textutils"; \
22936 libsrcdir="$$s/textutils"; \
22937 $(SHELL) $${libsrcdir}/configure \
22938 $(HOST_CONFIGARGS) $${srcdiroption} \
22939 || exit 1
22940 @endif textutils
22946 .PHONY: all-textutils maybe-all-textutils
22947 maybe-all-textutils:
22948 @if textutils
22949 TARGET-textutils=all
22950 maybe-all-textutils: all-textutils
22951 all-textutils: configure-textutils
22952 @r=`${PWD_COMMAND}`; export r; \
22953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22954 $(HOST_EXPORTS) \
22955 (cd $(HOST_SUBDIR)/textutils && \
22956 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
22957 @endif textutils
22962 .PHONY: check-textutils maybe-check-textutils
22963 maybe-check-textutils:
22964 @if textutils
22965 maybe-check-textutils: check-textutils
22967 check-textutils:
22968 @r=`${PWD_COMMAND}`; export r; \
22969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22970 $(HOST_EXPORTS) \
22971 (cd $(HOST_SUBDIR)/textutils && \
22972 $(MAKE) $(FLAGS_TO_PASS) check)
22974 @endif textutils
22976 .PHONY: install-textutils maybe-install-textutils
22977 maybe-install-textutils:
22978 @if textutils
22979 maybe-install-textutils: install-textutils
22981 install-textutils: installdirs
22982 @r=`${PWD_COMMAND}`; export r; \
22983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22984 $(HOST_EXPORTS) \
22985 (cd $(HOST_SUBDIR)/textutils && \
22986 $(MAKE) $(FLAGS_TO_PASS) install)
22988 @endif textutils
22990 # Other targets (info, dvi, etc.)
22992 .PHONY: maybe-info-textutils info-textutils
22993 maybe-info-textutils:
22994 @if textutils
22995 maybe-info-textutils: info-textutils
22997 info-textutils: \
22998 configure-textutils
22999 @[ -f ./textutils/Makefile ] || exit 0; \
23000 r=`${PWD_COMMAND}`; export r; \
23001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23002 $(HOST_EXPORTS) \
23003 for flag in $(EXTRA_HOST_FLAGS) ; do \
23004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23005 done; \
23006 echo "Doing info in textutils" ; \
23007 (cd $(HOST_SUBDIR)/textutils && \
23008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23010 "RANLIB=$${RANLIB}" \
23011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23012 info) \
23013 || exit 1
23015 @endif textutils
23017 .PHONY: maybe-dvi-textutils dvi-textutils
23018 maybe-dvi-textutils:
23019 @if textutils
23020 maybe-dvi-textutils: dvi-textutils
23022 dvi-textutils: \
23023 configure-textutils
23024 @[ -f ./textutils/Makefile ] || exit 0; \
23025 r=`${PWD_COMMAND}`; export r; \
23026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23027 $(HOST_EXPORTS) \
23028 for flag in $(EXTRA_HOST_FLAGS) ; do \
23029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23030 done; \
23031 echo "Doing dvi in textutils" ; \
23032 (cd $(HOST_SUBDIR)/textutils && \
23033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23035 "RANLIB=$${RANLIB}" \
23036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23037 dvi) \
23038 || exit 1
23040 @endif textutils
23042 .PHONY: maybe-html-textutils html-textutils
23043 maybe-html-textutils:
23044 @if textutils
23045 maybe-html-textutils: html-textutils
23047 html-textutils: \
23048 configure-textutils
23049 @[ -f ./textutils/Makefile ] || exit 0; \
23050 r=`${PWD_COMMAND}`; export r; \
23051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23052 $(HOST_EXPORTS) \
23053 for flag in $(EXTRA_HOST_FLAGS) ; do \
23054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23055 done; \
23056 echo "Doing html in textutils" ; \
23057 (cd $(HOST_SUBDIR)/textutils && \
23058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23060 "RANLIB=$${RANLIB}" \
23061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23062 html) \
23063 || exit 1
23065 @endif textutils
23067 .PHONY: maybe-TAGS-textutils TAGS-textutils
23068 maybe-TAGS-textutils:
23069 @if textutils
23070 maybe-TAGS-textutils: TAGS-textutils
23072 TAGS-textutils: \
23073 configure-textutils
23074 @[ -f ./textutils/Makefile ] || exit 0; \
23075 r=`${PWD_COMMAND}`; export r; \
23076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23077 $(HOST_EXPORTS) \
23078 for flag in $(EXTRA_HOST_FLAGS) ; do \
23079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23080 done; \
23081 echo "Doing TAGS in textutils" ; \
23082 (cd $(HOST_SUBDIR)/textutils && \
23083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23085 "RANLIB=$${RANLIB}" \
23086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23087 TAGS) \
23088 || exit 1
23090 @endif textutils
23092 .PHONY: maybe-install-info-textutils install-info-textutils
23093 maybe-install-info-textutils:
23094 @if textutils
23095 maybe-install-info-textutils: install-info-textutils
23097 install-info-textutils: \
23098 configure-textutils \
23099 info-textutils
23100 @[ -f ./textutils/Makefile ] || exit 0; \
23101 r=`${PWD_COMMAND}`; export r; \
23102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23103 $(HOST_EXPORTS) \
23104 for flag in $(EXTRA_HOST_FLAGS) ; do \
23105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23106 done; \
23107 echo "Doing install-info in textutils" ; \
23108 (cd $(HOST_SUBDIR)/textutils && \
23109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23111 "RANLIB=$${RANLIB}" \
23112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23113 install-info) \
23114 || exit 1
23116 @endif textutils
23118 .PHONY: maybe-installcheck-textutils installcheck-textutils
23119 maybe-installcheck-textutils:
23120 @if textutils
23121 maybe-installcheck-textutils: installcheck-textutils
23123 installcheck-textutils: \
23124 configure-textutils
23125 @[ -f ./textutils/Makefile ] || exit 0; \
23126 r=`${PWD_COMMAND}`; export r; \
23127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23128 $(HOST_EXPORTS) \
23129 for flag in $(EXTRA_HOST_FLAGS) ; do \
23130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23131 done; \
23132 echo "Doing installcheck in textutils" ; \
23133 (cd $(HOST_SUBDIR)/textutils && \
23134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23136 "RANLIB=$${RANLIB}" \
23137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23138 installcheck) \
23139 || exit 1
23141 @endif textutils
23143 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
23144 maybe-mostlyclean-textutils:
23145 @if textutils
23146 maybe-mostlyclean-textutils: mostlyclean-textutils
23148 mostlyclean-textutils:
23149 @[ -f ./textutils/Makefile ] || exit 0; \
23150 r=`${PWD_COMMAND}`; export r; \
23151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23152 $(HOST_EXPORTS) \
23153 for flag in $(EXTRA_HOST_FLAGS) ; do \
23154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23155 done; \
23156 echo "Doing mostlyclean in textutils" ; \
23157 (cd $(HOST_SUBDIR)/textutils && \
23158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23160 "RANLIB=$${RANLIB}" \
23161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23162 mostlyclean) \
23163 || exit 1
23165 @endif textutils
23167 .PHONY: maybe-clean-textutils clean-textutils
23168 maybe-clean-textutils:
23169 @if textutils
23170 maybe-clean-textutils: clean-textutils
23172 clean-textutils:
23173 @[ -f ./textutils/Makefile ] || exit 0; \
23174 r=`${PWD_COMMAND}`; export r; \
23175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23176 $(HOST_EXPORTS) \
23177 for flag in $(EXTRA_HOST_FLAGS) ; do \
23178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23179 done; \
23180 echo "Doing clean in textutils" ; \
23181 (cd $(HOST_SUBDIR)/textutils && \
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 clean) \
23187 || exit 1
23189 @endif textutils
23191 .PHONY: maybe-distclean-textutils distclean-textutils
23192 maybe-distclean-textutils:
23193 @if textutils
23194 maybe-distclean-textutils: distclean-textutils
23196 distclean-textutils:
23197 @[ -f ./textutils/Makefile ] || exit 0; \
23198 r=`${PWD_COMMAND}`; export r; \
23199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23200 $(HOST_EXPORTS) \
23201 for flag in $(EXTRA_HOST_FLAGS) ; do \
23202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23203 done; \
23204 echo "Doing distclean in textutils" ; \
23205 (cd $(HOST_SUBDIR)/textutils && \
23206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23208 "RANLIB=$${RANLIB}" \
23209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23210 distclean) \
23211 || exit 1
23213 @endif textutils
23215 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
23216 maybe-maintainer-clean-textutils:
23217 @if textutils
23218 maybe-maintainer-clean-textutils: maintainer-clean-textutils
23220 maintainer-clean-textutils:
23221 @[ -f ./textutils/Makefile ] || exit 0; \
23222 r=`${PWD_COMMAND}`; export r; \
23223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23224 $(HOST_EXPORTS) \
23225 for flag in $(EXTRA_HOST_FLAGS) ; do \
23226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23227 done; \
23228 echo "Doing maintainer-clean in textutils" ; \
23229 (cd $(HOST_SUBDIR)/textutils && \
23230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23232 "RANLIB=$${RANLIB}" \
23233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23234 maintainer-clean) \
23235 || exit 1
23237 @endif textutils
23241 .PHONY: configure-time maybe-configure-time
23242 maybe-configure-time:
23243 @if time
23244 maybe-configure-time: configure-time
23245 configure-time:
23246 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
23247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
23248 r=`${PWD_COMMAND}`; export r; \
23249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23250 $(HOST_EXPORTS) \
23251 echo Configuring in $(HOST_SUBDIR)/time; \
23252 cd "$(HOST_SUBDIR)/time" || exit 1; \
23253 case $(srcdir) in \
23254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23255 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
23256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23257 esac; \
23258 srcdiroption="--srcdir=$${topdir}/time"; \
23259 libsrcdir="$$s/time"; \
23260 $(SHELL) $${libsrcdir}/configure \
23261 $(HOST_CONFIGARGS) $${srcdiroption} \
23262 || exit 1
23263 @endif time
23269 .PHONY: all-time maybe-all-time
23270 maybe-all-time:
23271 @if time
23272 TARGET-time=all
23273 maybe-all-time: all-time
23274 all-time: configure-time
23275 @r=`${PWD_COMMAND}`; export r; \
23276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23277 $(HOST_EXPORTS) \
23278 (cd $(HOST_SUBDIR)/time && \
23279 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
23280 @endif time
23285 .PHONY: check-time maybe-check-time
23286 maybe-check-time:
23287 @if time
23288 maybe-check-time: check-time
23290 check-time:
23291 @r=`${PWD_COMMAND}`; export r; \
23292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23293 $(HOST_EXPORTS) \
23294 (cd $(HOST_SUBDIR)/time && \
23295 $(MAKE) $(FLAGS_TO_PASS) check)
23297 @endif time
23299 .PHONY: install-time maybe-install-time
23300 maybe-install-time:
23301 @if time
23302 maybe-install-time: install-time
23304 install-time: installdirs
23305 @r=`${PWD_COMMAND}`; export r; \
23306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23307 $(HOST_EXPORTS) \
23308 (cd $(HOST_SUBDIR)/time && \
23309 $(MAKE) $(FLAGS_TO_PASS) install)
23311 @endif time
23313 # Other targets (info, dvi, etc.)
23315 .PHONY: maybe-info-time info-time
23316 maybe-info-time:
23317 @if time
23318 maybe-info-time: info-time
23320 info-time: \
23321 configure-time
23322 @[ -f ./time/Makefile ] || exit 0; \
23323 r=`${PWD_COMMAND}`; export r; \
23324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23325 $(HOST_EXPORTS) \
23326 for flag in $(EXTRA_HOST_FLAGS) ; do \
23327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23328 done; \
23329 echo "Doing info in time" ; \
23330 (cd $(HOST_SUBDIR)/time && \
23331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23333 "RANLIB=$${RANLIB}" \
23334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23335 info) \
23336 || exit 1
23338 @endif time
23340 .PHONY: maybe-dvi-time dvi-time
23341 maybe-dvi-time:
23342 @if time
23343 maybe-dvi-time: dvi-time
23345 dvi-time: \
23346 configure-time
23347 @[ -f ./time/Makefile ] || exit 0; \
23348 r=`${PWD_COMMAND}`; export r; \
23349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23350 $(HOST_EXPORTS) \
23351 for flag in $(EXTRA_HOST_FLAGS) ; do \
23352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23353 done; \
23354 echo "Doing dvi in time" ; \
23355 (cd $(HOST_SUBDIR)/time && \
23356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23358 "RANLIB=$${RANLIB}" \
23359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23360 dvi) \
23361 || exit 1
23363 @endif time
23365 .PHONY: maybe-html-time html-time
23366 maybe-html-time:
23367 @if time
23368 maybe-html-time: html-time
23370 html-time: \
23371 configure-time
23372 @[ -f ./time/Makefile ] || exit 0; \
23373 r=`${PWD_COMMAND}`; export r; \
23374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23375 $(HOST_EXPORTS) \
23376 for flag in $(EXTRA_HOST_FLAGS) ; do \
23377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23378 done; \
23379 echo "Doing html in time" ; \
23380 (cd $(HOST_SUBDIR)/time && \
23381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23383 "RANLIB=$${RANLIB}" \
23384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23385 html) \
23386 || exit 1
23388 @endif time
23390 .PHONY: maybe-TAGS-time TAGS-time
23391 maybe-TAGS-time:
23392 @if time
23393 maybe-TAGS-time: TAGS-time
23395 TAGS-time: \
23396 configure-time
23397 @[ -f ./time/Makefile ] || exit 0; \
23398 r=`${PWD_COMMAND}`; export r; \
23399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23400 $(HOST_EXPORTS) \
23401 for flag in $(EXTRA_HOST_FLAGS) ; do \
23402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23403 done; \
23404 echo "Doing TAGS in time" ; \
23405 (cd $(HOST_SUBDIR)/time && \
23406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23408 "RANLIB=$${RANLIB}" \
23409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23410 TAGS) \
23411 || exit 1
23413 @endif time
23415 .PHONY: maybe-install-info-time install-info-time
23416 maybe-install-info-time:
23417 @if time
23418 maybe-install-info-time: install-info-time
23420 install-info-time: \
23421 configure-time \
23422 info-time
23423 @[ -f ./time/Makefile ] || exit 0; \
23424 r=`${PWD_COMMAND}`; export r; \
23425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23426 $(HOST_EXPORTS) \
23427 for flag in $(EXTRA_HOST_FLAGS) ; do \
23428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23429 done; \
23430 echo "Doing install-info in time" ; \
23431 (cd $(HOST_SUBDIR)/time && \
23432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23434 "RANLIB=$${RANLIB}" \
23435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23436 install-info) \
23437 || exit 1
23439 @endif time
23441 .PHONY: maybe-installcheck-time installcheck-time
23442 maybe-installcheck-time:
23443 @if time
23444 maybe-installcheck-time: installcheck-time
23446 installcheck-time: \
23447 configure-time
23448 @[ -f ./time/Makefile ] || exit 0; \
23449 r=`${PWD_COMMAND}`; export r; \
23450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23451 $(HOST_EXPORTS) \
23452 for flag in $(EXTRA_HOST_FLAGS) ; do \
23453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23454 done; \
23455 echo "Doing installcheck in time" ; \
23456 (cd $(HOST_SUBDIR)/time && \
23457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23459 "RANLIB=$${RANLIB}" \
23460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23461 installcheck) \
23462 || exit 1
23464 @endif time
23466 .PHONY: maybe-mostlyclean-time mostlyclean-time
23467 maybe-mostlyclean-time:
23468 @if time
23469 maybe-mostlyclean-time: mostlyclean-time
23471 mostlyclean-time:
23472 @[ -f ./time/Makefile ] || exit 0; \
23473 r=`${PWD_COMMAND}`; export r; \
23474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23475 $(HOST_EXPORTS) \
23476 for flag in $(EXTRA_HOST_FLAGS) ; do \
23477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23478 done; \
23479 echo "Doing mostlyclean in time" ; \
23480 (cd $(HOST_SUBDIR)/time && \
23481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23483 "RANLIB=$${RANLIB}" \
23484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23485 mostlyclean) \
23486 || exit 1
23488 @endif time
23490 .PHONY: maybe-clean-time clean-time
23491 maybe-clean-time:
23492 @if time
23493 maybe-clean-time: clean-time
23495 clean-time:
23496 @[ -f ./time/Makefile ] || exit 0; \
23497 r=`${PWD_COMMAND}`; export r; \
23498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23499 $(HOST_EXPORTS) \
23500 for flag in $(EXTRA_HOST_FLAGS) ; do \
23501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23502 done; \
23503 echo "Doing clean in time" ; \
23504 (cd $(HOST_SUBDIR)/time && \
23505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23507 "RANLIB=$${RANLIB}" \
23508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23509 clean) \
23510 || exit 1
23512 @endif time
23514 .PHONY: maybe-distclean-time distclean-time
23515 maybe-distclean-time:
23516 @if time
23517 maybe-distclean-time: distclean-time
23519 distclean-time:
23520 @[ -f ./time/Makefile ] || exit 0; \
23521 r=`${PWD_COMMAND}`; export r; \
23522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23523 $(HOST_EXPORTS) \
23524 for flag in $(EXTRA_HOST_FLAGS) ; do \
23525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23526 done; \
23527 echo "Doing distclean in time" ; \
23528 (cd $(HOST_SUBDIR)/time && \
23529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23531 "RANLIB=$${RANLIB}" \
23532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23533 distclean) \
23534 || exit 1
23536 @endif time
23538 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
23539 maybe-maintainer-clean-time:
23540 @if time
23541 maybe-maintainer-clean-time: maintainer-clean-time
23543 maintainer-clean-time:
23544 @[ -f ./time/Makefile ] || exit 0; \
23545 r=`${PWD_COMMAND}`; export r; \
23546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23547 $(HOST_EXPORTS) \
23548 for flag in $(EXTRA_HOST_FLAGS) ; do \
23549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23550 done; \
23551 echo "Doing maintainer-clean in time" ; \
23552 (cd $(HOST_SUBDIR)/time && \
23553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23555 "RANLIB=$${RANLIB}" \
23556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23557 maintainer-clean) \
23558 || exit 1
23560 @endif time
23564 .PHONY: configure-uudecode maybe-configure-uudecode
23565 maybe-configure-uudecode:
23566 @if uudecode
23567 maybe-configure-uudecode: configure-uudecode
23568 configure-uudecode:
23569 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
23570 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
23571 r=`${PWD_COMMAND}`; export r; \
23572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23573 $(HOST_EXPORTS) \
23574 echo Configuring in $(HOST_SUBDIR)/uudecode; \
23575 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
23576 case $(srcdir) in \
23577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23578 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
23579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23580 esac; \
23581 srcdiroption="--srcdir=$${topdir}/uudecode"; \
23582 libsrcdir="$$s/uudecode"; \
23583 $(SHELL) $${libsrcdir}/configure \
23584 $(HOST_CONFIGARGS) $${srcdiroption} \
23585 || exit 1
23586 @endif uudecode
23592 .PHONY: all-uudecode maybe-all-uudecode
23593 maybe-all-uudecode:
23594 @if uudecode
23595 TARGET-uudecode=all
23596 maybe-all-uudecode: all-uudecode
23597 all-uudecode: configure-uudecode
23598 @r=`${PWD_COMMAND}`; export r; \
23599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23600 $(HOST_EXPORTS) \
23601 (cd $(HOST_SUBDIR)/uudecode && \
23602 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
23603 @endif uudecode
23608 .PHONY: check-uudecode maybe-check-uudecode
23609 maybe-check-uudecode:
23610 @if uudecode
23611 maybe-check-uudecode: check-uudecode
23613 check-uudecode:
23614 @r=`${PWD_COMMAND}`; export r; \
23615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23616 $(HOST_EXPORTS) \
23617 (cd $(HOST_SUBDIR)/uudecode && \
23618 $(MAKE) $(FLAGS_TO_PASS) check)
23620 @endif uudecode
23622 .PHONY: install-uudecode maybe-install-uudecode
23623 maybe-install-uudecode:
23624 @if uudecode
23625 maybe-install-uudecode: install-uudecode
23627 install-uudecode: installdirs
23628 @r=`${PWD_COMMAND}`; export r; \
23629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23630 $(HOST_EXPORTS) \
23631 (cd $(HOST_SUBDIR)/uudecode && \
23632 $(MAKE) $(FLAGS_TO_PASS) install)
23634 @endif uudecode
23636 # Other targets (info, dvi, etc.)
23638 .PHONY: maybe-info-uudecode info-uudecode
23639 maybe-info-uudecode:
23640 @if uudecode
23641 maybe-info-uudecode: info-uudecode
23643 info-uudecode: \
23644 configure-uudecode
23645 @[ -f ./uudecode/Makefile ] || exit 0; \
23646 r=`${PWD_COMMAND}`; export r; \
23647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23648 $(HOST_EXPORTS) \
23649 for flag in $(EXTRA_HOST_FLAGS) ; do \
23650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23651 done; \
23652 echo "Doing info in uudecode" ; \
23653 (cd $(HOST_SUBDIR)/uudecode && \
23654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23656 "RANLIB=$${RANLIB}" \
23657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23658 info) \
23659 || exit 1
23661 @endif uudecode
23663 .PHONY: maybe-dvi-uudecode dvi-uudecode
23664 maybe-dvi-uudecode:
23665 @if uudecode
23666 maybe-dvi-uudecode: dvi-uudecode
23668 dvi-uudecode: \
23669 configure-uudecode
23670 @[ -f ./uudecode/Makefile ] || exit 0; \
23671 r=`${PWD_COMMAND}`; export r; \
23672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23673 $(HOST_EXPORTS) \
23674 for flag in $(EXTRA_HOST_FLAGS) ; do \
23675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23676 done; \
23677 echo "Doing dvi in uudecode" ; \
23678 (cd $(HOST_SUBDIR)/uudecode && \
23679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23681 "RANLIB=$${RANLIB}" \
23682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23683 dvi) \
23684 || exit 1
23686 @endif uudecode
23688 .PHONY: maybe-html-uudecode html-uudecode
23689 maybe-html-uudecode:
23690 @if uudecode
23691 maybe-html-uudecode: html-uudecode
23693 html-uudecode: \
23694 configure-uudecode
23695 @[ -f ./uudecode/Makefile ] || exit 0; \
23696 r=`${PWD_COMMAND}`; export r; \
23697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23698 $(HOST_EXPORTS) \
23699 for flag in $(EXTRA_HOST_FLAGS) ; do \
23700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23701 done; \
23702 echo "Doing html in uudecode" ; \
23703 (cd $(HOST_SUBDIR)/uudecode && \
23704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23706 "RANLIB=$${RANLIB}" \
23707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23708 html) \
23709 || exit 1
23711 @endif uudecode
23713 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
23714 maybe-TAGS-uudecode:
23715 @if uudecode
23716 maybe-TAGS-uudecode: TAGS-uudecode
23718 TAGS-uudecode: \
23719 configure-uudecode
23720 @[ -f ./uudecode/Makefile ] || exit 0; \
23721 r=`${PWD_COMMAND}`; export r; \
23722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23723 $(HOST_EXPORTS) \
23724 for flag in $(EXTRA_HOST_FLAGS) ; do \
23725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23726 done; \
23727 echo "Doing TAGS in uudecode" ; \
23728 (cd $(HOST_SUBDIR)/uudecode && \
23729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23731 "RANLIB=$${RANLIB}" \
23732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23733 TAGS) \
23734 || exit 1
23736 @endif uudecode
23738 .PHONY: maybe-install-info-uudecode install-info-uudecode
23739 maybe-install-info-uudecode:
23740 @if uudecode
23741 maybe-install-info-uudecode: install-info-uudecode
23743 install-info-uudecode: \
23744 configure-uudecode \
23745 info-uudecode
23746 @[ -f ./uudecode/Makefile ] || exit 0; \
23747 r=`${PWD_COMMAND}`; export r; \
23748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23749 $(HOST_EXPORTS) \
23750 for flag in $(EXTRA_HOST_FLAGS) ; do \
23751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23752 done; \
23753 echo "Doing install-info in uudecode" ; \
23754 (cd $(HOST_SUBDIR)/uudecode && \
23755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23757 "RANLIB=$${RANLIB}" \
23758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23759 install-info) \
23760 || exit 1
23762 @endif uudecode
23764 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
23765 maybe-installcheck-uudecode:
23766 @if uudecode
23767 maybe-installcheck-uudecode: installcheck-uudecode
23769 installcheck-uudecode: \
23770 configure-uudecode
23771 @[ -f ./uudecode/Makefile ] || exit 0; \
23772 r=`${PWD_COMMAND}`; export r; \
23773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23774 $(HOST_EXPORTS) \
23775 for flag in $(EXTRA_HOST_FLAGS) ; do \
23776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23777 done; \
23778 echo "Doing installcheck in uudecode" ; \
23779 (cd $(HOST_SUBDIR)/uudecode && \
23780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23782 "RANLIB=$${RANLIB}" \
23783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23784 installcheck) \
23785 || exit 1
23787 @endif uudecode
23789 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
23790 maybe-mostlyclean-uudecode:
23791 @if uudecode
23792 maybe-mostlyclean-uudecode: mostlyclean-uudecode
23794 mostlyclean-uudecode:
23795 @[ -f ./uudecode/Makefile ] || exit 0; \
23796 r=`${PWD_COMMAND}`; export r; \
23797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23798 $(HOST_EXPORTS) \
23799 for flag in $(EXTRA_HOST_FLAGS) ; do \
23800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23801 done; \
23802 echo "Doing mostlyclean in uudecode" ; \
23803 (cd $(HOST_SUBDIR)/uudecode && \
23804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23806 "RANLIB=$${RANLIB}" \
23807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23808 mostlyclean) \
23809 || exit 1
23811 @endif uudecode
23813 .PHONY: maybe-clean-uudecode clean-uudecode
23814 maybe-clean-uudecode:
23815 @if uudecode
23816 maybe-clean-uudecode: clean-uudecode
23818 clean-uudecode:
23819 @[ -f ./uudecode/Makefile ] || exit 0; \
23820 r=`${PWD_COMMAND}`; export r; \
23821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23822 $(HOST_EXPORTS) \
23823 for flag in $(EXTRA_HOST_FLAGS) ; do \
23824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23825 done; \
23826 echo "Doing clean in uudecode" ; \
23827 (cd $(HOST_SUBDIR)/uudecode && \
23828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23830 "RANLIB=$${RANLIB}" \
23831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23832 clean) \
23833 || exit 1
23835 @endif uudecode
23837 .PHONY: maybe-distclean-uudecode distclean-uudecode
23838 maybe-distclean-uudecode:
23839 @if uudecode
23840 maybe-distclean-uudecode: distclean-uudecode
23842 distclean-uudecode:
23843 @[ -f ./uudecode/Makefile ] || exit 0; \
23844 r=`${PWD_COMMAND}`; export r; \
23845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23846 $(HOST_EXPORTS) \
23847 for flag in $(EXTRA_HOST_FLAGS) ; do \
23848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23849 done; \
23850 echo "Doing distclean in uudecode" ; \
23851 (cd $(HOST_SUBDIR)/uudecode && \
23852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23854 "RANLIB=$${RANLIB}" \
23855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23856 distclean) \
23857 || exit 1
23859 @endif uudecode
23861 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
23862 maybe-maintainer-clean-uudecode:
23863 @if uudecode
23864 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
23866 maintainer-clean-uudecode:
23867 @[ -f ./uudecode/Makefile ] || exit 0; \
23868 r=`${PWD_COMMAND}`; export r; \
23869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23870 $(HOST_EXPORTS) \
23871 for flag in $(EXTRA_HOST_FLAGS) ; do \
23872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23873 done; \
23874 echo "Doing maintainer-clean in uudecode" ; \
23875 (cd $(HOST_SUBDIR)/uudecode && \
23876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23878 "RANLIB=$${RANLIB}" \
23879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23880 maintainer-clean) \
23881 || exit 1
23883 @endif uudecode
23887 .PHONY: configure-wdiff maybe-configure-wdiff
23888 maybe-configure-wdiff:
23889 @if wdiff
23890 maybe-configure-wdiff: configure-wdiff
23891 configure-wdiff:
23892 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
23893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
23894 r=`${PWD_COMMAND}`; export r; \
23895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23896 $(HOST_EXPORTS) \
23897 echo Configuring in $(HOST_SUBDIR)/wdiff; \
23898 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
23899 case $(srcdir) in \
23900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23901 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
23902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23903 esac; \
23904 srcdiroption="--srcdir=$${topdir}/wdiff"; \
23905 libsrcdir="$$s/wdiff"; \
23906 $(SHELL) $${libsrcdir}/configure \
23907 $(HOST_CONFIGARGS) $${srcdiroption} \
23908 || exit 1
23909 @endif wdiff
23915 .PHONY: all-wdiff maybe-all-wdiff
23916 maybe-all-wdiff:
23917 @if wdiff
23918 TARGET-wdiff=all
23919 maybe-all-wdiff: all-wdiff
23920 all-wdiff: configure-wdiff
23921 @r=`${PWD_COMMAND}`; export r; \
23922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23923 $(HOST_EXPORTS) \
23924 (cd $(HOST_SUBDIR)/wdiff && \
23925 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
23926 @endif wdiff
23931 .PHONY: check-wdiff maybe-check-wdiff
23932 maybe-check-wdiff:
23933 @if wdiff
23934 maybe-check-wdiff: check-wdiff
23936 check-wdiff:
23937 @r=`${PWD_COMMAND}`; export r; \
23938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23939 $(HOST_EXPORTS) \
23940 (cd $(HOST_SUBDIR)/wdiff && \
23941 $(MAKE) $(FLAGS_TO_PASS) check)
23943 @endif wdiff
23945 .PHONY: install-wdiff maybe-install-wdiff
23946 maybe-install-wdiff:
23947 @if wdiff
23948 maybe-install-wdiff: install-wdiff
23950 install-wdiff: installdirs
23951 @r=`${PWD_COMMAND}`; export r; \
23952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23953 $(HOST_EXPORTS) \
23954 (cd $(HOST_SUBDIR)/wdiff && \
23955 $(MAKE) $(FLAGS_TO_PASS) install)
23957 @endif wdiff
23959 # Other targets (info, dvi, etc.)
23961 .PHONY: maybe-info-wdiff info-wdiff
23962 maybe-info-wdiff:
23963 @if wdiff
23964 maybe-info-wdiff: info-wdiff
23966 info-wdiff: \
23967 configure-wdiff
23968 @[ -f ./wdiff/Makefile ] || exit 0; \
23969 r=`${PWD_COMMAND}`; export r; \
23970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23971 $(HOST_EXPORTS) \
23972 for flag in $(EXTRA_HOST_FLAGS) ; do \
23973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23974 done; \
23975 echo "Doing info in wdiff" ; \
23976 (cd $(HOST_SUBDIR)/wdiff && \
23977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23979 "RANLIB=$${RANLIB}" \
23980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23981 info) \
23982 || exit 1
23984 @endif wdiff
23986 .PHONY: maybe-dvi-wdiff dvi-wdiff
23987 maybe-dvi-wdiff:
23988 @if wdiff
23989 maybe-dvi-wdiff: dvi-wdiff
23991 dvi-wdiff: \
23992 configure-wdiff
23993 @[ -f ./wdiff/Makefile ] || exit 0; \
23994 r=`${PWD_COMMAND}`; export r; \
23995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23996 $(HOST_EXPORTS) \
23997 for flag in $(EXTRA_HOST_FLAGS) ; do \
23998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23999 done; \
24000 echo "Doing dvi in wdiff" ; \
24001 (cd $(HOST_SUBDIR)/wdiff && \
24002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24004 "RANLIB=$${RANLIB}" \
24005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24006 dvi) \
24007 || exit 1
24009 @endif wdiff
24011 .PHONY: maybe-html-wdiff html-wdiff
24012 maybe-html-wdiff:
24013 @if wdiff
24014 maybe-html-wdiff: html-wdiff
24016 html-wdiff: \
24017 configure-wdiff
24018 @[ -f ./wdiff/Makefile ] || exit 0; \
24019 r=`${PWD_COMMAND}`; export r; \
24020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24021 $(HOST_EXPORTS) \
24022 for flag in $(EXTRA_HOST_FLAGS) ; do \
24023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24024 done; \
24025 echo "Doing html in wdiff" ; \
24026 (cd $(HOST_SUBDIR)/wdiff && \
24027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24029 "RANLIB=$${RANLIB}" \
24030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24031 html) \
24032 || exit 1
24034 @endif wdiff
24036 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
24037 maybe-TAGS-wdiff:
24038 @if wdiff
24039 maybe-TAGS-wdiff: TAGS-wdiff
24041 TAGS-wdiff: \
24042 configure-wdiff
24043 @[ -f ./wdiff/Makefile ] || exit 0; \
24044 r=`${PWD_COMMAND}`; export r; \
24045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24046 $(HOST_EXPORTS) \
24047 for flag in $(EXTRA_HOST_FLAGS) ; do \
24048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24049 done; \
24050 echo "Doing TAGS in wdiff" ; \
24051 (cd $(HOST_SUBDIR)/wdiff && \
24052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24054 "RANLIB=$${RANLIB}" \
24055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24056 TAGS) \
24057 || exit 1
24059 @endif wdiff
24061 .PHONY: maybe-install-info-wdiff install-info-wdiff
24062 maybe-install-info-wdiff:
24063 @if wdiff
24064 maybe-install-info-wdiff: install-info-wdiff
24066 install-info-wdiff: \
24067 configure-wdiff \
24068 info-wdiff
24069 @[ -f ./wdiff/Makefile ] || exit 0; \
24070 r=`${PWD_COMMAND}`; export r; \
24071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24072 $(HOST_EXPORTS) \
24073 for flag in $(EXTRA_HOST_FLAGS) ; do \
24074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24075 done; \
24076 echo "Doing install-info in wdiff" ; \
24077 (cd $(HOST_SUBDIR)/wdiff && \
24078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24080 "RANLIB=$${RANLIB}" \
24081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24082 install-info) \
24083 || exit 1
24085 @endif wdiff
24087 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
24088 maybe-installcheck-wdiff:
24089 @if wdiff
24090 maybe-installcheck-wdiff: installcheck-wdiff
24092 installcheck-wdiff: \
24093 configure-wdiff
24094 @[ -f ./wdiff/Makefile ] || exit 0; \
24095 r=`${PWD_COMMAND}`; export r; \
24096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24097 $(HOST_EXPORTS) \
24098 for flag in $(EXTRA_HOST_FLAGS) ; do \
24099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24100 done; \
24101 echo "Doing installcheck in wdiff" ; \
24102 (cd $(HOST_SUBDIR)/wdiff && \
24103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24105 "RANLIB=$${RANLIB}" \
24106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24107 installcheck) \
24108 || exit 1
24110 @endif wdiff
24112 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
24113 maybe-mostlyclean-wdiff:
24114 @if wdiff
24115 maybe-mostlyclean-wdiff: mostlyclean-wdiff
24117 mostlyclean-wdiff:
24118 @[ -f ./wdiff/Makefile ] || exit 0; \
24119 r=`${PWD_COMMAND}`; export r; \
24120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24121 $(HOST_EXPORTS) \
24122 for flag in $(EXTRA_HOST_FLAGS) ; do \
24123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24124 done; \
24125 echo "Doing mostlyclean in wdiff" ; \
24126 (cd $(HOST_SUBDIR)/wdiff && \
24127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24129 "RANLIB=$${RANLIB}" \
24130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24131 mostlyclean) \
24132 || exit 1
24134 @endif wdiff
24136 .PHONY: maybe-clean-wdiff clean-wdiff
24137 maybe-clean-wdiff:
24138 @if wdiff
24139 maybe-clean-wdiff: clean-wdiff
24141 clean-wdiff:
24142 @[ -f ./wdiff/Makefile ] || exit 0; \
24143 r=`${PWD_COMMAND}`; export r; \
24144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24145 $(HOST_EXPORTS) \
24146 for flag in $(EXTRA_HOST_FLAGS) ; do \
24147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24148 done; \
24149 echo "Doing clean in wdiff" ; \
24150 (cd $(HOST_SUBDIR)/wdiff && \
24151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24153 "RANLIB=$${RANLIB}" \
24154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24155 clean) \
24156 || exit 1
24158 @endif wdiff
24160 .PHONY: maybe-distclean-wdiff distclean-wdiff
24161 maybe-distclean-wdiff:
24162 @if wdiff
24163 maybe-distclean-wdiff: distclean-wdiff
24165 distclean-wdiff:
24166 @[ -f ./wdiff/Makefile ] || exit 0; \
24167 r=`${PWD_COMMAND}`; export r; \
24168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24169 $(HOST_EXPORTS) \
24170 for flag in $(EXTRA_HOST_FLAGS) ; do \
24171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24172 done; \
24173 echo "Doing distclean in wdiff" ; \
24174 (cd $(HOST_SUBDIR)/wdiff && \
24175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24177 "RANLIB=$${RANLIB}" \
24178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24179 distclean) \
24180 || exit 1
24182 @endif wdiff
24184 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
24185 maybe-maintainer-clean-wdiff:
24186 @if wdiff
24187 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
24189 maintainer-clean-wdiff:
24190 @[ -f ./wdiff/Makefile ] || exit 0; \
24191 r=`${PWD_COMMAND}`; export r; \
24192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24193 $(HOST_EXPORTS) \
24194 for flag in $(EXTRA_HOST_FLAGS) ; do \
24195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24196 done; \
24197 echo "Doing maintainer-clean in wdiff" ; \
24198 (cd $(HOST_SUBDIR)/wdiff && \
24199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24201 "RANLIB=$${RANLIB}" \
24202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24203 maintainer-clean) \
24204 || exit 1
24206 @endif wdiff
24210 .PHONY: configure-zip maybe-configure-zip
24211 maybe-configure-zip:
24212 @if zip
24213 maybe-configure-zip: configure-zip
24214 configure-zip:
24215 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
24216 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
24217 r=`${PWD_COMMAND}`; export r; \
24218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24219 $(HOST_EXPORTS) \
24220 echo Configuring in $(HOST_SUBDIR)/zip; \
24221 cd "$(HOST_SUBDIR)/zip" || exit 1; \
24222 case $(srcdir) in \
24223 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24224 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
24225 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24226 esac; \
24227 srcdiroption="--srcdir=$${topdir}/zip"; \
24228 libsrcdir="$$s/zip"; \
24229 $(SHELL) $${libsrcdir}/configure \
24230 $(HOST_CONFIGARGS) $${srcdiroption} \
24231 || exit 1
24232 @endif zip
24238 .PHONY: all-zip maybe-all-zip
24239 maybe-all-zip:
24240 @if zip
24241 TARGET-zip=all
24242 maybe-all-zip: all-zip
24243 all-zip: configure-zip
24244 @r=`${PWD_COMMAND}`; export r; \
24245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24246 $(HOST_EXPORTS) \
24247 (cd $(HOST_SUBDIR)/zip && \
24248 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
24249 @endif zip
24254 .PHONY: check-zip maybe-check-zip
24255 maybe-check-zip:
24256 @if zip
24257 maybe-check-zip: check-zip
24259 # This module is only tested in a native toolchain.
24260 check-zip:
24261 @if [ '$(host)' = '$(target)' ] ; then \
24262 r=`${PWD_COMMAND}`; export r; \
24263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24264 $(HOST_EXPORTS) \
24265 (cd $(HOST_SUBDIR)/zip && \
24266 $(MAKE) $(FLAGS_TO_PASS) check); \
24269 @endif zip
24271 .PHONY: install-zip maybe-install-zip
24272 maybe-install-zip:
24273 @if zip
24274 maybe-install-zip: install-zip
24276 install-zip: installdirs
24277 @r=`${PWD_COMMAND}`; export r; \
24278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24279 $(HOST_EXPORTS) \
24280 (cd $(HOST_SUBDIR)/zip && \
24281 $(MAKE) $(FLAGS_TO_PASS) install)
24283 @endif zip
24285 # Other targets (info, dvi, etc.)
24287 .PHONY: maybe-info-zip info-zip
24288 maybe-info-zip:
24289 @if zip
24290 maybe-info-zip: info-zip
24292 info-zip: \
24293 configure-zip
24294 @[ -f ./zip/Makefile ] || exit 0; \
24295 r=`${PWD_COMMAND}`; export r; \
24296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24297 $(HOST_EXPORTS) \
24298 for flag in $(EXTRA_HOST_FLAGS) ; do \
24299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24300 done; \
24301 echo "Doing info in zip" ; \
24302 (cd $(HOST_SUBDIR)/zip && \
24303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24305 "RANLIB=$${RANLIB}" \
24306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24307 info) \
24308 || exit 1
24310 @endif zip
24312 .PHONY: maybe-dvi-zip dvi-zip
24313 maybe-dvi-zip:
24314 @if zip
24315 maybe-dvi-zip: dvi-zip
24317 dvi-zip: \
24318 configure-zip
24319 @[ -f ./zip/Makefile ] || exit 0; \
24320 r=`${PWD_COMMAND}`; export r; \
24321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24322 $(HOST_EXPORTS) \
24323 for flag in $(EXTRA_HOST_FLAGS) ; do \
24324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24325 done; \
24326 echo "Doing dvi in zip" ; \
24327 (cd $(HOST_SUBDIR)/zip && \
24328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24330 "RANLIB=$${RANLIB}" \
24331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24332 dvi) \
24333 || exit 1
24335 @endif zip
24337 .PHONY: maybe-html-zip html-zip
24338 maybe-html-zip:
24339 @if zip
24340 maybe-html-zip: html-zip
24342 html-zip: \
24343 configure-zip
24344 @[ -f ./zip/Makefile ] || exit 0; \
24345 r=`${PWD_COMMAND}`; export r; \
24346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24347 $(HOST_EXPORTS) \
24348 for flag in $(EXTRA_HOST_FLAGS) ; do \
24349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24350 done; \
24351 echo "Doing html in zip" ; \
24352 (cd $(HOST_SUBDIR)/zip && \
24353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24355 "RANLIB=$${RANLIB}" \
24356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24357 html) \
24358 || exit 1
24360 @endif zip
24362 .PHONY: maybe-TAGS-zip TAGS-zip
24363 maybe-TAGS-zip:
24364 @if zip
24365 maybe-TAGS-zip: TAGS-zip
24367 TAGS-zip: \
24368 configure-zip
24369 @[ -f ./zip/Makefile ] || exit 0; \
24370 r=`${PWD_COMMAND}`; export r; \
24371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24372 $(HOST_EXPORTS) \
24373 for flag in $(EXTRA_HOST_FLAGS) ; do \
24374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24375 done; \
24376 echo "Doing TAGS in zip" ; \
24377 (cd $(HOST_SUBDIR)/zip && \
24378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24380 "RANLIB=$${RANLIB}" \
24381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24382 TAGS) \
24383 || exit 1
24385 @endif zip
24387 .PHONY: maybe-install-info-zip install-info-zip
24388 maybe-install-info-zip:
24389 @if zip
24390 maybe-install-info-zip: install-info-zip
24392 install-info-zip: \
24393 configure-zip \
24394 info-zip
24395 @[ -f ./zip/Makefile ] || exit 0; \
24396 r=`${PWD_COMMAND}`; export r; \
24397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24398 $(HOST_EXPORTS) \
24399 for flag in $(EXTRA_HOST_FLAGS) ; do \
24400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24401 done; \
24402 echo "Doing install-info in zip" ; \
24403 (cd $(HOST_SUBDIR)/zip && \
24404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24406 "RANLIB=$${RANLIB}" \
24407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24408 install-info) \
24409 || exit 1
24411 @endif zip
24413 .PHONY: maybe-installcheck-zip installcheck-zip
24414 maybe-installcheck-zip:
24415 @if zip
24416 maybe-installcheck-zip: installcheck-zip
24418 installcheck-zip: \
24419 configure-zip
24420 @[ -f ./zip/Makefile ] || exit 0; \
24421 r=`${PWD_COMMAND}`; export r; \
24422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24423 $(HOST_EXPORTS) \
24424 for flag in $(EXTRA_HOST_FLAGS) ; do \
24425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24426 done; \
24427 echo "Doing installcheck in zip" ; \
24428 (cd $(HOST_SUBDIR)/zip && \
24429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24431 "RANLIB=$${RANLIB}" \
24432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24433 installcheck) \
24434 || exit 1
24436 @endif zip
24438 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
24439 maybe-mostlyclean-zip:
24440 @if zip
24441 maybe-mostlyclean-zip: mostlyclean-zip
24443 mostlyclean-zip:
24444 @[ -f ./zip/Makefile ] || exit 0; \
24445 r=`${PWD_COMMAND}`; export r; \
24446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24447 $(HOST_EXPORTS) \
24448 for flag in $(EXTRA_HOST_FLAGS) ; do \
24449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24450 done; \
24451 echo "Doing mostlyclean in zip" ; \
24452 (cd $(HOST_SUBDIR)/zip && \
24453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24455 "RANLIB=$${RANLIB}" \
24456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24457 mostlyclean) \
24458 || exit 1
24460 @endif zip
24462 .PHONY: maybe-clean-zip clean-zip
24463 maybe-clean-zip:
24464 @if zip
24465 maybe-clean-zip: clean-zip
24467 clean-zip:
24468 @[ -f ./zip/Makefile ] || exit 0; \
24469 r=`${PWD_COMMAND}`; export r; \
24470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24471 $(HOST_EXPORTS) \
24472 for flag in $(EXTRA_HOST_FLAGS) ; do \
24473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24474 done; \
24475 echo "Doing clean in zip" ; \
24476 (cd $(HOST_SUBDIR)/zip && \
24477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24479 "RANLIB=$${RANLIB}" \
24480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24481 clean) \
24482 || exit 1
24484 @endif zip
24486 .PHONY: maybe-distclean-zip distclean-zip
24487 maybe-distclean-zip:
24488 @if zip
24489 maybe-distclean-zip: distclean-zip
24491 distclean-zip:
24492 @[ -f ./zip/Makefile ] || exit 0; \
24493 r=`${PWD_COMMAND}`; export r; \
24494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24495 $(HOST_EXPORTS) \
24496 for flag in $(EXTRA_HOST_FLAGS) ; do \
24497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24498 done; \
24499 echo "Doing distclean in zip" ; \
24500 (cd $(HOST_SUBDIR)/zip && \
24501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24503 "RANLIB=$${RANLIB}" \
24504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24505 distclean) \
24506 || exit 1
24508 @endif zip
24510 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
24511 maybe-maintainer-clean-zip:
24512 @if zip
24513 maybe-maintainer-clean-zip: maintainer-clean-zip
24515 maintainer-clean-zip:
24516 @[ -f ./zip/Makefile ] || exit 0; \
24517 r=`${PWD_COMMAND}`; export r; \
24518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24519 $(HOST_EXPORTS) \
24520 for flag in $(EXTRA_HOST_FLAGS) ; do \
24521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24522 done; \
24523 echo "Doing maintainer-clean in zip" ; \
24524 (cd $(HOST_SUBDIR)/zip && \
24525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24527 "RANLIB=$${RANLIB}" \
24528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24529 maintainer-clean) \
24530 || exit 1
24532 @endif zip
24536 .PHONY: configure-zlib maybe-configure-zlib
24537 maybe-configure-zlib:
24538 @if zlib
24539 maybe-configure-zlib: configure-zlib
24540 configure-zlib:
24541 @test -f stage_last && exit 0; \
24542 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
24543 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
24544 r=`${PWD_COMMAND}`; export r; \
24545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24546 $(HOST_EXPORTS) \
24547 echo Configuring in $(HOST_SUBDIR)/zlib; \
24548 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
24549 case $(srcdir) in \
24550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24551 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24553 esac; \
24554 srcdiroption="--srcdir=$${topdir}/zlib"; \
24555 libsrcdir="$$s/zlib"; \
24556 $(SHELL) $${libsrcdir}/configure \
24557 $(HOST_CONFIGARGS) $${srcdiroption} \
24558 || exit 1
24559 @endif zlib
24563 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
24564 maybe-configure-stage1-zlib:
24565 @if zlib-bootstrap
24566 maybe-configure-stage1-zlib: configure-stage1-zlib
24567 configure-stage1-zlib:
24568 @$(MAKE) stage1-start
24569 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24570 r=`${PWD_COMMAND}`; export r; \
24571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24572 $(HOST_EXPORTS) \
24573 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
24574 cd $(HOST_SUBDIR)/zlib || exit 1; \
24575 case $(srcdir) in \
24576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24577 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24579 esac; \
24580 srcdiroption="--srcdir=$${topdir}/zlib"; \
24581 libsrcdir="$$s/zlib"; \
24582 $(SHELL) $${libsrcdir}/configure \
24583 $(HOST_CONFIGARGS) $${srcdiroption} \
24584 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
24585 @endif zlib-bootstrap
24587 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
24588 maybe-configure-stage2-zlib:
24589 @if zlib-bootstrap
24590 maybe-configure-stage2-zlib: configure-stage2-zlib
24591 configure-stage2-zlib:
24592 @$(MAKE) stage2-start
24593 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24594 r=`${PWD_COMMAND}`; export r; \
24595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24596 $(HOST_EXPORTS) \
24597 $(POSTSTAGE1_HOST_EXPORTS) \
24598 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
24599 cd $(HOST_SUBDIR)/zlib || exit 1; \
24600 case $(srcdir) in \
24601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24602 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24604 esac; \
24605 srcdiroption="--srcdir=$${topdir}/zlib"; \
24606 libsrcdir="$$s/zlib"; \
24607 $(SHELL) $${libsrcdir}/configure \
24608 $(HOST_CONFIGARGS) $${srcdiroption} \
24609 @stage2_werror_flag@
24610 @endif zlib-bootstrap
24612 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
24613 maybe-configure-stage3-zlib:
24614 @if zlib-bootstrap
24615 maybe-configure-stage3-zlib: configure-stage3-zlib
24616 configure-stage3-zlib:
24617 @$(MAKE) stage3-start
24618 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24619 r=`${PWD_COMMAND}`; export r; \
24620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24621 $(HOST_EXPORTS) \
24622 $(POSTSTAGE1_HOST_EXPORTS) \
24623 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
24624 cd $(HOST_SUBDIR)/zlib || exit 1; \
24625 case $(srcdir) in \
24626 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24627 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24628 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24629 esac; \
24630 srcdiroption="--srcdir=$${topdir}/zlib"; \
24631 libsrcdir="$$s/zlib"; \
24632 $(SHELL) $${libsrcdir}/configure \
24633 $(HOST_CONFIGARGS) $${srcdiroption} \
24634 @stage2_werror_flag@
24635 @endif zlib-bootstrap
24637 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
24638 maybe-configure-stage4-zlib:
24639 @if zlib-bootstrap
24640 maybe-configure-stage4-zlib: configure-stage4-zlib
24641 configure-stage4-zlib:
24642 @$(MAKE) stage4-start
24643 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24644 r=`${PWD_COMMAND}`; export r; \
24645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24646 $(HOST_EXPORTS) \
24647 $(POSTSTAGE1_HOST_EXPORTS) \
24648 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
24649 cd $(HOST_SUBDIR)/zlib || exit 1; \
24650 case $(srcdir) in \
24651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24652 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24654 esac; \
24655 srcdiroption="--srcdir=$${topdir}/zlib"; \
24656 libsrcdir="$$s/zlib"; \
24657 $(SHELL) $${libsrcdir}/configure \
24658 $(HOST_CONFIGARGS) $${srcdiroption} \
24659 @stage2_werror_flag@
24660 @endif zlib-bootstrap
24662 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
24663 maybe-configure-stageprofile-zlib:
24664 @if zlib-bootstrap
24665 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
24666 configure-stageprofile-zlib:
24667 @$(MAKE) stageprofile-start
24668 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24669 r=`${PWD_COMMAND}`; export r; \
24670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24671 $(HOST_EXPORTS) \
24672 $(POSTSTAGE1_HOST_EXPORTS) \
24673 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
24674 cd $(HOST_SUBDIR)/zlib || exit 1; \
24675 case $(srcdir) in \
24676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24677 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24679 esac; \
24680 srcdiroption="--srcdir=$${topdir}/zlib"; \
24681 libsrcdir="$$s/zlib"; \
24682 $(SHELL) $${libsrcdir}/configure \
24683 $(HOST_CONFIGARGS) $${srcdiroption} \
24684 @stage2_werror_flag@
24685 @endif zlib-bootstrap
24687 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
24688 maybe-configure-stagefeedback-zlib:
24689 @if zlib-bootstrap
24690 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
24691 configure-stagefeedback-zlib:
24692 @$(MAKE) stagefeedback-start
24693 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24694 r=`${PWD_COMMAND}`; export r; \
24695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24696 $(HOST_EXPORTS) \
24697 $(POSTSTAGE1_HOST_EXPORTS) \
24698 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
24699 cd $(HOST_SUBDIR)/zlib || exit 1; \
24700 case $(srcdir) in \
24701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24702 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24704 esac; \
24705 srcdiroption="--srcdir=$${topdir}/zlib"; \
24706 libsrcdir="$$s/zlib"; \
24707 $(SHELL) $${libsrcdir}/configure \
24708 $(HOST_CONFIGARGS) $${srcdiroption} \
24709 @stage2_werror_flag@
24710 @endif zlib-bootstrap
24716 .PHONY: all-zlib maybe-all-zlib
24717 maybe-all-zlib:
24718 @if zlib
24719 TARGET-zlib=all
24720 maybe-all-zlib: all-zlib
24721 all-zlib: configure-zlib
24722 @test -f stage_last && exit 0; \
24723 r=`${PWD_COMMAND}`; export r; \
24724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24725 $(HOST_EXPORTS) \
24726 (cd $(HOST_SUBDIR)/zlib && \
24727 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
24728 @endif zlib
24732 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
24733 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
24734 maybe-all-stage1-zlib:
24735 maybe-clean-stage1-zlib:
24736 @if zlib-bootstrap
24737 maybe-all-stage1-zlib: all-stage1-zlib
24738 all-stage1: all-stage1-zlib
24739 all-stage1-zlib: configure-stage1-zlib
24740 @$(MAKE) stage1-start
24741 @r=`${PWD_COMMAND}`; export r; \
24742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24743 $(HOST_EXPORTS) \
24744 cd $(HOST_SUBDIR)/zlib && \
24745 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
24747 maybe-clean-stage1-zlib: clean-stage1-zlib
24748 clean-stage1: clean-stage1-zlib
24749 clean-stage1-zlib:
24750 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
24751 || exit 0 ; \
24752 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage1-start ; \
24753 cd $(HOST_SUBDIR)/zlib && \
24754 $(MAKE) $(FLAGS_TO_PASS) \
24755 CFLAGS="$(STAGE1_CFLAGS)" clean
24756 @endif zlib-bootstrap
24759 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
24760 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
24761 maybe-all-stage2-zlib:
24762 maybe-clean-stage2-zlib:
24763 @if zlib-bootstrap
24764 maybe-all-stage2-zlib: all-stage2-zlib
24765 all-stage2: all-stage2-zlib
24766 all-stage2-zlib: configure-stage2-zlib
24767 @$(MAKE) stage2-start
24768 @r=`${PWD_COMMAND}`; export r; \
24769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24770 $(HOST_EXPORTS) \
24771 $(POSTSTAGE1_HOST_EXPORTS) \
24772 cd $(HOST_SUBDIR)/zlib && \
24773 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
24775 maybe-clean-stage2-zlib: clean-stage2-zlib
24776 clean-stage2: clean-stage2-zlib
24777 clean-stage2-zlib:
24778 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
24779 || exit 0 ; \
24780 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage2-start ; \
24781 cd $(HOST_SUBDIR)/zlib && \
24782 $(MAKE) $(FLAGS_TO_PASS) \
24783 $(POSTSTAGE1_FLAGS_TO_PASS) \
24784 clean
24785 @endif zlib-bootstrap
24788 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
24789 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
24790 maybe-all-stage3-zlib:
24791 maybe-clean-stage3-zlib:
24792 @if zlib-bootstrap
24793 maybe-all-stage3-zlib: all-stage3-zlib
24794 all-stage3: all-stage3-zlib
24795 all-stage3-zlib: configure-stage3-zlib
24796 @$(MAKE) stage3-start
24797 @r=`${PWD_COMMAND}`; export r; \
24798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24799 $(HOST_EXPORTS) \
24800 $(POSTSTAGE1_HOST_EXPORTS) \
24801 cd $(HOST_SUBDIR)/zlib && \
24802 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
24804 maybe-clean-stage3-zlib: clean-stage3-zlib
24805 clean-stage3: clean-stage3-zlib
24806 clean-stage3-zlib:
24807 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
24808 || exit 0 ; \
24809 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage3-start ; \
24810 cd $(HOST_SUBDIR)/zlib && \
24811 $(MAKE) $(FLAGS_TO_PASS) \
24812 $(POSTSTAGE1_FLAGS_TO_PASS) \
24813 clean
24814 @endif zlib-bootstrap
24817 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
24818 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
24819 maybe-all-stage4-zlib:
24820 maybe-clean-stage4-zlib:
24821 @if zlib-bootstrap
24822 maybe-all-stage4-zlib: all-stage4-zlib
24823 all-stage4: all-stage4-zlib
24824 all-stage4-zlib: configure-stage4-zlib
24825 @$(MAKE) stage4-start
24826 @r=`${PWD_COMMAND}`; export r; \
24827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24828 $(HOST_EXPORTS) \
24829 $(POSTSTAGE1_HOST_EXPORTS) \
24830 cd $(HOST_SUBDIR)/zlib && \
24831 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
24833 maybe-clean-stage4-zlib: clean-stage4-zlib
24834 clean-stage4: clean-stage4-zlib
24835 clean-stage4-zlib:
24836 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
24837 || exit 0 ; \
24838 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage4-start ; \
24839 cd $(HOST_SUBDIR)/zlib && \
24840 $(MAKE) $(FLAGS_TO_PASS) \
24841 $(POSTSTAGE1_FLAGS_TO_PASS) \
24842 clean
24843 @endif zlib-bootstrap
24846 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
24847 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
24848 maybe-all-stageprofile-zlib:
24849 maybe-clean-stageprofile-zlib:
24850 @if zlib-bootstrap
24851 maybe-all-stageprofile-zlib: all-stageprofile-zlib
24852 all-stageprofile: all-stageprofile-zlib
24853 all-stageprofile-zlib: configure-stageprofile-zlib
24854 @$(MAKE) stageprofile-start
24855 @r=`${PWD_COMMAND}`; export r; \
24856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24857 $(HOST_EXPORTS) \
24858 $(POSTSTAGE1_HOST_EXPORTS) \
24859 cd $(HOST_SUBDIR)/zlib && \
24860 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
24862 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
24863 clean-stageprofile: clean-stageprofile-zlib
24864 clean-stageprofile-zlib:
24865 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
24866 || exit 0 ; \
24867 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stageprofile-start ; \
24868 cd $(HOST_SUBDIR)/zlib && \
24869 $(MAKE) $(FLAGS_TO_PASS) \
24870 $(POSTSTAGE1_FLAGS_TO_PASS) \
24871 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
24872 @endif zlib-bootstrap
24875 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
24876 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
24877 maybe-all-stagefeedback-zlib:
24878 maybe-clean-stagefeedback-zlib:
24879 @if zlib-bootstrap
24880 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
24881 all-stagefeedback: all-stagefeedback-zlib
24882 all-stagefeedback-zlib: configure-stagefeedback-zlib
24883 @$(MAKE) stagefeedback-start
24884 @r=`${PWD_COMMAND}`; export r; \
24885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24886 $(HOST_EXPORTS) \
24887 $(POSTSTAGE1_HOST_EXPORTS) \
24888 cd $(HOST_SUBDIR)/zlib && \
24889 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
24891 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
24892 clean-stagefeedback: clean-stagefeedback-zlib
24893 clean-stagefeedback-zlib:
24894 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
24895 || exit 0 ; \
24896 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
24897 cd $(HOST_SUBDIR)/zlib && \
24898 $(MAKE) $(FLAGS_TO_PASS) \
24899 $(POSTSTAGE1_FLAGS_TO_PASS) \
24900 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
24901 @endif zlib-bootstrap
24907 .PHONY: check-zlib maybe-check-zlib
24908 maybe-check-zlib:
24909 @if zlib
24910 maybe-check-zlib: check-zlib
24912 check-zlib:
24914 @endif zlib
24916 .PHONY: install-zlib maybe-install-zlib
24917 maybe-install-zlib:
24918 @if zlib
24919 maybe-install-zlib: install-zlib
24921 install-zlib:
24923 @endif zlib
24925 # Other targets (info, dvi, etc.)
24927 .PHONY: maybe-info-zlib info-zlib
24928 maybe-info-zlib:
24929 @if zlib
24930 maybe-info-zlib: info-zlib
24932 info-zlib: \
24933 configure-zlib
24934 @[ -f ./zlib/Makefile ] || exit 0; \
24935 r=`${PWD_COMMAND}`; export r; \
24936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24937 $(HOST_EXPORTS) \
24938 for flag in $(EXTRA_HOST_FLAGS) ; do \
24939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24940 done; \
24941 echo "Doing info in zlib" ; \
24942 (cd $(HOST_SUBDIR)/zlib && \
24943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24945 "RANLIB=$${RANLIB}" \
24946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24947 info) \
24948 || exit 1
24950 @endif zlib
24952 .PHONY: maybe-dvi-zlib dvi-zlib
24953 maybe-dvi-zlib:
24954 @if zlib
24955 maybe-dvi-zlib: dvi-zlib
24957 dvi-zlib: \
24958 configure-zlib
24959 @[ -f ./zlib/Makefile ] || exit 0; \
24960 r=`${PWD_COMMAND}`; export r; \
24961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24962 $(HOST_EXPORTS) \
24963 for flag in $(EXTRA_HOST_FLAGS) ; do \
24964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24965 done; \
24966 echo "Doing dvi in zlib" ; \
24967 (cd $(HOST_SUBDIR)/zlib && \
24968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24970 "RANLIB=$${RANLIB}" \
24971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24972 dvi) \
24973 || exit 1
24975 @endif zlib
24977 .PHONY: maybe-html-zlib html-zlib
24978 maybe-html-zlib:
24979 @if zlib
24980 maybe-html-zlib: html-zlib
24982 html-zlib: \
24983 configure-zlib
24984 @[ -f ./zlib/Makefile ] || exit 0; \
24985 r=`${PWD_COMMAND}`; export r; \
24986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24987 $(HOST_EXPORTS) \
24988 for flag in $(EXTRA_HOST_FLAGS) ; do \
24989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24990 done; \
24991 echo "Doing html in zlib" ; \
24992 (cd $(HOST_SUBDIR)/zlib && \
24993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24995 "RANLIB=$${RANLIB}" \
24996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24997 html) \
24998 || exit 1
25000 @endif zlib
25002 .PHONY: maybe-TAGS-zlib TAGS-zlib
25003 maybe-TAGS-zlib:
25004 @if zlib
25005 maybe-TAGS-zlib: TAGS-zlib
25007 TAGS-zlib: \
25008 configure-zlib
25009 @[ -f ./zlib/Makefile ] || exit 0; \
25010 r=`${PWD_COMMAND}`; export r; \
25011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25012 $(HOST_EXPORTS) \
25013 for flag in $(EXTRA_HOST_FLAGS) ; do \
25014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25015 done; \
25016 echo "Doing TAGS in zlib" ; \
25017 (cd $(HOST_SUBDIR)/zlib && \
25018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25020 "RANLIB=$${RANLIB}" \
25021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25022 TAGS) \
25023 || exit 1
25025 @endif zlib
25027 .PHONY: maybe-install-info-zlib install-info-zlib
25028 maybe-install-info-zlib:
25029 @if zlib
25030 maybe-install-info-zlib: install-info-zlib
25032 install-info-zlib: \
25033 configure-zlib \
25034 info-zlib
25035 @[ -f ./zlib/Makefile ] || exit 0; \
25036 r=`${PWD_COMMAND}`; export r; \
25037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25038 $(HOST_EXPORTS) \
25039 for flag in $(EXTRA_HOST_FLAGS) ; do \
25040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25041 done; \
25042 echo "Doing install-info in zlib" ; \
25043 (cd $(HOST_SUBDIR)/zlib && \
25044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25046 "RANLIB=$${RANLIB}" \
25047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25048 install-info) \
25049 || exit 1
25051 @endif zlib
25053 .PHONY: maybe-installcheck-zlib installcheck-zlib
25054 maybe-installcheck-zlib:
25055 @if zlib
25056 maybe-installcheck-zlib: installcheck-zlib
25058 installcheck-zlib: \
25059 configure-zlib
25060 @[ -f ./zlib/Makefile ] || exit 0; \
25061 r=`${PWD_COMMAND}`; export r; \
25062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25063 $(HOST_EXPORTS) \
25064 for flag in $(EXTRA_HOST_FLAGS) ; do \
25065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25066 done; \
25067 echo "Doing installcheck in zlib" ; \
25068 (cd $(HOST_SUBDIR)/zlib && \
25069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25071 "RANLIB=$${RANLIB}" \
25072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25073 installcheck) \
25074 || exit 1
25076 @endif zlib
25078 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
25079 maybe-mostlyclean-zlib:
25080 @if zlib
25081 maybe-mostlyclean-zlib: mostlyclean-zlib
25083 mostlyclean-zlib:
25084 @[ -f ./zlib/Makefile ] || exit 0; \
25085 r=`${PWD_COMMAND}`; export r; \
25086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25087 $(HOST_EXPORTS) \
25088 for flag in $(EXTRA_HOST_FLAGS) ; do \
25089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25090 done; \
25091 echo "Doing mostlyclean in zlib" ; \
25092 (cd $(HOST_SUBDIR)/zlib && \
25093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25095 "RANLIB=$${RANLIB}" \
25096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25097 mostlyclean) \
25098 || exit 1
25100 @endif zlib
25102 .PHONY: maybe-clean-zlib clean-zlib
25103 maybe-clean-zlib:
25104 @if zlib
25105 maybe-clean-zlib: clean-zlib
25107 clean-zlib:
25108 @[ -f ./zlib/Makefile ] || exit 0; \
25109 r=`${PWD_COMMAND}`; export r; \
25110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25111 $(HOST_EXPORTS) \
25112 for flag in $(EXTRA_HOST_FLAGS) ; do \
25113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25114 done; \
25115 echo "Doing clean in zlib" ; \
25116 (cd $(HOST_SUBDIR)/zlib && \
25117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25119 "RANLIB=$${RANLIB}" \
25120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25121 clean) \
25122 || exit 1
25124 @endif zlib
25126 .PHONY: maybe-distclean-zlib distclean-zlib
25127 maybe-distclean-zlib:
25128 @if zlib
25129 maybe-distclean-zlib: distclean-zlib
25131 distclean-zlib:
25132 @[ -f ./zlib/Makefile ] || exit 0; \
25133 r=`${PWD_COMMAND}`; export r; \
25134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25135 $(HOST_EXPORTS) \
25136 for flag in $(EXTRA_HOST_FLAGS) ; do \
25137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25138 done; \
25139 echo "Doing distclean in zlib" ; \
25140 (cd $(HOST_SUBDIR)/zlib && \
25141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25143 "RANLIB=$${RANLIB}" \
25144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25145 distclean) \
25146 || exit 1
25148 @endif zlib
25150 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
25151 maybe-maintainer-clean-zlib:
25152 @if zlib
25153 maybe-maintainer-clean-zlib: maintainer-clean-zlib
25155 maintainer-clean-zlib:
25156 @[ -f ./zlib/Makefile ] || exit 0; \
25157 r=`${PWD_COMMAND}`; export r; \
25158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25159 $(HOST_EXPORTS) \
25160 for flag in $(EXTRA_HOST_FLAGS) ; do \
25161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25162 done; \
25163 echo "Doing maintainer-clean in zlib" ; \
25164 (cd $(HOST_SUBDIR)/zlib && \
25165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25167 "RANLIB=$${RANLIB}" \
25168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25169 maintainer-clean) \
25170 || exit 1
25172 @endif zlib
25176 .PHONY: configure-gdb maybe-configure-gdb
25177 maybe-configure-gdb:
25178 @if gdb
25179 maybe-configure-gdb: configure-gdb
25180 configure-gdb:
25181 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
25182 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
25183 r=`${PWD_COMMAND}`; export r; \
25184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25185 $(HOST_EXPORTS) \
25186 echo Configuring in $(HOST_SUBDIR)/gdb; \
25187 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
25188 case $(srcdir) in \
25189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25190 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
25191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25192 esac; \
25193 srcdiroption="--srcdir=$${topdir}/gdb"; \
25194 libsrcdir="$$s/gdb"; \
25195 $(SHELL) $${libsrcdir}/configure \
25196 $(HOST_CONFIGARGS) $${srcdiroption} \
25197 || exit 1
25198 @endif gdb
25204 .PHONY: all-gdb maybe-all-gdb
25205 maybe-all-gdb:
25206 @if gdb
25207 TARGET-gdb=all
25208 maybe-all-gdb: all-gdb
25209 all-gdb: configure-gdb
25210 @r=`${PWD_COMMAND}`; export r; \
25211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25212 $(HOST_EXPORTS) \
25213 (cd $(HOST_SUBDIR)/gdb && \
25214 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
25215 @endif gdb
25220 .PHONY: check-gdb maybe-check-gdb
25221 maybe-check-gdb:
25222 @if gdb
25223 maybe-check-gdb: check-gdb
25225 check-gdb:
25226 @r=`${PWD_COMMAND}`; export r; \
25227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25228 $(HOST_EXPORTS) \
25229 (cd $(HOST_SUBDIR)/gdb && \
25230 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
25232 @endif gdb
25234 .PHONY: install-gdb maybe-install-gdb
25235 maybe-install-gdb:
25236 @if gdb
25237 maybe-install-gdb: install-gdb
25239 install-gdb: installdirs
25240 @r=`${PWD_COMMAND}`; export r; \
25241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25242 $(HOST_EXPORTS) \
25243 (cd $(HOST_SUBDIR)/gdb && \
25244 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
25246 @endif gdb
25248 # Other targets (info, dvi, etc.)
25250 .PHONY: maybe-info-gdb info-gdb
25251 maybe-info-gdb:
25252 @if gdb
25253 maybe-info-gdb: info-gdb
25255 info-gdb: \
25256 configure-gdb
25257 @[ -f ./gdb/Makefile ] || exit 0; \
25258 r=`${PWD_COMMAND}`; export r; \
25259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25260 $(HOST_EXPORTS) \
25261 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25263 done; \
25264 echo "Doing info in gdb" ; \
25265 (cd $(HOST_SUBDIR)/gdb && \
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 info) \
25271 || exit 1
25273 @endif gdb
25275 .PHONY: maybe-dvi-gdb dvi-gdb
25276 maybe-dvi-gdb:
25277 @if gdb
25278 maybe-dvi-gdb: dvi-gdb
25280 dvi-gdb: \
25281 configure-gdb
25282 @[ -f ./gdb/Makefile ] || exit 0; \
25283 r=`${PWD_COMMAND}`; export r; \
25284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25285 $(HOST_EXPORTS) \
25286 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25288 done; \
25289 echo "Doing dvi in gdb" ; \
25290 (cd $(HOST_SUBDIR)/gdb && \
25291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25293 "RANLIB=$${RANLIB}" \
25294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25295 dvi) \
25296 || exit 1
25298 @endif gdb
25300 .PHONY: maybe-html-gdb html-gdb
25301 maybe-html-gdb:
25302 @if gdb
25303 maybe-html-gdb: html-gdb
25305 html-gdb: \
25306 configure-gdb
25307 @[ -f ./gdb/Makefile ] || exit 0; \
25308 r=`${PWD_COMMAND}`; export r; \
25309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25310 $(HOST_EXPORTS) \
25311 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25313 done; \
25314 echo "Doing html in gdb" ; \
25315 (cd $(HOST_SUBDIR)/gdb && \
25316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25318 "RANLIB=$${RANLIB}" \
25319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25320 html) \
25321 || exit 1
25323 @endif gdb
25325 .PHONY: maybe-TAGS-gdb TAGS-gdb
25326 maybe-TAGS-gdb:
25327 @if gdb
25328 maybe-TAGS-gdb: TAGS-gdb
25330 TAGS-gdb: \
25331 configure-gdb
25332 @[ -f ./gdb/Makefile ] || exit 0; \
25333 r=`${PWD_COMMAND}`; export r; \
25334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25335 $(HOST_EXPORTS) \
25336 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25338 done; \
25339 echo "Doing TAGS in gdb" ; \
25340 (cd $(HOST_SUBDIR)/gdb && \
25341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25343 "RANLIB=$${RANLIB}" \
25344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25345 TAGS) \
25346 || exit 1
25348 @endif gdb
25350 .PHONY: maybe-install-info-gdb install-info-gdb
25351 maybe-install-info-gdb:
25352 @if gdb
25353 maybe-install-info-gdb: install-info-gdb
25355 install-info-gdb: \
25356 configure-gdb \
25357 info-gdb
25358 @[ -f ./gdb/Makefile ] || exit 0; \
25359 r=`${PWD_COMMAND}`; export r; \
25360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25361 $(HOST_EXPORTS) \
25362 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25364 done; \
25365 echo "Doing install-info in gdb" ; \
25366 (cd $(HOST_SUBDIR)/gdb && \
25367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25369 "RANLIB=$${RANLIB}" \
25370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25371 install-info) \
25372 || exit 1
25374 @endif gdb
25376 .PHONY: maybe-installcheck-gdb installcheck-gdb
25377 maybe-installcheck-gdb:
25378 @if gdb
25379 maybe-installcheck-gdb: installcheck-gdb
25381 installcheck-gdb: \
25382 configure-gdb
25383 @[ -f ./gdb/Makefile ] || exit 0; \
25384 r=`${PWD_COMMAND}`; export r; \
25385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25386 $(HOST_EXPORTS) \
25387 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25389 done; \
25390 echo "Doing installcheck in gdb" ; \
25391 (cd $(HOST_SUBDIR)/gdb && \
25392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25394 "RANLIB=$${RANLIB}" \
25395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25396 installcheck) \
25397 || exit 1
25399 @endif gdb
25401 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
25402 maybe-mostlyclean-gdb:
25403 @if gdb
25404 maybe-mostlyclean-gdb: mostlyclean-gdb
25406 mostlyclean-gdb:
25407 @[ -f ./gdb/Makefile ] || exit 0; \
25408 r=`${PWD_COMMAND}`; export r; \
25409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25410 $(HOST_EXPORTS) \
25411 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25413 done; \
25414 echo "Doing mostlyclean in gdb" ; \
25415 (cd $(HOST_SUBDIR)/gdb && \
25416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25418 "RANLIB=$${RANLIB}" \
25419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25420 mostlyclean) \
25421 || exit 1
25423 @endif gdb
25425 .PHONY: maybe-clean-gdb clean-gdb
25426 maybe-clean-gdb:
25427 @if gdb
25428 maybe-clean-gdb: clean-gdb
25430 clean-gdb:
25431 @[ -f ./gdb/Makefile ] || exit 0; \
25432 r=`${PWD_COMMAND}`; export r; \
25433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25434 $(HOST_EXPORTS) \
25435 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25437 done; \
25438 echo "Doing clean in gdb" ; \
25439 (cd $(HOST_SUBDIR)/gdb && \
25440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25442 "RANLIB=$${RANLIB}" \
25443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25444 clean) \
25445 || exit 1
25447 @endif gdb
25449 .PHONY: maybe-distclean-gdb distclean-gdb
25450 maybe-distclean-gdb:
25451 @if gdb
25452 maybe-distclean-gdb: distclean-gdb
25454 distclean-gdb:
25455 @[ -f ./gdb/Makefile ] || exit 0; \
25456 r=`${PWD_COMMAND}`; export r; \
25457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25458 $(HOST_EXPORTS) \
25459 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25461 done; \
25462 echo "Doing distclean in gdb" ; \
25463 (cd $(HOST_SUBDIR)/gdb && \
25464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25466 "RANLIB=$${RANLIB}" \
25467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25468 distclean) \
25469 || exit 1
25471 @endif gdb
25473 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
25474 maybe-maintainer-clean-gdb:
25475 @if gdb
25476 maybe-maintainer-clean-gdb: maintainer-clean-gdb
25478 maintainer-clean-gdb:
25479 @[ -f ./gdb/Makefile ] || exit 0; \
25480 r=`${PWD_COMMAND}`; export r; \
25481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25482 $(HOST_EXPORTS) \
25483 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25485 done; \
25486 echo "Doing maintainer-clean in gdb" ; \
25487 (cd $(HOST_SUBDIR)/gdb && \
25488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25490 "RANLIB=$${RANLIB}" \
25491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25492 maintainer-clean) \
25493 || exit 1
25495 @endif gdb
25499 .PHONY: configure-expect maybe-configure-expect
25500 maybe-configure-expect:
25501 @if expect
25502 maybe-configure-expect: configure-expect
25503 configure-expect:
25504 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
25505 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
25506 r=`${PWD_COMMAND}`; export r; \
25507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25508 $(HOST_EXPORTS) \
25509 echo Configuring in $(HOST_SUBDIR)/expect; \
25510 cd "$(HOST_SUBDIR)/expect" || exit 1; \
25511 case $(srcdir) in \
25512 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25513 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
25514 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25515 esac; \
25516 srcdiroption="--srcdir=$${topdir}/expect"; \
25517 libsrcdir="$$s/expect"; \
25518 $(SHELL) $${libsrcdir}/configure \
25519 $(HOST_CONFIGARGS) $${srcdiroption} \
25520 || exit 1
25521 @endif expect
25527 .PHONY: all-expect maybe-all-expect
25528 maybe-all-expect:
25529 @if expect
25530 TARGET-expect=all
25531 maybe-all-expect: all-expect
25532 all-expect: configure-expect
25533 @r=`${PWD_COMMAND}`; export r; \
25534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25535 $(HOST_EXPORTS) \
25536 (cd $(HOST_SUBDIR)/expect && \
25537 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
25538 @endif expect
25543 .PHONY: check-expect maybe-check-expect
25544 maybe-check-expect:
25545 @if expect
25546 maybe-check-expect: check-expect
25548 check-expect:
25549 @r=`${PWD_COMMAND}`; export r; \
25550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25551 $(HOST_EXPORTS) \
25552 (cd $(HOST_SUBDIR)/expect && \
25553 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
25555 @endif expect
25557 .PHONY: install-expect maybe-install-expect
25558 maybe-install-expect:
25559 @if expect
25560 maybe-install-expect: install-expect
25562 install-expect: installdirs
25563 @r=`${PWD_COMMAND}`; export r; \
25564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25565 $(HOST_EXPORTS) \
25566 (cd $(HOST_SUBDIR)/expect && \
25567 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
25569 @endif expect
25571 # Other targets (info, dvi, etc.)
25573 .PHONY: maybe-info-expect info-expect
25574 maybe-info-expect:
25575 @if expect
25576 maybe-info-expect: info-expect
25578 info-expect: \
25579 configure-expect
25580 @[ -f ./expect/Makefile ] || exit 0; \
25581 r=`${PWD_COMMAND}`; export r; \
25582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25583 $(HOST_EXPORTS) \
25584 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25586 done; \
25587 echo "Doing info in expect" ; \
25588 (cd $(HOST_SUBDIR)/expect && \
25589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25591 "RANLIB=$${RANLIB}" \
25592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25593 info) \
25594 || exit 1
25596 @endif expect
25598 .PHONY: maybe-dvi-expect dvi-expect
25599 maybe-dvi-expect:
25600 @if expect
25601 maybe-dvi-expect: dvi-expect
25603 dvi-expect: \
25604 configure-expect
25605 @[ -f ./expect/Makefile ] || exit 0; \
25606 r=`${PWD_COMMAND}`; export r; \
25607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25608 $(HOST_EXPORTS) \
25609 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25611 done; \
25612 echo "Doing dvi in expect" ; \
25613 (cd $(HOST_SUBDIR)/expect && \
25614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25616 "RANLIB=$${RANLIB}" \
25617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25618 dvi) \
25619 || exit 1
25621 @endif expect
25623 .PHONY: maybe-html-expect html-expect
25624 maybe-html-expect:
25625 @if expect
25626 maybe-html-expect: html-expect
25628 html-expect: \
25629 configure-expect
25630 @[ -f ./expect/Makefile ] || exit 0; \
25631 r=`${PWD_COMMAND}`; export r; \
25632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25633 $(HOST_EXPORTS) \
25634 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25636 done; \
25637 echo "Doing html in expect" ; \
25638 (cd $(HOST_SUBDIR)/expect && \
25639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25641 "RANLIB=$${RANLIB}" \
25642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25643 html) \
25644 || exit 1
25646 @endif expect
25648 .PHONY: maybe-TAGS-expect TAGS-expect
25649 maybe-TAGS-expect:
25650 @if expect
25651 maybe-TAGS-expect: TAGS-expect
25653 TAGS-expect: \
25654 configure-expect
25655 @[ -f ./expect/Makefile ] || exit 0; \
25656 r=`${PWD_COMMAND}`; export r; \
25657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25658 $(HOST_EXPORTS) \
25659 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25661 done; \
25662 echo "Doing TAGS in expect" ; \
25663 (cd $(HOST_SUBDIR)/expect && \
25664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25666 "RANLIB=$${RANLIB}" \
25667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25668 TAGS) \
25669 || exit 1
25671 @endif expect
25673 .PHONY: maybe-install-info-expect install-info-expect
25674 maybe-install-info-expect:
25675 @if expect
25676 maybe-install-info-expect: install-info-expect
25678 install-info-expect: \
25679 configure-expect \
25680 info-expect
25681 @[ -f ./expect/Makefile ] || exit 0; \
25682 r=`${PWD_COMMAND}`; export r; \
25683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25684 $(HOST_EXPORTS) \
25685 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25687 done; \
25688 echo "Doing install-info in expect" ; \
25689 (cd $(HOST_SUBDIR)/expect && \
25690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25692 "RANLIB=$${RANLIB}" \
25693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25694 install-info) \
25695 || exit 1
25697 @endif expect
25699 .PHONY: maybe-installcheck-expect installcheck-expect
25700 maybe-installcheck-expect:
25701 @if expect
25702 maybe-installcheck-expect: installcheck-expect
25704 installcheck-expect: \
25705 configure-expect
25706 @[ -f ./expect/Makefile ] || exit 0; \
25707 r=`${PWD_COMMAND}`; export r; \
25708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25709 $(HOST_EXPORTS) \
25710 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25712 done; \
25713 echo "Doing installcheck in expect" ; \
25714 (cd $(HOST_SUBDIR)/expect && \
25715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25717 "RANLIB=$${RANLIB}" \
25718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25719 installcheck) \
25720 || exit 1
25722 @endif expect
25724 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
25725 maybe-mostlyclean-expect:
25726 @if expect
25727 maybe-mostlyclean-expect: mostlyclean-expect
25729 mostlyclean-expect:
25730 @[ -f ./expect/Makefile ] || exit 0; \
25731 r=`${PWD_COMMAND}`; export r; \
25732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25733 $(HOST_EXPORTS) \
25734 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25736 done; \
25737 echo "Doing mostlyclean in expect" ; \
25738 (cd $(HOST_SUBDIR)/expect && \
25739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25741 "RANLIB=$${RANLIB}" \
25742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25743 mostlyclean) \
25744 || exit 1
25746 @endif expect
25748 .PHONY: maybe-clean-expect clean-expect
25749 maybe-clean-expect:
25750 @if expect
25751 maybe-clean-expect: clean-expect
25753 clean-expect:
25754 @[ -f ./expect/Makefile ] || exit 0; \
25755 r=`${PWD_COMMAND}`; export r; \
25756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25757 $(HOST_EXPORTS) \
25758 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25760 done; \
25761 echo "Doing clean in expect" ; \
25762 (cd $(HOST_SUBDIR)/expect && \
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 clean) \
25768 || exit 1
25770 @endif expect
25772 .PHONY: maybe-distclean-expect distclean-expect
25773 maybe-distclean-expect:
25774 @if expect
25775 maybe-distclean-expect: distclean-expect
25777 distclean-expect:
25778 @[ -f ./expect/Makefile ] || exit 0; \
25779 r=`${PWD_COMMAND}`; export r; \
25780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25781 $(HOST_EXPORTS) \
25782 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25784 done; \
25785 echo "Doing distclean in expect" ; \
25786 (cd $(HOST_SUBDIR)/expect && \
25787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25789 "RANLIB=$${RANLIB}" \
25790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25791 distclean) \
25792 || exit 1
25794 @endif expect
25796 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
25797 maybe-maintainer-clean-expect:
25798 @if expect
25799 maybe-maintainer-clean-expect: maintainer-clean-expect
25801 maintainer-clean-expect:
25802 @[ -f ./expect/Makefile ] || exit 0; \
25803 r=`${PWD_COMMAND}`; export r; \
25804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25805 $(HOST_EXPORTS) \
25806 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25808 done; \
25809 echo "Doing maintainer-clean in expect" ; \
25810 (cd $(HOST_SUBDIR)/expect && \
25811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25813 "RANLIB=$${RANLIB}" \
25814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25815 maintainer-clean) \
25816 || exit 1
25818 @endif expect
25822 .PHONY: configure-guile maybe-configure-guile
25823 maybe-configure-guile:
25824 @if guile
25825 maybe-configure-guile: configure-guile
25826 configure-guile:
25827 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
25828 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
25829 r=`${PWD_COMMAND}`; export r; \
25830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25831 $(HOST_EXPORTS) \
25832 echo Configuring in $(HOST_SUBDIR)/guile; \
25833 cd "$(HOST_SUBDIR)/guile" || exit 1; \
25834 case $(srcdir) in \
25835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25836 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
25837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25838 esac; \
25839 srcdiroption="--srcdir=$${topdir}/guile"; \
25840 libsrcdir="$$s/guile"; \
25841 $(SHELL) $${libsrcdir}/configure \
25842 $(HOST_CONFIGARGS) $${srcdiroption} \
25843 || exit 1
25844 @endif guile
25850 .PHONY: all-guile maybe-all-guile
25851 maybe-all-guile:
25852 @if guile
25853 TARGET-guile=all
25854 maybe-all-guile: all-guile
25855 all-guile: configure-guile
25856 @r=`${PWD_COMMAND}`; export r; \
25857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25858 $(HOST_EXPORTS) \
25859 (cd $(HOST_SUBDIR)/guile && \
25860 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
25861 @endif guile
25866 .PHONY: check-guile maybe-check-guile
25867 maybe-check-guile:
25868 @if guile
25869 maybe-check-guile: check-guile
25871 check-guile:
25872 @r=`${PWD_COMMAND}`; export r; \
25873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25874 $(HOST_EXPORTS) \
25875 (cd $(HOST_SUBDIR)/guile && \
25876 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
25878 @endif guile
25880 .PHONY: install-guile maybe-install-guile
25881 maybe-install-guile:
25882 @if guile
25883 maybe-install-guile: install-guile
25885 install-guile: installdirs
25886 @r=`${PWD_COMMAND}`; export r; \
25887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25888 $(HOST_EXPORTS) \
25889 (cd $(HOST_SUBDIR)/guile && \
25890 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
25892 @endif guile
25894 # Other targets (info, dvi, etc.)
25896 .PHONY: maybe-info-guile info-guile
25897 maybe-info-guile:
25898 @if guile
25899 maybe-info-guile: info-guile
25901 info-guile: \
25902 configure-guile
25903 @[ -f ./guile/Makefile ] || exit 0; \
25904 r=`${PWD_COMMAND}`; export r; \
25905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25906 $(HOST_EXPORTS) \
25907 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25909 done; \
25910 echo "Doing info in guile" ; \
25911 (cd $(HOST_SUBDIR)/guile && \
25912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25914 "RANLIB=$${RANLIB}" \
25915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25916 info) \
25917 || exit 1
25919 @endif guile
25921 .PHONY: maybe-dvi-guile dvi-guile
25922 maybe-dvi-guile:
25923 @if guile
25924 maybe-dvi-guile: dvi-guile
25926 dvi-guile: \
25927 configure-guile
25928 @[ -f ./guile/Makefile ] || exit 0; \
25929 r=`${PWD_COMMAND}`; export r; \
25930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25931 $(HOST_EXPORTS) \
25932 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25934 done; \
25935 echo "Doing dvi in guile" ; \
25936 (cd $(HOST_SUBDIR)/guile && \
25937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25939 "RANLIB=$${RANLIB}" \
25940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25941 dvi) \
25942 || exit 1
25944 @endif guile
25946 .PHONY: maybe-html-guile html-guile
25947 maybe-html-guile:
25948 @if guile
25949 maybe-html-guile: html-guile
25951 html-guile: \
25952 configure-guile
25953 @[ -f ./guile/Makefile ] || exit 0; \
25954 r=`${PWD_COMMAND}`; export r; \
25955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25956 $(HOST_EXPORTS) \
25957 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25959 done; \
25960 echo "Doing html in guile" ; \
25961 (cd $(HOST_SUBDIR)/guile && \
25962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25964 "RANLIB=$${RANLIB}" \
25965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25966 html) \
25967 || exit 1
25969 @endif guile
25971 .PHONY: maybe-TAGS-guile TAGS-guile
25972 maybe-TAGS-guile:
25973 @if guile
25974 maybe-TAGS-guile: TAGS-guile
25976 TAGS-guile: \
25977 configure-guile
25978 @[ -f ./guile/Makefile ] || exit 0; \
25979 r=`${PWD_COMMAND}`; export r; \
25980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25981 $(HOST_EXPORTS) \
25982 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25984 done; \
25985 echo "Doing TAGS in guile" ; \
25986 (cd $(HOST_SUBDIR)/guile && \
25987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25989 "RANLIB=$${RANLIB}" \
25990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25991 TAGS) \
25992 || exit 1
25994 @endif guile
25996 .PHONY: maybe-install-info-guile install-info-guile
25997 maybe-install-info-guile:
25998 @if guile
25999 maybe-install-info-guile: install-info-guile
26001 install-info-guile: \
26002 configure-guile \
26003 info-guile
26004 @[ -f ./guile/Makefile ] || exit 0; \
26005 r=`${PWD_COMMAND}`; export r; \
26006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26007 $(HOST_EXPORTS) \
26008 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26010 done; \
26011 echo "Doing install-info in guile" ; \
26012 (cd $(HOST_SUBDIR)/guile && \
26013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26015 "RANLIB=$${RANLIB}" \
26016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26017 install-info) \
26018 || exit 1
26020 @endif guile
26022 .PHONY: maybe-installcheck-guile installcheck-guile
26023 maybe-installcheck-guile:
26024 @if guile
26025 maybe-installcheck-guile: installcheck-guile
26027 installcheck-guile: \
26028 configure-guile
26029 @[ -f ./guile/Makefile ] || exit 0; \
26030 r=`${PWD_COMMAND}`; export r; \
26031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26032 $(HOST_EXPORTS) \
26033 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26035 done; \
26036 echo "Doing installcheck in guile" ; \
26037 (cd $(HOST_SUBDIR)/guile && \
26038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26040 "RANLIB=$${RANLIB}" \
26041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26042 installcheck) \
26043 || exit 1
26045 @endif guile
26047 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
26048 maybe-mostlyclean-guile:
26049 @if guile
26050 maybe-mostlyclean-guile: mostlyclean-guile
26052 mostlyclean-guile:
26053 @[ -f ./guile/Makefile ] || exit 0; \
26054 r=`${PWD_COMMAND}`; export r; \
26055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26056 $(HOST_EXPORTS) \
26057 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26059 done; \
26060 echo "Doing mostlyclean in guile" ; \
26061 (cd $(HOST_SUBDIR)/guile && \
26062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26064 "RANLIB=$${RANLIB}" \
26065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26066 mostlyclean) \
26067 || exit 1
26069 @endif guile
26071 .PHONY: maybe-clean-guile clean-guile
26072 maybe-clean-guile:
26073 @if guile
26074 maybe-clean-guile: clean-guile
26076 clean-guile:
26077 @[ -f ./guile/Makefile ] || exit 0; \
26078 r=`${PWD_COMMAND}`; export r; \
26079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26080 $(HOST_EXPORTS) \
26081 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26083 done; \
26084 echo "Doing clean in guile" ; \
26085 (cd $(HOST_SUBDIR)/guile && \
26086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26088 "RANLIB=$${RANLIB}" \
26089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26090 clean) \
26091 || exit 1
26093 @endif guile
26095 .PHONY: maybe-distclean-guile distclean-guile
26096 maybe-distclean-guile:
26097 @if guile
26098 maybe-distclean-guile: distclean-guile
26100 distclean-guile:
26101 @[ -f ./guile/Makefile ] || exit 0; \
26102 r=`${PWD_COMMAND}`; export r; \
26103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26104 $(HOST_EXPORTS) \
26105 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26107 done; \
26108 echo "Doing distclean in guile" ; \
26109 (cd $(HOST_SUBDIR)/guile && \
26110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26112 "RANLIB=$${RANLIB}" \
26113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26114 distclean) \
26115 || exit 1
26117 @endif guile
26119 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
26120 maybe-maintainer-clean-guile:
26121 @if guile
26122 maybe-maintainer-clean-guile: maintainer-clean-guile
26124 maintainer-clean-guile:
26125 @[ -f ./guile/Makefile ] || exit 0; \
26126 r=`${PWD_COMMAND}`; export r; \
26127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26128 $(HOST_EXPORTS) \
26129 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26131 done; \
26132 echo "Doing maintainer-clean in guile" ; \
26133 (cd $(HOST_SUBDIR)/guile && \
26134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26136 "RANLIB=$${RANLIB}" \
26137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26138 maintainer-clean) \
26139 || exit 1
26141 @endif guile
26145 .PHONY: configure-tk maybe-configure-tk
26146 maybe-configure-tk:
26147 @if tk
26148 maybe-configure-tk: configure-tk
26149 configure-tk:
26150 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
26151 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
26152 r=`${PWD_COMMAND}`; export r; \
26153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26154 $(HOST_EXPORTS) \
26155 echo Configuring in $(HOST_SUBDIR)/tk; \
26156 cd "$(HOST_SUBDIR)/tk" || exit 1; \
26157 case $(srcdir) in \
26158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26159 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
26160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26161 esac; \
26162 srcdiroption="--srcdir=$${topdir}/tk"; \
26163 libsrcdir="$$s/tk"; \
26164 $(SHELL) $${libsrcdir}/configure \
26165 $(HOST_CONFIGARGS) $${srcdiroption} \
26166 || exit 1
26167 @endif tk
26173 .PHONY: all-tk maybe-all-tk
26174 maybe-all-tk:
26175 @if tk
26176 TARGET-tk=all
26177 maybe-all-tk: all-tk
26178 all-tk: configure-tk
26179 @r=`${PWD_COMMAND}`; export r; \
26180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26181 $(HOST_EXPORTS) \
26182 (cd $(HOST_SUBDIR)/tk && \
26183 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
26184 @endif tk
26189 .PHONY: check-tk maybe-check-tk
26190 maybe-check-tk:
26191 @if tk
26192 maybe-check-tk: check-tk
26194 check-tk:
26195 @r=`${PWD_COMMAND}`; export r; \
26196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26197 $(HOST_EXPORTS) \
26198 (cd $(HOST_SUBDIR)/tk && \
26199 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26201 @endif tk
26203 .PHONY: install-tk maybe-install-tk
26204 maybe-install-tk:
26205 @if tk
26206 maybe-install-tk: install-tk
26208 install-tk: installdirs
26209 @r=`${PWD_COMMAND}`; export r; \
26210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26211 $(HOST_EXPORTS) \
26212 (cd $(HOST_SUBDIR)/tk && \
26213 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26215 @endif tk
26217 # Other targets (info, dvi, etc.)
26219 .PHONY: maybe-info-tk info-tk
26220 maybe-info-tk:
26221 @if tk
26222 maybe-info-tk: info-tk
26224 info-tk: \
26225 configure-tk
26226 @[ -f ./tk/Makefile ] || exit 0; \
26227 r=`${PWD_COMMAND}`; export r; \
26228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26229 $(HOST_EXPORTS) \
26230 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26232 done; \
26233 echo "Doing info in tk" ; \
26234 (cd $(HOST_SUBDIR)/tk && \
26235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26237 "RANLIB=$${RANLIB}" \
26238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26239 info) \
26240 || exit 1
26242 @endif tk
26244 .PHONY: maybe-dvi-tk dvi-tk
26245 maybe-dvi-tk:
26246 @if tk
26247 maybe-dvi-tk: dvi-tk
26249 dvi-tk: \
26250 configure-tk
26251 @[ -f ./tk/Makefile ] || exit 0; \
26252 r=`${PWD_COMMAND}`; export r; \
26253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26254 $(HOST_EXPORTS) \
26255 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26257 done; \
26258 echo "Doing dvi in tk" ; \
26259 (cd $(HOST_SUBDIR)/tk && \
26260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26262 "RANLIB=$${RANLIB}" \
26263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26264 dvi) \
26265 || exit 1
26267 @endif tk
26269 .PHONY: maybe-html-tk html-tk
26270 maybe-html-tk:
26271 @if tk
26272 maybe-html-tk: html-tk
26274 html-tk: \
26275 configure-tk
26276 @[ -f ./tk/Makefile ] || exit 0; \
26277 r=`${PWD_COMMAND}`; export r; \
26278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26279 $(HOST_EXPORTS) \
26280 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26282 done; \
26283 echo "Doing html in tk" ; \
26284 (cd $(HOST_SUBDIR)/tk && \
26285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26287 "RANLIB=$${RANLIB}" \
26288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26289 html) \
26290 || exit 1
26292 @endif tk
26294 .PHONY: maybe-TAGS-tk TAGS-tk
26295 maybe-TAGS-tk:
26296 @if tk
26297 maybe-TAGS-tk: TAGS-tk
26299 TAGS-tk: \
26300 configure-tk
26301 @[ -f ./tk/Makefile ] || exit 0; \
26302 r=`${PWD_COMMAND}`; export r; \
26303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26304 $(HOST_EXPORTS) \
26305 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26307 done; \
26308 echo "Doing TAGS in tk" ; \
26309 (cd $(HOST_SUBDIR)/tk && \
26310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26312 "RANLIB=$${RANLIB}" \
26313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26314 TAGS) \
26315 || exit 1
26317 @endif tk
26319 .PHONY: maybe-install-info-tk install-info-tk
26320 maybe-install-info-tk:
26321 @if tk
26322 maybe-install-info-tk: install-info-tk
26324 install-info-tk: \
26325 configure-tk \
26326 info-tk
26327 @[ -f ./tk/Makefile ] || exit 0; \
26328 r=`${PWD_COMMAND}`; export r; \
26329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26330 $(HOST_EXPORTS) \
26331 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26333 done; \
26334 echo "Doing install-info in tk" ; \
26335 (cd $(HOST_SUBDIR)/tk && \
26336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26338 "RANLIB=$${RANLIB}" \
26339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26340 install-info) \
26341 || exit 1
26343 @endif tk
26345 .PHONY: maybe-installcheck-tk installcheck-tk
26346 maybe-installcheck-tk:
26347 @if tk
26348 maybe-installcheck-tk: installcheck-tk
26350 installcheck-tk: \
26351 configure-tk
26352 @[ -f ./tk/Makefile ] || exit 0; \
26353 r=`${PWD_COMMAND}`; export r; \
26354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26355 $(HOST_EXPORTS) \
26356 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26358 done; \
26359 echo "Doing installcheck in tk" ; \
26360 (cd $(HOST_SUBDIR)/tk && \
26361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26363 "RANLIB=$${RANLIB}" \
26364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26365 installcheck) \
26366 || exit 1
26368 @endif tk
26370 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
26371 maybe-mostlyclean-tk:
26372 @if tk
26373 maybe-mostlyclean-tk: mostlyclean-tk
26375 mostlyclean-tk:
26376 @[ -f ./tk/Makefile ] || exit 0; \
26377 r=`${PWD_COMMAND}`; export r; \
26378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26379 $(HOST_EXPORTS) \
26380 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26382 done; \
26383 echo "Doing mostlyclean in tk" ; \
26384 (cd $(HOST_SUBDIR)/tk && \
26385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26387 "RANLIB=$${RANLIB}" \
26388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26389 mostlyclean) \
26390 || exit 1
26392 @endif tk
26394 .PHONY: maybe-clean-tk clean-tk
26395 maybe-clean-tk:
26396 @if tk
26397 maybe-clean-tk: clean-tk
26399 clean-tk:
26400 @[ -f ./tk/Makefile ] || exit 0; \
26401 r=`${PWD_COMMAND}`; export r; \
26402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26403 $(HOST_EXPORTS) \
26404 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26406 done; \
26407 echo "Doing clean in tk" ; \
26408 (cd $(HOST_SUBDIR)/tk && \
26409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26411 "RANLIB=$${RANLIB}" \
26412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26413 clean) \
26414 || exit 1
26416 @endif tk
26418 .PHONY: maybe-distclean-tk distclean-tk
26419 maybe-distclean-tk:
26420 @if tk
26421 maybe-distclean-tk: distclean-tk
26423 distclean-tk:
26424 @[ -f ./tk/Makefile ] || exit 0; \
26425 r=`${PWD_COMMAND}`; export r; \
26426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26427 $(HOST_EXPORTS) \
26428 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26430 done; \
26431 echo "Doing distclean in tk" ; \
26432 (cd $(HOST_SUBDIR)/tk && \
26433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26435 "RANLIB=$${RANLIB}" \
26436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26437 distclean) \
26438 || exit 1
26440 @endif tk
26442 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
26443 maybe-maintainer-clean-tk:
26444 @if tk
26445 maybe-maintainer-clean-tk: maintainer-clean-tk
26447 maintainer-clean-tk:
26448 @[ -f ./tk/Makefile ] || exit 0; \
26449 r=`${PWD_COMMAND}`; export r; \
26450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26451 $(HOST_EXPORTS) \
26452 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26454 done; \
26455 echo "Doing maintainer-clean in tk" ; \
26456 (cd $(HOST_SUBDIR)/tk && \
26457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26459 "RANLIB=$${RANLIB}" \
26460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26461 maintainer-clean) \
26462 || exit 1
26464 @endif tk
26468 .PHONY: configure-libtermcap maybe-configure-libtermcap
26469 maybe-configure-libtermcap:
26470 @if libtermcap
26471 maybe-configure-libtermcap: configure-libtermcap
26472 configure-libtermcap:
26473 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
26474 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
26475 r=`${PWD_COMMAND}`; export r; \
26476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26477 $(HOST_EXPORTS) \
26478 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
26479 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
26480 case $(srcdir) in \
26481 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26482 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
26483 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26484 esac; \
26485 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
26486 libsrcdir="$$s/libtermcap"; \
26487 $(SHELL) $${libsrcdir}/configure \
26488 $(HOST_CONFIGARGS) $${srcdiroption} \
26489 || exit 1
26490 @endif libtermcap
26496 .PHONY: all-libtermcap maybe-all-libtermcap
26497 maybe-all-libtermcap:
26498 @if libtermcap
26499 TARGET-libtermcap=all
26500 maybe-all-libtermcap: all-libtermcap
26501 all-libtermcap: configure-libtermcap
26502 @r=`${PWD_COMMAND}`; export r; \
26503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26504 $(HOST_EXPORTS) \
26505 (cd $(HOST_SUBDIR)/libtermcap && \
26506 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
26507 @endif libtermcap
26512 .PHONY: check-libtermcap maybe-check-libtermcap
26513 maybe-check-libtermcap:
26514 @if libtermcap
26515 maybe-check-libtermcap: check-libtermcap
26517 check-libtermcap:
26519 @endif libtermcap
26521 .PHONY: install-libtermcap maybe-install-libtermcap
26522 maybe-install-libtermcap:
26523 @if libtermcap
26524 maybe-install-libtermcap: install-libtermcap
26526 install-libtermcap: installdirs
26527 @r=`${PWD_COMMAND}`; export r; \
26528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26529 $(HOST_EXPORTS) \
26530 (cd $(HOST_SUBDIR)/libtermcap && \
26531 $(MAKE) $(FLAGS_TO_PASS) install)
26533 @endif libtermcap
26535 # Other targets (info, dvi, etc.)
26537 .PHONY: maybe-info-libtermcap info-libtermcap
26538 maybe-info-libtermcap:
26539 @if libtermcap
26540 maybe-info-libtermcap: info-libtermcap
26542 info-libtermcap: \
26543 configure-libtermcap
26544 @[ -f ./libtermcap/Makefile ] || exit 0; \
26545 r=`${PWD_COMMAND}`; export r; \
26546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26547 $(HOST_EXPORTS) \
26548 for flag in $(EXTRA_HOST_FLAGS) ; do \
26549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26550 done; \
26551 echo "Doing info in libtermcap" ; \
26552 (cd $(HOST_SUBDIR)/libtermcap && \
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 info) \
26558 || exit 1
26560 @endif libtermcap
26562 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
26563 maybe-dvi-libtermcap:
26564 @if libtermcap
26565 maybe-dvi-libtermcap: dvi-libtermcap
26567 dvi-libtermcap: \
26568 configure-libtermcap
26569 @[ -f ./libtermcap/Makefile ] || exit 0; \
26570 r=`${PWD_COMMAND}`; export r; \
26571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26572 $(HOST_EXPORTS) \
26573 for flag in $(EXTRA_HOST_FLAGS) ; do \
26574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26575 done; \
26576 echo "Doing dvi in libtermcap" ; \
26577 (cd $(HOST_SUBDIR)/libtermcap && \
26578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26580 "RANLIB=$${RANLIB}" \
26581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26582 dvi) \
26583 || exit 1
26585 @endif libtermcap
26587 .PHONY: maybe-html-libtermcap html-libtermcap
26588 maybe-html-libtermcap:
26589 @if libtermcap
26590 maybe-html-libtermcap: html-libtermcap
26592 html-libtermcap: \
26593 configure-libtermcap
26594 @[ -f ./libtermcap/Makefile ] || exit 0; \
26595 r=`${PWD_COMMAND}`; export r; \
26596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26597 $(HOST_EXPORTS) \
26598 for flag in $(EXTRA_HOST_FLAGS) ; do \
26599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26600 done; \
26601 echo "Doing html in libtermcap" ; \
26602 (cd $(HOST_SUBDIR)/libtermcap && \
26603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26605 "RANLIB=$${RANLIB}" \
26606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26607 html) \
26608 || exit 1
26610 @endif libtermcap
26612 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
26613 maybe-TAGS-libtermcap:
26614 @if libtermcap
26615 maybe-TAGS-libtermcap: TAGS-libtermcap
26617 TAGS-libtermcap: \
26618 configure-libtermcap
26619 @[ -f ./libtermcap/Makefile ] || exit 0; \
26620 r=`${PWD_COMMAND}`; export r; \
26621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26622 $(HOST_EXPORTS) \
26623 for flag in $(EXTRA_HOST_FLAGS) ; do \
26624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26625 done; \
26626 echo "Doing TAGS in libtermcap" ; \
26627 (cd $(HOST_SUBDIR)/libtermcap && \
26628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26630 "RANLIB=$${RANLIB}" \
26631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26632 TAGS) \
26633 || exit 1
26635 @endif libtermcap
26637 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
26638 maybe-install-info-libtermcap:
26639 @if libtermcap
26640 maybe-install-info-libtermcap: install-info-libtermcap
26642 install-info-libtermcap: \
26643 configure-libtermcap \
26644 info-libtermcap
26645 @[ -f ./libtermcap/Makefile ] || exit 0; \
26646 r=`${PWD_COMMAND}`; export r; \
26647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26648 $(HOST_EXPORTS) \
26649 for flag in $(EXTRA_HOST_FLAGS) ; do \
26650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26651 done; \
26652 echo "Doing install-info in libtermcap" ; \
26653 (cd $(HOST_SUBDIR)/libtermcap && \
26654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26656 "RANLIB=$${RANLIB}" \
26657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26658 install-info) \
26659 || exit 1
26661 @endif libtermcap
26663 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
26664 maybe-installcheck-libtermcap:
26665 @if libtermcap
26666 maybe-installcheck-libtermcap: installcheck-libtermcap
26668 installcheck-libtermcap: \
26669 configure-libtermcap
26670 @[ -f ./libtermcap/Makefile ] || exit 0; \
26671 r=`${PWD_COMMAND}`; export r; \
26672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26673 $(HOST_EXPORTS) \
26674 for flag in $(EXTRA_HOST_FLAGS) ; do \
26675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26676 done; \
26677 echo "Doing installcheck in libtermcap" ; \
26678 (cd $(HOST_SUBDIR)/libtermcap && \
26679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26681 "RANLIB=$${RANLIB}" \
26682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26683 installcheck) \
26684 || exit 1
26686 @endif libtermcap
26688 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
26689 maybe-mostlyclean-libtermcap:
26690 @if libtermcap
26691 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
26693 # libtermcap doesn't support mostlyclean.
26694 mostlyclean-libtermcap:
26696 @endif libtermcap
26698 .PHONY: maybe-clean-libtermcap clean-libtermcap
26699 maybe-clean-libtermcap:
26700 @if libtermcap
26701 maybe-clean-libtermcap: clean-libtermcap
26703 # libtermcap doesn't support clean.
26704 clean-libtermcap:
26706 @endif libtermcap
26708 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
26709 maybe-distclean-libtermcap:
26710 @if libtermcap
26711 maybe-distclean-libtermcap: distclean-libtermcap
26713 # libtermcap doesn't support distclean.
26714 distclean-libtermcap:
26716 @endif libtermcap
26718 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
26719 maybe-maintainer-clean-libtermcap:
26720 @if libtermcap
26721 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
26723 # libtermcap doesn't support maintainer-clean.
26724 maintainer-clean-libtermcap:
26726 @endif libtermcap
26730 .PHONY: configure-utils maybe-configure-utils
26731 maybe-configure-utils:
26732 @if utils
26733 maybe-configure-utils: configure-utils
26734 configure-utils:
26735 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
26736 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
26737 r=`${PWD_COMMAND}`; export r; \
26738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26739 $(HOST_EXPORTS) \
26740 echo Configuring in $(HOST_SUBDIR)/utils; \
26741 cd "$(HOST_SUBDIR)/utils" || exit 1; \
26742 case $(srcdir) in \
26743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26744 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
26745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26746 esac; \
26747 srcdiroption="--srcdir=$${topdir}/utils"; \
26748 libsrcdir="$$s/utils"; \
26749 $(SHELL) $${libsrcdir}/configure \
26750 $(HOST_CONFIGARGS) $${srcdiroption} \
26751 || exit 1
26752 @endif utils
26758 .PHONY: all-utils maybe-all-utils
26759 maybe-all-utils:
26760 @if utils
26761 TARGET-utils=all
26762 maybe-all-utils: all-utils
26763 all-utils: configure-utils
26764 @r=`${PWD_COMMAND}`; export r; \
26765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26766 $(HOST_EXPORTS) \
26767 (cd $(HOST_SUBDIR)/utils && \
26768 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
26769 @endif utils
26774 .PHONY: check-utils maybe-check-utils
26775 maybe-check-utils:
26776 @if utils
26777 maybe-check-utils: check-utils
26779 check-utils:
26781 @endif utils
26783 .PHONY: install-utils maybe-install-utils
26784 maybe-install-utils:
26785 @if utils
26786 maybe-install-utils: install-utils
26788 install-utils: installdirs
26789 @r=`${PWD_COMMAND}`; export r; \
26790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26791 $(HOST_EXPORTS) \
26792 (cd $(HOST_SUBDIR)/utils && \
26793 $(MAKE) $(FLAGS_TO_PASS) install)
26795 @endif utils
26797 # Other targets (info, dvi, etc.)
26799 .PHONY: maybe-info-utils info-utils
26800 maybe-info-utils:
26801 @if utils
26802 maybe-info-utils: info-utils
26804 info-utils: \
26805 configure-utils
26806 @[ -f ./utils/Makefile ] || exit 0; \
26807 r=`${PWD_COMMAND}`; export r; \
26808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26809 $(HOST_EXPORTS) \
26810 for flag in $(EXTRA_HOST_FLAGS) ; do \
26811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26812 done; \
26813 echo "Doing info in utils" ; \
26814 (cd $(HOST_SUBDIR)/utils && \
26815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26817 "RANLIB=$${RANLIB}" \
26818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26819 info) \
26820 || exit 1
26822 @endif utils
26824 .PHONY: maybe-dvi-utils dvi-utils
26825 maybe-dvi-utils:
26826 @if utils
26827 maybe-dvi-utils: dvi-utils
26829 dvi-utils: \
26830 configure-utils
26831 @[ -f ./utils/Makefile ] || exit 0; \
26832 r=`${PWD_COMMAND}`; export r; \
26833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26834 $(HOST_EXPORTS) \
26835 for flag in $(EXTRA_HOST_FLAGS) ; do \
26836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26837 done; \
26838 echo "Doing dvi in utils" ; \
26839 (cd $(HOST_SUBDIR)/utils && \
26840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26842 "RANLIB=$${RANLIB}" \
26843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26844 dvi) \
26845 || exit 1
26847 @endif utils
26849 .PHONY: maybe-html-utils html-utils
26850 maybe-html-utils:
26851 @if utils
26852 maybe-html-utils: html-utils
26854 html-utils: \
26855 configure-utils
26856 @[ -f ./utils/Makefile ] || exit 0; \
26857 r=`${PWD_COMMAND}`; export r; \
26858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26859 $(HOST_EXPORTS) \
26860 for flag in $(EXTRA_HOST_FLAGS) ; do \
26861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26862 done; \
26863 echo "Doing html in utils" ; \
26864 (cd $(HOST_SUBDIR)/utils && \
26865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26867 "RANLIB=$${RANLIB}" \
26868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26869 html) \
26870 || exit 1
26872 @endif utils
26874 .PHONY: maybe-TAGS-utils TAGS-utils
26875 maybe-TAGS-utils:
26876 @if utils
26877 maybe-TAGS-utils: TAGS-utils
26879 TAGS-utils: \
26880 configure-utils
26881 @[ -f ./utils/Makefile ] || exit 0; \
26882 r=`${PWD_COMMAND}`; export r; \
26883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26884 $(HOST_EXPORTS) \
26885 for flag in $(EXTRA_HOST_FLAGS) ; do \
26886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26887 done; \
26888 echo "Doing TAGS in utils" ; \
26889 (cd $(HOST_SUBDIR)/utils && \
26890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26892 "RANLIB=$${RANLIB}" \
26893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26894 TAGS) \
26895 || exit 1
26897 @endif utils
26899 .PHONY: maybe-install-info-utils install-info-utils
26900 maybe-install-info-utils:
26901 @if utils
26902 maybe-install-info-utils: install-info-utils
26904 install-info-utils: \
26905 configure-utils \
26906 info-utils
26907 @[ -f ./utils/Makefile ] || exit 0; \
26908 r=`${PWD_COMMAND}`; export r; \
26909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26910 $(HOST_EXPORTS) \
26911 for flag in $(EXTRA_HOST_FLAGS) ; do \
26912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26913 done; \
26914 echo "Doing install-info in utils" ; \
26915 (cd $(HOST_SUBDIR)/utils && \
26916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26918 "RANLIB=$${RANLIB}" \
26919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26920 install-info) \
26921 || exit 1
26923 @endif utils
26925 .PHONY: maybe-installcheck-utils installcheck-utils
26926 maybe-installcheck-utils:
26927 @if utils
26928 maybe-installcheck-utils: installcheck-utils
26930 installcheck-utils: \
26931 configure-utils
26932 @[ -f ./utils/Makefile ] || exit 0; \
26933 r=`${PWD_COMMAND}`; export r; \
26934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26935 $(HOST_EXPORTS) \
26936 for flag in $(EXTRA_HOST_FLAGS) ; do \
26937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26938 done; \
26939 echo "Doing installcheck in utils" ; \
26940 (cd $(HOST_SUBDIR)/utils && \
26941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26943 "RANLIB=$${RANLIB}" \
26944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26945 installcheck) \
26946 || exit 1
26948 @endif utils
26950 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
26951 maybe-mostlyclean-utils:
26952 @if utils
26953 maybe-mostlyclean-utils: mostlyclean-utils
26955 mostlyclean-utils:
26956 @[ -f ./utils/Makefile ] || exit 0; \
26957 r=`${PWD_COMMAND}`; export r; \
26958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26959 $(HOST_EXPORTS) \
26960 for flag in $(EXTRA_HOST_FLAGS) ; do \
26961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26962 done; \
26963 echo "Doing mostlyclean in utils" ; \
26964 (cd $(HOST_SUBDIR)/utils && \
26965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26967 "RANLIB=$${RANLIB}" \
26968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26969 mostlyclean) \
26970 || exit 1
26972 @endif utils
26974 .PHONY: maybe-clean-utils clean-utils
26975 maybe-clean-utils:
26976 @if utils
26977 maybe-clean-utils: clean-utils
26979 clean-utils:
26980 @[ -f ./utils/Makefile ] || exit 0; \
26981 r=`${PWD_COMMAND}`; export r; \
26982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26983 $(HOST_EXPORTS) \
26984 for flag in $(EXTRA_HOST_FLAGS) ; do \
26985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26986 done; \
26987 echo "Doing clean in utils" ; \
26988 (cd $(HOST_SUBDIR)/utils && \
26989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26991 "RANLIB=$${RANLIB}" \
26992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26993 clean) \
26994 || exit 1
26996 @endif utils
26998 .PHONY: maybe-distclean-utils distclean-utils
26999 maybe-distclean-utils:
27000 @if utils
27001 maybe-distclean-utils: distclean-utils
27003 distclean-utils:
27004 @[ -f ./utils/Makefile ] || exit 0; \
27005 r=`${PWD_COMMAND}`; export r; \
27006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27007 $(HOST_EXPORTS) \
27008 for flag in $(EXTRA_HOST_FLAGS) ; do \
27009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27010 done; \
27011 echo "Doing distclean in utils" ; \
27012 (cd $(HOST_SUBDIR)/utils && \
27013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27015 "RANLIB=$${RANLIB}" \
27016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27017 distclean) \
27018 || exit 1
27020 @endif utils
27022 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
27023 maybe-maintainer-clean-utils:
27024 @if utils
27025 maybe-maintainer-clean-utils: maintainer-clean-utils
27027 maintainer-clean-utils:
27028 @[ -f ./utils/Makefile ] || exit 0; \
27029 r=`${PWD_COMMAND}`; export r; \
27030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27031 $(HOST_EXPORTS) \
27032 for flag in $(EXTRA_HOST_FLAGS) ; do \
27033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27034 done; \
27035 echo "Doing maintainer-clean in utils" ; \
27036 (cd $(HOST_SUBDIR)/utils && \
27037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27039 "RANLIB=$${RANLIB}" \
27040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27041 maintainer-clean) \
27042 || exit 1
27044 @endif utils
27048 .PHONY: configure-gnattools maybe-configure-gnattools
27049 maybe-configure-gnattools:
27050 @if gnattools
27051 maybe-configure-gnattools: configure-gnattools
27052 configure-gnattools:
27053 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
27054 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
27055 r=`${PWD_COMMAND}`; export r; \
27056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27057 $(HOST_EXPORTS) \
27058 echo Configuring in $(HOST_SUBDIR)/gnattools; \
27059 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
27060 case $(srcdir) in \
27061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27062 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
27063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27064 esac; \
27065 srcdiroption="--srcdir=$${topdir}/gnattools"; \
27066 libsrcdir="$$s/gnattools"; \
27067 $(SHELL) $${libsrcdir}/configure \
27068 $(HOST_CONFIGARGS) $${srcdiroption} \
27069 || exit 1
27070 @endif gnattools
27076 .PHONY: all-gnattools maybe-all-gnattools
27077 maybe-all-gnattools:
27078 @if gnattools
27079 TARGET-gnattools=all
27080 maybe-all-gnattools: all-gnattools
27081 all-gnattools: configure-gnattools
27082 @r=`${PWD_COMMAND}`; export r; \
27083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27084 $(HOST_EXPORTS) \
27085 (cd $(HOST_SUBDIR)/gnattools && \
27086 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
27087 @endif gnattools
27092 .PHONY: check-gnattools maybe-check-gnattools
27093 maybe-check-gnattools:
27094 @if gnattools
27095 maybe-check-gnattools: check-gnattools
27097 check-gnattools:
27098 @r=`${PWD_COMMAND}`; export r; \
27099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27100 $(HOST_EXPORTS) \
27101 (cd $(HOST_SUBDIR)/gnattools && \
27102 $(MAKE) $(FLAGS_TO_PASS) check)
27104 @endif gnattools
27106 .PHONY: install-gnattools maybe-install-gnattools
27107 maybe-install-gnattools:
27108 @if gnattools
27109 maybe-install-gnattools: install-gnattools
27111 install-gnattools: installdirs
27112 @r=`${PWD_COMMAND}`; export r; \
27113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27114 $(HOST_EXPORTS) \
27115 (cd $(HOST_SUBDIR)/gnattools && \
27116 $(MAKE) $(FLAGS_TO_PASS) install)
27118 @endif gnattools
27120 # Other targets (info, dvi, etc.)
27122 .PHONY: maybe-info-gnattools info-gnattools
27123 maybe-info-gnattools:
27124 @if gnattools
27125 maybe-info-gnattools: info-gnattools
27127 info-gnattools: \
27128 configure-gnattools
27129 @[ -f ./gnattools/Makefile ] || exit 0; \
27130 r=`${PWD_COMMAND}`; export r; \
27131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27132 $(HOST_EXPORTS) \
27133 for flag in $(EXTRA_HOST_FLAGS) ; do \
27134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27135 done; \
27136 echo "Doing info in gnattools" ; \
27137 (cd $(HOST_SUBDIR)/gnattools && \
27138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27140 "RANLIB=$${RANLIB}" \
27141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27142 info) \
27143 || exit 1
27145 @endif gnattools
27147 .PHONY: maybe-dvi-gnattools dvi-gnattools
27148 maybe-dvi-gnattools:
27149 @if gnattools
27150 maybe-dvi-gnattools: dvi-gnattools
27152 dvi-gnattools: \
27153 configure-gnattools
27154 @[ -f ./gnattools/Makefile ] || exit 0; \
27155 r=`${PWD_COMMAND}`; export r; \
27156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27157 $(HOST_EXPORTS) \
27158 for flag in $(EXTRA_HOST_FLAGS) ; do \
27159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27160 done; \
27161 echo "Doing dvi in gnattools" ; \
27162 (cd $(HOST_SUBDIR)/gnattools && \
27163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27165 "RANLIB=$${RANLIB}" \
27166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27167 dvi) \
27168 || exit 1
27170 @endif gnattools
27172 .PHONY: maybe-html-gnattools html-gnattools
27173 maybe-html-gnattools:
27174 @if gnattools
27175 maybe-html-gnattools: html-gnattools
27177 html-gnattools: \
27178 configure-gnattools
27179 @[ -f ./gnattools/Makefile ] || exit 0; \
27180 r=`${PWD_COMMAND}`; export r; \
27181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27182 $(HOST_EXPORTS) \
27183 for flag in $(EXTRA_HOST_FLAGS) ; do \
27184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27185 done; \
27186 echo "Doing html in gnattools" ; \
27187 (cd $(HOST_SUBDIR)/gnattools && \
27188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27190 "RANLIB=$${RANLIB}" \
27191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27192 html) \
27193 || exit 1
27195 @endif gnattools
27197 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
27198 maybe-TAGS-gnattools:
27199 @if gnattools
27200 maybe-TAGS-gnattools: TAGS-gnattools
27202 TAGS-gnattools: \
27203 configure-gnattools
27204 @[ -f ./gnattools/Makefile ] || exit 0; \
27205 r=`${PWD_COMMAND}`; export r; \
27206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27207 $(HOST_EXPORTS) \
27208 for flag in $(EXTRA_HOST_FLAGS) ; do \
27209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27210 done; \
27211 echo "Doing TAGS in gnattools" ; \
27212 (cd $(HOST_SUBDIR)/gnattools && \
27213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27215 "RANLIB=$${RANLIB}" \
27216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27217 TAGS) \
27218 || exit 1
27220 @endif gnattools
27222 .PHONY: maybe-install-info-gnattools install-info-gnattools
27223 maybe-install-info-gnattools:
27224 @if gnattools
27225 maybe-install-info-gnattools: install-info-gnattools
27227 install-info-gnattools: \
27228 configure-gnattools \
27229 info-gnattools
27230 @[ -f ./gnattools/Makefile ] || exit 0; \
27231 r=`${PWD_COMMAND}`; export r; \
27232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27233 $(HOST_EXPORTS) \
27234 for flag in $(EXTRA_HOST_FLAGS) ; do \
27235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27236 done; \
27237 echo "Doing install-info in gnattools" ; \
27238 (cd $(HOST_SUBDIR)/gnattools && \
27239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27241 "RANLIB=$${RANLIB}" \
27242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27243 install-info) \
27244 || exit 1
27246 @endif gnattools
27248 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
27249 maybe-installcheck-gnattools:
27250 @if gnattools
27251 maybe-installcheck-gnattools: installcheck-gnattools
27253 installcheck-gnattools: \
27254 configure-gnattools
27255 @[ -f ./gnattools/Makefile ] || exit 0; \
27256 r=`${PWD_COMMAND}`; export r; \
27257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27258 $(HOST_EXPORTS) \
27259 for flag in $(EXTRA_HOST_FLAGS) ; do \
27260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27261 done; \
27262 echo "Doing installcheck in gnattools" ; \
27263 (cd $(HOST_SUBDIR)/gnattools && \
27264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27266 "RANLIB=$${RANLIB}" \
27267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27268 installcheck) \
27269 || exit 1
27271 @endif gnattools
27273 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
27274 maybe-mostlyclean-gnattools:
27275 @if gnattools
27276 maybe-mostlyclean-gnattools: mostlyclean-gnattools
27278 mostlyclean-gnattools:
27279 @[ -f ./gnattools/Makefile ] || exit 0; \
27280 r=`${PWD_COMMAND}`; export r; \
27281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27282 $(HOST_EXPORTS) \
27283 for flag in $(EXTRA_HOST_FLAGS) ; do \
27284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27285 done; \
27286 echo "Doing mostlyclean in gnattools" ; \
27287 (cd $(HOST_SUBDIR)/gnattools && \
27288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27290 "RANLIB=$${RANLIB}" \
27291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27292 mostlyclean) \
27293 || exit 1
27295 @endif gnattools
27297 .PHONY: maybe-clean-gnattools clean-gnattools
27298 maybe-clean-gnattools:
27299 @if gnattools
27300 maybe-clean-gnattools: clean-gnattools
27302 clean-gnattools:
27303 @[ -f ./gnattools/Makefile ] || exit 0; \
27304 r=`${PWD_COMMAND}`; export r; \
27305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27306 $(HOST_EXPORTS) \
27307 for flag in $(EXTRA_HOST_FLAGS) ; do \
27308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27309 done; \
27310 echo "Doing clean in gnattools" ; \
27311 (cd $(HOST_SUBDIR)/gnattools && \
27312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27314 "RANLIB=$${RANLIB}" \
27315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27316 clean) \
27317 || exit 1
27319 @endif gnattools
27321 .PHONY: maybe-distclean-gnattools distclean-gnattools
27322 maybe-distclean-gnattools:
27323 @if gnattools
27324 maybe-distclean-gnattools: distclean-gnattools
27326 distclean-gnattools:
27327 @[ -f ./gnattools/Makefile ] || exit 0; \
27328 r=`${PWD_COMMAND}`; export r; \
27329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27330 $(HOST_EXPORTS) \
27331 for flag in $(EXTRA_HOST_FLAGS) ; do \
27332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27333 done; \
27334 echo "Doing distclean in gnattools" ; \
27335 (cd $(HOST_SUBDIR)/gnattools && \
27336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27338 "RANLIB=$${RANLIB}" \
27339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27340 distclean) \
27341 || exit 1
27343 @endif gnattools
27345 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
27346 maybe-maintainer-clean-gnattools:
27347 @if gnattools
27348 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
27350 maintainer-clean-gnattools:
27351 @[ -f ./gnattools/Makefile ] || exit 0; \
27352 r=`${PWD_COMMAND}`; export r; \
27353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27354 $(HOST_EXPORTS) \
27355 for flag in $(EXTRA_HOST_FLAGS) ; do \
27356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27357 done; \
27358 echo "Doing maintainer-clean in gnattools" ; \
27359 (cd $(HOST_SUBDIR)/gnattools && \
27360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27362 "RANLIB=$${RANLIB}" \
27363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27364 maintainer-clean) \
27365 || exit 1
27367 @endif gnattools
27371 # ---------------------------------------
27372 # Modules which run on the target machine
27373 # ---------------------------------------
27376 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27377 @if target-libstdc++-v3
27378 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
27379 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
27380 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
27381 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
27382 @endif target-libstdc++-v3
27386 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
27387 maybe-configure-target-libstdc++-v3:
27388 @if target-libstdc++-v3
27389 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
27390 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
27391 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
27392 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
27393 r=`${PWD_COMMAND}`; export r; \
27394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27395 $(RAW_CXX_TARGET_EXPORTS) \
27396 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
27397 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
27398 case $(srcdir) in \
27399 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27400 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
27401 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27402 esac; \
27403 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
27404 libsrcdir="$$s/libstdc++-v3"; \
27405 rm -f no-such-file || : ; \
27406 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27407 $(TARGET_CONFIGARGS) $${srcdiroption} \
27408 || exit 1
27409 @endif target-libstdc++-v3
27415 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
27416 maybe-all-target-libstdc++-v3:
27417 @if target-libstdc++-v3
27418 TARGET-target-libstdc++-v3=all
27419 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
27420 all-target-libstdc++-v3: configure-target-libstdc++-v3
27421 @r=`${PWD_COMMAND}`; export r; \
27422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27423 $(RAW_CXX_TARGET_EXPORTS) \
27424 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27425 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
27426 @endif target-libstdc++-v3
27432 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
27433 maybe-check-target-libstdc++-v3:
27434 @if target-libstdc++-v3
27435 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
27437 check-target-libstdc++-v3:
27438 @r=`${PWD_COMMAND}`; export r; \
27439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27440 $(RAW_CXX_TARGET_EXPORTS) \
27441 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27442 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
27444 @endif target-libstdc++-v3
27446 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
27447 maybe-install-target-libstdc++-v3:
27448 @if target-libstdc++-v3
27449 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
27451 install-target-libstdc++-v3: installdirs
27452 @r=`${PWD_COMMAND}`; export r; \
27453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27454 $(RAW_CXX_TARGET_EXPORTS) \
27455 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27456 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27458 @endif target-libstdc++-v3
27460 # Other targets (info, dvi, etc.)
27462 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
27463 maybe-info-target-libstdc++-v3:
27464 @if target-libstdc++-v3
27465 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
27467 info-target-libstdc++-v3: \
27468 configure-target-libstdc++-v3
27469 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27470 r=`${PWD_COMMAND}`; export r; \
27471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27472 $(RAW_CXX_TARGET_EXPORTS) \
27473 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27474 for flag in $(EXTRA_TARGET_FLAGS); do \
27475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27476 done; \
27477 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27480 "RANLIB=$${RANLIB}" \
27481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27482 info) \
27483 || exit 1
27485 @endif target-libstdc++-v3
27487 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
27488 maybe-dvi-target-libstdc++-v3:
27489 @if target-libstdc++-v3
27490 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
27492 dvi-target-libstdc++-v3: \
27493 configure-target-libstdc++-v3
27494 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27495 r=`${PWD_COMMAND}`; export r; \
27496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27497 $(RAW_CXX_TARGET_EXPORTS) \
27498 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27499 for flag in $(EXTRA_TARGET_FLAGS); do \
27500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27501 done; \
27502 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27505 "RANLIB=$${RANLIB}" \
27506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27507 dvi) \
27508 || exit 1
27510 @endif target-libstdc++-v3
27512 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
27513 maybe-html-target-libstdc++-v3:
27514 @if target-libstdc++-v3
27515 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
27517 html-target-libstdc++-v3: \
27518 configure-target-libstdc++-v3
27519 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27520 r=`${PWD_COMMAND}`; export r; \
27521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27522 $(RAW_CXX_TARGET_EXPORTS) \
27523 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27524 for flag in $(EXTRA_TARGET_FLAGS); do \
27525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27526 done; \
27527 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27530 "RANLIB=$${RANLIB}" \
27531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27532 html) \
27533 || exit 1
27535 @endif target-libstdc++-v3
27537 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
27538 maybe-TAGS-target-libstdc++-v3:
27539 @if target-libstdc++-v3
27540 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
27542 TAGS-target-libstdc++-v3: \
27543 configure-target-libstdc++-v3
27544 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27545 r=`${PWD_COMMAND}`; export r; \
27546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27547 $(RAW_CXX_TARGET_EXPORTS) \
27548 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27549 for flag in $(EXTRA_TARGET_FLAGS); do \
27550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27551 done; \
27552 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27555 "RANLIB=$${RANLIB}" \
27556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27557 TAGS) \
27558 || exit 1
27560 @endif target-libstdc++-v3
27562 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
27563 maybe-install-info-target-libstdc++-v3:
27564 @if target-libstdc++-v3
27565 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
27567 install-info-target-libstdc++-v3: \
27568 configure-target-libstdc++-v3 \
27569 info-target-libstdc++-v3
27570 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27571 r=`${PWD_COMMAND}`; export r; \
27572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27573 $(RAW_CXX_TARGET_EXPORTS) \
27574 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27575 for flag in $(EXTRA_TARGET_FLAGS); do \
27576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27577 done; \
27578 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27581 "RANLIB=$${RANLIB}" \
27582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27583 install-info) \
27584 || exit 1
27586 @endif target-libstdc++-v3
27588 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
27589 maybe-installcheck-target-libstdc++-v3:
27590 @if target-libstdc++-v3
27591 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
27593 installcheck-target-libstdc++-v3: \
27594 configure-target-libstdc++-v3
27595 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27596 r=`${PWD_COMMAND}`; export r; \
27597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27598 $(RAW_CXX_TARGET_EXPORTS) \
27599 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27600 for flag in $(EXTRA_TARGET_FLAGS); do \
27601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27602 done; \
27603 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27606 "RANLIB=$${RANLIB}" \
27607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27608 installcheck) \
27609 || exit 1
27611 @endif target-libstdc++-v3
27613 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
27614 maybe-mostlyclean-target-libstdc++-v3:
27615 @if target-libstdc++-v3
27616 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
27618 mostlyclean-target-libstdc++-v3:
27619 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27620 r=`${PWD_COMMAND}`; export r; \
27621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27622 $(RAW_CXX_TARGET_EXPORTS) \
27623 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27624 for flag in $(EXTRA_TARGET_FLAGS); do \
27625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27626 done; \
27627 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27630 "RANLIB=$${RANLIB}" \
27631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27632 mostlyclean) \
27633 || exit 1
27635 @endif target-libstdc++-v3
27637 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
27638 maybe-clean-target-libstdc++-v3:
27639 @if target-libstdc++-v3
27640 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
27642 clean-target-libstdc++-v3:
27643 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27644 r=`${PWD_COMMAND}`; export r; \
27645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27646 $(RAW_CXX_TARGET_EXPORTS) \
27647 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27648 for flag in $(EXTRA_TARGET_FLAGS); do \
27649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27650 done; \
27651 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27654 "RANLIB=$${RANLIB}" \
27655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27656 clean) \
27657 || exit 1
27659 @endif target-libstdc++-v3
27661 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
27662 maybe-distclean-target-libstdc++-v3:
27663 @if target-libstdc++-v3
27664 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
27666 distclean-target-libstdc++-v3:
27667 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27668 r=`${PWD_COMMAND}`; export r; \
27669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27670 $(RAW_CXX_TARGET_EXPORTS) \
27671 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27672 for flag in $(EXTRA_TARGET_FLAGS); do \
27673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27674 done; \
27675 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27678 "RANLIB=$${RANLIB}" \
27679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27680 distclean) \
27681 || exit 1
27683 @endif target-libstdc++-v3
27685 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
27686 maybe-maintainer-clean-target-libstdc++-v3:
27687 @if target-libstdc++-v3
27688 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
27690 maintainer-clean-target-libstdc++-v3:
27691 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27692 r=`${PWD_COMMAND}`; export r; \
27693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27694 $(RAW_CXX_TARGET_EXPORTS) \
27695 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27696 for flag in $(EXTRA_TARGET_FLAGS); do \
27697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27698 done; \
27699 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27702 "RANLIB=$${RANLIB}" \
27703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27704 maintainer-clean) \
27705 || exit 1
27707 @endif target-libstdc++-v3
27711 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27712 @if target-libmudflap
27713 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
27714 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
27715 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
27716 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
27717 @endif target-libmudflap
27721 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
27722 maybe-configure-target-libmudflap:
27723 @if target-libmudflap
27724 maybe-configure-target-libmudflap: configure-target-libmudflap
27725 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
27726 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
27727 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
27728 r=`${PWD_COMMAND}`; export r; \
27729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27730 $(NORMAL_TARGET_EXPORTS) \
27731 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
27732 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
27733 case $(srcdir) in \
27734 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27735 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
27736 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27737 esac; \
27738 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
27739 libsrcdir="$$s/libmudflap"; \
27740 rm -f no-such-file || : ; \
27741 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27742 $(TARGET_CONFIGARGS) $${srcdiroption} \
27743 || exit 1
27744 @endif target-libmudflap
27750 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
27751 maybe-all-target-libmudflap:
27752 @if target-libmudflap
27753 TARGET-target-libmudflap=all
27754 maybe-all-target-libmudflap: all-target-libmudflap
27755 all-target-libmudflap: configure-target-libmudflap
27756 @r=`${PWD_COMMAND}`; export r; \
27757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27758 $(NORMAL_TARGET_EXPORTS) \
27759 (cd $(TARGET_SUBDIR)/libmudflap && \
27760 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
27761 @endif target-libmudflap
27767 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
27768 maybe-check-target-libmudflap:
27769 @if target-libmudflap
27770 maybe-check-target-libmudflap: check-target-libmudflap
27772 check-target-libmudflap:
27773 @r=`${PWD_COMMAND}`; export r; \
27774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27775 $(NORMAL_TARGET_EXPORTS) \
27776 (cd $(TARGET_SUBDIR)/libmudflap && \
27777 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27779 @endif target-libmudflap
27781 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
27782 maybe-install-target-libmudflap:
27783 @if target-libmudflap
27784 maybe-install-target-libmudflap: install-target-libmudflap
27786 install-target-libmudflap: installdirs
27787 @r=`${PWD_COMMAND}`; export r; \
27788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27789 $(NORMAL_TARGET_EXPORTS) \
27790 (cd $(TARGET_SUBDIR)/libmudflap && \
27791 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27793 @endif target-libmudflap
27795 # Other targets (info, dvi, etc.)
27797 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
27798 maybe-info-target-libmudflap:
27799 @if target-libmudflap
27800 maybe-info-target-libmudflap: info-target-libmudflap
27802 info-target-libmudflap: \
27803 configure-target-libmudflap
27804 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27805 r=`${PWD_COMMAND}`; export r; \
27806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27807 $(NORMAL_TARGET_EXPORTS) \
27808 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
27809 for flag in $(EXTRA_TARGET_FLAGS); do \
27810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27811 done; \
27812 (cd $(TARGET_SUBDIR)/libmudflap && \
27813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27815 "RANLIB=$${RANLIB}" \
27816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27817 info) \
27818 || exit 1
27820 @endif target-libmudflap
27822 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
27823 maybe-dvi-target-libmudflap:
27824 @if target-libmudflap
27825 maybe-dvi-target-libmudflap: dvi-target-libmudflap
27827 dvi-target-libmudflap: \
27828 configure-target-libmudflap
27829 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27830 r=`${PWD_COMMAND}`; export r; \
27831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27832 $(NORMAL_TARGET_EXPORTS) \
27833 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
27834 for flag in $(EXTRA_TARGET_FLAGS); do \
27835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27836 done; \
27837 (cd $(TARGET_SUBDIR)/libmudflap && \
27838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27840 "RANLIB=$${RANLIB}" \
27841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27842 dvi) \
27843 || exit 1
27845 @endif target-libmudflap
27847 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
27848 maybe-html-target-libmudflap:
27849 @if target-libmudflap
27850 maybe-html-target-libmudflap: html-target-libmudflap
27852 html-target-libmudflap: \
27853 configure-target-libmudflap
27854 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27855 r=`${PWD_COMMAND}`; export r; \
27856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27857 $(NORMAL_TARGET_EXPORTS) \
27858 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
27859 for flag in $(EXTRA_TARGET_FLAGS); do \
27860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27861 done; \
27862 (cd $(TARGET_SUBDIR)/libmudflap && \
27863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27865 "RANLIB=$${RANLIB}" \
27866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27867 html) \
27868 || exit 1
27870 @endif target-libmudflap
27872 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
27873 maybe-TAGS-target-libmudflap:
27874 @if target-libmudflap
27875 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
27877 TAGS-target-libmudflap: \
27878 configure-target-libmudflap
27879 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27880 r=`${PWD_COMMAND}`; export r; \
27881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27882 $(NORMAL_TARGET_EXPORTS) \
27883 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
27884 for flag in $(EXTRA_TARGET_FLAGS); do \
27885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27886 done; \
27887 (cd $(TARGET_SUBDIR)/libmudflap && \
27888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27890 "RANLIB=$${RANLIB}" \
27891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27892 TAGS) \
27893 || exit 1
27895 @endif target-libmudflap
27897 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
27898 maybe-install-info-target-libmudflap:
27899 @if target-libmudflap
27900 maybe-install-info-target-libmudflap: install-info-target-libmudflap
27902 install-info-target-libmudflap: \
27903 configure-target-libmudflap \
27904 info-target-libmudflap
27905 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27906 r=`${PWD_COMMAND}`; export r; \
27907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27908 $(NORMAL_TARGET_EXPORTS) \
27909 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
27910 for flag in $(EXTRA_TARGET_FLAGS); do \
27911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27912 done; \
27913 (cd $(TARGET_SUBDIR)/libmudflap && \
27914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27916 "RANLIB=$${RANLIB}" \
27917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27918 install-info) \
27919 || exit 1
27921 @endif target-libmudflap
27923 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
27924 maybe-installcheck-target-libmudflap:
27925 @if target-libmudflap
27926 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
27928 installcheck-target-libmudflap: \
27929 configure-target-libmudflap
27930 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27931 r=`${PWD_COMMAND}`; export r; \
27932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27933 $(NORMAL_TARGET_EXPORTS) \
27934 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
27935 for flag in $(EXTRA_TARGET_FLAGS); do \
27936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27937 done; \
27938 (cd $(TARGET_SUBDIR)/libmudflap && \
27939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27941 "RANLIB=$${RANLIB}" \
27942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27943 installcheck) \
27944 || exit 1
27946 @endif target-libmudflap
27948 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
27949 maybe-mostlyclean-target-libmudflap:
27950 @if target-libmudflap
27951 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
27953 mostlyclean-target-libmudflap:
27954 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27955 r=`${PWD_COMMAND}`; export r; \
27956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27957 $(NORMAL_TARGET_EXPORTS) \
27958 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
27959 for flag in $(EXTRA_TARGET_FLAGS); do \
27960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27961 done; \
27962 (cd $(TARGET_SUBDIR)/libmudflap && \
27963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27965 "RANLIB=$${RANLIB}" \
27966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27967 mostlyclean) \
27968 || exit 1
27970 @endif target-libmudflap
27972 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
27973 maybe-clean-target-libmudflap:
27974 @if target-libmudflap
27975 maybe-clean-target-libmudflap: clean-target-libmudflap
27977 clean-target-libmudflap:
27978 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27979 r=`${PWD_COMMAND}`; export r; \
27980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27981 $(NORMAL_TARGET_EXPORTS) \
27982 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
27983 for flag in $(EXTRA_TARGET_FLAGS); do \
27984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27985 done; \
27986 (cd $(TARGET_SUBDIR)/libmudflap && \
27987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27989 "RANLIB=$${RANLIB}" \
27990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27991 clean) \
27992 || exit 1
27994 @endif target-libmudflap
27996 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
27997 maybe-distclean-target-libmudflap:
27998 @if target-libmudflap
27999 maybe-distclean-target-libmudflap: distclean-target-libmudflap
28001 distclean-target-libmudflap:
28002 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28003 r=`${PWD_COMMAND}`; export r; \
28004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28005 $(NORMAL_TARGET_EXPORTS) \
28006 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
28007 for flag in $(EXTRA_TARGET_FLAGS); do \
28008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28009 done; \
28010 (cd $(TARGET_SUBDIR)/libmudflap && \
28011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28013 "RANLIB=$${RANLIB}" \
28014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28015 distclean) \
28016 || exit 1
28018 @endif target-libmudflap
28020 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
28021 maybe-maintainer-clean-target-libmudflap:
28022 @if target-libmudflap
28023 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
28025 maintainer-clean-target-libmudflap:
28026 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28027 r=`${PWD_COMMAND}`; export r; \
28028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28029 $(NORMAL_TARGET_EXPORTS) \
28030 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
28031 for flag in $(EXTRA_TARGET_FLAGS); do \
28032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28033 done; \
28034 (cd $(TARGET_SUBDIR)/libmudflap && \
28035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28037 "RANLIB=$${RANLIB}" \
28038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28039 maintainer-clean) \
28040 || exit 1
28042 @endif target-libmudflap
28046 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28047 @if target-libssp
28048 $(TARGET_SUBDIR)/libssp/multilib.out: multilib.out
28049 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
28050 rm -f $(TARGET_SUBDIR)/libssp/Makefile || : ; \
28051 cp multilib.out $(TARGET_SUBDIR)/libssp/multilib.out
28052 @endif target-libssp
28056 .PHONY: configure-target-libssp maybe-configure-target-libssp
28057 maybe-configure-target-libssp:
28058 @if target-libssp
28059 maybe-configure-target-libssp: configure-target-libssp
28060 configure-target-libssp: $(TARGET_SUBDIR)/libssp/multilib.out
28061 @test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
28062 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
28063 r=`${PWD_COMMAND}`; export r; \
28064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28065 $(NORMAL_TARGET_EXPORTS) \
28066 echo Configuring in $(TARGET_SUBDIR)/libssp; \
28067 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
28068 case $(srcdir) in \
28069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28070 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
28071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28072 esac; \
28073 srcdiroption="--srcdir=$${topdir}/libssp"; \
28074 libsrcdir="$$s/libssp"; \
28075 rm -f no-such-file || : ; \
28076 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28077 $(TARGET_CONFIGARGS) $${srcdiroption} \
28078 || exit 1
28079 @endif target-libssp
28085 .PHONY: all-target-libssp maybe-all-target-libssp
28086 maybe-all-target-libssp:
28087 @if target-libssp
28088 TARGET-target-libssp=all
28089 maybe-all-target-libssp: all-target-libssp
28090 all-target-libssp: configure-target-libssp
28091 @r=`${PWD_COMMAND}`; export r; \
28092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28093 $(NORMAL_TARGET_EXPORTS) \
28094 (cd $(TARGET_SUBDIR)/libssp && \
28095 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
28096 @endif target-libssp
28102 .PHONY: check-target-libssp maybe-check-target-libssp
28103 maybe-check-target-libssp:
28104 @if target-libssp
28105 maybe-check-target-libssp: check-target-libssp
28107 check-target-libssp:
28108 @r=`${PWD_COMMAND}`; export r; \
28109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28110 $(NORMAL_TARGET_EXPORTS) \
28111 (cd $(TARGET_SUBDIR)/libssp && \
28112 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28114 @endif target-libssp
28116 .PHONY: install-target-libssp maybe-install-target-libssp
28117 maybe-install-target-libssp:
28118 @if target-libssp
28119 maybe-install-target-libssp: install-target-libssp
28121 install-target-libssp: installdirs
28122 @r=`${PWD_COMMAND}`; export r; \
28123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28124 $(NORMAL_TARGET_EXPORTS) \
28125 (cd $(TARGET_SUBDIR)/libssp && \
28126 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28128 @endif target-libssp
28130 # Other targets (info, dvi, etc.)
28132 .PHONY: maybe-info-target-libssp info-target-libssp
28133 maybe-info-target-libssp:
28134 @if target-libssp
28135 maybe-info-target-libssp: info-target-libssp
28137 info-target-libssp: \
28138 configure-target-libssp
28139 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28140 r=`${PWD_COMMAND}`; export r; \
28141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28142 $(NORMAL_TARGET_EXPORTS) \
28143 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
28144 for flag in $(EXTRA_TARGET_FLAGS); do \
28145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28146 done; \
28147 (cd $(TARGET_SUBDIR)/libssp && \
28148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28150 "RANLIB=$${RANLIB}" \
28151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28152 info) \
28153 || exit 1
28155 @endif target-libssp
28157 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
28158 maybe-dvi-target-libssp:
28159 @if target-libssp
28160 maybe-dvi-target-libssp: dvi-target-libssp
28162 dvi-target-libssp: \
28163 configure-target-libssp
28164 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28165 r=`${PWD_COMMAND}`; export r; \
28166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28167 $(NORMAL_TARGET_EXPORTS) \
28168 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
28169 for flag in $(EXTRA_TARGET_FLAGS); do \
28170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28171 done; \
28172 (cd $(TARGET_SUBDIR)/libssp && \
28173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28175 "RANLIB=$${RANLIB}" \
28176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28177 dvi) \
28178 || exit 1
28180 @endif target-libssp
28182 .PHONY: maybe-html-target-libssp html-target-libssp
28183 maybe-html-target-libssp:
28184 @if target-libssp
28185 maybe-html-target-libssp: html-target-libssp
28187 html-target-libssp: \
28188 configure-target-libssp
28189 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28190 r=`${PWD_COMMAND}`; export r; \
28191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28192 $(NORMAL_TARGET_EXPORTS) \
28193 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
28194 for flag in $(EXTRA_TARGET_FLAGS); do \
28195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28196 done; \
28197 (cd $(TARGET_SUBDIR)/libssp && \
28198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28200 "RANLIB=$${RANLIB}" \
28201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28202 html) \
28203 || exit 1
28205 @endif target-libssp
28207 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
28208 maybe-TAGS-target-libssp:
28209 @if target-libssp
28210 maybe-TAGS-target-libssp: TAGS-target-libssp
28212 TAGS-target-libssp: \
28213 configure-target-libssp
28214 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28215 r=`${PWD_COMMAND}`; export r; \
28216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28217 $(NORMAL_TARGET_EXPORTS) \
28218 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
28219 for flag in $(EXTRA_TARGET_FLAGS); do \
28220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28221 done; \
28222 (cd $(TARGET_SUBDIR)/libssp && \
28223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28225 "RANLIB=$${RANLIB}" \
28226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28227 TAGS) \
28228 || exit 1
28230 @endif target-libssp
28232 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
28233 maybe-install-info-target-libssp:
28234 @if target-libssp
28235 maybe-install-info-target-libssp: install-info-target-libssp
28237 install-info-target-libssp: \
28238 configure-target-libssp \
28239 info-target-libssp
28240 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28241 r=`${PWD_COMMAND}`; export r; \
28242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28243 $(NORMAL_TARGET_EXPORTS) \
28244 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
28245 for flag in $(EXTRA_TARGET_FLAGS); do \
28246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28247 done; \
28248 (cd $(TARGET_SUBDIR)/libssp && \
28249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28251 "RANLIB=$${RANLIB}" \
28252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28253 install-info) \
28254 || exit 1
28256 @endif target-libssp
28258 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
28259 maybe-installcheck-target-libssp:
28260 @if target-libssp
28261 maybe-installcheck-target-libssp: installcheck-target-libssp
28263 installcheck-target-libssp: \
28264 configure-target-libssp
28265 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28266 r=`${PWD_COMMAND}`; export r; \
28267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28268 $(NORMAL_TARGET_EXPORTS) \
28269 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
28270 for flag in $(EXTRA_TARGET_FLAGS); do \
28271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28272 done; \
28273 (cd $(TARGET_SUBDIR)/libssp && \
28274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28276 "RANLIB=$${RANLIB}" \
28277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28278 installcheck) \
28279 || exit 1
28281 @endif target-libssp
28283 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
28284 maybe-mostlyclean-target-libssp:
28285 @if target-libssp
28286 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
28288 mostlyclean-target-libssp:
28289 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28290 r=`${PWD_COMMAND}`; export r; \
28291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28292 $(NORMAL_TARGET_EXPORTS) \
28293 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
28294 for flag in $(EXTRA_TARGET_FLAGS); do \
28295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28296 done; \
28297 (cd $(TARGET_SUBDIR)/libssp && \
28298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28300 "RANLIB=$${RANLIB}" \
28301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28302 mostlyclean) \
28303 || exit 1
28305 @endif target-libssp
28307 .PHONY: maybe-clean-target-libssp clean-target-libssp
28308 maybe-clean-target-libssp:
28309 @if target-libssp
28310 maybe-clean-target-libssp: clean-target-libssp
28312 clean-target-libssp:
28313 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28314 r=`${PWD_COMMAND}`; export r; \
28315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28316 $(NORMAL_TARGET_EXPORTS) \
28317 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
28318 for flag in $(EXTRA_TARGET_FLAGS); do \
28319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28320 done; \
28321 (cd $(TARGET_SUBDIR)/libssp && \
28322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28324 "RANLIB=$${RANLIB}" \
28325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28326 clean) \
28327 || exit 1
28329 @endif target-libssp
28331 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
28332 maybe-distclean-target-libssp:
28333 @if target-libssp
28334 maybe-distclean-target-libssp: distclean-target-libssp
28336 distclean-target-libssp:
28337 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28338 r=`${PWD_COMMAND}`; export r; \
28339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28340 $(NORMAL_TARGET_EXPORTS) \
28341 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
28342 for flag in $(EXTRA_TARGET_FLAGS); do \
28343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28344 done; \
28345 (cd $(TARGET_SUBDIR)/libssp && \
28346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28348 "RANLIB=$${RANLIB}" \
28349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28350 distclean) \
28351 || exit 1
28353 @endif target-libssp
28355 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
28356 maybe-maintainer-clean-target-libssp:
28357 @if target-libssp
28358 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
28360 maintainer-clean-target-libssp:
28361 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28362 r=`${PWD_COMMAND}`; export r; \
28363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28364 $(NORMAL_TARGET_EXPORTS) \
28365 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
28366 for flag in $(EXTRA_TARGET_FLAGS); do \
28367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28368 done; \
28369 (cd $(TARGET_SUBDIR)/libssp && \
28370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28372 "RANLIB=$${RANLIB}" \
28373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28374 maintainer-clean) \
28375 || exit 1
28377 @endif target-libssp
28381 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28382 @if target-newlib
28383 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
28384 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
28385 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
28386 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
28387 @endif target-newlib
28391 .PHONY: configure-target-newlib maybe-configure-target-newlib
28392 maybe-configure-target-newlib:
28393 @if target-newlib
28394 maybe-configure-target-newlib: configure-target-newlib
28395 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
28396 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
28397 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
28398 r=`${PWD_COMMAND}`; export r; \
28399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28400 $(NORMAL_TARGET_EXPORTS) \
28401 echo Configuring in $(TARGET_SUBDIR)/newlib; \
28402 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
28403 case $(srcdir) in \
28404 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28405 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
28406 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28407 esac; \
28408 srcdiroption="--srcdir=$${topdir}/newlib"; \
28409 libsrcdir="$$s/newlib"; \
28410 rm -f no-such-file || : ; \
28411 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28412 $(TARGET_CONFIGARGS) $${srcdiroption} \
28413 || exit 1
28414 @endif target-newlib
28420 .PHONY: all-target-newlib maybe-all-target-newlib
28421 maybe-all-target-newlib:
28422 @if target-newlib
28423 TARGET-target-newlib=all
28424 maybe-all-target-newlib: all-target-newlib
28425 all-target-newlib: configure-target-newlib
28426 @r=`${PWD_COMMAND}`; export r; \
28427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28428 $(NORMAL_TARGET_EXPORTS) \
28429 (cd $(TARGET_SUBDIR)/newlib && \
28430 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
28431 @endif target-newlib
28437 .PHONY: check-target-newlib maybe-check-target-newlib
28438 maybe-check-target-newlib:
28439 @if target-newlib
28440 maybe-check-target-newlib: check-target-newlib
28442 check-target-newlib:
28443 @r=`${PWD_COMMAND}`; export r; \
28444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28445 $(NORMAL_TARGET_EXPORTS) \
28446 (cd $(TARGET_SUBDIR)/newlib && \
28447 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28449 @endif target-newlib
28451 .PHONY: install-target-newlib maybe-install-target-newlib
28452 maybe-install-target-newlib:
28453 @if target-newlib
28454 maybe-install-target-newlib: install-target-newlib
28456 install-target-newlib: installdirs
28457 @r=`${PWD_COMMAND}`; export r; \
28458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28459 $(NORMAL_TARGET_EXPORTS) \
28460 (cd $(TARGET_SUBDIR)/newlib && \
28461 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28463 @endif target-newlib
28465 # Other targets (info, dvi, etc.)
28467 .PHONY: maybe-info-target-newlib info-target-newlib
28468 maybe-info-target-newlib:
28469 @if target-newlib
28470 maybe-info-target-newlib: info-target-newlib
28472 info-target-newlib: \
28473 configure-target-newlib
28474 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28475 r=`${PWD_COMMAND}`; export r; \
28476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28477 $(NORMAL_TARGET_EXPORTS) \
28478 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
28479 for flag in $(EXTRA_TARGET_FLAGS); do \
28480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28481 done; \
28482 (cd $(TARGET_SUBDIR)/newlib && \
28483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28485 "RANLIB=$${RANLIB}" \
28486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28487 info) \
28488 || exit 1
28490 @endif target-newlib
28492 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
28493 maybe-dvi-target-newlib:
28494 @if target-newlib
28495 maybe-dvi-target-newlib: dvi-target-newlib
28497 dvi-target-newlib: \
28498 configure-target-newlib
28499 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28500 r=`${PWD_COMMAND}`; export r; \
28501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28502 $(NORMAL_TARGET_EXPORTS) \
28503 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
28504 for flag in $(EXTRA_TARGET_FLAGS); do \
28505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28506 done; \
28507 (cd $(TARGET_SUBDIR)/newlib && \
28508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28510 "RANLIB=$${RANLIB}" \
28511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28512 dvi) \
28513 || exit 1
28515 @endif target-newlib
28517 .PHONY: maybe-html-target-newlib html-target-newlib
28518 maybe-html-target-newlib:
28519 @if target-newlib
28520 maybe-html-target-newlib: html-target-newlib
28522 html-target-newlib: \
28523 configure-target-newlib
28524 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28525 r=`${PWD_COMMAND}`; export r; \
28526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28527 $(NORMAL_TARGET_EXPORTS) \
28528 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
28529 for flag in $(EXTRA_TARGET_FLAGS); do \
28530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28531 done; \
28532 (cd $(TARGET_SUBDIR)/newlib && \
28533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28535 "RANLIB=$${RANLIB}" \
28536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28537 html) \
28538 || exit 1
28540 @endif target-newlib
28542 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
28543 maybe-TAGS-target-newlib:
28544 @if target-newlib
28545 maybe-TAGS-target-newlib: TAGS-target-newlib
28547 TAGS-target-newlib: \
28548 configure-target-newlib
28549 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28550 r=`${PWD_COMMAND}`; export r; \
28551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28552 $(NORMAL_TARGET_EXPORTS) \
28553 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
28554 for flag in $(EXTRA_TARGET_FLAGS); do \
28555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28556 done; \
28557 (cd $(TARGET_SUBDIR)/newlib && \
28558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28560 "RANLIB=$${RANLIB}" \
28561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28562 TAGS) \
28563 || exit 1
28565 @endif target-newlib
28567 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
28568 maybe-install-info-target-newlib:
28569 @if target-newlib
28570 maybe-install-info-target-newlib: install-info-target-newlib
28572 install-info-target-newlib: \
28573 configure-target-newlib \
28574 info-target-newlib
28575 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28576 r=`${PWD_COMMAND}`; export r; \
28577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28578 $(NORMAL_TARGET_EXPORTS) \
28579 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
28580 for flag in $(EXTRA_TARGET_FLAGS); do \
28581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28582 done; \
28583 (cd $(TARGET_SUBDIR)/newlib && \
28584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28586 "RANLIB=$${RANLIB}" \
28587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28588 install-info) \
28589 || exit 1
28591 @endif target-newlib
28593 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
28594 maybe-installcheck-target-newlib:
28595 @if target-newlib
28596 maybe-installcheck-target-newlib: installcheck-target-newlib
28598 installcheck-target-newlib: \
28599 configure-target-newlib
28600 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28601 r=`${PWD_COMMAND}`; export r; \
28602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28603 $(NORMAL_TARGET_EXPORTS) \
28604 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
28605 for flag in $(EXTRA_TARGET_FLAGS); do \
28606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28607 done; \
28608 (cd $(TARGET_SUBDIR)/newlib && \
28609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28611 "RANLIB=$${RANLIB}" \
28612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28613 installcheck) \
28614 || exit 1
28616 @endif target-newlib
28618 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
28619 maybe-mostlyclean-target-newlib:
28620 @if target-newlib
28621 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
28623 mostlyclean-target-newlib:
28624 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28625 r=`${PWD_COMMAND}`; export r; \
28626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28627 $(NORMAL_TARGET_EXPORTS) \
28628 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
28629 for flag in $(EXTRA_TARGET_FLAGS); do \
28630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28631 done; \
28632 (cd $(TARGET_SUBDIR)/newlib && \
28633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28635 "RANLIB=$${RANLIB}" \
28636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28637 mostlyclean) \
28638 || exit 1
28640 @endif target-newlib
28642 .PHONY: maybe-clean-target-newlib clean-target-newlib
28643 maybe-clean-target-newlib:
28644 @if target-newlib
28645 maybe-clean-target-newlib: clean-target-newlib
28647 clean-target-newlib:
28648 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28649 r=`${PWD_COMMAND}`; export r; \
28650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28651 $(NORMAL_TARGET_EXPORTS) \
28652 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
28653 for flag in $(EXTRA_TARGET_FLAGS); do \
28654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28655 done; \
28656 (cd $(TARGET_SUBDIR)/newlib && \
28657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28659 "RANLIB=$${RANLIB}" \
28660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28661 clean) \
28662 || exit 1
28664 @endif target-newlib
28666 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
28667 maybe-distclean-target-newlib:
28668 @if target-newlib
28669 maybe-distclean-target-newlib: distclean-target-newlib
28671 distclean-target-newlib:
28672 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28673 r=`${PWD_COMMAND}`; export r; \
28674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28675 $(NORMAL_TARGET_EXPORTS) \
28676 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
28677 for flag in $(EXTRA_TARGET_FLAGS); do \
28678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28679 done; \
28680 (cd $(TARGET_SUBDIR)/newlib && \
28681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28683 "RANLIB=$${RANLIB}" \
28684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28685 distclean) \
28686 || exit 1
28688 @endif target-newlib
28690 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
28691 maybe-maintainer-clean-target-newlib:
28692 @if target-newlib
28693 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
28695 maintainer-clean-target-newlib:
28696 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28697 r=`${PWD_COMMAND}`; export r; \
28698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28699 $(NORMAL_TARGET_EXPORTS) \
28700 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
28701 for flag in $(EXTRA_TARGET_FLAGS); do \
28702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28703 done; \
28704 (cd $(TARGET_SUBDIR)/newlib && \
28705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28707 "RANLIB=$${RANLIB}" \
28708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28709 maintainer-clean) \
28710 || exit 1
28712 @endif target-newlib
28716 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28717 @if target-libgfortran
28718 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
28719 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
28720 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
28721 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
28722 @endif target-libgfortran
28726 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
28727 maybe-configure-target-libgfortran:
28728 @if target-libgfortran
28729 maybe-configure-target-libgfortran: configure-target-libgfortran
28730 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
28731 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
28732 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
28733 r=`${PWD_COMMAND}`; export r; \
28734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28735 $(NORMAL_TARGET_EXPORTS) \
28736 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
28737 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
28738 case $(srcdir) in \
28739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28740 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
28741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28742 esac; \
28743 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
28744 libsrcdir="$$s/libgfortran"; \
28745 rm -f no-such-file || : ; \
28746 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28747 $(TARGET_CONFIGARGS) $${srcdiroption} \
28748 || exit 1
28749 @endif target-libgfortran
28755 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
28756 maybe-all-target-libgfortran:
28757 @if target-libgfortran
28758 TARGET-target-libgfortran=all
28759 maybe-all-target-libgfortran: all-target-libgfortran
28760 all-target-libgfortran: configure-target-libgfortran
28761 @r=`${PWD_COMMAND}`; export r; \
28762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28763 $(NORMAL_TARGET_EXPORTS) \
28764 (cd $(TARGET_SUBDIR)/libgfortran && \
28765 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
28766 @endif target-libgfortran
28772 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
28773 maybe-check-target-libgfortran:
28774 @if target-libgfortran
28775 maybe-check-target-libgfortran: check-target-libgfortran
28777 check-target-libgfortran:
28778 @r=`${PWD_COMMAND}`; export r; \
28779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28780 $(NORMAL_TARGET_EXPORTS) \
28781 (cd $(TARGET_SUBDIR)/libgfortran && \
28782 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28784 @endif target-libgfortran
28786 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
28787 maybe-install-target-libgfortran:
28788 @if target-libgfortran
28789 maybe-install-target-libgfortran: install-target-libgfortran
28791 install-target-libgfortran: installdirs
28792 @r=`${PWD_COMMAND}`; export r; \
28793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28794 $(NORMAL_TARGET_EXPORTS) \
28795 (cd $(TARGET_SUBDIR)/libgfortran && \
28796 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28798 @endif target-libgfortran
28800 # Other targets (info, dvi, etc.)
28802 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
28803 maybe-info-target-libgfortran:
28804 @if target-libgfortran
28805 maybe-info-target-libgfortran: info-target-libgfortran
28807 info-target-libgfortran: \
28808 configure-target-libgfortran
28809 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28810 r=`${PWD_COMMAND}`; export r; \
28811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28812 $(NORMAL_TARGET_EXPORTS) \
28813 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
28814 for flag in $(EXTRA_TARGET_FLAGS); do \
28815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28816 done; \
28817 (cd $(TARGET_SUBDIR)/libgfortran && \
28818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28820 "RANLIB=$${RANLIB}" \
28821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28822 info) \
28823 || exit 1
28825 @endif target-libgfortran
28827 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
28828 maybe-dvi-target-libgfortran:
28829 @if target-libgfortran
28830 maybe-dvi-target-libgfortran: dvi-target-libgfortran
28832 dvi-target-libgfortran: \
28833 configure-target-libgfortran
28834 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28835 r=`${PWD_COMMAND}`; export r; \
28836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28837 $(NORMAL_TARGET_EXPORTS) \
28838 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
28839 for flag in $(EXTRA_TARGET_FLAGS); do \
28840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28841 done; \
28842 (cd $(TARGET_SUBDIR)/libgfortran && \
28843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28845 "RANLIB=$${RANLIB}" \
28846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28847 dvi) \
28848 || exit 1
28850 @endif target-libgfortran
28852 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
28853 maybe-html-target-libgfortran:
28854 @if target-libgfortran
28855 maybe-html-target-libgfortran: html-target-libgfortran
28857 html-target-libgfortran: \
28858 configure-target-libgfortran
28859 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28860 r=`${PWD_COMMAND}`; export r; \
28861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28862 $(NORMAL_TARGET_EXPORTS) \
28863 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
28864 for flag in $(EXTRA_TARGET_FLAGS); do \
28865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28866 done; \
28867 (cd $(TARGET_SUBDIR)/libgfortran && \
28868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28870 "RANLIB=$${RANLIB}" \
28871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28872 html) \
28873 || exit 1
28875 @endif target-libgfortran
28877 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
28878 maybe-TAGS-target-libgfortran:
28879 @if target-libgfortran
28880 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
28882 TAGS-target-libgfortran: \
28883 configure-target-libgfortran
28884 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28885 r=`${PWD_COMMAND}`; export r; \
28886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28887 $(NORMAL_TARGET_EXPORTS) \
28888 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
28889 for flag in $(EXTRA_TARGET_FLAGS); do \
28890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28891 done; \
28892 (cd $(TARGET_SUBDIR)/libgfortran && \
28893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28895 "RANLIB=$${RANLIB}" \
28896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28897 TAGS) \
28898 || exit 1
28900 @endif target-libgfortran
28902 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
28903 maybe-install-info-target-libgfortran:
28904 @if target-libgfortran
28905 maybe-install-info-target-libgfortran: install-info-target-libgfortran
28907 install-info-target-libgfortran: \
28908 configure-target-libgfortran \
28909 info-target-libgfortran
28910 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28911 r=`${PWD_COMMAND}`; export r; \
28912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28913 $(NORMAL_TARGET_EXPORTS) \
28914 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
28915 for flag in $(EXTRA_TARGET_FLAGS); do \
28916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28917 done; \
28918 (cd $(TARGET_SUBDIR)/libgfortran && \
28919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28921 "RANLIB=$${RANLIB}" \
28922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28923 install-info) \
28924 || exit 1
28926 @endif target-libgfortran
28928 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
28929 maybe-installcheck-target-libgfortran:
28930 @if target-libgfortran
28931 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
28933 installcheck-target-libgfortran: \
28934 configure-target-libgfortran
28935 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28936 r=`${PWD_COMMAND}`; export r; \
28937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28938 $(NORMAL_TARGET_EXPORTS) \
28939 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
28940 for flag in $(EXTRA_TARGET_FLAGS); do \
28941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28942 done; \
28943 (cd $(TARGET_SUBDIR)/libgfortran && \
28944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28946 "RANLIB=$${RANLIB}" \
28947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28948 installcheck) \
28949 || exit 1
28951 @endif target-libgfortran
28953 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
28954 maybe-mostlyclean-target-libgfortran:
28955 @if target-libgfortran
28956 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
28958 mostlyclean-target-libgfortran:
28959 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28960 r=`${PWD_COMMAND}`; export r; \
28961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28962 $(NORMAL_TARGET_EXPORTS) \
28963 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
28964 for flag in $(EXTRA_TARGET_FLAGS); do \
28965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28966 done; \
28967 (cd $(TARGET_SUBDIR)/libgfortran && \
28968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28970 "RANLIB=$${RANLIB}" \
28971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28972 mostlyclean) \
28973 || exit 1
28975 @endif target-libgfortran
28977 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
28978 maybe-clean-target-libgfortran:
28979 @if target-libgfortran
28980 maybe-clean-target-libgfortran: clean-target-libgfortran
28982 clean-target-libgfortran:
28983 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28984 r=`${PWD_COMMAND}`; export r; \
28985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28986 $(NORMAL_TARGET_EXPORTS) \
28987 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
28988 for flag in $(EXTRA_TARGET_FLAGS); do \
28989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28990 done; \
28991 (cd $(TARGET_SUBDIR)/libgfortran && \
28992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28994 "RANLIB=$${RANLIB}" \
28995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28996 clean) \
28997 || exit 1
28999 @endif target-libgfortran
29001 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
29002 maybe-distclean-target-libgfortran:
29003 @if target-libgfortran
29004 maybe-distclean-target-libgfortran: distclean-target-libgfortran
29006 distclean-target-libgfortran:
29007 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
29008 r=`${PWD_COMMAND}`; export r; \
29009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29010 $(NORMAL_TARGET_EXPORTS) \
29011 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
29012 for flag in $(EXTRA_TARGET_FLAGS); do \
29013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29014 done; \
29015 (cd $(TARGET_SUBDIR)/libgfortran && \
29016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29018 "RANLIB=$${RANLIB}" \
29019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29020 distclean) \
29021 || exit 1
29023 @endif target-libgfortran
29025 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
29026 maybe-maintainer-clean-target-libgfortran:
29027 @if target-libgfortran
29028 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
29030 maintainer-clean-target-libgfortran:
29031 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
29032 r=`${PWD_COMMAND}`; export r; \
29033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29034 $(NORMAL_TARGET_EXPORTS) \
29035 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
29036 for flag in $(EXTRA_TARGET_FLAGS); do \
29037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29038 done; \
29039 (cd $(TARGET_SUBDIR)/libgfortran && \
29040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29042 "RANLIB=$${RANLIB}" \
29043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29044 maintainer-clean) \
29045 || exit 1
29047 @endif target-libgfortran
29051 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29052 @if target-libobjc
29053 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
29054 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
29055 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
29056 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
29057 @endif target-libobjc
29061 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
29062 maybe-configure-target-libobjc:
29063 @if target-libobjc
29064 maybe-configure-target-libobjc: configure-target-libobjc
29065 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
29066 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
29067 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
29068 r=`${PWD_COMMAND}`; export r; \
29069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29070 $(NORMAL_TARGET_EXPORTS) \
29071 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
29072 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
29073 case $(srcdir) in \
29074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29075 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
29076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29077 esac; \
29078 srcdiroption="--srcdir=$${topdir}/libobjc"; \
29079 libsrcdir="$$s/libobjc"; \
29080 rm -f no-such-file || : ; \
29081 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29082 $(TARGET_CONFIGARGS) $${srcdiroption} \
29083 || exit 1
29084 @endif target-libobjc
29090 .PHONY: all-target-libobjc maybe-all-target-libobjc
29091 maybe-all-target-libobjc:
29092 @if target-libobjc
29093 TARGET-target-libobjc=all
29094 maybe-all-target-libobjc: all-target-libobjc
29095 all-target-libobjc: configure-target-libobjc
29096 @r=`${PWD_COMMAND}`; export r; \
29097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29098 $(NORMAL_TARGET_EXPORTS) \
29099 (cd $(TARGET_SUBDIR)/libobjc && \
29100 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
29101 @endif target-libobjc
29107 .PHONY: check-target-libobjc maybe-check-target-libobjc
29108 maybe-check-target-libobjc:
29109 @if target-libobjc
29110 maybe-check-target-libobjc: check-target-libobjc
29112 check-target-libobjc:
29113 @r=`${PWD_COMMAND}`; export r; \
29114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29115 $(NORMAL_TARGET_EXPORTS) \
29116 (cd $(TARGET_SUBDIR)/libobjc && \
29117 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29119 @endif target-libobjc
29121 .PHONY: install-target-libobjc maybe-install-target-libobjc
29122 maybe-install-target-libobjc:
29123 @if target-libobjc
29124 maybe-install-target-libobjc: install-target-libobjc
29126 install-target-libobjc: installdirs
29127 @r=`${PWD_COMMAND}`; export r; \
29128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29129 $(NORMAL_TARGET_EXPORTS) \
29130 (cd $(TARGET_SUBDIR)/libobjc && \
29131 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29133 @endif target-libobjc
29135 # Other targets (info, dvi, etc.)
29137 .PHONY: maybe-info-target-libobjc info-target-libobjc
29138 maybe-info-target-libobjc:
29139 @if target-libobjc
29140 maybe-info-target-libobjc: info-target-libobjc
29142 info-target-libobjc: \
29143 configure-target-libobjc
29144 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29145 r=`${PWD_COMMAND}`; export r; \
29146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29147 $(NORMAL_TARGET_EXPORTS) \
29148 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
29149 for flag in $(EXTRA_TARGET_FLAGS); do \
29150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29151 done; \
29152 (cd $(TARGET_SUBDIR)/libobjc && \
29153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29155 "RANLIB=$${RANLIB}" \
29156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29157 info) \
29158 || exit 1
29160 @endif target-libobjc
29162 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
29163 maybe-dvi-target-libobjc:
29164 @if target-libobjc
29165 maybe-dvi-target-libobjc: dvi-target-libobjc
29167 dvi-target-libobjc: \
29168 configure-target-libobjc
29169 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29170 r=`${PWD_COMMAND}`; export r; \
29171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29172 $(NORMAL_TARGET_EXPORTS) \
29173 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
29174 for flag in $(EXTRA_TARGET_FLAGS); do \
29175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29176 done; \
29177 (cd $(TARGET_SUBDIR)/libobjc && \
29178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29180 "RANLIB=$${RANLIB}" \
29181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29182 dvi) \
29183 || exit 1
29185 @endif target-libobjc
29187 .PHONY: maybe-html-target-libobjc html-target-libobjc
29188 maybe-html-target-libobjc:
29189 @if target-libobjc
29190 maybe-html-target-libobjc: html-target-libobjc
29192 html-target-libobjc: \
29193 configure-target-libobjc
29194 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29195 r=`${PWD_COMMAND}`; export r; \
29196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29197 $(NORMAL_TARGET_EXPORTS) \
29198 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
29199 for flag in $(EXTRA_TARGET_FLAGS); do \
29200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29201 done; \
29202 (cd $(TARGET_SUBDIR)/libobjc && \
29203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29205 "RANLIB=$${RANLIB}" \
29206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29207 html) \
29208 || exit 1
29210 @endif target-libobjc
29212 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
29213 maybe-TAGS-target-libobjc:
29214 @if target-libobjc
29215 maybe-TAGS-target-libobjc: TAGS-target-libobjc
29217 TAGS-target-libobjc: \
29218 configure-target-libobjc
29219 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29220 r=`${PWD_COMMAND}`; export r; \
29221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29222 $(NORMAL_TARGET_EXPORTS) \
29223 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
29224 for flag in $(EXTRA_TARGET_FLAGS); do \
29225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29226 done; \
29227 (cd $(TARGET_SUBDIR)/libobjc && \
29228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29230 "RANLIB=$${RANLIB}" \
29231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29232 TAGS) \
29233 || exit 1
29235 @endif target-libobjc
29237 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
29238 maybe-install-info-target-libobjc:
29239 @if target-libobjc
29240 maybe-install-info-target-libobjc: install-info-target-libobjc
29242 install-info-target-libobjc: \
29243 configure-target-libobjc \
29244 info-target-libobjc
29245 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29246 r=`${PWD_COMMAND}`; export r; \
29247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29248 $(NORMAL_TARGET_EXPORTS) \
29249 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
29250 for flag in $(EXTRA_TARGET_FLAGS); do \
29251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29252 done; \
29253 (cd $(TARGET_SUBDIR)/libobjc && \
29254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29256 "RANLIB=$${RANLIB}" \
29257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29258 install-info) \
29259 || exit 1
29261 @endif target-libobjc
29263 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
29264 maybe-installcheck-target-libobjc:
29265 @if target-libobjc
29266 maybe-installcheck-target-libobjc: installcheck-target-libobjc
29268 installcheck-target-libobjc: \
29269 configure-target-libobjc
29270 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29271 r=`${PWD_COMMAND}`; export r; \
29272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29273 $(NORMAL_TARGET_EXPORTS) \
29274 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
29275 for flag in $(EXTRA_TARGET_FLAGS); do \
29276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29277 done; \
29278 (cd $(TARGET_SUBDIR)/libobjc && \
29279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29281 "RANLIB=$${RANLIB}" \
29282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29283 installcheck) \
29284 || exit 1
29286 @endif target-libobjc
29288 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
29289 maybe-mostlyclean-target-libobjc:
29290 @if target-libobjc
29291 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
29293 mostlyclean-target-libobjc:
29294 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29295 r=`${PWD_COMMAND}`; export r; \
29296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29297 $(NORMAL_TARGET_EXPORTS) \
29298 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
29299 for flag in $(EXTRA_TARGET_FLAGS); do \
29300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29301 done; \
29302 (cd $(TARGET_SUBDIR)/libobjc && \
29303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29305 "RANLIB=$${RANLIB}" \
29306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29307 mostlyclean) \
29308 || exit 1
29310 @endif target-libobjc
29312 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
29313 maybe-clean-target-libobjc:
29314 @if target-libobjc
29315 maybe-clean-target-libobjc: clean-target-libobjc
29317 clean-target-libobjc:
29318 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29319 r=`${PWD_COMMAND}`; export r; \
29320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29321 $(NORMAL_TARGET_EXPORTS) \
29322 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
29323 for flag in $(EXTRA_TARGET_FLAGS); do \
29324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29325 done; \
29326 (cd $(TARGET_SUBDIR)/libobjc && \
29327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29329 "RANLIB=$${RANLIB}" \
29330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29331 clean) \
29332 || exit 1
29334 @endif target-libobjc
29336 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
29337 maybe-distclean-target-libobjc:
29338 @if target-libobjc
29339 maybe-distclean-target-libobjc: distclean-target-libobjc
29341 distclean-target-libobjc:
29342 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29343 r=`${PWD_COMMAND}`; export r; \
29344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29345 $(NORMAL_TARGET_EXPORTS) \
29346 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
29347 for flag in $(EXTRA_TARGET_FLAGS); do \
29348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29349 done; \
29350 (cd $(TARGET_SUBDIR)/libobjc && \
29351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29353 "RANLIB=$${RANLIB}" \
29354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29355 distclean) \
29356 || exit 1
29358 @endif target-libobjc
29360 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
29361 maybe-maintainer-clean-target-libobjc:
29362 @if target-libobjc
29363 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
29365 maintainer-clean-target-libobjc:
29366 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29367 r=`${PWD_COMMAND}`; export r; \
29368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29369 $(NORMAL_TARGET_EXPORTS) \
29370 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
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)/libobjc && \
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 maintainer-clean) \
29380 || exit 1
29382 @endif target-libobjc
29386 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29387 @if target-libtermcap
29388 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
29389 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
29390 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
29391 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
29392 @endif target-libtermcap
29396 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
29397 maybe-configure-target-libtermcap:
29398 @if target-libtermcap
29399 maybe-configure-target-libtermcap: configure-target-libtermcap
29400 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
29401 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
29402 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
29403 r=`${PWD_COMMAND}`; export r; \
29404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29405 $(NORMAL_TARGET_EXPORTS) \
29406 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
29407 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
29408 case $(srcdir) in \
29409 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29410 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
29411 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29412 esac; \
29413 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
29414 libsrcdir="$$s/libtermcap"; \
29415 rm -f no-such-file || : ; \
29416 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29417 $(TARGET_CONFIGARGS) $${srcdiroption} \
29418 || exit 1
29419 @endif target-libtermcap
29425 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
29426 maybe-all-target-libtermcap:
29427 @if target-libtermcap
29428 TARGET-target-libtermcap=all
29429 maybe-all-target-libtermcap: all-target-libtermcap
29430 all-target-libtermcap: configure-target-libtermcap
29431 @r=`${PWD_COMMAND}`; export r; \
29432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29433 $(NORMAL_TARGET_EXPORTS) \
29434 (cd $(TARGET_SUBDIR)/libtermcap && \
29435 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
29436 @endif target-libtermcap
29442 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
29443 maybe-check-target-libtermcap:
29444 @if target-libtermcap
29445 maybe-check-target-libtermcap: check-target-libtermcap
29447 # Dummy target for uncheckable module.
29448 check-target-libtermcap:
29450 @endif target-libtermcap
29452 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
29453 maybe-install-target-libtermcap:
29454 @if target-libtermcap
29455 maybe-install-target-libtermcap: install-target-libtermcap
29457 install-target-libtermcap: installdirs
29458 @r=`${PWD_COMMAND}`; export r; \
29459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29460 $(NORMAL_TARGET_EXPORTS) \
29461 (cd $(TARGET_SUBDIR)/libtermcap && \
29462 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29464 @endif target-libtermcap
29466 # Other targets (info, dvi, etc.)
29468 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
29469 maybe-info-target-libtermcap:
29470 @if target-libtermcap
29471 maybe-info-target-libtermcap: info-target-libtermcap
29473 info-target-libtermcap: \
29474 configure-target-libtermcap
29475 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29476 r=`${PWD_COMMAND}`; export r; \
29477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29478 $(NORMAL_TARGET_EXPORTS) \
29479 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
29480 for flag in $(EXTRA_TARGET_FLAGS); do \
29481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29482 done; \
29483 (cd $(TARGET_SUBDIR)/libtermcap && \
29484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29486 "RANLIB=$${RANLIB}" \
29487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29488 info) \
29489 || exit 1
29491 @endif target-libtermcap
29493 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
29494 maybe-dvi-target-libtermcap:
29495 @if target-libtermcap
29496 maybe-dvi-target-libtermcap: dvi-target-libtermcap
29498 dvi-target-libtermcap: \
29499 configure-target-libtermcap
29500 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29501 r=`${PWD_COMMAND}`; export r; \
29502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29503 $(NORMAL_TARGET_EXPORTS) \
29504 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
29505 for flag in $(EXTRA_TARGET_FLAGS); do \
29506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29507 done; \
29508 (cd $(TARGET_SUBDIR)/libtermcap && \
29509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29511 "RANLIB=$${RANLIB}" \
29512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29513 dvi) \
29514 || exit 1
29516 @endif target-libtermcap
29518 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
29519 maybe-html-target-libtermcap:
29520 @if target-libtermcap
29521 maybe-html-target-libtermcap: html-target-libtermcap
29523 html-target-libtermcap: \
29524 configure-target-libtermcap
29525 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29526 r=`${PWD_COMMAND}`; export r; \
29527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29528 $(NORMAL_TARGET_EXPORTS) \
29529 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
29530 for flag in $(EXTRA_TARGET_FLAGS); do \
29531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29532 done; \
29533 (cd $(TARGET_SUBDIR)/libtermcap && \
29534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29536 "RANLIB=$${RANLIB}" \
29537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29538 html) \
29539 || exit 1
29541 @endif target-libtermcap
29543 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
29544 maybe-TAGS-target-libtermcap:
29545 @if target-libtermcap
29546 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
29548 TAGS-target-libtermcap: \
29549 configure-target-libtermcap
29550 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29551 r=`${PWD_COMMAND}`; export r; \
29552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29553 $(NORMAL_TARGET_EXPORTS) \
29554 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
29555 for flag in $(EXTRA_TARGET_FLAGS); do \
29556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29557 done; \
29558 (cd $(TARGET_SUBDIR)/libtermcap && \
29559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29561 "RANLIB=$${RANLIB}" \
29562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29563 TAGS) \
29564 || exit 1
29566 @endif target-libtermcap
29568 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
29569 maybe-install-info-target-libtermcap:
29570 @if target-libtermcap
29571 maybe-install-info-target-libtermcap: install-info-target-libtermcap
29573 install-info-target-libtermcap: \
29574 configure-target-libtermcap \
29575 info-target-libtermcap
29576 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29577 r=`${PWD_COMMAND}`; export r; \
29578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29579 $(NORMAL_TARGET_EXPORTS) \
29580 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
29581 for flag in $(EXTRA_TARGET_FLAGS); do \
29582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29583 done; \
29584 (cd $(TARGET_SUBDIR)/libtermcap && \
29585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29587 "RANLIB=$${RANLIB}" \
29588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29589 install-info) \
29590 || exit 1
29592 @endif target-libtermcap
29594 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
29595 maybe-installcheck-target-libtermcap:
29596 @if target-libtermcap
29597 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
29599 installcheck-target-libtermcap: \
29600 configure-target-libtermcap
29601 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29602 r=`${PWD_COMMAND}`; export r; \
29603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29604 $(NORMAL_TARGET_EXPORTS) \
29605 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
29606 for flag in $(EXTRA_TARGET_FLAGS); do \
29607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29608 done; \
29609 (cd $(TARGET_SUBDIR)/libtermcap && \
29610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29612 "RANLIB=$${RANLIB}" \
29613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29614 installcheck) \
29615 || exit 1
29617 @endif target-libtermcap
29619 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
29620 maybe-mostlyclean-target-libtermcap:
29621 @if target-libtermcap
29622 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
29624 # libtermcap doesn't support mostlyclean.
29625 mostlyclean-target-libtermcap:
29627 @endif target-libtermcap
29629 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
29630 maybe-clean-target-libtermcap:
29631 @if target-libtermcap
29632 maybe-clean-target-libtermcap: clean-target-libtermcap
29634 # libtermcap doesn't support clean.
29635 clean-target-libtermcap:
29637 @endif target-libtermcap
29639 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
29640 maybe-distclean-target-libtermcap:
29641 @if target-libtermcap
29642 maybe-distclean-target-libtermcap: distclean-target-libtermcap
29644 # libtermcap doesn't support distclean.
29645 distclean-target-libtermcap:
29647 @endif target-libtermcap
29649 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
29650 maybe-maintainer-clean-target-libtermcap:
29651 @if target-libtermcap
29652 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
29654 # libtermcap doesn't support maintainer-clean.
29655 maintainer-clean-target-libtermcap:
29657 @endif target-libtermcap
29661 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29662 @if target-winsup
29663 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
29664 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
29665 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
29666 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
29667 @endif target-winsup
29671 .PHONY: configure-target-winsup maybe-configure-target-winsup
29672 maybe-configure-target-winsup:
29673 @if target-winsup
29674 maybe-configure-target-winsup: configure-target-winsup
29675 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
29676 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
29677 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
29678 r=`${PWD_COMMAND}`; export r; \
29679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29680 $(NORMAL_TARGET_EXPORTS) \
29681 echo Configuring in $(TARGET_SUBDIR)/winsup; \
29682 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
29683 case $(srcdir) in \
29684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29685 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
29686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29687 esac; \
29688 srcdiroption="--srcdir=$${topdir}/winsup"; \
29689 libsrcdir="$$s/winsup"; \
29690 rm -f no-such-file || : ; \
29691 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29692 $(TARGET_CONFIGARGS) $${srcdiroption} \
29693 || exit 1
29694 @endif target-winsup
29700 .PHONY: all-target-winsup maybe-all-target-winsup
29701 maybe-all-target-winsup:
29702 @if target-winsup
29703 TARGET-target-winsup=all
29704 maybe-all-target-winsup: all-target-winsup
29705 all-target-winsup: configure-target-winsup
29706 @r=`${PWD_COMMAND}`; export r; \
29707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29708 $(NORMAL_TARGET_EXPORTS) \
29709 (cd $(TARGET_SUBDIR)/winsup && \
29710 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
29711 @endif target-winsup
29717 .PHONY: check-target-winsup maybe-check-target-winsup
29718 maybe-check-target-winsup:
29719 @if target-winsup
29720 maybe-check-target-winsup: check-target-winsup
29722 check-target-winsup:
29723 @r=`${PWD_COMMAND}`; export r; \
29724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29725 $(NORMAL_TARGET_EXPORTS) \
29726 (cd $(TARGET_SUBDIR)/winsup && \
29727 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29729 @endif target-winsup
29731 .PHONY: install-target-winsup maybe-install-target-winsup
29732 maybe-install-target-winsup:
29733 @if target-winsup
29734 maybe-install-target-winsup: install-target-winsup
29736 install-target-winsup: installdirs
29737 @r=`${PWD_COMMAND}`; export r; \
29738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29739 $(NORMAL_TARGET_EXPORTS) \
29740 (cd $(TARGET_SUBDIR)/winsup && \
29741 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29743 @endif target-winsup
29745 # Other targets (info, dvi, etc.)
29747 .PHONY: maybe-info-target-winsup info-target-winsup
29748 maybe-info-target-winsup:
29749 @if target-winsup
29750 maybe-info-target-winsup: info-target-winsup
29752 info-target-winsup: \
29753 configure-target-winsup
29754 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29755 r=`${PWD_COMMAND}`; export r; \
29756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29757 $(NORMAL_TARGET_EXPORTS) \
29758 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
29759 for flag in $(EXTRA_TARGET_FLAGS); do \
29760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29761 done; \
29762 (cd $(TARGET_SUBDIR)/winsup && \
29763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29765 "RANLIB=$${RANLIB}" \
29766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29767 info) \
29768 || exit 1
29770 @endif target-winsup
29772 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
29773 maybe-dvi-target-winsup:
29774 @if target-winsup
29775 maybe-dvi-target-winsup: dvi-target-winsup
29777 dvi-target-winsup: \
29778 configure-target-winsup
29779 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29780 r=`${PWD_COMMAND}`; export r; \
29781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29782 $(NORMAL_TARGET_EXPORTS) \
29783 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
29784 for flag in $(EXTRA_TARGET_FLAGS); do \
29785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29786 done; \
29787 (cd $(TARGET_SUBDIR)/winsup && \
29788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29790 "RANLIB=$${RANLIB}" \
29791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29792 dvi) \
29793 || exit 1
29795 @endif target-winsup
29797 .PHONY: maybe-html-target-winsup html-target-winsup
29798 maybe-html-target-winsup:
29799 @if target-winsup
29800 maybe-html-target-winsup: html-target-winsup
29802 html-target-winsup: \
29803 configure-target-winsup
29804 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29805 r=`${PWD_COMMAND}`; export r; \
29806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29807 $(NORMAL_TARGET_EXPORTS) \
29808 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
29809 for flag in $(EXTRA_TARGET_FLAGS); do \
29810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29811 done; \
29812 (cd $(TARGET_SUBDIR)/winsup && \
29813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29815 "RANLIB=$${RANLIB}" \
29816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29817 html) \
29818 || exit 1
29820 @endif target-winsup
29822 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
29823 maybe-TAGS-target-winsup:
29824 @if target-winsup
29825 maybe-TAGS-target-winsup: TAGS-target-winsup
29827 TAGS-target-winsup: \
29828 configure-target-winsup
29829 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29830 r=`${PWD_COMMAND}`; export r; \
29831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29832 $(NORMAL_TARGET_EXPORTS) \
29833 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
29834 for flag in $(EXTRA_TARGET_FLAGS); do \
29835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29836 done; \
29837 (cd $(TARGET_SUBDIR)/winsup && \
29838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29840 "RANLIB=$${RANLIB}" \
29841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29842 TAGS) \
29843 || exit 1
29845 @endif target-winsup
29847 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
29848 maybe-install-info-target-winsup:
29849 @if target-winsup
29850 maybe-install-info-target-winsup: install-info-target-winsup
29852 install-info-target-winsup: \
29853 configure-target-winsup \
29854 info-target-winsup
29855 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29856 r=`${PWD_COMMAND}`; export r; \
29857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29858 $(NORMAL_TARGET_EXPORTS) \
29859 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
29860 for flag in $(EXTRA_TARGET_FLAGS); do \
29861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29862 done; \
29863 (cd $(TARGET_SUBDIR)/winsup && \
29864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29866 "RANLIB=$${RANLIB}" \
29867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29868 install-info) \
29869 || exit 1
29871 @endif target-winsup
29873 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
29874 maybe-installcheck-target-winsup:
29875 @if target-winsup
29876 maybe-installcheck-target-winsup: installcheck-target-winsup
29878 installcheck-target-winsup: \
29879 configure-target-winsup
29880 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29881 r=`${PWD_COMMAND}`; export r; \
29882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29883 $(NORMAL_TARGET_EXPORTS) \
29884 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
29885 for flag in $(EXTRA_TARGET_FLAGS); do \
29886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29887 done; \
29888 (cd $(TARGET_SUBDIR)/winsup && \
29889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29891 "RANLIB=$${RANLIB}" \
29892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29893 installcheck) \
29894 || exit 1
29896 @endif target-winsup
29898 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
29899 maybe-mostlyclean-target-winsup:
29900 @if target-winsup
29901 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
29903 mostlyclean-target-winsup:
29904 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29905 r=`${PWD_COMMAND}`; export r; \
29906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29907 $(NORMAL_TARGET_EXPORTS) \
29908 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
29909 for flag in $(EXTRA_TARGET_FLAGS); do \
29910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29911 done; \
29912 (cd $(TARGET_SUBDIR)/winsup && \
29913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29915 "RANLIB=$${RANLIB}" \
29916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29917 mostlyclean) \
29918 || exit 1
29920 @endif target-winsup
29922 .PHONY: maybe-clean-target-winsup clean-target-winsup
29923 maybe-clean-target-winsup:
29924 @if target-winsup
29925 maybe-clean-target-winsup: clean-target-winsup
29927 clean-target-winsup:
29928 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29929 r=`${PWD_COMMAND}`; export r; \
29930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29931 $(NORMAL_TARGET_EXPORTS) \
29932 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
29933 for flag in $(EXTRA_TARGET_FLAGS); do \
29934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29935 done; \
29936 (cd $(TARGET_SUBDIR)/winsup && \
29937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29939 "RANLIB=$${RANLIB}" \
29940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29941 clean) \
29942 || exit 1
29944 @endif target-winsup
29946 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
29947 maybe-distclean-target-winsup:
29948 @if target-winsup
29949 maybe-distclean-target-winsup: distclean-target-winsup
29951 distclean-target-winsup:
29952 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29953 r=`${PWD_COMMAND}`; export r; \
29954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29955 $(NORMAL_TARGET_EXPORTS) \
29956 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
29957 for flag in $(EXTRA_TARGET_FLAGS); do \
29958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29959 done; \
29960 (cd $(TARGET_SUBDIR)/winsup && \
29961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29963 "RANLIB=$${RANLIB}" \
29964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29965 distclean) \
29966 || exit 1
29968 @endif target-winsup
29970 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
29971 maybe-maintainer-clean-target-winsup:
29972 @if target-winsup
29973 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
29975 maintainer-clean-target-winsup:
29976 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29977 r=`${PWD_COMMAND}`; export r; \
29978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29979 $(NORMAL_TARGET_EXPORTS) \
29980 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
29981 for flag in $(EXTRA_TARGET_FLAGS); do \
29982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29983 done; \
29984 (cd $(TARGET_SUBDIR)/winsup && \
29985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29987 "RANLIB=$${RANLIB}" \
29988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29989 maintainer-clean) \
29990 || exit 1
29992 @endif target-winsup
29996 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29997 @if target-libgloss
29998 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
29999 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
30000 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
30001 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
30002 @endif target-libgloss
30006 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
30007 maybe-configure-target-libgloss:
30008 @if target-libgloss
30009 maybe-configure-target-libgloss: configure-target-libgloss
30010 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
30011 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
30012 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
30013 r=`${PWD_COMMAND}`; export r; \
30014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30015 $(NORMAL_TARGET_EXPORTS) \
30016 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
30017 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
30018 case $(srcdir) in \
30019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30020 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
30021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30022 esac; \
30023 srcdiroption="--srcdir=$${topdir}/libgloss"; \
30024 libsrcdir="$$s/libgloss"; \
30025 rm -f no-such-file || : ; \
30026 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30027 $(TARGET_CONFIGARGS) $${srcdiroption} \
30028 || exit 1
30029 @endif target-libgloss
30035 .PHONY: all-target-libgloss maybe-all-target-libgloss
30036 maybe-all-target-libgloss:
30037 @if target-libgloss
30038 TARGET-target-libgloss=all
30039 maybe-all-target-libgloss: all-target-libgloss
30040 all-target-libgloss: configure-target-libgloss
30041 @r=`${PWD_COMMAND}`; export r; \
30042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30043 $(NORMAL_TARGET_EXPORTS) \
30044 (cd $(TARGET_SUBDIR)/libgloss && \
30045 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
30046 @endif target-libgloss
30052 .PHONY: check-target-libgloss maybe-check-target-libgloss
30053 maybe-check-target-libgloss:
30054 @if target-libgloss
30055 maybe-check-target-libgloss: check-target-libgloss
30057 # Dummy target for uncheckable module.
30058 check-target-libgloss:
30060 @endif target-libgloss
30062 .PHONY: install-target-libgloss maybe-install-target-libgloss
30063 maybe-install-target-libgloss:
30064 @if target-libgloss
30065 maybe-install-target-libgloss: install-target-libgloss
30067 install-target-libgloss: installdirs
30068 @r=`${PWD_COMMAND}`; export r; \
30069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30070 $(NORMAL_TARGET_EXPORTS) \
30071 (cd $(TARGET_SUBDIR)/libgloss && \
30072 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30074 @endif target-libgloss
30076 # Other targets (info, dvi, etc.)
30078 .PHONY: maybe-info-target-libgloss info-target-libgloss
30079 maybe-info-target-libgloss:
30080 @if target-libgloss
30081 maybe-info-target-libgloss: info-target-libgloss
30083 info-target-libgloss: \
30084 configure-target-libgloss
30085 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30086 r=`${PWD_COMMAND}`; export r; \
30087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30088 $(NORMAL_TARGET_EXPORTS) \
30089 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
30090 for flag in $(EXTRA_TARGET_FLAGS); do \
30091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30092 done; \
30093 (cd $(TARGET_SUBDIR)/libgloss && \
30094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30096 "RANLIB=$${RANLIB}" \
30097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30098 info) \
30099 || exit 1
30101 @endif target-libgloss
30103 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
30104 maybe-dvi-target-libgloss:
30105 @if target-libgloss
30106 maybe-dvi-target-libgloss: dvi-target-libgloss
30108 dvi-target-libgloss: \
30109 configure-target-libgloss
30110 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30111 r=`${PWD_COMMAND}`; export r; \
30112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30113 $(NORMAL_TARGET_EXPORTS) \
30114 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
30115 for flag in $(EXTRA_TARGET_FLAGS); do \
30116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30117 done; \
30118 (cd $(TARGET_SUBDIR)/libgloss && \
30119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30121 "RANLIB=$${RANLIB}" \
30122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30123 dvi) \
30124 || exit 1
30126 @endif target-libgloss
30128 .PHONY: maybe-html-target-libgloss html-target-libgloss
30129 maybe-html-target-libgloss:
30130 @if target-libgloss
30131 maybe-html-target-libgloss: html-target-libgloss
30133 html-target-libgloss: \
30134 configure-target-libgloss
30135 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30136 r=`${PWD_COMMAND}`; export r; \
30137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30138 $(NORMAL_TARGET_EXPORTS) \
30139 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
30140 for flag in $(EXTRA_TARGET_FLAGS); do \
30141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30142 done; \
30143 (cd $(TARGET_SUBDIR)/libgloss && \
30144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30146 "RANLIB=$${RANLIB}" \
30147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30148 html) \
30149 || exit 1
30151 @endif target-libgloss
30153 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
30154 maybe-TAGS-target-libgloss:
30155 @if target-libgloss
30156 maybe-TAGS-target-libgloss: TAGS-target-libgloss
30158 TAGS-target-libgloss: \
30159 configure-target-libgloss
30160 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30161 r=`${PWD_COMMAND}`; export r; \
30162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30163 $(NORMAL_TARGET_EXPORTS) \
30164 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
30165 for flag in $(EXTRA_TARGET_FLAGS); do \
30166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30167 done; \
30168 (cd $(TARGET_SUBDIR)/libgloss && \
30169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30171 "RANLIB=$${RANLIB}" \
30172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30173 TAGS) \
30174 || exit 1
30176 @endif target-libgloss
30178 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
30179 maybe-install-info-target-libgloss:
30180 @if target-libgloss
30181 maybe-install-info-target-libgloss: install-info-target-libgloss
30183 install-info-target-libgloss: \
30184 configure-target-libgloss \
30185 info-target-libgloss
30186 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30187 r=`${PWD_COMMAND}`; export r; \
30188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30189 $(NORMAL_TARGET_EXPORTS) \
30190 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
30191 for flag in $(EXTRA_TARGET_FLAGS); do \
30192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30193 done; \
30194 (cd $(TARGET_SUBDIR)/libgloss && \
30195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30197 "RANLIB=$${RANLIB}" \
30198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30199 install-info) \
30200 || exit 1
30202 @endif target-libgloss
30204 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
30205 maybe-installcheck-target-libgloss:
30206 @if target-libgloss
30207 maybe-installcheck-target-libgloss: installcheck-target-libgloss
30209 installcheck-target-libgloss: \
30210 configure-target-libgloss
30211 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30212 r=`${PWD_COMMAND}`; export r; \
30213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30214 $(NORMAL_TARGET_EXPORTS) \
30215 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
30216 for flag in $(EXTRA_TARGET_FLAGS); do \
30217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30218 done; \
30219 (cd $(TARGET_SUBDIR)/libgloss && \
30220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30222 "RANLIB=$${RANLIB}" \
30223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30224 installcheck) \
30225 || exit 1
30227 @endif target-libgloss
30229 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
30230 maybe-mostlyclean-target-libgloss:
30231 @if target-libgloss
30232 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
30234 mostlyclean-target-libgloss:
30235 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30236 r=`${PWD_COMMAND}`; export r; \
30237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30238 $(NORMAL_TARGET_EXPORTS) \
30239 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
30240 for flag in $(EXTRA_TARGET_FLAGS); do \
30241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30242 done; \
30243 (cd $(TARGET_SUBDIR)/libgloss && \
30244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30246 "RANLIB=$${RANLIB}" \
30247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30248 mostlyclean) \
30249 || exit 1
30251 @endif target-libgloss
30253 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
30254 maybe-clean-target-libgloss:
30255 @if target-libgloss
30256 maybe-clean-target-libgloss: clean-target-libgloss
30258 clean-target-libgloss:
30259 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30260 r=`${PWD_COMMAND}`; export r; \
30261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30262 $(NORMAL_TARGET_EXPORTS) \
30263 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
30264 for flag in $(EXTRA_TARGET_FLAGS); do \
30265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30266 done; \
30267 (cd $(TARGET_SUBDIR)/libgloss && \
30268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30270 "RANLIB=$${RANLIB}" \
30271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30272 clean) \
30273 || exit 1
30275 @endif target-libgloss
30277 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
30278 maybe-distclean-target-libgloss:
30279 @if target-libgloss
30280 maybe-distclean-target-libgloss: distclean-target-libgloss
30282 distclean-target-libgloss:
30283 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30284 r=`${PWD_COMMAND}`; export r; \
30285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30286 $(NORMAL_TARGET_EXPORTS) \
30287 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
30288 for flag in $(EXTRA_TARGET_FLAGS); do \
30289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30290 done; \
30291 (cd $(TARGET_SUBDIR)/libgloss && \
30292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30294 "RANLIB=$${RANLIB}" \
30295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30296 distclean) \
30297 || exit 1
30299 @endif target-libgloss
30301 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
30302 maybe-maintainer-clean-target-libgloss:
30303 @if target-libgloss
30304 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
30306 maintainer-clean-target-libgloss:
30307 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30308 r=`${PWD_COMMAND}`; export r; \
30309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30310 $(NORMAL_TARGET_EXPORTS) \
30311 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
30312 for flag in $(EXTRA_TARGET_FLAGS); do \
30313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30314 done; \
30315 (cd $(TARGET_SUBDIR)/libgloss && \
30316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30318 "RANLIB=$${RANLIB}" \
30319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30320 maintainer-clean) \
30321 || exit 1
30323 @endif target-libgloss
30327 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30328 @if target-libiberty
30329 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
30330 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
30331 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
30332 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
30333 @endif target-libiberty
30337 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
30338 maybe-configure-target-libiberty:
30339 @if target-libiberty
30340 maybe-configure-target-libiberty: configure-target-libiberty
30341 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
30342 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
30343 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
30344 r=`${PWD_COMMAND}`; export r; \
30345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30346 $(NORMAL_TARGET_EXPORTS) \
30347 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
30348 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
30349 case $(srcdir) in \
30350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30351 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
30352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30353 esac; \
30354 srcdiroption="--srcdir=$${topdir}/libiberty"; \
30355 libsrcdir="$$s/libiberty"; \
30356 rm -f no-such-file || : ; \
30357 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30358 $(TARGET_CONFIGARGS) $${srcdiroption} \
30359 || exit 1
30360 @endif target-libiberty
30366 .PHONY: all-target-libiberty maybe-all-target-libiberty
30367 maybe-all-target-libiberty:
30368 @if target-libiberty
30369 TARGET-target-libiberty=all
30370 maybe-all-target-libiberty: all-target-libiberty
30371 all-target-libiberty: configure-target-libiberty
30372 @r=`${PWD_COMMAND}`; export r; \
30373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30374 $(NORMAL_TARGET_EXPORTS) \
30375 (cd $(TARGET_SUBDIR)/libiberty && \
30376 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
30377 @endif target-libiberty
30383 .PHONY: check-target-libiberty maybe-check-target-libiberty
30384 maybe-check-target-libiberty:
30385 @if target-libiberty
30386 maybe-check-target-libiberty: check-target-libiberty
30388 check-target-libiberty:
30389 @r=`${PWD_COMMAND}`; export r; \
30390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30391 $(NORMAL_TARGET_EXPORTS) \
30392 (cd $(TARGET_SUBDIR)/libiberty && \
30393 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30395 @endif target-libiberty
30397 .PHONY: install-target-libiberty maybe-install-target-libiberty
30398 maybe-install-target-libiberty:
30399 @if target-libiberty
30400 maybe-install-target-libiberty: install-target-libiberty
30402 install-target-libiberty: installdirs
30403 @r=`${PWD_COMMAND}`; export r; \
30404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30405 $(NORMAL_TARGET_EXPORTS) \
30406 (cd $(TARGET_SUBDIR)/libiberty && \
30407 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30409 @endif target-libiberty
30411 # Other targets (info, dvi, etc.)
30413 .PHONY: maybe-info-target-libiberty info-target-libiberty
30414 maybe-info-target-libiberty:
30415 @if target-libiberty
30416 maybe-info-target-libiberty: info-target-libiberty
30418 info-target-libiberty: \
30419 configure-target-libiberty
30420 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30421 r=`${PWD_COMMAND}`; export r; \
30422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30423 $(NORMAL_TARGET_EXPORTS) \
30424 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
30425 for flag in $(EXTRA_TARGET_FLAGS); do \
30426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30427 done; \
30428 (cd $(TARGET_SUBDIR)/libiberty && \
30429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30431 "RANLIB=$${RANLIB}" \
30432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30433 info) \
30434 || exit 1
30436 @endif target-libiberty
30438 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
30439 maybe-dvi-target-libiberty:
30440 @if target-libiberty
30441 maybe-dvi-target-libiberty: dvi-target-libiberty
30443 dvi-target-libiberty: \
30444 configure-target-libiberty
30445 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30446 r=`${PWD_COMMAND}`; export r; \
30447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30448 $(NORMAL_TARGET_EXPORTS) \
30449 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
30450 for flag in $(EXTRA_TARGET_FLAGS); do \
30451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30452 done; \
30453 (cd $(TARGET_SUBDIR)/libiberty && \
30454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30456 "RANLIB=$${RANLIB}" \
30457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30458 dvi) \
30459 || exit 1
30461 @endif target-libiberty
30463 .PHONY: maybe-html-target-libiberty html-target-libiberty
30464 maybe-html-target-libiberty:
30465 @if target-libiberty
30466 maybe-html-target-libiberty: html-target-libiberty
30468 html-target-libiberty: \
30469 configure-target-libiberty
30470 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30471 r=`${PWD_COMMAND}`; export r; \
30472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30473 $(NORMAL_TARGET_EXPORTS) \
30474 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
30475 for flag in $(EXTRA_TARGET_FLAGS); do \
30476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30477 done; \
30478 (cd $(TARGET_SUBDIR)/libiberty && \
30479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30481 "RANLIB=$${RANLIB}" \
30482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30483 html) \
30484 || exit 1
30486 @endif target-libiberty
30488 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
30489 maybe-TAGS-target-libiberty:
30490 @if target-libiberty
30491 maybe-TAGS-target-libiberty: TAGS-target-libiberty
30493 TAGS-target-libiberty: \
30494 configure-target-libiberty
30495 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30496 r=`${PWD_COMMAND}`; export r; \
30497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30498 $(NORMAL_TARGET_EXPORTS) \
30499 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
30500 for flag in $(EXTRA_TARGET_FLAGS); do \
30501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30502 done; \
30503 (cd $(TARGET_SUBDIR)/libiberty && \
30504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30506 "RANLIB=$${RANLIB}" \
30507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30508 TAGS) \
30509 || exit 1
30511 @endif target-libiberty
30513 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
30514 maybe-install-info-target-libiberty:
30515 @if target-libiberty
30516 maybe-install-info-target-libiberty: install-info-target-libiberty
30518 install-info-target-libiberty: \
30519 configure-target-libiberty \
30520 info-target-libiberty
30521 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30522 r=`${PWD_COMMAND}`; export r; \
30523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30524 $(NORMAL_TARGET_EXPORTS) \
30525 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
30526 for flag in $(EXTRA_TARGET_FLAGS); do \
30527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30528 done; \
30529 (cd $(TARGET_SUBDIR)/libiberty && \
30530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30532 "RANLIB=$${RANLIB}" \
30533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30534 install-info) \
30535 || exit 1
30537 @endif target-libiberty
30539 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
30540 maybe-installcheck-target-libiberty:
30541 @if target-libiberty
30542 maybe-installcheck-target-libiberty: installcheck-target-libiberty
30544 installcheck-target-libiberty: \
30545 configure-target-libiberty
30546 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30547 r=`${PWD_COMMAND}`; export r; \
30548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30549 $(NORMAL_TARGET_EXPORTS) \
30550 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
30551 for flag in $(EXTRA_TARGET_FLAGS); do \
30552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30553 done; \
30554 (cd $(TARGET_SUBDIR)/libiberty && \
30555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30557 "RANLIB=$${RANLIB}" \
30558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30559 installcheck) \
30560 || exit 1
30562 @endif target-libiberty
30564 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
30565 maybe-mostlyclean-target-libiberty:
30566 @if target-libiberty
30567 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
30569 mostlyclean-target-libiberty:
30570 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30571 r=`${PWD_COMMAND}`; export r; \
30572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30573 $(NORMAL_TARGET_EXPORTS) \
30574 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
30575 for flag in $(EXTRA_TARGET_FLAGS); do \
30576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30577 done; \
30578 (cd $(TARGET_SUBDIR)/libiberty && \
30579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30581 "RANLIB=$${RANLIB}" \
30582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30583 mostlyclean) \
30584 || exit 1
30586 @endif target-libiberty
30588 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
30589 maybe-clean-target-libiberty:
30590 @if target-libiberty
30591 maybe-clean-target-libiberty: clean-target-libiberty
30593 clean-target-libiberty:
30594 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30595 r=`${PWD_COMMAND}`; export r; \
30596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30597 $(NORMAL_TARGET_EXPORTS) \
30598 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
30599 for flag in $(EXTRA_TARGET_FLAGS); do \
30600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30601 done; \
30602 (cd $(TARGET_SUBDIR)/libiberty && \
30603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30605 "RANLIB=$${RANLIB}" \
30606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30607 clean) \
30608 || exit 1
30610 @endif target-libiberty
30612 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
30613 maybe-distclean-target-libiberty:
30614 @if target-libiberty
30615 maybe-distclean-target-libiberty: distclean-target-libiberty
30617 distclean-target-libiberty:
30618 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30619 r=`${PWD_COMMAND}`; export r; \
30620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30621 $(NORMAL_TARGET_EXPORTS) \
30622 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
30623 for flag in $(EXTRA_TARGET_FLAGS); do \
30624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30625 done; \
30626 (cd $(TARGET_SUBDIR)/libiberty && \
30627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30629 "RANLIB=$${RANLIB}" \
30630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30631 distclean) \
30632 || exit 1
30634 @endif target-libiberty
30636 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
30637 maybe-maintainer-clean-target-libiberty:
30638 @if target-libiberty
30639 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
30641 maintainer-clean-target-libiberty:
30642 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30643 r=`${PWD_COMMAND}`; export r; \
30644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30645 $(NORMAL_TARGET_EXPORTS) \
30646 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
30647 for flag in $(EXTRA_TARGET_FLAGS); do \
30648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30649 done; \
30650 (cd $(TARGET_SUBDIR)/libiberty && \
30651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30653 "RANLIB=$${RANLIB}" \
30654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30655 maintainer-clean) \
30656 || exit 1
30658 @endif target-libiberty
30662 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30663 @if target-gperf
30664 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
30665 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
30666 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
30667 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
30668 @endif target-gperf
30672 .PHONY: configure-target-gperf maybe-configure-target-gperf
30673 maybe-configure-target-gperf:
30674 @if target-gperf
30675 maybe-configure-target-gperf: configure-target-gperf
30676 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
30677 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
30678 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
30679 r=`${PWD_COMMAND}`; export r; \
30680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30681 $(NORMAL_TARGET_EXPORTS) \
30682 echo Configuring in $(TARGET_SUBDIR)/gperf; \
30683 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
30684 case $(srcdir) in \
30685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30686 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
30687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30688 esac; \
30689 srcdiroption="--srcdir=$${topdir}/gperf"; \
30690 libsrcdir="$$s/gperf"; \
30691 rm -f no-such-file || : ; \
30692 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30693 $(TARGET_CONFIGARGS) $${srcdiroption} \
30694 || exit 1
30695 @endif target-gperf
30701 .PHONY: all-target-gperf maybe-all-target-gperf
30702 maybe-all-target-gperf:
30703 @if target-gperf
30704 TARGET-target-gperf=all
30705 maybe-all-target-gperf: all-target-gperf
30706 all-target-gperf: configure-target-gperf
30707 @r=`${PWD_COMMAND}`; export r; \
30708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30709 $(NORMAL_TARGET_EXPORTS) \
30710 (cd $(TARGET_SUBDIR)/gperf && \
30711 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
30712 @endif target-gperf
30718 .PHONY: check-target-gperf maybe-check-target-gperf
30719 maybe-check-target-gperf:
30720 @if target-gperf
30721 maybe-check-target-gperf: check-target-gperf
30723 check-target-gperf:
30724 @r=`${PWD_COMMAND}`; export r; \
30725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30726 $(NORMAL_TARGET_EXPORTS) \
30727 (cd $(TARGET_SUBDIR)/gperf && \
30728 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30730 @endif target-gperf
30732 .PHONY: install-target-gperf maybe-install-target-gperf
30733 maybe-install-target-gperf:
30734 @if target-gperf
30735 maybe-install-target-gperf: install-target-gperf
30737 install-target-gperf: installdirs
30738 @r=`${PWD_COMMAND}`; export r; \
30739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30740 $(NORMAL_TARGET_EXPORTS) \
30741 (cd $(TARGET_SUBDIR)/gperf && \
30742 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30744 @endif target-gperf
30746 # Other targets (info, dvi, etc.)
30748 .PHONY: maybe-info-target-gperf info-target-gperf
30749 maybe-info-target-gperf:
30750 @if target-gperf
30751 maybe-info-target-gperf: info-target-gperf
30753 info-target-gperf: \
30754 configure-target-gperf
30755 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30756 r=`${PWD_COMMAND}`; export r; \
30757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30758 $(NORMAL_TARGET_EXPORTS) \
30759 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
30760 for flag in $(EXTRA_TARGET_FLAGS); do \
30761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30762 done; \
30763 (cd $(TARGET_SUBDIR)/gperf && \
30764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30766 "RANLIB=$${RANLIB}" \
30767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30768 info) \
30769 || exit 1
30771 @endif target-gperf
30773 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
30774 maybe-dvi-target-gperf:
30775 @if target-gperf
30776 maybe-dvi-target-gperf: dvi-target-gperf
30778 dvi-target-gperf: \
30779 configure-target-gperf
30780 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30781 r=`${PWD_COMMAND}`; export r; \
30782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30783 $(NORMAL_TARGET_EXPORTS) \
30784 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
30785 for flag in $(EXTRA_TARGET_FLAGS); do \
30786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30787 done; \
30788 (cd $(TARGET_SUBDIR)/gperf && \
30789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30791 "RANLIB=$${RANLIB}" \
30792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30793 dvi) \
30794 || exit 1
30796 @endif target-gperf
30798 .PHONY: maybe-html-target-gperf html-target-gperf
30799 maybe-html-target-gperf:
30800 @if target-gperf
30801 maybe-html-target-gperf: html-target-gperf
30803 html-target-gperf: \
30804 configure-target-gperf
30805 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30806 r=`${PWD_COMMAND}`; export r; \
30807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30808 $(NORMAL_TARGET_EXPORTS) \
30809 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
30810 for flag in $(EXTRA_TARGET_FLAGS); do \
30811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30812 done; \
30813 (cd $(TARGET_SUBDIR)/gperf && \
30814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30816 "RANLIB=$${RANLIB}" \
30817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30818 html) \
30819 || exit 1
30821 @endif target-gperf
30823 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
30824 maybe-TAGS-target-gperf:
30825 @if target-gperf
30826 maybe-TAGS-target-gperf: TAGS-target-gperf
30828 TAGS-target-gperf: \
30829 configure-target-gperf
30830 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30831 r=`${PWD_COMMAND}`; export r; \
30832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30833 $(NORMAL_TARGET_EXPORTS) \
30834 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
30835 for flag in $(EXTRA_TARGET_FLAGS); do \
30836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30837 done; \
30838 (cd $(TARGET_SUBDIR)/gperf && \
30839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30841 "RANLIB=$${RANLIB}" \
30842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30843 TAGS) \
30844 || exit 1
30846 @endif target-gperf
30848 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
30849 maybe-install-info-target-gperf:
30850 @if target-gperf
30851 maybe-install-info-target-gperf: install-info-target-gperf
30853 install-info-target-gperf: \
30854 configure-target-gperf \
30855 info-target-gperf
30856 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30857 r=`${PWD_COMMAND}`; export r; \
30858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30859 $(NORMAL_TARGET_EXPORTS) \
30860 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
30861 for flag in $(EXTRA_TARGET_FLAGS); do \
30862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30863 done; \
30864 (cd $(TARGET_SUBDIR)/gperf && \
30865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30867 "RANLIB=$${RANLIB}" \
30868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30869 install-info) \
30870 || exit 1
30872 @endif target-gperf
30874 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
30875 maybe-installcheck-target-gperf:
30876 @if target-gperf
30877 maybe-installcheck-target-gperf: installcheck-target-gperf
30879 installcheck-target-gperf: \
30880 configure-target-gperf
30881 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30882 r=`${PWD_COMMAND}`; export r; \
30883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30884 $(NORMAL_TARGET_EXPORTS) \
30885 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
30886 for flag in $(EXTRA_TARGET_FLAGS); do \
30887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30888 done; \
30889 (cd $(TARGET_SUBDIR)/gperf && \
30890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30892 "RANLIB=$${RANLIB}" \
30893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30894 installcheck) \
30895 || exit 1
30897 @endif target-gperf
30899 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
30900 maybe-mostlyclean-target-gperf:
30901 @if target-gperf
30902 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
30904 mostlyclean-target-gperf:
30905 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30906 r=`${PWD_COMMAND}`; export r; \
30907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30908 $(NORMAL_TARGET_EXPORTS) \
30909 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
30910 for flag in $(EXTRA_TARGET_FLAGS); do \
30911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30912 done; \
30913 (cd $(TARGET_SUBDIR)/gperf && \
30914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30916 "RANLIB=$${RANLIB}" \
30917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30918 mostlyclean) \
30919 || exit 1
30921 @endif target-gperf
30923 .PHONY: maybe-clean-target-gperf clean-target-gperf
30924 maybe-clean-target-gperf:
30925 @if target-gperf
30926 maybe-clean-target-gperf: clean-target-gperf
30928 clean-target-gperf:
30929 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30930 r=`${PWD_COMMAND}`; export r; \
30931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30932 $(NORMAL_TARGET_EXPORTS) \
30933 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
30934 for flag in $(EXTRA_TARGET_FLAGS); do \
30935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30936 done; \
30937 (cd $(TARGET_SUBDIR)/gperf && \
30938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30940 "RANLIB=$${RANLIB}" \
30941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30942 clean) \
30943 || exit 1
30945 @endif target-gperf
30947 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
30948 maybe-distclean-target-gperf:
30949 @if target-gperf
30950 maybe-distclean-target-gperf: distclean-target-gperf
30952 distclean-target-gperf:
30953 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30954 r=`${PWD_COMMAND}`; export r; \
30955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30956 $(NORMAL_TARGET_EXPORTS) \
30957 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
30958 for flag in $(EXTRA_TARGET_FLAGS); do \
30959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30960 done; \
30961 (cd $(TARGET_SUBDIR)/gperf && \
30962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30964 "RANLIB=$${RANLIB}" \
30965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30966 distclean) \
30967 || exit 1
30969 @endif target-gperf
30971 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
30972 maybe-maintainer-clean-target-gperf:
30973 @if target-gperf
30974 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
30976 maintainer-clean-target-gperf:
30977 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30978 r=`${PWD_COMMAND}`; export r; \
30979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30980 $(NORMAL_TARGET_EXPORTS) \
30981 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
30982 for flag in $(EXTRA_TARGET_FLAGS); do \
30983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30984 done; \
30985 (cd $(TARGET_SUBDIR)/gperf && \
30986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30988 "RANLIB=$${RANLIB}" \
30989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30990 maintainer-clean) \
30991 || exit 1
30993 @endif target-gperf
30997 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30998 @if target-examples
30999 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
31000 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
31001 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
31002 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
31003 @endif target-examples
31007 .PHONY: configure-target-examples maybe-configure-target-examples
31008 maybe-configure-target-examples:
31009 @if target-examples
31010 maybe-configure-target-examples: configure-target-examples
31011 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
31012 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
31013 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
31014 r=`${PWD_COMMAND}`; export r; \
31015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31016 $(NORMAL_TARGET_EXPORTS) \
31017 echo Configuring in $(TARGET_SUBDIR)/examples; \
31018 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
31019 case $(srcdir) in \
31020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31021 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
31022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31023 esac; \
31024 srcdiroption="--srcdir=$${topdir}/examples"; \
31025 libsrcdir="$$s/examples"; \
31026 rm -f no-such-file || : ; \
31027 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31028 $(TARGET_CONFIGARGS) $${srcdiroption} \
31029 || exit 1
31030 @endif target-examples
31036 .PHONY: all-target-examples maybe-all-target-examples
31037 maybe-all-target-examples:
31038 @if target-examples
31039 TARGET-target-examples=all
31040 maybe-all-target-examples: all-target-examples
31041 all-target-examples: configure-target-examples
31042 @r=`${PWD_COMMAND}`; export r; \
31043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31044 $(NORMAL_TARGET_EXPORTS) \
31045 (cd $(TARGET_SUBDIR)/examples && \
31046 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
31047 @endif target-examples
31053 .PHONY: check-target-examples maybe-check-target-examples
31054 maybe-check-target-examples:
31055 @if target-examples
31056 maybe-check-target-examples: check-target-examples
31058 # Dummy target for uncheckable module.
31059 check-target-examples:
31061 @endif target-examples
31063 .PHONY: install-target-examples maybe-install-target-examples
31064 maybe-install-target-examples:
31065 @if target-examples
31066 maybe-install-target-examples: install-target-examples
31068 # Dummy target for uninstallable.
31069 install-target-examples:
31071 @endif target-examples
31073 # Other targets (info, dvi, etc.)
31075 .PHONY: maybe-info-target-examples info-target-examples
31076 maybe-info-target-examples:
31077 @if target-examples
31078 maybe-info-target-examples: info-target-examples
31080 info-target-examples: \
31081 configure-target-examples
31082 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31083 r=`${PWD_COMMAND}`; export r; \
31084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31085 $(NORMAL_TARGET_EXPORTS) \
31086 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
31087 for flag in $(EXTRA_TARGET_FLAGS); do \
31088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31089 done; \
31090 (cd $(TARGET_SUBDIR)/examples && \
31091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31093 "RANLIB=$${RANLIB}" \
31094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31095 info) \
31096 || exit 1
31098 @endif target-examples
31100 .PHONY: maybe-dvi-target-examples dvi-target-examples
31101 maybe-dvi-target-examples:
31102 @if target-examples
31103 maybe-dvi-target-examples: dvi-target-examples
31105 dvi-target-examples: \
31106 configure-target-examples
31107 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31108 r=`${PWD_COMMAND}`; export r; \
31109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31110 $(NORMAL_TARGET_EXPORTS) \
31111 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
31112 for flag in $(EXTRA_TARGET_FLAGS); do \
31113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31114 done; \
31115 (cd $(TARGET_SUBDIR)/examples && \
31116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31118 "RANLIB=$${RANLIB}" \
31119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31120 dvi) \
31121 || exit 1
31123 @endif target-examples
31125 .PHONY: maybe-html-target-examples html-target-examples
31126 maybe-html-target-examples:
31127 @if target-examples
31128 maybe-html-target-examples: html-target-examples
31130 html-target-examples: \
31131 configure-target-examples
31132 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31133 r=`${PWD_COMMAND}`; export r; \
31134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31135 $(NORMAL_TARGET_EXPORTS) \
31136 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
31137 for flag in $(EXTRA_TARGET_FLAGS); do \
31138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31139 done; \
31140 (cd $(TARGET_SUBDIR)/examples && \
31141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31143 "RANLIB=$${RANLIB}" \
31144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31145 html) \
31146 || exit 1
31148 @endif target-examples
31150 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
31151 maybe-TAGS-target-examples:
31152 @if target-examples
31153 maybe-TAGS-target-examples: TAGS-target-examples
31155 TAGS-target-examples: \
31156 configure-target-examples
31157 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31158 r=`${PWD_COMMAND}`; export r; \
31159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31160 $(NORMAL_TARGET_EXPORTS) \
31161 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
31162 for flag in $(EXTRA_TARGET_FLAGS); do \
31163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31164 done; \
31165 (cd $(TARGET_SUBDIR)/examples && \
31166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31168 "RANLIB=$${RANLIB}" \
31169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31170 TAGS) \
31171 || exit 1
31173 @endif target-examples
31175 .PHONY: maybe-install-info-target-examples install-info-target-examples
31176 maybe-install-info-target-examples:
31177 @if target-examples
31178 maybe-install-info-target-examples: install-info-target-examples
31180 install-info-target-examples: \
31181 configure-target-examples \
31182 info-target-examples
31183 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31184 r=`${PWD_COMMAND}`; export r; \
31185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31186 $(NORMAL_TARGET_EXPORTS) \
31187 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
31188 for flag in $(EXTRA_TARGET_FLAGS); do \
31189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31190 done; \
31191 (cd $(TARGET_SUBDIR)/examples && \
31192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31194 "RANLIB=$${RANLIB}" \
31195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31196 install-info) \
31197 || exit 1
31199 @endif target-examples
31201 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
31202 maybe-installcheck-target-examples:
31203 @if target-examples
31204 maybe-installcheck-target-examples: installcheck-target-examples
31206 installcheck-target-examples: \
31207 configure-target-examples
31208 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31209 r=`${PWD_COMMAND}`; export r; \
31210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31211 $(NORMAL_TARGET_EXPORTS) \
31212 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
31213 for flag in $(EXTRA_TARGET_FLAGS); do \
31214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31215 done; \
31216 (cd $(TARGET_SUBDIR)/examples && \
31217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31219 "RANLIB=$${RANLIB}" \
31220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31221 installcheck) \
31222 || exit 1
31224 @endif target-examples
31226 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
31227 maybe-mostlyclean-target-examples:
31228 @if target-examples
31229 maybe-mostlyclean-target-examples: mostlyclean-target-examples
31231 mostlyclean-target-examples:
31232 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31233 r=`${PWD_COMMAND}`; export r; \
31234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31235 $(NORMAL_TARGET_EXPORTS) \
31236 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
31237 for flag in $(EXTRA_TARGET_FLAGS); do \
31238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31239 done; \
31240 (cd $(TARGET_SUBDIR)/examples && \
31241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31243 "RANLIB=$${RANLIB}" \
31244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31245 mostlyclean) \
31246 || exit 1
31248 @endif target-examples
31250 .PHONY: maybe-clean-target-examples clean-target-examples
31251 maybe-clean-target-examples:
31252 @if target-examples
31253 maybe-clean-target-examples: clean-target-examples
31255 clean-target-examples:
31256 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31257 r=`${PWD_COMMAND}`; export r; \
31258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31259 $(NORMAL_TARGET_EXPORTS) \
31260 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
31261 for flag in $(EXTRA_TARGET_FLAGS); do \
31262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31263 done; \
31264 (cd $(TARGET_SUBDIR)/examples && \
31265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31267 "RANLIB=$${RANLIB}" \
31268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31269 clean) \
31270 || exit 1
31272 @endif target-examples
31274 .PHONY: maybe-distclean-target-examples distclean-target-examples
31275 maybe-distclean-target-examples:
31276 @if target-examples
31277 maybe-distclean-target-examples: distclean-target-examples
31279 distclean-target-examples:
31280 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31281 r=`${PWD_COMMAND}`; export r; \
31282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31283 $(NORMAL_TARGET_EXPORTS) \
31284 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
31285 for flag in $(EXTRA_TARGET_FLAGS); do \
31286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31287 done; \
31288 (cd $(TARGET_SUBDIR)/examples && \
31289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31291 "RANLIB=$${RANLIB}" \
31292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31293 distclean) \
31294 || exit 1
31296 @endif target-examples
31298 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
31299 maybe-maintainer-clean-target-examples:
31300 @if target-examples
31301 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
31303 maintainer-clean-target-examples:
31304 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31305 r=`${PWD_COMMAND}`; export r; \
31306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31307 $(NORMAL_TARGET_EXPORTS) \
31308 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
31309 for flag in $(EXTRA_TARGET_FLAGS); do \
31310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31311 done; \
31312 (cd $(TARGET_SUBDIR)/examples && \
31313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31315 "RANLIB=$${RANLIB}" \
31316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31317 maintainer-clean) \
31318 || exit 1
31320 @endif target-examples
31324 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31325 @if target-libffi
31326 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
31327 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
31328 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
31329 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
31330 @endif target-libffi
31334 .PHONY: configure-target-libffi maybe-configure-target-libffi
31335 maybe-configure-target-libffi:
31336 @if target-libffi
31337 maybe-configure-target-libffi: configure-target-libffi
31338 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
31339 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
31340 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
31341 r=`${PWD_COMMAND}`; export r; \
31342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31343 $(NORMAL_TARGET_EXPORTS) \
31344 echo Configuring in $(TARGET_SUBDIR)/libffi; \
31345 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
31346 case $(srcdir) in \
31347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31348 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
31349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31350 esac; \
31351 srcdiroption="--srcdir=$${topdir}/libffi"; \
31352 libsrcdir="$$s/libffi"; \
31353 rm -f no-such-file || : ; \
31354 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31355 $(TARGET_CONFIGARGS) $${srcdiroption} \
31356 || exit 1
31357 @endif target-libffi
31363 .PHONY: all-target-libffi maybe-all-target-libffi
31364 maybe-all-target-libffi:
31365 @if target-libffi
31366 TARGET-target-libffi=all
31367 maybe-all-target-libffi: all-target-libffi
31368 all-target-libffi: configure-target-libffi
31369 @r=`${PWD_COMMAND}`; export r; \
31370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31371 $(NORMAL_TARGET_EXPORTS) \
31372 (cd $(TARGET_SUBDIR)/libffi && \
31373 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
31374 @endif target-libffi
31380 .PHONY: check-target-libffi maybe-check-target-libffi
31381 maybe-check-target-libffi:
31382 @if target-libffi
31383 maybe-check-target-libffi: check-target-libffi
31385 check-target-libffi:
31386 @r=`${PWD_COMMAND}`; export r; \
31387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31388 $(NORMAL_TARGET_EXPORTS) \
31389 (cd $(TARGET_SUBDIR)/libffi && \
31390 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31392 @endif target-libffi
31394 .PHONY: install-target-libffi maybe-install-target-libffi
31395 maybe-install-target-libffi:
31396 @if target-libffi
31397 maybe-install-target-libffi: install-target-libffi
31399 install-target-libffi: installdirs
31400 @r=`${PWD_COMMAND}`; export r; \
31401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31402 $(NORMAL_TARGET_EXPORTS) \
31403 (cd $(TARGET_SUBDIR)/libffi && \
31404 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31406 @endif target-libffi
31408 # Other targets (info, dvi, etc.)
31410 .PHONY: maybe-info-target-libffi info-target-libffi
31411 maybe-info-target-libffi:
31412 @if target-libffi
31413 maybe-info-target-libffi: info-target-libffi
31415 info-target-libffi: \
31416 configure-target-libffi
31417 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31418 r=`${PWD_COMMAND}`; export r; \
31419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31420 $(NORMAL_TARGET_EXPORTS) \
31421 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
31422 for flag in $(EXTRA_TARGET_FLAGS); do \
31423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31424 done; \
31425 (cd $(TARGET_SUBDIR)/libffi && \
31426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31428 "RANLIB=$${RANLIB}" \
31429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31430 info) \
31431 || exit 1
31433 @endif target-libffi
31435 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
31436 maybe-dvi-target-libffi:
31437 @if target-libffi
31438 maybe-dvi-target-libffi: dvi-target-libffi
31440 dvi-target-libffi: \
31441 configure-target-libffi
31442 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31443 r=`${PWD_COMMAND}`; export r; \
31444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31445 $(NORMAL_TARGET_EXPORTS) \
31446 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
31447 for flag in $(EXTRA_TARGET_FLAGS); do \
31448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31449 done; \
31450 (cd $(TARGET_SUBDIR)/libffi && \
31451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31453 "RANLIB=$${RANLIB}" \
31454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31455 dvi) \
31456 || exit 1
31458 @endif target-libffi
31460 .PHONY: maybe-html-target-libffi html-target-libffi
31461 maybe-html-target-libffi:
31462 @if target-libffi
31463 maybe-html-target-libffi: html-target-libffi
31465 html-target-libffi: \
31466 configure-target-libffi
31467 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31468 r=`${PWD_COMMAND}`; export r; \
31469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31470 $(NORMAL_TARGET_EXPORTS) \
31471 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
31472 for flag in $(EXTRA_TARGET_FLAGS); do \
31473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31474 done; \
31475 (cd $(TARGET_SUBDIR)/libffi && \
31476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31478 "RANLIB=$${RANLIB}" \
31479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31480 html) \
31481 || exit 1
31483 @endif target-libffi
31485 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
31486 maybe-TAGS-target-libffi:
31487 @if target-libffi
31488 maybe-TAGS-target-libffi: TAGS-target-libffi
31490 TAGS-target-libffi: \
31491 configure-target-libffi
31492 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31493 r=`${PWD_COMMAND}`; export r; \
31494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31495 $(NORMAL_TARGET_EXPORTS) \
31496 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
31497 for flag in $(EXTRA_TARGET_FLAGS); do \
31498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31499 done; \
31500 (cd $(TARGET_SUBDIR)/libffi && \
31501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31503 "RANLIB=$${RANLIB}" \
31504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31505 TAGS) \
31506 || exit 1
31508 @endif target-libffi
31510 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
31511 maybe-install-info-target-libffi:
31512 @if target-libffi
31513 maybe-install-info-target-libffi: install-info-target-libffi
31515 install-info-target-libffi: \
31516 configure-target-libffi \
31517 info-target-libffi
31518 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31519 r=`${PWD_COMMAND}`; export r; \
31520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31521 $(NORMAL_TARGET_EXPORTS) \
31522 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
31523 for flag in $(EXTRA_TARGET_FLAGS); do \
31524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31525 done; \
31526 (cd $(TARGET_SUBDIR)/libffi && \
31527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31529 "RANLIB=$${RANLIB}" \
31530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31531 install-info) \
31532 || exit 1
31534 @endif target-libffi
31536 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
31537 maybe-installcheck-target-libffi:
31538 @if target-libffi
31539 maybe-installcheck-target-libffi: installcheck-target-libffi
31541 installcheck-target-libffi: \
31542 configure-target-libffi
31543 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31544 r=`${PWD_COMMAND}`; export r; \
31545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31546 $(NORMAL_TARGET_EXPORTS) \
31547 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
31548 for flag in $(EXTRA_TARGET_FLAGS); do \
31549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31550 done; \
31551 (cd $(TARGET_SUBDIR)/libffi && \
31552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31554 "RANLIB=$${RANLIB}" \
31555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31556 installcheck) \
31557 || exit 1
31559 @endif target-libffi
31561 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
31562 maybe-mostlyclean-target-libffi:
31563 @if target-libffi
31564 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
31566 mostlyclean-target-libffi:
31567 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31568 r=`${PWD_COMMAND}`; export r; \
31569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31570 $(NORMAL_TARGET_EXPORTS) \
31571 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
31572 for flag in $(EXTRA_TARGET_FLAGS); do \
31573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31574 done; \
31575 (cd $(TARGET_SUBDIR)/libffi && \
31576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31578 "RANLIB=$${RANLIB}" \
31579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31580 mostlyclean) \
31581 || exit 1
31583 @endif target-libffi
31585 .PHONY: maybe-clean-target-libffi clean-target-libffi
31586 maybe-clean-target-libffi:
31587 @if target-libffi
31588 maybe-clean-target-libffi: clean-target-libffi
31590 clean-target-libffi:
31591 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31592 r=`${PWD_COMMAND}`; export r; \
31593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31594 $(NORMAL_TARGET_EXPORTS) \
31595 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
31596 for flag in $(EXTRA_TARGET_FLAGS); do \
31597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31598 done; \
31599 (cd $(TARGET_SUBDIR)/libffi && \
31600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31602 "RANLIB=$${RANLIB}" \
31603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31604 clean) \
31605 || exit 1
31607 @endif target-libffi
31609 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
31610 maybe-distclean-target-libffi:
31611 @if target-libffi
31612 maybe-distclean-target-libffi: distclean-target-libffi
31614 distclean-target-libffi:
31615 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31616 r=`${PWD_COMMAND}`; export r; \
31617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31618 $(NORMAL_TARGET_EXPORTS) \
31619 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
31620 for flag in $(EXTRA_TARGET_FLAGS); do \
31621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31622 done; \
31623 (cd $(TARGET_SUBDIR)/libffi && \
31624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31626 "RANLIB=$${RANLIB}" \
31627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31628 distclean) \
31629 || exit 1
31631 @endif target-libffi
31633 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
31634 maybe-maintainer-clean-target-libffi:
31635 @if target-libffi
31636 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
31638 maintainer-clean-target-libffi:
31639 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31640 r=`${PWD_COMMAND}`; export r; \
31641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31642 $(NORMAL_TARGET_EXPORTS) \
31643 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
31644 for flag in $(EXTRA_TARGET_FLAGS); do \
31645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31646 done; \
31647 (cd $(TARGET_SUBDIR)/libffi && \
31648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31650 "RANLIB=$${RANLIB}" \
31651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31652 maintainer-clean) \
31653 || exit 1
31655 @endif target-libffi
31659 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31660 @if target-libjava
31661 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
31662 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
31663 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
31664 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
31665 @endif target-libjava
31669 .PHONY: configure-target-libjava maybe-configure-target-libjava
31670 maybe-configure-target-libjava:
31671 @if target-libjava
31672 maybe-configure-target-libjava: configure-target-libjava
31673 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
31674 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
31675 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
31676 r=`${PWD_COMMAND}`; export r; \
31677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31678 $(RAW_CXX_TARGET_EXPORTS) \
31679 echo Configuring in $(TARGET_SUBDIR)/libjava; \
31680 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
31681 case $(srcdir) in \
31682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31683 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
31684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31685 esac; \
31686 srcdiroption="--srcdir=$${topdir}/libjava"; \
31687 libsrcdir="$$s/libjava"; \
31688 rm -f no-such-file || : ; \
31689 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31690 $(TARGET_CONFIGARGS) $${srcdiroption} \
31691 || exit 1
31692 @endif target-libjava
31698 .PHONY: all-target-libjava maybe-all-target-libjava
31699 maybe-all-target-libjava:
31700 @if target-libjava
31701 TARGET-target-libjava=all
31702 maybe-all-target-libjava: all-target-libjava
31703 all-target-libjava: configure-target-libjava
31704 @r=`${PWD_COMMAND}`; export r; \
31705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31706 $(RAW_CXX_TARGET_EXPORTS) \
31707 (cd $(TARGET_SUBDIR)/libjava && \
31708 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
31709 @endif target-libjava
31715 .PHONY: check-target-libjava maybe-check-target-libjava
31716 maybe-check-target-libjava:
31717 @if target-libjava
31718 maybe-check-target-libjava: check-target-libjava
31720 check-target-libjava:
31721 @r=`${PWD_COMMAND}`; export r; \
31722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31723 $(RAW_CXX_TARGET_EXPORTS) \
31724 (cd $(TARGET_SUBDIR)/libjava && \
31725 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31727 @endif target-libjava
31729 .PHONY: install-target-libjava maybe-install-target-libjava
31730 maybe-install-target-libjava:
31731 @if target-libjava
31732 maybe-install-target-libjava: install-target-libjava
31734 install-target-libjava: installdirs
31735 @r=`${PWD_COMMAND}`; export r; \
31736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31737 $(RAW_CXX_TARGET_EXPORTS) \
31738 (cd $(TARGET_SUBDIR)/libjava && \
31739 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31741 @endif target-libjava
31743 # Other targets (info, dvi, etc.)
31745 .PHONY: maybe-info-target-libjava info-target-libjava
31746 maybe-info-target-libjava:
31747 @if target-libjava
31748 maybe-info-target-libjava: info-target-libjava
31750 info-target-libjava: \
31751 configure-target-libjava
31752 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31753 r=`${PWD_COMMAND}`; export r; \
31754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31755 $(RAW_CXX_TARGET_EXPORTS) \
31756 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
31757 for flag in $(EXTRA_TARGET_FLAGS); do \
31758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31759 done; \
31760 (cd $(TARGET_SUBDIR)/libjava && \
31761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31763 "RANLIB=$${RANLIB}" \
31764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31765 info) \
31766 || exit 1
31768 @endif target-libjava
31770 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
31771 maybe-dvi-target-libjava:
31772 @if target-libjava
31773 maybe-dvi-target-libjava: dvi-target-libjava
31775 dvi-target-libjava: \
31776 configure-target-libjava
31777 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31778 r=`${PWD_COMMAND}`; export r; \
31779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31780 $(RAW_CXX_TARGET_EXPORTS) \
31781 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
31782 for flag in $(EXTRA_TARGET_FLAGS); do \
31783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31784 done; \
31785 (cd $(TARGET_SUBDIR)/libjava && \
31786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31788 "RANLIB=$${RANLIB}" \
31789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31790 dvi) \
31791 || exit 1
31793 @endif target-libjava
31795 .PHONY: maybe-html-target-libjava html-target-libjava
31796 maybe-html-target-libjava:
31797 @if target-libjava
31798 maybe-html-target-libjava: html-target-libjava
31800 html-target-libjava: \
31801 configure-target-libjava
31802 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31803 r=`${PWD_COMMAND}`; export r; \
31804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31805 $(RAW_CXX_TARGET_EXPORTS) \
31806 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
31807 for flag in $(EXTRA_TARGET_FLAGS); do \
31808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31809 done; \
31810 (cd $(TARGET_SUBDIR)/libjava && \
31811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31813 "RANLIB=$${RANLIB}" \
31814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31815 html) \
31816 || exit 1
31818 @endif target-libjava
31820 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
31821 maybe-TAGS-target-libjava:
31822 @if target-libjava
31823 maybe-TAGS-target-libjava: TAGS-target-libjava
31825 TAGS-target-libjava: \
31826 configure-target-libjava
31827 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31828 r=`${PWD_COMMAND}`; export r; \
31829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31830 $(RAW_CXX_TARGET_EXPORTS) \
31831 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
31832 for flag in $(EXTRA_TARGET_FLAGS); do \
31833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31834 done; \
31835 (cd $(TARGET_SUBDIR)/libjava && \
31836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31838 "RANLIB=$${RANLIB}" \
31839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31840 TAGS) \
31841 || exit 1
31843 @endif target-libjava
31845 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
31846 maybe-install-info-target-libjava:
31847 @if target-libjava
31848 maybe-install-info-target-libjava: install-info-target-libjava
31850 install-info-target-libjava: \
31851 configure-target-libjava \
31852 info-target-libjava
31853 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31854 r=`${PWD_COMMAND}`; export r; \
31855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31856 $(RAW_CXX_TARGET_EXPORTS) \
31857 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
31858 for flag in $(EXTRA_TARGET_FLAGS); do \
31859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31860 done; \
31861 (cd $(TARGET_SUBDIR)/libjava && \
31862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31864 "RANLIB=$${RANLIB}" \
31865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31866 install-info) \
31867 || exit 1
31869 @endif target-libjava
31871 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
31872 maybe-installcheck-target-libjava:
31873 @if target-libjava
31874 maybe-installcheck-target-libjava: installcheck-target-libjava
31876 installcheck-target-libjava: \
31877 configure-target-libjava
31878 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31879 r=`${PWD_COMMAND}`; export r; \
31880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31881 $(RAW_CXX_TARGET_EXPORTS) \
31882 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
31883 for flag in $(EXTRA_TARGET_FLAGS); do \
31884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31885 done; \
31886 (cd $(TARGET_SUBDIR)/libjava && \
31887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31889 "RANLIB=$${RANLIB}" \
31890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31891 installcheck) \
31892 || exit 1
31894 @endif target-libjava
31896 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
31897 maybe-mostlyclean-target-libjava:
31898 @if target-libjava
31899 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
31901 mostlyclean-target-libjava:
31902 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31903 r=`${PWD_COMMAND}`; export r; \
31904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31905 $(RAW_CXX_TARGET_EXPORTS) \
31906 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
31907 for flag in $(EXTRA_TARGET_FLAGS); do \
31908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31909 done; \
31910 (cd $(TARGET_SUBDIR)/libjava && \
31911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31913 "RANLIB=$${RANLIB}" \
31914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31915 mostlyclean) \
31916 || exit 1
31918 @endif target-libjava
31920 .PHONY: maybe-clean-target-libjava clean-target-libjava
31921 maybe-clean-target-libjava:
31922 @if target-libjava
31923 maybe-clean-target-libjava: clean-target-libjava
31925 clean-target-libjava:
31926 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31927 r=`${PWD_COMMAND}`; export r; \
31928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31929 $(RAW_CXX_TARGET_EXPORTS) \
31930 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
31931 for flag in $(EXTRA_TARGET_FLAGS); do \
31932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31933 done; \
31934 (cd $(TARGET_SUBDIR)/libjava && \
31935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31937 "RANLIB=$${RANLIB}" \
31938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31939 clean) \
31940 || exit 1
31942 @endif target-libjava
31944 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
31945 maybe-distclean-target-libjava:
31946 @if target-libjava
31947 maybe-distclean-target-libjava: distclean-target-libjava
31949 distclean-target-libjava:
31950 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31951 r=`${PWD_COMMAND}`; export r; \
31952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31953 $(RAW_CXX_TARGET_EXPORTS) \
31954 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
31955 for flag in $(EXTRA_TARGET_FLAGS); do \
31956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31957 done; \
31958 (cd $(TARGET_SUBDIR)/libjava && \
31959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31961 "RANLIB=$${RANLIB}" \
31962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31963 distclean) \
31964 || exit 1
31966 @endif target-libjava
31968 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
31969 maybe-maintainer-clean-target-libjava:
31970 @if target-libjava
31971 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
31973 maintainer-clean-target-libjava:
31974 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31975 r=`${PWD_COMMAND}`; export r; \
31976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31977 $(RAW_CXX_TARGET_EXPORTS) \
31978 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
31979 for flag in $(EXTRA_TARGET_FLAGS); do \
31980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31981 done; \
31982 (cd $(TARGET_SUBDIR)/libjava && \
31983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31985 "RANLIB=$${RANLIB}" \
31986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31987 maintainer-clean) \
31988 || exit 1
31990 @endif target-libjava
31994 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31995 @if target-zlib
31996 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
31997 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
31998 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
31999 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
32000 @endif target-zlib
32004 .PHONY: configure-target-zlib maybe-configure-target-zlib
32005 maybe-configure-target-zlib:
32006 @if target-zlib
32007 maybe-configure-target-zlib: configure-target-zlib
32008 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
32009 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
32010 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
32011 r=`${PWD_COMMAND}`; export r; \
32012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32013 $(NORMAL_TARGET_EXPORTS) \
32014 echo Configuring in $(TARGET_SUBDIR)/zlib; \
32015 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
32016 case $(srcdir) in \
32017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32018 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
32019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32020 esac; \
32021 srcdiroption="--srcdir=$${topdir}/zlib"; \
32022 libsrcdir="$$s/zlib"; \
32023 rm -f no-such-file || : ; \
32024 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32025 $(TARGET_CONFIGARGS) $${srcdiroption} \
32026 || exit 1
32027 @endif target-zlib
32033 .PHONY: all-target-zlib maybe-all-target-zlib
32034 maybe-all-target-zlib:
32035 @if target-zlib
32036 TARGET-target-zlib=all
32037 maybe-all-target-zlib: all-target-zlib
32038 all-target-zlib: configure-target-zlib
32039 @r=`${PWD_COMMAND}`; export r; \
32040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32041 $(NORMAL_TARGET_EXPORTS) \
32042 (cd $(TARGET_SUBDIR)/zlib && \
32043 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
32044 @endif target-zlib
32050 .PHONY: check-target-zlib maybe-check-target-zlib
32051 maybe-check-target-zlib:
32052 @if target-zlib
32053 maybe-check-target-zlib: check-target-zlib
32055 check-target-zlib:
32056 @r=`${PWD_COMMAND}`; export r; \
32057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32058 $(NORMAL_TARGET_EXPORTS) \
32059 (cd $(TARGET_SUBDIR)/zlib && \
32060 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32062 @endif target-zlib
32064 .PHONY: install-target-zlib maybe-install-target-zlib
32065 maybe-install-target-zlib:
32066 @if target-zlib
32067 maybe-install-target-zlib: install-target-zlib
32069 install-target-zlib: installdirs
32070 @r=`${PWD_COMMAND}`; export r; \
32071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32072 $(NORMAL_TARGET_EXPORTS) \
32073 (cd $(TARGET_SUBDIR)/zlib && \
32074 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32076 @endif target-zlib
32078 # Other targets (info, dvi, etc.)
32080 .PHONY: maybe-info-target-zlib info-target-zlib
32081 maybe-info-target-zlib:
32082 @if target-zlib
32083 maybe-info-target-zlib: info-target-zlib
32085 info-target-zlib: \
32086 configure-target-zlib
32087 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32088 r=`${PWD_COMMAND}`; export r; \
32089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32090 $(NORMAL_TARGET_EXPORTS) \
32091 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
32092 for flag in $(EXTRA_TARGET_FLAGS); do \
32093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32094 done; \
32095 (cd $(TARGET_SUBDIR)/zlib && \
32096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32098 "RANLIB=$${RANLIB}" \
32099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32100 info) \
32101 || exit 1
32103 @endif target-zlib
32105 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
32106 maybe-dvi-target-zlib:
32107 @if target-zlib
32108 maybe-dvi-target-zlib: dvi-target-zlib
32110 dvi-target-zlib: \
32111 configure-target-zlib
32112 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32113 r=`${PWD_COMMAND}`; export r; \
32114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32115 $(NORMAL_TARGET_EXPORTS) \
32116 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
32117 for flag in $(EXTRA_TARGET_FLAGS); do \
32118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32119 done; \
32120 (cd $(TARGET_SUBDIR)/zlib && \
32121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32123 "RANLIB=$${RANLIB}" \
32124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32125 dvi) \
32126 || exit 1
32128 @endif target-zlib
32130 .PHONY: maybe-html-target-zlib html-target-zlib
32131 maybe-html-target-zlib:
32132 @if target-zlib
32133 maybe-html-target-zlib: html-target-zlib
32135 html-target-zlib: \
32136 configure-target-zlib
32137 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32138 r=`${PWD_COMMAND}`; export r; \
32139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32140 $(NORMAL_TARGET_EXPORTS) \
32141 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
32142 for flag in $(EXTRA_TARGET_FLAGS); do \
32143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32144 done; \
32145 (cd $(TARGET_SUBDIR)/zlib && \
32146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32148 "RANLIB=$${RANLIB}" \
32149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32150 html) \
32151 || exit 1
32153 @endif target-zlib
32155 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
32156 maybe-TAGS-target-zlib:
32157 @if target-zlib
32158 maybe-TAGS-target-zlib: TAGS-target-zlib
32160 TAGS-target-zlib: \
32161 configure-target-zlib
32162 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32163 r=`${PWD_COMMAND}`; export r; \
32164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32165 $(NORMAL_TARGET_EXPORTS) \
32166 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
32167 for flag in $(EXTRA_TARGET_FLAGS); do \
32168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32169 done; \
32170 (cd $(TARGET_SUBDIR)/zlib && \
32171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32173 "RANLIB=$${RANLIB}" \
32174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32175 TAGS) \
32176 || exit 1
32178 @endif target-zlib
32180 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
32181 maybe-install-info-target-zlib:
32182 @if target-zlib
32183 maybe-install-info-target-zlib: install-info-target-zlib
32185 install-info-target-zlib: \
32186 configure-target-zlib \
32187 info-target-zlib
32188 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32189 r=`${PWD_COMMAND}`; export r; \
32190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32191 $(NORMAL_TARGET_EXPORTS) \
32192 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
32193 for flag in $(EXTRA_TARGET_FLAGS); do \
32194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32195 done; \
32196 (cd $(TARGET_SUBDIR)/zlib && \
32197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32199 "RANLIB=$${RANLIB}" \
32200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32201 install-info) \
32202 || exit 1
32204 @endif target-zlib
32206 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
32207 maybe-installcheck-target-zlib:
32208 @if target-zlib
32209 maybe-installcheck-target-zlib: installcheck-target-zlib
32211 installcheck-target-zlib: \
32212 configure-target-zlib
32213 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32214 r=`${PWD_COMMAND}`; export r; \
32215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32216 $(NORMAL_TARGET_EXPORTS) \
32217 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
32218 for flag in $(EXTRA_TARGET_FLAGS); do \
32219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32220 done; \
32221 (cd $(TARGET_SUBDIR)/zlib && \
32222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32224 "RANLIB=$${RANLIB}" \
32225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32226 installcheck) \
32227 || exit 1
32229 @endif target-zlib
32231 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
32232 maybe-mostlyclean-target-zlib:
32233 @if target-zlib
32234 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
32236 mostlyclean-target-zlib:
32237 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32238 r=`${PWD_COMMAND}`; export r; \
32239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32240 $(NORMAL_TARGET_EXPORTS) \
32241 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
32242 for flag in $(EXTRA_TARGET_FLAGS); do \
32243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32244 done; \
32245 (cd $(TARGET_SUBDIR)/zlib && \
32246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32248 "RANLIB=$${RANLIB}" \
32249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32250 mostlyclean) \
32251 || exit 1
32253 @endif target-zlib
32255 .PHONY: maybe-clean-target-zlib clean-target-zlib
32256 maybe-clean-target-zlib:
32257 @if target-zlib
32258 maybe-clean-target-zlib: clean-target-zlib
32260 clean-target-zlib:
32261 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32262 r=`${PWD_COMMAND}`; export r; \
32263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32264 $(NORMAL_TARGET_EXPORTS) \
32265 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
32266 for flag in $(EXTRA_TARGET_FLAGS); do \
32267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32268 done; \
32269 (cd $(TARGET_SUBDIR)/zlib && \
32270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32272 "RANLIB=$${RANLIB}" \
32273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32274 clean) \
32275 || exit 1
32277 @endif target-zlib
32279 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
32280 maybe-distclean-target-zlib:
32281 @if target-zlib
32282 maybe-distclean-target-zlib: distclean-target-zlib
32284 distclean-target-zlib:
32285 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32286 r=`${PWD_COMMAND}`; export r; \
32287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32288 $(NORMAL_TARGET_EXPORTS) \
32289 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
32290 for flag in $(EXTRA_TARGET_FLAGS); do \
32291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32292 done; \
32293 (cd $(TARGET_SUBDIR)/zlib && \
32294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32296 "RANLIB=$${RANLIB}" \
32297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32298 distclean) \
32299 || exit 1
32301 @endif target-zlib
32303 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
32304 maybe-maintainer-clean-target-zlib:
32305 @if target-zlib
32306 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
32308 maintainer-clean-target-zlib:
32309 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32310 r=`${PWD_COMMAND}`; export r; \
32311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32312 $(NORMAL_TARGET_EXPORTS) \
32313 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
32314 for flag in $(EXTRA_TARGET_FLAGS); do \
32315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32316 done; \
32317 (cd $(TARGET_SUBDIR)/zlib && \
32318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32320 "RANLIB=$${RANLIB}" \
32321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32322 maintainer-clean) \
32323 || exit 1
32325 @endif target-zlib
32329 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32330 @if target-boehm-gc
32331 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
32332 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
32333 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
32334 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
32335 @endif target-boehm-gc
32339 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
32340 maybe-configure-target-boehm-gc:
32341 @if target-boehm-gc
32342 maybe-configure-target-boehm-gc: configure-target-boehm-gc
32343 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
32344 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
32345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
32346 r=`${PWD_COMMAND}`; export r; \
32347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32348 $(NORMAL_TARGET_EXPORTS) \
32349 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
32350 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
32351 case $(srcdir) in \
32352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32353 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
32354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32355 esac; \
32356 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
32357 libsrcdir="$$s/boehm-gc"; \
32358 rm -f no-such-file || : ; \
32359 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32360 $(TARGET_CONFIGARGS) $${srcdiroption} \
32361 || exit 1
32362 @endif target-boehm-gc
32368 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
32369 maybe-all-target-boehm-gc:
32370 @if target-boehm-gc
32371 TARGET-target-boehm-gc=all
32372 maybe-all-target-boehm-gc: all-target-boehm-gc
32373 all-target-boehm-gc: configure-target-boehm-gc
32374 @r=`${PWD_COMMAND}`; export r; \
32375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32376 $(NORMAL_TARGET_EXPORTS) \
32377 (cd $(TARGET_SUBDIR)/boehm-gc && \
32378 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
32379 @endif target-boehm-gc
32385 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
32386 maybe-check-target-boehm-gc:
32387 @if target-boehm-gc
32388 maybe-check-target-boehm-gc: check-target-boehm-gc
32390 check-target-boehm-gc:
32391 @r=`${PWD_COMMAND}`; export r; \
32392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32393 $(NORMAL_TARGET_EXPORTS) \
32394 (cd $(TARGET_SUBDIR)/boehm-gc && \
32395 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32397 @endif target-boehm-gc
32399 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
32400 maybe-install-target-boehm-gc:
32401 @if target-boehm-gc
32402 maybe-install-target-boehm-gc: install-target-boehm-gc
32404 install-target-boehm-gc: installdirs
32405 @r=`${PWD_COMMAND}`; export r; \
32406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32407 $(NORMAL_TARGET_EXPORTS) \
32408 (cd $(TARGET_SUBDIR)/boehm-gc && \
32409 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32411 @endif target-boehm-gc
32413 # Other targets (info, dvi, etc.)
32415 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
32416 maybe-info-target-boehm-gc:
32417 @if target-boehm-gc
32418 maybe-info-target-boehm-gc: info-target-boehm-gc
32420 info-target-boehm-gc: \
32421 configure-target-boehm-gc
32422 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32423 r=`${PWD_COMMAND}`; export r; \
32424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32425 $(NORMAL_TARGET_EXPORTS) \
32426 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
32427 for flag in $(EXTRA_TARGET_FLAGS); do \
32428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32429 done; \
32430 (cd $(TARGET_SUBDIR)/boehm-gc && \
32431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32433 "RANLIB=$${RANLIB}" \
32434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32435 info) \
32436 || exit 1
32438 @endif target-boehm-gc
32440 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
32441 maybe-dvi-target-boehm-gc:
32442 @if target-boehm-gc
32443 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
32445 dvi-target-boehm-gc: \
32446 configure-target-boehm-gc
32447 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32448 r=`${PWD_COMMAND}`; export r; \
32449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32450 $(NORMAL_TARGET_EXPORTS) \
32451 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
32452 for flag in $(EXTRA_TARGET_FLAGS); do \
32453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32454 done; \
32455 (cd $(TARGET_SUBDIR)/boehm-gc && \
32456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32458 "RANLIB=$${RANLIB}" \
32459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32460 dvi) \
32461 || exit 1
32463 @endif target-boehm-gc
32465 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
32466 maybe-html-target-boehm-gc:
32467 @if target-boehm-gc
32468 maybe-html-target-boehm-gc: html-target-boehm-gc
32470 html-target-boehm-gc: \
32471 configure-target-boehm-gc
32472 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32473 r=`${PWD_COMMAND}`; export r; \
32474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32475 $(NORMAL_TARGET_EXPORTS) \
32476 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
32477 for flag in $(EXTRA_TARGET_FLAGS); do \
32478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32479 done; \
32480 (cd $(TARGET_SUBDIR)/boehm-gc && \
32481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32483 "RANLIB=$${RANLIB}" \
32484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32485 html) \
32486 || exit 1
32488 @endif target-boehm-gc
32490 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
32491 maybe-TAGS-target-boehm-gc:
32492 @if target-boehm-gc
32493 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
32495 TAGS-target-boehm-gc: \
32496 configure-target-boehm-gc
32497 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32498 r=`${PWD_COMMAND}`; export r; \
32499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32500 $(NORMAL_TARGET_EXPORTS) \
32501 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
32502 for flag in $(EXTRA_TARGET_FLAGS); do \
32503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32504 done; \
32505 (cd $(TARGET_SUBDIR)/boehm-gc && \
32506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32508 "RANLIB=$${RANLIB}" \
32509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32510 TAGS) \
32511 || exit 1
32513 @endif target-boehm-gc
32515 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
32516 maybe-install-info-target-boehm-gc:
32517 @if target-boehm-gc
32518 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
32520 install-info-target-boehm-gc: \
32521 configure-target-boehm-gc \
32522 info-target-boehm-gc
32523 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32524 r=`${PWD_COMMAND}`; export r; \
32525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32526 $(NORMAL_TARGET_EXPORTS) \
32527 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
32528 for flag in $(EXTRA_TARGET_FLAGS); do \
32529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32530 done; \
32531 (cd $(TARGET_SUBDIR)/boehm-gc && \
32532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32534 "RANLIB=$${RANLIB}" \
32535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32536 install-info) \
32537 || exit 1
32539 @endif target-boehm-gc
32541 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
32542 maybe-installcheck-target-boehm-gc:
32543 @if target-boehm-gc
32544 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
32546 installcheck-target-boehm-gc: \
32547 configure-target-boehm-gc
32548 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32549 r=`${PWD_COMMAND}`; export r; \
32550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32551 $(NORMAL_TARGET_EXPORTS) \
32552 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
32553 for flag in $(EXTRA_TARGET_FLAGS); do \
32554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32555 done; \
32556 (cd $(TARGET_SUBDIR)/boehm-gc && \
32557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32559 "RANLIB=$${RANLIB}" \
32560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32561 installcheck) \
32562 || exit 1
32564 @endif target-boehm-gc
32566 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
32567 maybe-mostlyclean-target-boehm-gc:
32568 @if target-boehm-gc
32569 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
32571 mostlyclean-target-boehm-gc:
32572 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32573 r=`${PWD_COMMAND}`; export r; \
32574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32575 $(NORMAL_TARGET_EXPORTS) \
32576 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
32577 for flag in $(EXTRA_TARGET_FLAGS); do \
32578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32579 done; \
32580 (cd $(TARGET_SUBDIR)/boehm-gc && \
32581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32583 "RANLIB=$${RANLIB}" \
32584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32585 mostlyclean) \
32586 || exit 1
32588 @endif target-boehm-gc
32590 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
32591 maybe-clean-target-boehm-gc:
32592 @if target-boehm-gc
32593 maybe-clean-target-boehm-gc: clean-target-boehm-gc
32595 clean-target-boehm-gc:
32596 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32597 r=`${PWD_COMMAND}`; export r; \
32598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32599 $(NORMAL_TARGET_EXPORTS) \
32600 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
32601 for flag in $(EXTRA_TARGET_FLAGS); do \
32602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32603 done; \
32604 (cd $(TARGET_SUBDIR)/boehm-gc && \
32605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32607 "RANLIB=$${RANLIB}" \
32608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32609 clean) \
32610 || exit 1
32612 @endif target-boehm-gc
32614 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
32615 maybe-distclean-target-boehm-gc:
32616 @if target-boehm-gc
32617 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
32619 distclean-target-boehm-gc:
32620 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32621 r=`${PWD_COMMAND}`; export r; \
32622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32623 $(NORMAL_TARGET_EXPORTS) \
32624 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
32625 for flag in $(EXTRA_TARGET_FLAGS); do \
32626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32627 done; \
32628 (cd $(TARGET_SUBDIR)/boehm-gc && \
32629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32631 "RANLIB=$${RANLIB}" \
32632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32633 distclean) \
32634 || exit 1
32636 @endif target-boehm-gc
32638 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
32639 maybe-maintainer-clean-target-boehm-gc:
32640 @if target-boehm-gc
32641 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
32643 maintainer-clean-target-boehm-gc:
32644 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32645 r=`${PWD_COMMAND}`; export r; \
32646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32647 $(NORMAL_TARGET_EXPORTS) \
32648 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
32649 for flag in $(EXTRA_TARGET_FLAGS); do \
32650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32651 done; \
32652 (cd $(TARGET_SUBDIR)/boehm-gc && \
32653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32655 "RANLIB=$${RANLIB}" \
32656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32657 maintainer-clean) \
32658 || exit 1
32660 @endif target-boehm-gc
32664 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32665 @if target-qthreads
32666 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
32667 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
32668 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
32669 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
32670 @endif target-qthreads
32674 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
32675 maybe-configure-target-qthreads:
32676 @if target-qthreads
32677 maybe-configure-target-qthreads: configure-target-qthreads
32678 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
32679 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
32680 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
32681 r=`${PWD_COMMAND}`; export r; \
32682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32683 $(NORMAL_TARGET_EXPORTS) \
32684 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
32685 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
32686 case $(srcdir) in \
32687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32688 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
32689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32690 esac; \
32691 srcdiroption="--srcdir=$${topdir}/qthreads"; \
32692 libsrcdir="$$s/qthreads"; \
32693 rm -f no-such-file || : ; \
32694 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32695 $(TARGET_CONFIGARGS) $${srcdiroption} \
32696 || exit 1
32697 @endif target-qthreads
32703 .PHONY: all-target-qthreads maybe-all-target-qthreads
32704 maybe-all-target-qthreads:
32705 @if target-qthreads
32706 TARGET-target-qthreads=all
32707 maybe-all-target-qthreads: all-target-qthreads
32708 all-target-qthreads: configure-target-qthreads
32709 @r=`${PWD_COMMAND}`; export r; \
32710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32711 $(NORMAL_TARGET_EXPORTS) \
32712 (cd $(TARGET_SUBDIR)/qthreads && \
32713 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
32714 @endif target-qthreads
32720 .PHONY: check-target-qthreads maybe-check-target-qthreads
32721 maybe-check-target-qthreads:
32722 @if target-qthreads
32723 maybe-check-target-qthreads: check-target-qthreads
32725 check-target-qthreads:
32726 @r=`${PWD_COMMAND}`; export r; \
32727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32728 $(NORMAL_TARGET_EXPORTS) \
32729 (cd $(TARGET_SUBDIR)/qthreads && \
32730 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32732 @endif target-qthreads
32734 .PHONY: install-target-qthreads maybe-install-target-qthreads
32735 maybe-install-target-qthreads:
32736 @if target-qthreads
32737 maybe-install-target-qthreads: install-target-qthreads
32739 install-target-qthreads: installdirs
32740 @r=`${PWD_COMMAND}`; export r; \
32741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32742 $(NORMAL_TARGET_EXPORTS) \
32743 (cd $(TARGET_SUBDIR)/qthreads && \
32744 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32746 @endif target-qthreads
32748 # Other targets (info, dvi, etc.)
32750 .PHONY: maybe-info-target-qthreads info-target-qthreads
32751 maybe-info-target-qthreads:
32752 @if target-qthreads
32753 maybe-info-target-qthreads: info-target-qthreads
32755 info-target-qthreads: \
32756 configure-target-qthreads
32757 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32758 r=`${PWD_COMMAND}`; export r; \
32759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32760 $(NORMAL_TARGET_EXPORTS) \
32761 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
32762 for flag in $(EXTRA_TARGET_FLAGS); do \
32763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32764 done; \
32765 (cd $(TARGET_SUBDIR)/qthreads && \
32766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32768 "RANLIB=$${RANLIB}" \
32769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32770 info) \
32771 || exit 1
32773 @endif target-qthreads
32775 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
32776 maybe-dvi-target-qthreads:
32777 @if target-qthreads
32778 maybe-dvi-target-qthreads: dvi-target-qthreads
32780 dvi-target-qthreads: \
32781 configure-target-qthreads
32782 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32783 r=`${PWD_COMMAND}`; export r; \
32784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32785 $(NORMAL_TARGET_EXPORTS) \
32786 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
32787 for flag in $(EXTRA_TARGET_FLAGS); do \
32788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32789 done; \
32790 (cd $(TARGET_SUBDIR)/qthreads && \
32791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32793 "RANLIB=$${RANLIB}" \
32794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32795 dvi) \
32796 || exit 1
32798 @endif target-qthreads
32800 .PHONY: maybe-html-target-qthreads html-target-qthreads
32801 maybe-html-target-qthreads:
32802 @if target-qthreads
32803 maybe-html-target-qthreads: html-target-qthreads
32805 html-target-qthreads: \
32806 configure-target-qthreads
32807 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32808 r=`${PWD_COMMAND}`; export r; \
32809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32810 $(NORMAL_TARGET_EXPORTS) \
32811 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
32812 for flag in $(EXTRA_TARGET_FLAGS); do \
32813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32814 done; \
32815 (cd $(TARGET_SUBDIR)/qthreads && \
32816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32818 "RANLIB=$${RANLIB}" \
32819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32820 html) \
32821 || exit 1
32823 @endif target-qthreads
32825 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
32826 maybe-TAGS-target-qthreads:
32827 @if target-qthreads
32828 maybe-TAGS-target-qthreads: TAGS-target-qthreads
32830 TAGS-target-qthreads: \
32831 configure-target-qthreads
32832 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32833 r=`${PWD_COMMAND}`; export r; \
32834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32835 $(NORMAL_TARGET_EXPORTS) \
32836 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
32837 for flag in $(EXTRA_TARGET_FLAGS); do \
32838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32839 done; \
32840 (cd $(TARGET_SUBDIR)/qthreads && \
32841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32843 "RANLIB=$${RANLIB}" \
32844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32845 TAGS) \
32846 || exit 1
32848 @endif target-qthreads
32850 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
32851 maybe-install-info-target-qthreads:
32852 @if target-qthreads
32853 maybe-install-info-target-qthreads: install-info-target-qthreads
32855 install-info-target-qthreads: \
32856 configure-target-qthreads \
32857 info-target-qthreads
32858 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32859 r=`${PWD_COMMAND}`; export r; \
32860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32861 $(NORMAL_TARGET_EXPORTS) \
32862 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
32863 for flag in $(EXTRA_TARGET_FLAGS); do \
32864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32865 done; \
32866 (cd $(TARGET_SUBDIR)/qthreads && \
32867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32869 "RANLIB=$${RANLIB}" \
32870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32871 install-info) \
32872 || exit 1
32874 @endif target-qthreads
32876 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
32877 maybe-installcheck-target-qthreads:
32878 @if target-qthreads
32879 maybe-installcheck-target-qthreads: installcheck-target-qthreads
32881 installcheck-target-qthreads: \
32882 configure-target-qthreads
32883 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32884 r=`${PWD_COMMAND}`; export r; \
32885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32886 $(NORMAL_TARGET_EXPORTS) \
32887 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
32888 for flag in $(EXTRA_TARGET_FLAGS); do \
32889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32890 done; \
32891 (cd $(TARGET_SUBDIR)/qthreads && \
32892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32894 "RANLIB=$${RANLIB}" \
32895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32896 installcheck) \
32897 || exit 1
32899 @endif target-qthreads
32901 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
32902 maybe-mostlyclean-target-qthreads:
32903 @if target-qthreads
32904 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
32906 mostlyclean-target-qthreads:
32907 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32908 r=`${PWD_COMMAND}`; export r; \
32909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32910 $(NORMAL_TARGET_EXPORTS) \
32911 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
32912 for flag in $(EXTRA_TARGET_FLAGS); do \
32913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32914 done; \
32915 (cd $(TARGET_SUBDIR)/qthreads && \
32916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32918 "RANLIB=$${RANLIB}" \
32919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32920 mostlyclean) \
32921 || exit 1
32923 @endif target-qthreads
32925 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
32926 maybe-clean-target-qthreads:
32927 @if target-qthreads
32928 maybe-clean-target-qthreads: clean-target-qthreads
32930 clean-target-qthreads:
32931 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32932 r=`${PWD_COMMAND}`; export r; \
32933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32934 $(NORMAL_TARGET_EXPORTS) \
32935 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
32936 for flag in $(EXTRA_TARGET_FLAGS); do \
32937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32938 done; \
32939 (cd $(TARGET_SUBDIR)/qthreads && \
32940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32942 "RANLIB=$${RANLIB}" \
32943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32944 clean) \
32945 || exit 1
32947 @endif target-qthreads
32949 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
32950 maybe-distclean-target-qthreads:
32951 @if target-qthreads
32952 maybe-distclean-target-qthreads: distclean-target-qthreads
32954 distclean-target-qthreads:
32955 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32956 r=`${PWD_COMMAND}`; export r; \
32957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32958 $(NORMAL_TARGET_EXPORTS) \
32959 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
32960 for flag in $(EXTRA_TARGET_FLAGS); do \
32961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32962 done; \
32963 (cd $(TARGET_SUBDIR)/qthreads && \
32964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32966 "RANLIB=$${RANLIB}" \
32967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32968 distclean) \
32969 || exit 1
32971 @endif target-qthreads
32973 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
32974 maybe-maintainer-clean-target-qthreads:
32975 @if target-qthreads
32976 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
32978 maintainer-clean-target-qthreads:
32979 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32980 r=`${PWD_COMMAND}`; export r; \
32981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32982 $(NORMAL_TARGET_EXPORTS) \
32983 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
32984 for flag in $(EXTRA_TARGET_FLAGS); do \
32985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32986 done; \
32987 (cd $(TARGET_SUBDIR)/qthreads && \
32988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32990 "RANLIB=$${RANLIB}" \
32991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32992 maintainer-clean) \
32993 || exit 1
32995 @endif target-qthreads
32999 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33000 @if target-rda
33001 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
33002 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
33003 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
33004 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
33005 @endif target-rda
33009 .PHONY: configure-target-rda maybe-configure-target-rda
33010 maybe-configure-target-rda:
33011 @if target-rda
33012 maybe-configure-target-rda: configure-target-rda
33013 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
33014 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
33015 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
33016 r=`${PWD_COMMAND}`; export r; \
33017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33018 $(NORMAL_TARGET_EXPORTS) \
33019 echo Configuring in $(TARGET_SUBDIR)/rda; \
33020 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
33021 case $(srcdir) in \
33022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33023 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
33024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33025 esac; \
33026 srcdiroption="--srcdir=$${topdir}/rda"; \
33027 libsrcdir="$$s/rda"; \
33028 rm -f no-such-file || : ; \
33029 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33030 $(TARGET_CONFIGARGS) $${srcdiroption} \
33031 || exit 1
33032 @endif target-rda
33038 .PHONY: all-target-rda maybe-all-target-rda
33039 maybe-all-target-rda:
33040 @if target-rda
33041 TARGET-target-rda=all
33042 maybe-all-target-rda: all-target-rda
33043 all-target-rda: configure-target-rda
33044 @r=`${PWD_COMMAND}`; export r; \
33045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33046 $(NORMAL_TARGET_EXPORTS) \
33047 (cd $(TARGET_SUBDIR)/rda && \
33048 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
33049 @endif target-rda
33055 .PHONY: check-target-rda maybe-check-target-rda
33056 maybe-check-target-rda:
33057 @if target-rda
33058 maybe-check-target-rda: check-target-rda
33060 check-target-rda:
33061 @r=`${PWD_COMMAND}`; export r; \
33062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33063 $(NORMAL_TARGET_EXPORTS) \
33064 (cd $(TARGET_SUBDIR)/rda && \
33065 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33067 @endif target-rda
33069 .PHONY: install-target-rda maybe-install-target-rda
33070 maybe-install-target-rda:
33071 @if target-rda
33072 maybe-install-target-rda: install-target-rda
33074 install-target-rda: installdirs
33075 @r=`${PWD_COMMAND}`; export r; \
33076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33077 $(NORMAL_TARGET_EXPORTS) \
33078 (cd $(TARGET_SUBDIR)/rda && \
33079 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33081 @endif target-rda
33083 # Other targets (info, dvi, etc.)
33085 .PHONY: maybe-info-target-rda info-target-rda
33086 maybe-info-target-rda:
33087 @if target-rda
33088 maybe-info-target-rda: info-target-rda
33090 info-target-rda: \
33091 configure-target-rda
33092 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33093 r=`${PWD_COMMAND}`; export r; \
33094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33095 $(NORMAL_TARGET_EXPORTS) \
33096 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
33097 for flag in $(EXTRA_TARGET_FLAGS); do \
33098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33099 done; \
33100 (cd $(TARGET_SUBDIR)/rda && \
33101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33103 "RANLIB=$${RANLIB}" \
33104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33105 info) \
33106 || exit 1
33108 @endif target-rda
33110 .PHONY: maybe-dvi-target-rda dvi-target-rda
33111 maybe-dvi-target-rda:
33112 @if target-rda
33113 maybe-dvi-target-rda: dvi-target-rda
33115 dvi-target-rda: \
33116 configure-target-rda
33117 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33118 r=`${PWD_COMMAND}`; export r; \
33119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33120 $(NORMAL_TARGET_EXPORTS) \
33121 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
33122 for flag in $(EXTRA_TARGET_FLAGS); do \
33123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33124 done; \
33125 (cd $(TARGET_SUBDIR)/rda && \
33126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33128 "RANLIB=$${RANLIB}" \
33129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33130 dvi) \
33131 || exit 1
33133 @endif target-rda
33135 .PHONY: maybe-html-target-rda html-target-rda
33136 maybe-html-target-rda:
33137 @if target-rda
33138 maybe-html-target-rda: html-target-rda
33140 html-target-rda: \
33141 configure-target-rda
33142 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33143 r=`${PWD_COMMAND}`; export r; \
33144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33145 $(NORMAL_TARGET_EXPORTS) \
33146 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
33147 for flag in $(EXTRA_TARGET_FLAGS); do \
33148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33149 done; \
33150 (cd $(TARGET_SUBDIR)/rda && \
33151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33153 "RANLIB=$${RANLIB}" \
33154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33155 html) \
33156 || exit 1
33158 @endif target-rda
33160 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
33161 maybe-TAGS-target-rda:
33162 @if target-rda
33163 maybe-TAGS-target-rda: TAGS-target-rda
33165 TAGS-target-rda: \
33166 configure-target-rda
33167 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33168 r=`${PWD_COMMAND}`; export r; \
33169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33170 $(NORMAL_TARGET_EXPORTS) \
33171 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
33172 for flag in $(EXTRA_TARGET_FLAGS); do \
33173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33174 done; \
33175 (cd $(TARGET_SUBDIR)/rda && \
33176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33178 "RANLIB=$${RANLIB}" \
33179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33180 TAGS) \
33181 || exit 1
33183 @endif target-rda
33185 .PHONY: maybe-install-info-target-rda install-info-target-rda
33186 maybe-install-info-target-rda:
33187 @if target-rda
33188 maybe-install-info-target-rda: install-info-target-rda
33190 install-info-target-rda: \
33191 configure-target-rda \
33192 info-target-rda
33193 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33194 r=`${PWD_COMMAND}`; export r; \
33195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33196 $(NORMAL_TARGET_EXPORTS) \
33197 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
33198 for flag in $(EXTRA_TARGET_FLAGS); do \
33199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33200 done; \
33201 (cd $(TARGET_SUBDIR)/rda && \
33202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33204 "RANLIB=$${RANLIB}" \
33205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33206 install-info) \
33207 || exit 1
33209 @endif target-rda
33211 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
33212 maybe-installcheck-target-rda:
33213 @if target-rda
33214 maybe-installcheck-target-rda: installcheck-target-rda
33216 installcheck-target-rda: \
33217 configure-target-rda
33218 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33219 r=`${PWD_COMMAND}`; export r; \
33220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33221 $(NORMAL_TARGET_EXPORTS) \
33222 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
33223 for flag in $(EXTRA_TARGET_FLAGS); do \
33224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33225 done; \
33226 (cd $(TARGET_SUBDIR)/rda && \
33227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33229 "RANLIB=$${RANLIB}" \
33230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33231 installcheck) \
33232 || exit 1
33234 @endif target-rda
33236 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
33237 maybe-mostlyclean-target-rda:
33238 @if target-rda
33239 maybe-mostlyclean-target-rda: mostlyclean-target-rda
33241 mostlyclean-target-rda:
33242 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33243 r=`${PWD_COMMAND}`; export r; \
33244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33245 $(NORMAL_TARGET_EXPORTS) \
33246 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
33247 for flag in $(EXTRA_TARGET_FLAGS); do \
33248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33249 done; \
33250 (cd $(TARGET_SUBDIR)/rda && \
33251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33253 "RANLIB=$${RANLIB}" \
33254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33255 mostlyclean) \
33256 || exit 1
33258 @endif target-rda
33260 .PHONY: maybe-clean-target-rda clean-target-rda
33261 maybe-clean-target-rda:
33262 @if target-rda
33263 maybe-clean-target-rda: clean-target-rda
33265 clean-target-rda:
33266 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33267 r=`${PWD_COMMAND}`; export r; \
33268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33269 $(NORMAL_TARGET_EXPORTS) \
33270 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
33271 for flag in $(EXTRA_TARGET_FLAGS); do \
33272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33273 done; \
33274 (cd $(TARGET_SUBDIR)/rda && \
33275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33277 "RANLIB=$${RANLIB}" \
33278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33279 clean) \
33280 || exit 1
33282 @endif target-rda
33284 .PHONY: maybe-distclean-target-rda distclean-target-rda
33285 maybe-distclean-target-rda:
33286 @if target-rda
33287 maybe-distclean-target-rda: distclean-target-rda
33289 distclean-target-rda:
33290 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33291 r=`${PWD_COMMAND}`; export r; \
33292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33293 $(NORMAL_TARGET_EXPORTS) \
33294 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
33295 for flag in $(EXTRA_TARGET_FLAGS); do \
33296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33297 done; \
33298 (cd $(TARGET_SUBDIR)/rda && \
33299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33301 "RANLIB=$${RANLIB}" \
33302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33303 distclean) \
33304 || exit 1
33306 @endif target-rda
33308 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
33309 maybe-maintainer-clean-target-rda:
33310 @if target-rda
33311 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
33313 maintainer-clean-target-rda:
33314 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33315 r=`${PWD_COMMAND}`; export r; \
33316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33317 $(NORMAL_TARGET_EXPORTS) \
33318 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
33319 for flag in $(EXTRA_TARGET_FLAGS); do \
33320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33321 done; \
33322 (cd $(TARGET_SUBDIR)/rda && \
33323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33325 "RANLIB=$${RANLIB}" \
33326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33327 maintainer-clean) \
33328 || exit 1
33330 @endif target-rda
33334 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33335 @if target-libada
33336 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
33337 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
33338 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
33339 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
33340 @endif target-libada
33344 .PHONY: configure-target-libada maybe-configure-target-libada
33345 maybe-configure-target-libada:
33346 @if target-libada
33347 maybe-configure-target-libada: configure-target-libada
33348 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
33349 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
33350 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
33351 r=`${PWD_COMMAND}`; export r; \
33352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33353 $(NORMAL_TARGET_EXPORTS) \
33354 echo Configuring in $(TARGET_SUBDIR)/libada; \
33355 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
33356 case $(srcdir) in \
33357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33358 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
33359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33360 esac; \
33361 srcdiroption="--srcdir=$${topdir}/libada"; \
33362 libsrcdir="$$s/libada"; \
33363 rm -f no-such-file || : ; \
33364 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33365 $(TARGET_CONFIGARGS) $${srcdiroption} \
33366 || exit 1
33367 @endif target-libada
33373 .PHONY: all-target-libada maybe-all-target-libada
33374 maybe-all-target-libada:
33375 @if target-libada
33376 TARGET-target-libada=all
33377 maybe-all-target-libada: all-target-libada
33378 all-target-libada: configure-target-libada
33379 @r=`${PWD_COMMAND}`; export r; \
33380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33381 $(NORMAL_TARGET_EXPORTS) \
33382 (cd $(TARGET_SUBDIR)/libada && \
33383 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
33384 @endif target-libada
33390 .PHONY: check-target-libada maybe-check-target-libada
33391 maybe-check-target-libada:
33392 @if target-libada
33393 maybe-check-target-libada: check-target-libada
33395 check-target-libada:
33396 @r=`${PWD_COMMAND}`; export r; \
33397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33398 $(NORMAL_TARGET_EXPORTS) \
33399 (cd $(TARGET_SUBDIR)/libada && \
33400 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33402 @endif target-libada
33404 .PHONY: install-target-libada maybe-install-target-libada
33405 maybe-install-target-libada:
33406 @if target-libada
33407 maybe-install-target-libada: install-target-libada
33409 install-target-libada: installdirs
33410 @r=`${PWD_COMMAND}`; export r; \
33411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33412 $(NORMAL_TARGET_EXPORTS) \
33413 (cd $(TARGET_SUBDIR)/libada && \
33414 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33416 @endif target-libada
33418 # Other targets (info, dvi, etc.)
33420 .PHONY: maybe-info-target-libada info-target-libada
33421 maybe-info-target-libada:
33422 @if target-libada
33423 maybe-info-target-libada: info-target-libada
33425 info-target-libada: \
33426 configure-target-libada
33427 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33428 r=`${PWD_COMMAND}`; export r; \
33429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33430 $(NORMAL_TARGET_EXPORTS) \
33431 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
33432 for flag in $(EXTRA_TARGET_FLAGS); do \
33433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33434 done; \
33435 (cd $(TARGET_SUBDIR)/libada && \
33436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33438 "RANLIB=$${RANLIB}" \
33439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33440 info) \
33441 || exit 1
33443 @endif target-libada
33445 .PHONY: maybe-dvi-target-libada dvi-target-libada
33446 maybe-dvi-target-libada:
33447 @if target-libada
33448 maybe-dvi-target-libada: dvi-target-libada
33450 dvi-target-libada: \
33451 configure-target-libada
33452 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33453 r=`${PWD_COMMAND}`; export r; \
33454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33455 $(NORMAL_TARGET_EXPORTS) \
33456 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
33457 for flag in $(EXTRA_TARGET_FLAGS); do \
33458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33459 done; \
33460 (cd $(TARGET_SUBDIR)/libada && \
33461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33463 "RANLIB=$${RANLIB}" \
33464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33465 dvi) \
33466 || exit 1
33468 @endif target-libada
33470 .PHONY: maybe-html-target-libada html-target-libada
33471 maybe-html-target-libada:
33472 @if target-libada
33473 maybe-html-target-libada: html-target-libada
33475 html-target-libada: \
33476 configure-target-libada
33477 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33478 r=`${PWD_COMMAND}`; export r; \
33479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33480 $(NORMAL_TARGET_EXPORTS) \
33481 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
33482 for flag in $(EXTRA_TARGET_FLAGS); do \
33483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33484 done; \
33485 (cd $(TARGET_SUBDIR)/libada && \
33486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33488 "RANLIB=$${RANLIB}" \
33489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33490 html) \
33491 || exit 1
33493 @endif target-libada
33495 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
33496 maybe-TAGS-target-libada:
33497 @if target-libada
33498 maybe-TAGS-target-libada: TAGS-target-libada
33500 TAGS-target-libada: \
33501 configure-target-libada
33502 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33503 r=`${PWD_COMMAND}`; export r; \
33504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33505 $(NORMAL_TARGET_EXPORTS) \
33506 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
33507 for flag in $(EXTRA_TARGET_FLAGS); do \
33508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33509 done; \
33510 (cd $(TARGET_SUBDIR)/libada && \
33511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33513 "RANLIB=$${RANLIB}" \
33514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33515 TAGS) \
33516 || exit 1
33518 @endif target-libada
33520 .PHONY: maybe-install-info-target-libada install-info-target-libada
33521 maybe-install-info-target-libada:
33522 @if target-libada
33523 maybe-install-info-target-libada: install-info-target-libada
33525 install-info-target-libada: \
33526 configure-target-libada \
33527 info-target-libada
33528 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33529 r=`${PWD_COMMAND}`; export r; \
33530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33531 $(NORMAL_TARGET_EXPORTS) \
33532 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
33533 for flag in $(EXTRA_TARGET_FLAGS); do \
33534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33535 done; \
33536 (cd $(TARGET_SUBDIR)/libada && \
33537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33539 "RANLIB=$${RANLIB}" \
33540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33541 install-info) \
33542 || exit 1
33544 @endif target-libada
33546 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
33547 maybe-installcheck-target-libada:
33548 @if target-libada
33549 maybe-installcheck-target-libada: installcheck-target-libada
33551 installcheck-target-libada: \
33552 configure-target-libada
33553 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33554 r=`${PWD_COMMAND}`; export r; \
33555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33556 $(NORMAL_TARGET_EXPORTS) \
33557 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
33558 for flag in $(EXTRA_TARGET_FLAGS); do \
33559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33560 done; \
33561 (cd $(TARGET_SUBDIR)/libada && \
33562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33564 "RANLIB=$${RANLIB}" \
33565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33566 installcheck) \
33567 || exit 1
33569 @endif target-libada
33571 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
33572 maybe-mostlyclean-target-libada:
33573 @if target-libada
33574 maybe-mostlyclean-target-libada: mostlyclean-target-libada
33576 mostlyclean-target-libada:
33577 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33578 r=`${PWD_COMMAND}`; export r; \
33579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33580 $(NORMAL_TARGET_EXPORTS) \
33581 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
33582 for flag in $(EXTRA_TARGET_FLAGS); do \
33583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33584 done; \
33585 (cd $(TARGET_SUBDIR)/libada && \
33586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33588 "RANLIB=$${RANLIB}" \
33589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33590 mostlyclean) \
33591 || exit 1
33593 @endif target-libada
33595 .PHONY: maybe-clean-target-libada clean-target-libada
33596 maybe-clean-target-libada:
33597 @if target-libada
33598 maybe-clean-target-libada: clean-target-libada
33600 clean-target-libada:
33601 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33602 r=`${PWD_COMMAND}`; export r; \
33603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33604 $(NORMAL_TARGET_EXPORTS) \
33605 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
33606 for flag in $(EXTRA_TARGET_FLAGS); do \
33607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33608 done; \
33609 (cd $(TARGET_SUBDIR)/libada && \
33610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33612 "RANLIB=$${RANLIB}" \
33613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33614 clean) \
33615 || exit 1
33617 @endif target-libada
33619 .PHONY: maybe-distclean-target-libada distclean-target-libada
33620 maybe-distclean-target-libada:
33621 @if target-libada
33622 maybe-distclean-target-libada: distclean-target-libada
33624 distclean-target-libada:
33625 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33626 r=`${PWD_COMMAND}`; export r; \
33627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33628 $(NORMAL_TARGET_EXPORTS) \
33629 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
33630 for flag in $(EXTRA_TARGET_FLAGS); do \
33631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33632 done; \
33633 (cd $(TARGET_SUBDIR)/libada && \
33634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33636 "RANLIB=$${RANLIB}" \
33637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33638 distclean) \
33639 || exit 1
33641 @endif target-libada
33643 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
33644 maybe-maintainer-clean-target-libada:
33645 @if target-libada
33646 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
33648 maintainer-clean-target-libada:
33649 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33650 r=`${PWD_COMMAND}`; export r; \
33651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33652 $(NORMAL_TARGET_EXPORTS) \
33653 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
33654 for flag in $(EXTRA_TARGET_FLAGS); do \
33655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33656 done; \
33657 (cd $(TARGET_SUBDIR)/libada && \
33658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33660 "RANLIB=$${RANLIB}" \
33661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33662 maintainer-clean) \
33663 || exit 1
33665 @endif target-libada
33669 # ----------
33670 # GCC module
33671 # ----------
33673 @if gcc-no-bootstrap
33674 # GCC has some more recursive targets, which trigger the old
33675 # (but still current, until the toplevel bootstrap project
33676 # is finished) compiler bootstrapping rules.
33678 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
33679 .PHONY: $(GCC_STRAP_TARGETS)
33680 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
33681 @r=`${PWD_COMMAND}`; export r; \
33682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33683 $(HOST_EXPORTS) \
33684 echo "Bootstrapping the compiler"; \
33685 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
33686 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
33687 @r=`${PWD_COMMAND}`; export r; \
33688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33689 case "$@" in \
33690 *bootstrap4-lean ) \
33691 msg="Comparing stage3 and stage4 of the compiler"; \
33692 compare=compare3-lean ;; \
33693 *bootstrap4 ) \
33694 msg="Comparing stage3 and stage4 of the compiler"; \
33695 compare=compare3 ;; \
33696 *-lean ) \
33697 msg="Comparing stage2 and stage3 of the compiler"; \
33698 compare=compare-lean ;; \
33699 * ) \
33700 msg="Comparing stage2 and stage3 of the compiler"; \
33701 compare=compare ;; \
33702 esac; \
33703 $(HOST_EXPORTS) \
33704 echo "$$msg"; \
33705 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
33706 @r=`${PWD_COMMAND}`; export r; \
33707 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33708 echo "Building runtime libraries"; \
33709 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
33711 profiledbootstrap: all-prebootstrap configure-gcc
33712 @r=`${PWD_COMMAND}`; export r; \
33713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33714 $(HOST_EXPORTS) \
33715 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
33716 echo "Bootstrapping training compiler"; \
33717 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
33718 @r=`${PWD_COMMAND}`; export r; \
33719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33720 $(HOST_EXPORTS) \
33721 echo "Building feedback based compiler"; \
33722 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
33723 @r=`${PWD_COMMAND}`; export r; \
33724 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33725 echo "Building runtime libraries"; \
33726 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
33728 .PHONY: cross
33729 cross: all-build all-gas all-ld
33730 @r=`${PWD_COMMAND}`; export r; \
33731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33732 $(HOST_EXPORTS) \
33733 echo "Building the C and C++ compiler"; \
33734 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
33735 @r=`${PWD_COMMAND}`; export r; \
33736 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33737 echo "Building runtime libraries"; \
33738 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
33739 @endif gcc-no-bootstrap
33741 @if gcc
33742 .PHONY: check-gcc-c++
33743 check-gcc-c++:
33744 @if [ -f ./gcc/Makefile ] ; then \
33745 r=`${PWD_COMMAND}`; export r; \
33746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33747 $(HOST_EXPORTS) \
33748 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
33749 else \
33750 true; \
33753 .PHONY: check-c++
33754 check-c++: check-target-libstdc++-v3 check-gcc-c++
33756 # Install the gcc headers files, but not the fixed include files,
33757 # which Cygnus is not allowed to distribute. This rule is very
33758 # dependent on the workings of the gcc Makefile.in.
33759 .PHONY: gcc-no-fixedincludes
33760 gcc-no-fixedincludes:
33761 @if [ -f ./gcc/Makefile ]; then \
33762 rm -rf gcc/tmp-include; \
33763 mv gcc/include gcc/tmp-include 2>/dev/null; \
33764 mkdir gcc/include; \
33765 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
33766 touch gcc/stmp-fixinc gcc/include/fixed; \
33767 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
33768 r=`${PWD_COMMAND}`; export r; \
33769 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33770 $(HOST_EXPORTS) \
33771 (cd ./gcc && \
33772 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
33773 rm -rf gcc/include; \
33774 mv gcc/tmp-include gcc/include 2>/dev/null; \
33775 else true; fi
33776 @endif gcc
33778 # ---------------------
33779 # GCC bootstrap support
33780 # ---------------------
33782 # We track the current stage (the one in 'gcc') in the stage_current file.
33783 # stage_last instead tracks the stage that was built last. These targets
33784 # are dummy when toplevel bootstrap is not active.
33786 .PHONY: unstage
33787 unstage:
33788 @if gcc-bootstrap
33789 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
33790 @endif gcc-bootstrap
33792 .PHONY: stage
33793 stage:
33794 @if gcc-bootstrap
33795 @$(MAKE) `cat stage_current`-end
33796 @endif gcc-bootstrap
33798 # We name the build directories for the various stages "stage1-gcc",
33799 # "stage2-gcc","stage3-gcc", etc.
33801 # Since the 'compare' process will fail (on debugging information) if any
33802 # directory names are different, we need to link the gcc directory for
33803 # the previous stage to a constant name ('gcc-prev'), and to make the name of
33804 # the build directories constant as well. For the latter, we use naked names
33805 # like 'gcc', because the scripts in that directory assume it. We use
33806 # mv on platforms where symlinks to directories do not work or are not
33807 # reliable.
33809 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
33810 # be kept, so that libraries can find it. Ick!
33812 # It would be best to preinstall gcc into a staging area (and in the
33813 # future, gather there all prebootstrap packages). This would allow
33814 # assemblers and linkers can be bootstrapped as well as the compiler
33815 # (both in a combined tree, or separately). This however requires some
33816 # change to the gcc driver, again in order to avoid comparison failures.
33818 # Bugs: This is crippled when doing parallel make, the `make all-host'
33819 # and `make all-target' phases can be parallelized.
33822 # 'touch' doesn't work right on some platforms.
33823 STAMP = echo timestamp >
33825 # Only build the C compiler for stage1, because that is the only one that
33826 # we can guarantee will build with the native compiler, and also it is the
33827 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
33828 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
33829 # overrideable (for a bootstrap build stage1 also builds gcc.info).
33831 STAGE1_CFLAGS=@stage1_cflags@
33832 STAGE1_LANGUAGES=@stage1_languages@
33834 # We only want to compare .o files, so set this!
33835 objext = .o
33837 # Flags to pass to stage2 and later makes.
33838 POSTSTAGE1_FLAGS_TO_PASS = \
33839 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
33840 STAGE_PREFIX=$$r/prev-gcc/ \
33841 CFLAGS="$(BOOT_CFLAGS)" \
33842 ADAC="\$$(CC)"
33844 # For stage 1:
33845 # * We force-disable intermodule optimizations, even if
33846 # --enable-intermodule was passed, since the installed compiler probably
33847 # can't handle them. Luckily, autoconf always respects
33848 # the last argument when conflicting --enable arguments are passed.
33849 # * Likewise, we force-disable coverage flags, since the installed compiler
33850 # probably has never heard of them.
33851 # * We build only C (and possibly Ada).
33854 .PHONY: stage1-start stage1-end
33856 stage1-start::
33857 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33858 echo stage1 > stage_current ; \
33859 echo stage1 > stage_last; \
33860 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
33861 @if bfd
33862 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
33863 mkdir stage1-bfd; \
33864 set stage1-bfd bfd ; \
33865 @CREATE_LINK_TO_DIR@
33866 @endif bfd
33867 @if opcodes
33868 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
33869 mkdir stage1-opcodes; \
33870 set stage1-opcodes opcodes ; \
33871 @CREATE_LINK_TO_DIR@
33872 @endif opcodes
33873 @if binutils
33874 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
33875 mkdir stage1-binutils; \
33876 set stage1-binutils binutils ; \
33877 @CREATE_LINK_TO_DIR@
33878 @endif binutils
33879 @if gas
33880 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
33881 mkdir stage1-gas; \
33882 set stage1-gas gas ; \
33883 @CREATE_LINK_TO_DIR@
33884 @endif gas
33885 @if gcc
33886 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
33887 mkdir stage1-gcc; \
33888 set stage1-gcc gcc ; \
33889 @CREATE_LINK_TO_DIR@
33890 @endif gcc
33891 @if intl
33892 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
33893 mkdir stage1-intl; \
33894 set stage1-intl intl ; \
33895 @CREATE_LINK_TO_DIR@
33896 @endif intl
33897 @if ld
33898 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
33899 mkdir stage1-ld; \
33900 set stage1-ld ld ; \
33901 @CREATE_LINK_TO_DIR@
33902 @endif ld
33903 @if libcpp
33904 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
33905 mkdir stage1-libcpp; \
33906 set stage1-libcpp libcpp ; \
33907 @CREATE_LINK_TO_DIR@
33908 @endif libcpp
33909 @if libiberty
33910 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
33911 mkdir stage1-libiberty; \
33912 set stage1-libiberty libiberty ; \
33913 @CREATE_LINK_TO_DIR@
33914 @endif libiberty
33915 @if zlib
33916 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
33917 mkdir stage1-zlib; \
33918 set stage1-zlib zlib ; \
33919 @CREATE_LINK_TO_DIR@
33920 @endif zlib
33922 stage1-end::
33923 @rm -f stage_current
33924 @if bfd
33925 @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
33926 @UNDO_LINK_TO_DIR@
33927 @endif bfd
33928 @if opcodes
33929 @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
33930 @UNDO_LINK_TO_DIR@
33931 @endif opcodes
33932 @if binutils
33933 @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
33934 @UNDO_LINK_TO_DIR@
33935 @endif binutils
33936 @if gas
33937 @cd $(HOST_SUBDIR); set gas stage1-gas ; \
33938 @UNDO_LINK_TO_DIR@
33939 @endif gas
33940 @if gcc
33941 @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
33942 @UNDO_LINK_TO_DIR@
33943 @endif gcc
33944 @if intl
33945 @cd $(HOST_SUBDIR); set intl stage1-intl ; \
33946 @UNDO_LINK_TO_DIR@
33947 @endif intl
33948 @if ld
33949 @cd $(HOST_SUBDIR); set ld stage1-ld ; \
33950 @UNDO_LINK_TO_DIR@
33951 @endif ld
33952 @if libcpp
33953 @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
33954 @UNDO_LINK_TO_DIR@
33955 @endif libcpp
33956 @if libiberty
33957 @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
33958 @UNDO_LINK_TO_DIR@
33959 @endif libiberty
33960 @if zlib
33961 @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
33962 @UNDO_LINK_TO_DIR@
33963 @endif zlib
33965 # Bubble a bugfix through all the stages up to stage 1. They
33966 # are remade, but not reconfigured. The next stage (if any) will not
33967 # be reconfigured as well.
33968 .PHONY: stage1-bubble
33969 stage1-bubble::
33970 @if test -f stage1-lean ; then \
33971 echo Skipping rebuild of stage1 ; \
33972 else \
33973 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
33976 .PHONY: all-stage1 clean-stage1
33977 do-clean: clean-stage1
33979 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33980 # only possibility, but now it conflicts with no-bootstrap rules
33981 @if gcc-bootstrap
33986 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33988 .PHONY: distclean-stage1
33989 distclean-stage1::
33990 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33991 rm -rf stage1-*
33994 @endif gcc-bootstrap
33997 .PHONY: stage2-start stage2-end
33999 stage2-start::
34000 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34001 echo stage2 > stage_current ; \
34002 echo stage2 > stage_last; \
34003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34004 @if bfd
34005 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
34006 mkdir stage2-bfd; \
34007 set stage2-bfd bfd ; \
34008 @CREATE_LINK_TO_DIR@ ; \
34009 set stage1-bfd prev-bfd ; \
34010 @CREATE_LINK_TO_DIR@
34011 @endif bfd
34012 @if opcodes
34013 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
34014 mkdir stage2-opcodes; \
34015 set stage2-opcodes opcodes ; \
34016 @CREATE_LINK_TO_DIR@ ; \
34017 set stage1-opcodes prev-opcodes ; \
34018 @CREATE_LINK_TO_DIR@
34019 @endif opcodes
34020 @if binutils
34021 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
34022 mkdir stage2-binutils; \
34023 set stage2-binutils binutils ; \
34024 @CREATE_LINK_TO_DIR@ ; \
34025 set stage1-binutils prev-binutils ; \
34026 @CREATE_LINK_TO_DIR@
34027 @endif binutils
34028 @if gas
34029 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
34030 mkdir stage2-gas; \
34031 set stage2-gas gas ; \
34032 @CREATE_LINK_TO_DIR@ ; \
34033 set stage1-gas prev-gas ; \
34034 @CREATE_LINK_TO_DIR@
34035 @endif gas
34036 @if gcc
34037 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
34038 mkdir stage2-gcc; \
34039 set stage2-gcc gcc ; \
34040 @CREATE_LINK_TO_DIR@ ; \
34041 set stage1-gcc prev-gcc ; \
34042 @CREATE_LINK_TO_DIR@
34043 @endif gcc
34044 @if intl
34045 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
34046 mkdir stage2-intl; \
34047 set stage2-intl intl ; \
34048 @CREATE_LINK_TO_DIR@ ; \
34049 set stage1-intl prev-intl ; \
34050 @CREATE_LINK_TO_DIR@
34051 @endif intl
34052 @if ld
34053 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
34054 mkdir stage2-ld; \
34055 set stage2-ld ld ; \
34056 @CREATE_LINK_TO_DIR@ ; \
34057 set stage1-ld prev-ld ; \
34058 @CREATE_LINK_TO_DIR@
34059 @endif ld
34060 @if libcpp
34061 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
34062 mkdir stage2-libcpp; \
34063 set stage2-libcpp libcpp ; \
34064 @CREATE_LINK_TO_DIR@ ; \
34065 set stage1-libcpp prev-libcpp ; \
34066 @CREATE_LINK_TO_DIR@
34067 @endif libcpp
34068 @if libiberty
34069 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
34070 mkdir stage2-libiberty; \
34071 set stage2-libiberty libiberty ; \
34072 @CREATE_LINK_TO_DIR@ ; \
34073 set stage1-libiberty prev-libiberty ; \
34074 @CREATE_LINK_TO_DIR@
34075 @endif libiberty
34076 @if zlib
34077 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
34078 mkdir stage2-zlib; \
34079 set stage2-zlib zlib ; \
34080 @CREATE_LINK_TO_DIR@ ; \
34081 set stage1-zlib prev-zlib ; \
34082 @CREATE_LINK_TO_DIR@
34083 @endif zlib
34085 stage2-end::
34086 @rm -f stage_current
34087 @if bfd
34088 @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
34089 @UNDO_LINK_TO_DIR@ ; \
34090 set prev-bfd stage1-bfd ; \
34091 @UNDO_LINK_TO_DIR@
34092 @endif bfd
34093 @if opcodes
34094 @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
34095 @UNDO_LINK_TO_DIR@ ; \
34096 set prev-opcodes stage1-opcodes ; \
34097 @UNDO_LINK_TO_DIR@
34098 @endif opcodes
34099 @if binutils
34100 @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
34101 @UNDO_LINK_TO_DIR@ ; \
34102 set prev-binutils stage1-binutils ; \
34103 @UNDO_LINK_TO_DIR@
34104 @endif binutils
34105 @if gas
34106 @cd $(HOST_SUBDIR); set gas stage2-gas ; \
34107 @UNDO_LINK_TO_DIR@ ; \
34108 set prev-gas stage1-gas ; \
34109 @UNDO_LINK_TO_DIR@
34110 @endif gas
34111 @if gcc
34112 @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
34113 @UNDO_LINK_TO_DIR@ ; \
34114 set prev-gcc stage1-gcc ; \
34115 @UNDO_LINK_TO_DIR@
34116 @endif gcc
34117 @if intl
34118 @cd $(HOST_SUBDIR); set intl stage2-intl ; \
34119 @UNDO_LINK_TO_DIR@ ; \
34120 set prev-intl stage1-intl ; \
34121 @UNDO_LINK_TO_DIR@
34122 @endif intl
34123 @if ld
34124 @cd $(HOST_SUBDIR); set ld stage2-ld ; \
34125 @UNDO_LINK_TO_DIR@ ; \
34126 set prev-ld stage1-ld ; \
34127 @UNDO_LINK_TO_DIR@
34128 @endif ld
34129 @if libcpp
34130 @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
34131 @UNDO_LINK_TO_DIR@ ; \
34132 set prev-libcpp stage1-libcpp ; \
34133 @UNDO_LINK_TO_DIR@
34134 @endif libcpp
34135 @if libiberty
34136 @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
34137 @UNDO_LINK_TO_DIR@ ; \
34138 set prev-libiberty stage1-libiberty ; \
34139 @UNDO_LINK_TO_DIR@
34140 @endif libiberty
34141 @if zlib
34142 @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
34143 @UNDO_LINK_TO_DIR@ ; \
34144 set prev-zlib stage1-zlib ; \
34145 @UNDO_LINK_TO_DIR@
34146 @endif zlib
34148 # Bubble a bugfix through all the stages up to stage 2. They
34149 # are remade, but not reconfigured. The next stage (if any) will not
34150 # be reconfigured as well.
34151 .PHONY: stage2-bubble
34152 stage2-bubble:: stage1-bubble
34153 @if test -f stage2-lean || test -f stage1-lean ; then \
34154 echo Skipping rebuild of stage2 ; \
34155 else \
34156 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
34159 .PHONY: all-stage2 clean-stage2
34160 do-clean: clean-stage2
34162 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34163 # only possibility, but now it conflicts with no-bootstrap rules
34164 @if gcc-bootstrap
34168 .PHONY: bootstrap2
34169 bootstrap2: stage2-bubble all
34172 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34173 distclean-stage1:: distclean-stage2
34174 .PHONY: distclean-stage2
34175 distclean-stage2::
34176 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34177 rm -rf stage2-*
34180 @endif gcc-bootstrap
34183 .PHONY: stage3-start stage3-end
34185 stage3-start::
34186 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34187 echo stage3 > stage_current ; \
34188 echo stage3 > stage_last; \
34189 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34190 @if bfd
34191 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
34192 mkdir stage3-bfd; \
34193 set stage3-bfd bfd ; \
34194 @CREATE_LINK_TO_DIR@ ; \
34195 set stage2-bfd prev-bfd ; \
34196 @CREATE_LINK_TO_DIR@
34197 @endif bfd
34198 @if opcodes
34199 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
34200 mkdir stage3-opcodes; \
34201 set stage3-opcodes opcodes ; \
34202 @CREATE_LINK_TO_DIR@ ; \
34203 set stage2-opcodes prev-opcodes ; \
34204 @CREATE_LINK_TO_DIR@
34205 @endif opcodes
34206 @if binutils
34207 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
34208 mkdir stage3-binutils; \
34209 set stage3-binutils binutils ; \
34210 @CREATE_LINK_TO_DIR@ ; \
34211 set stage2-binutils prev-binutils ; \
34212 @CREATE_LINK_TO_DIR@
34213 @endif binutils
34214 @if gas
34215 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
34216 mkdir stage3-gas; \
34217 set stage3-gas gas ; \
34218 @CREATE_LINK_TO_DIR@ ; \
34219 set stage2-gas prev-gas ; \
34220 @CREATE_LINK_TO_DIR@
34221 @endif gas
34222 @if gcc
34223 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
34224 mkdir stage3-gcc; \
34225 set stage3-gcc gcc ; \
34226 @CREATE_LINK_TO_DIR@ ; \
34227 set stage2-gcc prev-gcc ; \
34228 @CREATE_LINK_TO_DIR@
34229 @endif gcc
34230 @if intl
34231 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
34232 mkdir stage3-intl; \
34233 set stage3-intl intl ; \
34234 @CREATE_LINK_TO_DIR@ ; \
34235 set stage2-intl prev-intl ; \
34236 @CREATE_LINK_TO_DIR@
34237 @endif intl
34238 @if ld
34239 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
34240 mkdir stage3-ld; \
34241 set stage3-ld ld ; \
34242 @CREATE_LINK_TO_DIR@ ; \
34243 set stage2-ld prev-ld ; \
34244 @CREATE_LINK_TO_DIR@
34245 @endif ld
34246 @if libcpp
34247 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
34248 mkdir stage3-libcpp; \
34249 set stage3-libcpp libcpp ; \
34250 @CREATE_LINK_TO_DIR@ ; \
34251 set stage2-libcpp prev-libcpp ; \
34252 @CREATE_LINK_TO_DIR@
34253 @endif libcpp
34254 @if libiberty
34255 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
34256 mkdir stage3-libiberty; \
34257 set stage3-libiberty libiberty ; \
34258 @CREATE_LINK_TO_DIR@ ; \
34259 set stage2-libiberty prev-libiberty ; \
34260 @CREATE_LINK_TO_DIR@
34261 @endif libiberty
34262 @if zlib
34263 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
34264 mkdir stage3-zlib; \
34265 set stage3-zlib zlib ; \
34266 @CREATE_LINK_TO_DIR@ ; \
34267 set stage2-zlib prev-zlib ; \
34268 @CREATE_LINK_TO_DIR@
34269 @endif zlib
34271 stage3-end::
34272 @rm -f stage_current
34273 @if bfd
34274 @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
34275 @UNDO_LINK_TO_DIR@ ; \
34276 set prev-bfd stage2-bfd ; \
34277 @UNDO_LINK_TO_DIR@
34278 @endif bfd
34279 @if opcodes
34280 @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
34281 @UNDO_LINK_TO_DIR@ ; \
34282 set prev-opcodes stage2-opcodes ; \
34283 @UNDO_LINK_TO_DIR@
34284 @endif opcodes
34285 @if binutils
34286 @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
34287 @UNDO_LINK_TO_DIR@ ; \
34288 set prev-binutils stage2-binutils ; \
34289 @UNDO_LINK_TO_DIR@
34290 @endif binutils
34291 @if gas
34292 @cd $(HOST_SUBDIR); set gas stage3-gas ; \
34293 @UNDO_LINK_TO_DIR@ ; \
34294 set prev-gas stage2-gas ; \
34295 @UNDO_LINK_TO_DIR@
34296 @endif gas
34297 @if gcc
34298 @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
34299 @UNDO_LINK_TO_DIR@ ; \
34300 set prev-gcc stage2-gcc ; \
34301 @UNDO_LINK_TO_DIR@
34302 @endif gcc
34303 @if intl
34304 @cd $(HOST_SUBDIR); set intl stage3-intl ; \
34305 @UNDO_LINK_TO_DIR@ ; \
34306 set prev-intl stage2-intl ; \
34307 @UNDO_LINK_TO_DIR@
34308 @endif intl
34309 @if ld
34310 @cd $(HOST_SUBDIR); set ld stage3-ld ; \
34311 @UNDO_LINK_TO_DIR@ ; \
34312 set prev-ld stage2-ld ; \
34313 @UNDO_LINK_TO_DIR@
34314 @endif ld
34315 @if libcpp
34316 @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
34317 @UNDO_LINK_TO_DIR@ ; \
34318 set prev-libcpp stage2-libcpp ; \
34319 @UNDO_LINK_TO_DIR@
34320 @endif libcpp
34321 @if libiberty
34322 @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
34323 @UNDO_LINK_TO_DIR@ ; \
34324 set prev-libiberty stage2-libiberty ; \
34325 @UNDO_LINK_TO_DIR@
34326 @endif libiberty
34327 @if zlib
34328 @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
34329 @UNDO_LINK_TO_DIR@ ; \
34330 set prev-zlib stage2-zlib ; \
34331 @UNDO_LINK_TO_DIR@
34332 @endif zlib
34334 # Bubble a bugfix through all the stages up to stage 3. They
34335 # are remade, but not reconfigured. The next stage (if any) will not
34336 # be reconfigured as well.
34337 .PHONY: stage3-bubble
34338 stage3-bubble:: stage2-bubble
34339 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
34340 @if test -f stage3-lean || test -f stage2-lean ; then \
34341 echo Skipping rebuild of stage3 ; \
34342 else \
34343 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
34346 .PHONY: all-stage3 clean-stage3
34347 do-clean: clean-stage3
34349 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34350 # only possibility, but now it conflicts with no-bootstrap rules
34351 @if gcc-bootstrap
34353 compare:
34354 @if test -f stage2-lean; then \
34355 echo Cannot compare object files as stage 2 was deleted. ; \
34356 exit 0 ; \
34357 fi; \
34358 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34359 @r=`${PWD_COMMAND}`; export r; \
34360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34361 rm -f .bad_compare ; \
34362 cd stage3-gcc; \
34363 files=`find . -name "*$(objext)" -print` ; \
34364 cd .. ; \
34365 for file in $${files} ; do \
34366 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
34367 @do_compare@ > /dev/null 2>&1; \
34368 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
34369 done ; \
34370 if [ -f .bad_compare ]; then \
34371 echo "Bootstrap comparison failure!"; \
34372 cat .bad_compare; \
34373 exit 1; \
34374 else \
34375 true; \
34376 fi ; \
34377 $(STAMP) compare
34378 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
34382 .PHONY: bootstrap
34383 bootstrap: stage3-bubble compare all
34386 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34387 distclean-stage2:: distclean-stage3
34388 .PHONY: distclean-stage3
34389 distclean-stage3::
34390 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34391 rm -rf stage3-* compare
34394 .PHONY: cleanstrap
34395 cleanstrap: distclean bootstrap
34397 @endif gcc-bootstrap
34400 .PHONY: stage4-start stage4-end
34402 stage4-start::
34403 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34404 echo stage4 > stage_current ; \
34405 echo stage4 > stage_last; \
34406 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34407 @if bfd
34408 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
34409 mkdir stage4-bfd; \
34410 set stage4-bfd bfd ; \
34411 @CREATE_LINK_TO_DIR@ ; \
34412 set stage3-bfd prev-bfd ; \
34413 @CREATE_LINK_TO_DIR@
34414 @endif bfd
34415 @if opcodes
34416 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
34417 mkdir stage4-opcodes; \
34418 set stage4-opcodes opcodes ; \
34419 @CREATE_LINK_TO_DIR@ ; \
34420 set stage3-opcodes prev-opcodes ; \
34421 @CREATE_LINK_TO_DIR@
34422 @endif opcodes
34423 @if binutils
34424 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
34425 mkdir stage4-binutils; \
34426 set stage4-binutils binutils ; \
34427 @CREATE_LINK_TO_DIR@ ; \
34428 set stage3-binutils prev-binutils ; \
34429 @CREATE_LINK_TO_DIR@
34430 @endif binutils
34431 @if gas
34432 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
34433 mkdir stage4-gas; \
34434 set stage4-gas gas ; \
34435 @CREATE_LINK_TO_DIR@ ; \
34436 set stage3-gas prev-gas ; \
34437 @CREATE_LINK_TO_DIR@
34438 @endif gas
34439 @if gcc
34440 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
34441 mkdir stage4-gcc; \
34442 set stage4-gcc gcc ; \
34443 @CREATE_LINK_TO_DIR@ ; \
34444 set stage3-gcc prev-gcc ; \
34445 @CREATE_LINK_TO_DIR@
34446 @endif gcc
34447 @if intl
34448 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
34449 mkdir stage4-intl; \
34450 set stage4-intl intl ; \
34451 @CREATE_LINK_TO_DIR@ ; \
34452 set stage3-intl prev-intl ; \
34453 @CREATE_LINK_TO_DIR@
34454 @endif intl
34455 @if ld
34456 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
34457 mkdir stage4-ld; \
34458 set stage4-ld ld ; \
34459 @CREATE_LINK_TO_DIR@ ; \
34460 set stage3-ld prev-ld ; \
34461 @CREATE_LINK_TO_DIR@
34462 @endif ld
34463 @if libcpp
34464 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
34465 mkdir stage4-libcpp; \
34466 set stage4-libcpp libcpp ; \
34467 @CREATE_LINK_TO_DIR@ ; \
34468 set stage3-libcpp prev-libcpp ; \
34469 @CREATE_LINK_TO_DIR@
34470 @endif libcpp
34471 @if libiberty
34472 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
34473 mkdir stage4-libiberty; \
34474 set stage4-libiberty libiberty ; \
34475 @CREATE_LINK_TO_DIR@ ; \
34476 set stage3-libiberty prev-libiberty ; \
34477 @CREATE_LINK_TO_DIR@
34478 @endif libiberty
34479 @if zlib
34480 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
34481 mkdir stage4-zlib; \
34482 set stage4-zlib zlib ; \
34483 @CREATE_LINK_TO_DIR@ ; \
34484 set stage3-zlib prev-zlib ; \
34485 @CREATE_LINK_TO_DIR@
34486 @endif zlib
34488 stage4-end::
34489 @rm -f stage_current
34490 @if bfd
34491 @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
34492 @UNDO_LINK_TO_DIR@ ; \
34493 set prev-bfd stage3-bfd ; \
34494 @UNDO_LINK_TO_DIR@
34495 @endif bfd
34496 @if opcodes
34497 @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
34498 @UNDO_LINK_TO_DIR@ ; \
34499 set prev-opcodes stage3-opcodes ; \
34500 @UNDO_LINK_TO_DIR@
34501 @endif opcodes
34502 @if binutils
34503 @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
34504 @UNDO_LINK_TO_DIR@ ; \
34505 set prev-binutils stage3-binutils ; \
34506 @UNDO_LINK_TO_DIR@
34507 @endif binutils
34508 @if gas
34509 @cd $(HOST_SUBDIR); set gas stage4-gas ; \
34510 @UNDO_LINK_TO_DIR@ ; \
34511 set prev-gas stage3-gas ; \
34512 @UNDO_LINK_TO_DIR@
34513 @endif gas
34514 @if gcc
34515 @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
34516 @UNDO_LINK_TO_DIR@ ; \
34517 set prev-gcc stage3-gcc ; \
34518 @UNDO_LINK_TO_DIR@
34519 @endif gcc
34520 @if intl
34521 @cd $(HOST_SUBDIR); set intl stage4-intl ; \
34522 @UNDO_LINK_TO_DIR@ ; \
34523 set prev-intl stage3-intl ; \
34524 @UNDO_LINK_TO_DIR@
34525 @endif intl
34526 @if ld
34527 @cd $(HOST_SUBDIR); set ld stage4-ld ; \
34528 @UNDO_LINK_TO_DIR@ ; \
34529 set prev-ld stage3-ld ; \
34530 @UNDO_LINK_TO_DIR@
34531 @endif ld
34532 @if libcpp
34533 @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
34534 @UNDO_LINK_TO_DIR@ ; \
34535 set prev-libcpp stage3-libcpp ; \
34536 @UNDO_LINK_TO_DIR@
34537 @endif libcpp
34538 @if libiberty
34539 @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
34540 @UNDO_LINK_TO_DIR@ ; \
34541 set prev-libiberty stage3-libiberty ; \
34542 @UNDO_LINK_TO_DIR@
34543 @endif libiberty
34544 @if zlib
34545 @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
34546 @UNDO_LINK_TO_DIR@ ; \
34547 set prev-zlib stage3-zlib ; \
34548 @UNDO_LINK_TO_DIR@
34549 @endif zlib
34551 # Bubble a bugfix through all the stages up to stage 4. They
34552 # are remade, but not reconfigured. The next stage (if any) will not
34553 # be reconfigured as well.
34554 .PHONY: stage4-bubble
34555 stage4-bubble:: stage3-bubble
34556 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
34557 @if test -f stage4-lean || test -f stage3-lean ; then \
34558 echo Skipping rebuild of stage4 ; \
34559 else \
34560 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
34563 .PHONY: all-stage4 clean-stage4
34564 do-clean: clean-stage4
34566 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34567 # only possibility, but now it conflicts with no-bootstrap rules
34568 @if gcc-bootstrap
34570 compare3:
34571 @if test -f stage3-lean; then \
34572 echo Cannot compare object files as stage 3 was deleted. ; \
34573 exit 0 ; \
34574 fi; \
34575 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34576 @r=`${PWD_COMMAND}`; export r; \
34577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34578 rm -f .bad_compare ; \
34579 cd stage4-gcc; \
34580 files=`find . -name "*$(objext)" -print` ; \
34581 cd .. ; \
34582 for file in $${files} ; do \
34583 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
34584 @do_compare@ > /dev/null 2>&1; \
34585 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
34586 done ; \
34587 if [ -f .bad_compare ]; then \
34588 echo "Bootstrap comparison failure!"; \
34589 cat .bad_compare; \
34590 exit 1; \
34591 else \
34592 true; \
34593 fi ; \
34594 $(STAMP) compare3
34595 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
34599 .PHONY: bootstrap4
34600 bootstrap4: stage4-bubble compare3 all
34603 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34604 distclean-stage3:: distclean-stage4
34605 .PHONY: distclean-stage4
34606 distclean-stage4::
34607 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34608 rm -rf stage4-* compare3
34611 @endif gcc-bootstrap
34614 .PHONY: stageprofile-start stageprofile-end
34616 stageprofile-start::
34617 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34618 echo stageprofile > stage_current ; \
34619 echo stageprofile > stage_last; \
34620 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34621 @if bfd
34622 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
34623 mkdir stageprofile-bfd; \
34624 set stageprofile-bfd bfd ; \
34625 @CREATE_LINK_TO_DIR@ ; \
34626 set stage1-bfd prev-bfd ; \
34627 @CREATE_LINK_TO_DIR@
34628 @endif bfd
34629 @if opcodes
34630 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
34631 mkdir stageprofile-opcodes; \
34632 set stageprofile-opcodes opcodes ; \
34633 @CREATE_LINK_TO_DIR@ ; \
34634 set stage1-opcodes prev-opcodes ; \
34635 @CREATE_LINK_TO_DIR@
34636 @endif opcodes
34637 @if binutils
34638 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
34639 mkdir stageprofile-binutils; \
34640 set stageprofile-binutils binutils ; \
34641 @CREATE_LINK_TO_DIR@ ; \
34642 set stage1-binutils prev-binutils ; \
34643 @CREATE_LINK_TO_DIR@
34644 @endif binutils
34645 @if gas
34646 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
34647 mkdir stageprofile-gas; \
34648 set stageprofile-gas gas ; \
34649 @CREATE_LINK_TO_DIR@ ; \
34650 set stage1-gas prev-gas ; \
34651 @CREATE_LINK_TO_DIR@
34652 @endif gas
34653 @if gcc
34654 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
34655 mkdir stageprofile-gcc; \
34656 set stageprofile-gcc gcc ; \
34657 @CREATE_LINK_TO_DIR@ ; \
34658 set stage1-gcc prev-gcc ; \
34659 @CREATE_LINK_TO_DIR@
34660 @endif gcc
34661 @if intl
34662 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
34663 mkdir stageprofile-intl; \
34664 set stageprofile-intl intl ; \
34665 @CREATE_LINK_TO_DIR@ ; \
34666 set stage1-intl prev-intl ; \
34667 @CREATE_LINK_TO_DIR@
34668 @endif intl
34669 @if ld
34670 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
34671 mkdir stageprofile-ld; \
34672 set stageprofile-ld ld ; \
34673 @CREATE_LINK_TO_DIR@ ; \
34674 set stage1-ld prev-ld ; \
34675 @CREATE_LINK_TO_DIR@
34676 @endif ld
34677 @if libcpp
34678 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
34679 mkdir stageprofile-libcpp; \
34680 set stageprofile-libcpp libcpp ; \
34681 @CREATE_LINK_TO_DIR@ ; \
34682 set stage1-libcpp prev-libcpp ; \
34683 @CREATE_LINK_TO_DIR@
34684 @endif libcpp
34685 @if libiberty
34686 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
34687 mkdir stageprofile-libiberty; \
34688 set stageprofile-libiberty libiberty ; \
34689 @CREATE_LINK_TO_DIR@ ; \
34690 set stage1-libiberty prev-libiberty ; \
34691 @CREATE_LINK_TO_DIR@
34692 @endif libiberty
34693 @if zlib
34694 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
34695 mkdir stageprofile-zlib; \
34696 set stageprofile-zlib zlib ; \
34697 @CREATE_LINK_TO_DIR@ ; \
34698 set stage1-zlib prev-zlib ; \
34699 @CREATE_LINK_TO_DIR@
34700 @endif zlib
34702 stageprofile-end::
34703 @rm -f stage_current
34704 @if bfd
34705 @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
34706 @UNDO_LINK_TO_DIR@ ; \
34707 set prev-bfd stage1-bfd ; \
34708 @UNDO_LINK_TO_DIR@
34709 @endif bfd
34710 @if opcodes
34711 @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
34712 @UNDO_LINK_TO_DIR@ ; \
34713 set prev-opcodes stage1-opcodes ; \
34714 @UNDO_LINK_TO_DIR@
34715 @endif opcodes
34716 @if binutils
34717 @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
34718 @UNDO_LINK_TO_DIR@ ; \
34719 set prev-binutils stage1-binutils ; \
34720 @UNDO_LINK_TO_DIR@
34721 @endif binutils
34722 @if gas
34723 @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
34724 @UNDO_LINK_TO_DIR@ ; \
34725 set prev-gas stage1-gas ; \
34726 @UNDO_LINK_TO_DIR@
34727 @endif gas
34728 @if gcc
34729 @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
34730 @UNDO_LINK_TO_DIR@ ; \
34731 set prev-gcc stage1-gcc ; \
34732 @UNDO_LINK_TO_DIR@
34733 @endif gcc
34734 @if intl
34735 @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
34736 @UNDO_LINK_TO_DIR@ ; \
34737 set prev-intl stage1-intl ; \
34738 @UNDO_LINK_TO_DIR@
34739 @endif intl
34740 @if ld
34741 @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
34742 @UNDO_LINK_TO_DIR@ ; \
34743 set prev-ld stage1-ld ; \
34744 @UNDO_LINK_TO_DIR@
34745 @endif ld
34746 @if libcpp
34747 @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
34748 @UNDO_LINK_TO_DIR@ ; \
34749 set prev-libcpp stage1-libcpp ; \
34750 @UNDO_LINK_TO_DIR@
34751 @endif libcpp
34752 @if libiberty
34753 @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
34754 @UNDO_LINK_TO_DIR@ ; \
34755 set prev-libiberty stage1-libiberty ; \
34756 @UNDO_LINK_TO_DIR@
34757 @endif libiberty
34758 @if zlib
34759 @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
34760 @UNDO_LINK_TO_DIR@ ; \
34761 set prev-zlib stage1-zlib ; \
34762 @UNDO_LINK_TO_DIR@
34763 @endif zlib
34765 # Bubble a bugfix through all the stages up to stage profile. They
34766 # are remade, but not reconfigured. The next stage (if any) will not
34767 # be reconfigured as well.
34768 .PHONY: stageprofile-bubble
34769 stageprofile-bubble:: stage1-bubble
34770 @if test -f stageprofile-lean || test -f stage1-lean ; then \
34771 echo Skipping rebuild of stageprofile ; \
34772 else \
34773 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
34776 .PHONY: all-stageprofile clean-stageprofile
34777 do-clean: clean-stageprofile
34779 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34780 # only possibility, but now it conflicts with no-bootstrap rules
34781 @if gcc-bootstrap
34786 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34787 distclean-stage1:: distclean-stageprofile
34788 .PHONY: distclean-stageprofile
34789 distclean-stageprofile::
34790 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34791 rm -rf stageprofile-*
34794 @endif gcc-bootstrap
34797 .PHONY: stagefeedback-start stagefeedback-end
34799 stagefeedback-start::
34800 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34801 echo stagefeedback > stage_current ; \
34802 echo stagefeedback > stage_last; \
34803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34804 @if bfd
34805 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
34806 mkdir stagefeedback-bfd; \
34807 set stagefeedback-bfd bfd ; \
34808 @CREATE_LINK_TO_DIR@ ; \
34809 set stageprofile-bfd prev-bfd ; \
34810 @CREATE_LINK_TO_DIR@
34811 @endif bfd
34812 @if opcodes
34813 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
34814 mkdir stagefeedback-opcodes; \
34815 set stagefeedback-opcodes opcodes ; \
34816 @CREATE_LINK_TO_DIR@ ; \
34817 set stageprofile-opcodes prev-opcodes ; \
34818 @CREATE_LINK_TO_DIR@
34819 @endif opcodes
34820 @if binutils
34821 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
34822 mkdir stagefeedback-binutils; \
34823 set stagefeedback-binutils binutils ; \
34824 @CREATE_LINK_TO_DIR@ ; \
34825 set stageprofile-binutils prev-binutils ; \
34826 @CREATE_LINK_TO_DIR@
34827 @endif binutils
34828 @if gas
34829 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
34830 mkdir stagefeedback-gas; \
34831 set stagefeedback-gas gas ; \
34832 @CREATE_LINK_TO_DIR@ ; \
34833 set stageprofile-gas prev-gas ; \
34834 @CREATE_LINK_TO_DIR@
34835 @endif gas
34836 @if gcc
34837 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
34838 mkdir stagefeedback-gcc; \
34839 set stagefeedback-gcc gcc ; \
34840 @CREATE_LINK_TO_DIR@ ; \
34841 set stageprofile-gcc prev-gcc ; \
34842 @CREATE_LINK_TO_DIR@
34843 @endif gcc
34844 @if intl
34845 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
34846 mkdir stagefeedback-intl; \
34847 set stagefeedback-intl intl ; \
34848 @CREATE_LINK_TO_DIR@ ; \
34849 set stageprofile-intl prev-intl ; \
34850 @CREATE_LINK_TO_DIR@
34851 @endif intl
34852 @if ld
34853 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
34854 mkdir stagefeedback-ld; \
34855 set stagefeedback-ld ld ; \
34856 @CREATE_LINK_TO_DIR@ ; \
34857 set stageprofile-ld prev-ld ; \
34858 @CREATE_LINK_TO_DIR@
34859 @endif ld
34860 @if libcpp
34861 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
34862 mkdir stagefeedback-libcpp; \
34863 set stagefeedback-libcpp libcpp ; \
34864 @CREATE_LINK_TO_DIR@ ; \
34865 set stageprofile-libcpp prev-libcpp ; \
34866 @CREATE_LINK_TO_DIR@
34867 @endif libcpp
34868 @if libiberty
34869 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
34870 mkdir stagefeedback-libiberty; \
34871 set stagefeedback-libiberty libiberty ; \
34872 @CREATE_LINK_TO_DIR@ ; \
34873 set stageprofile-libiberty prev-libiberty ; \
34874 @CREATE_LINK_TO_DIR@
34875 @endif libiberty
34876 @if zlib
34877 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
34878 mkdir stagefeedback-zlib; \
34879 set stagefeedback-zlib zlib ; \
34880 @CREATE_LINK_TO_DIR@ ; \
34881 set stageprofile-zlib prev-zlib ; \
34882 @CREATE_LINK_TO_DIR@
34883 @endif zlib
34885 stagefeedback-end::
34886 @rm -f stage_current
34887 @if bfd
34888 @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
34889 @UNDO_LINK_TO_DIR@ ; \
34890 set prev-bfd stageprofile-bfd ; \
34891 @UNDO_LINK_TO_DIR@
34892 @endif bfd
34893 @if opcodes
34894 @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
34895 @UNDO_LINK_TO_DIR@ ; \
34896 set prev-opcodes stageprofile-opcodes ; \
34897 @UNDO_LINK_TO_DIR@
34898 @endif opcodes
34899 @if binutils
34900 @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
34901 @UNDO_LINK_TO_DIR@ ; \
34902 set prev-binutils stageprofile-binutils ; \
34903 @UNDO_LINK_TO_DIR@
34904 @endif binutils
34905 @if gas
34906 @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
34907 @UNDO_LINK_TO_DIR@ ; \
34908 set prev-gas stageprofile-gas ; \
34909 @UNDO_LINK_TO_DIR@
34910 @endif gas
34911 @if gcc
34912 @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
34913 @UNDO_LINK_TO_DIR@ ; \
34914 set prev-gcc stageprofile-gcc ; \
34915 @UNDO_LINK_TO_DIR@
34916 @endif gcc
34917 @if intl
34918 @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
34919 @UNDO_LINK_TO_DIR@ ; \
34920 set prev-intl stageprofile-intl ; \
34921 @UNDO_LINK_TO_DIR@
34922 @endif intl
34923 @if ld
34924 @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
34925 @UNDO_LINK_TO_DIR@ ; \
34926 set prev-ld stageprofile-ld ; \
34927 @UNDO_LINK_TO_DIR@
34928 @endif ld
34929 @if libcpp
34930 @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
34931 @UNDO_LINK_TO_DIR@ ; \
34932 set prev-libcpp stageprofile-libcpp ; \
34933 @UNDO_LINK_TO_DIR@
34934 @endif libcpp
34935 @if libiberty
34936 @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
34937 @UNDO_LINK_TO_DIR@ ; \
34938 set prev-libiberty stageprofile-libiberty ; \
34939 @UNDO_LINK_TO_DIR@
34940 @endif libiberty
34941 @if zlib
34942 @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
34943 @UNDO_LINK_TO_DIR@ ; \
34944 set prev-zlib stageprofile-zlib ; \
34945 @UNDO_LINK_TO_DIR@
34946 @endif zlib
34948 # Bubble a bugfix through all the stages up to stage feedback. They
34949 # are remade, but not reconfigured. The next stage (if any) will not
34950 # be reconfigured as well.
34951 .PHONY: stagefeedback-bubble
34952 stagefeedback-bubble:: stageprofile-bubble
34953 @if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
34954 echo Skipping rebuild of stagefeedback ; \
34955 else \
34956 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
34959 .PHONY: all-stagefeedback clean-stagefeedback
34960 do-clean: clean-stagefeedback
34962 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34963 # only possibility, but now it conflicts with no-bootstrap rules
34964 @if gcc-bootstrap
34968 .PHONY: profiledbootstrap
34969 profiledbootstrap: stagefeedback-bubble all
34972 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34973 distclean-stageprofile:: distclean-stagefeedback
34974 .PHONY: distclean-stagefeedback
34975 distclean-stagefeedback::
34976 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34977 rm -rf stagefeedback-*
34980 @endif gcc-bootstrap
34984 stageprofile-end::
34985 $(MAKE) distclean-stagefeedback
34987 stagefeedback-start::
34988 @r=`${PWD_COMMAND}`; export r; \
34989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34990 for i in prev-*; do \
34991 j=`echo $$i | sed s/^prev-//` ; \
34992 cd $$r/$$i && \
34993 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
34994 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
34995 done
34997 @if gcc-bootstrap
34998 NOTPARALLEL = .NOTPARALLEL
34999 $(NOTPARALLEL):
35000 do-distclean: distclean-stage1
35001 @endif gcc-bootstrap
35003 # --------------------------------------
35004 # Dependencies between different modules
35005 # --------------------------------------
35007 # Generic dependencies for target modules on host stuff, especially gcc
35009 configure-target-libstdc++-v3: maybe-all-gcc
35011 configure-target-libmudflap: maybe-all-gcc
35013 configure-target-libssp: maybe-all-gcc
35015 configure-target-newlib: maybe-all-gcc
35017 configure-target-libgfortran: maybe-all-gcc
35019 configure-target-libobjc: maybe-all-gcc
35021 configure-target-libtermcap: maybe-all-gcc
35023 configure-target-winsup: maybe-all-gcc
35025 configure-target-libgloss: maybe-all-gcc
35027 configure-target-libiberty: maybe-all-gcc
35029 configure-target-gperf: maybe-all-gcc
35031 configure-target-examples: maybe-all-gcc
35033 configure-target-libffi: maybe-all-gcc
35035 configure-target-libjava: maybe-all-gcc
35037 configure-target-zlib: maybe-all-gcc
35039 configure-target-boehm-gc: maybe-all-gcc
35041 configure-target-qthreads: maybe-all-gcc
35043 configure-target-rda: maybe-all-gcc
35045 configure-target-libada: maybe-all-gcc
35049 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
35051 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
35052 configure-target-gperf: maybe-all-target-libstdc++-v3
35054 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
35056 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
35058 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
35060 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
35061 configure-target-libjava: maybe-all-target-libstdc++-v3
35063 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
35065 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
35067 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
35069 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
35071 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
35073 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
35075 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
35077 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
35079 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
35082 # There are two types of dependencies here: 'hard' dependencies, where one
35083 # module simply won't build without the other; and 'soft' dependencies, where
35084 # if the depended-on module is missing, the depending module will do without
35085 # or find a substitute somewhere (perhaps installed). Soft dependencies
35086 # are made here to depend on a 'maybe-' target. If you're not sure,
35087 # it's safer to use a soft dependency.
35094 # With all the machinery above in place, it is pretty easy to generate
35095 # dependencies. Host dependencies are a bit more complex because we have
35096 # to check for bootstrap/prebootstrap dependencies. To resolve
35097 # prebootstrap dependencies, prebootstrap modules are gathered in
35098 # a hash table.
35099 all-build-bison: maybe-all-build-texinfo
35100 all-build-byacc: maybe-all-build-texinfo
35101 all-build-flex: maybe-all-build-texinfo
35102 all-build-flex: maybe-all-build-bison
35103 all-build-flex: maybe-all-build-byacc
35104 all-build-flex: maybe-all-build-m4
35105 all-build-libiberty: maybe-all-build-texinfo
35106 all-build-m4: maybe-all-build-texinfo
35107 all-build-fixincludes: maybe-all-build-libiberty
35108 configure-gcc: maybe-configure-intl
35110 configure-stage1-gcc: maybe-configure-stage1-intl
35111 configure-stage2-gcc: maybe-configure-stage2-intl
35112 configure-stage3-gcc: maybe-configure-stage3-intl
35113 configure-stage4-gcc: maybe-configure-stage4-intl
35114 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
35115 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
35116 configure-gcc: maybe-all-binutils
35118 configure-stage1-gcc: maybe-all-stage1-binutils
35119 configure-stage2-gcc: maybe-all-stage2-binutils
35120 configure-stage3-gcc: maybe-all-stage3-binutils
35121 configure-stage4-gcc: maybe-all-stage4-binutils
35122 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
35123 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
35124 configure-gcc: maybe-all-gas
35126 configure-stage1-gcc: maybe-all-stage1-gas
35127 configure-stage2-gcc: maybe-all-stage2-gas
35128 configure-stage3-gcc: maybe-all-stage3-gas
35129 configure-stage4-gcc: maybe-all-stage4-gas
35130 configure-stageprofile-gcc: maybe-all-stageprofile-gas
35131 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
35132 configure-gcc: maybe-all-ld
35134 configure-stage1-gcc: maybe-all-stage1-ld
35135 configure-stage2-gcc: maybe-all-stage2-ld
35136 configure-stage3-gcc: maybe-all-stage3-ld
35137 configure-stage4-gcc: maybe-all-stage4-ld
35138 configure-stageprofile-gcc: maybe-all-stageprofile-ld
35139 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
35140 all-gcc: all-libiberty
35142 all-stage1-gcc: all-stage1-libiberty
35143 all-stage2-gcc: all-stage2-libiberty
35144 all-stage3-gcc: all-stage3-libiberty
35145 all-stage4-gcc: all-stage4-libiberty
35146 all-stageprofile-gcc: all-stageprofile-libiberty
35147 all-stagefeedback-gcc: all-stagefeedback-libiberty
35148 all-gcc: maybe-all-intl
35150 all-stage1-gcc: maybe-all-stage1-intl
35151 all-stage2-gcc: maybe-all-stage2-intl
35152 all-stage3-gcc: maybe-all-stage3-intl
35153 all-stage4-gcc: maybe-all-stage4-intl
35154 all-stageprofile-gcc: maybe-all-stageprofile-intl
35155 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
35156 all-gcc: maybe-all-build-texinfo
35158 all-stage1-gcc: maybe-all-build-texinfo
35159 all-stage2-gcc: maybe-all-build-texinfo
35160 all-stage3-gcc: maybe-all-build-texinfo
35161 all-stage4-gcc: maybe-all-build-texinfo
35162 all-stageprofile-gcc: maybe-all-build-texinfo
35163 all-stagefeedback-gcc: maybe-all-build-texinfo
35164 all-prebootstrap: maybe-all-build-texinfo
35165 all-gcc: maybe-all-build-bison
35167 all-stage1-gcc: maybe-all-build-bison
35168 all-stage2-gcc: maybe-all-build-bison
35169 all-stage3-gcc: maybe-all-build-bison
35170 all-stage4-gcc: maybe-all-build-bison
35171 all-stageprofile-gcc: maybe-all-build-bison
35172 all-stagefeedback-gcc: maybe-all-build-bison
35173 all-prebootstrap: maybe-all-build-bison
35174 all-gcc: maybe-all-build-byacc
35176 all-stage1-gcc: maybe-all-build-byacc
35177 all-stage2-gcc: maybe-all-build-byacc
35178 all-stage3-gcc: maybe-all-build-byacc
35179 all-stage4-gcc: maybe-all-build-byacc
35180 all-stageprofile-gcc: maybe-all-build-byacc
35181 all-stagefeedback-gcc: maybe-all-build-byacc
35182 all-prebootstrap: maybe-all-build-byacc
35183 all-gcc: maybe-all-build-flex
35185 all-stage1-gcc: maybe-all-build-flex
35186 all-stage2-gcc: maybe-all-build-flex
35187 all-stage3-gcc: maybe-all-build-flex
35188 all-stage4-gcc: maybe-all-build-flex
35189 all-stageprofile-gcc: maybe-all-build-flex
35190 all-stagefeedback-gcc: maybe-all-build-flex
35191 all-prebootstrap: maybe-all-build-flex
35192 all-gcc: maybe-all-build-libiberty
35194 all-stage1-gcc: maybe-all-build-libiberty
35195 all-stage2-gcc: maybe-all-build-libiberty
35196 all-stage3-gcc: maybe-all-build-libiberty
35197 all-stage4-gcc: maybe-all-build-libiberty
35198 all-stageprofile-gcc: maybe-all-build-libiberty
35199 all-stagefeedback-gcc: maybe-all-build-libiberty
35200 all-prebootstrap: maybe-all-build-libiberty
35201 all-gcc: maybe-all-build-fixincludes
35203 all-stage1-gcc: maybe-all-build-fixincludes
35204 all-stage2-gcc: maybe-all-build-fixincludes
35205 all-stage3-gcc: maybe-all-build-fixincludes
35206 all-stage4-gcc: maybe-all-build-fixincludes
35207 all-stageprofile-gcc: maybe-all-build-fixincludes
35208 all-stagefeedback-gcc: maybe-all-build-fixincludes
35209 all-prebootstrap: maybe-all-build-fixincludes
35210 all-gcc: maybe-all-zlib
35212 all-stage1-gcc: maybe-all-stage1-zlib
35213 all-stage2-gcc: maybe-all-stage2-zlib
35214 all-stage3-gcc: maybe-all-stage3-zlib
35215 all-stage4-gcc: maybe-all-stage4-zlib
35216 all-stageprofile-gcc: maybe-all-stageprofile-zlib
35217 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
35218 all-gcc: all-libcpp
35220 all-stage1-gcc: all-stage1-libcpp
35221 all-stage2-gcc: all-stage2-libcpp
35222 all-stage3-gcc: all-stage3-libcpp
35223 all-stage4-gcc: all-stage4-libcpp
35224 all-stageprofile-gcc: all-stageprofile-libcpp
35225 all-stagefeedback-gcc: all-stagefeedback-libcpp
35226 all-gcc: maybe-all-libiberty
35228 all-stage1-gcc: maybe-all-stage1-libiberty
35229 all-stage2-gcc: maybe-all-stage2-libiberty
35230 all-stage3-gcc: maybe-all-stage3-libiberty
35231 all-stage4-gcc: maybe-all-stage4-libiberty
35232 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
35233 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
35234 all-gcc: maybe-all-fixincludes
35235 install-gcc: maybe-install-fixincludes
35236 configure-libcpp: configure-libiberty
35238 configure-stage1-libcpp: configure-stage1-libiberty
35239 configure-stage2-libcpp: configure-stage2-libiberty
35240 configure-stage3-libcpp: configure-stage3-libiberty
35241 configure-stage4-libcpp: configure-stage4-libiberty
35242 configure-stageprofile-libcpp: configure-stageprofile-libiberty
35243 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
35244 configure-libcpp: maybe-configure-intl
35246 configure-stage1-libcpp: maybe-configure-stage1-intl
35247 configure-stage2-libcpp: maybe-configure-stage2-intl
35248 configure-stage3-libcpp: maybe-configure-stage3-intl
35249 configure-stage4-libcpp: maybe-configure-stage4-intl
35250 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
35251 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
35252 all-libcpp: all-libiberty
35254 all-stage1-libcpp: all-stage1-libiberty
35255 all-stage2-libcpp: all-stage2-libiberty
35256 all-stage3-libcpp: all-stage3-libiberty
35257 all-stage4-libcpp: all-stage4-libiberty
35258 all-stageprofile-libcpp: all-stageprofile-libiberty
35259 all-stagefeedback-libcpp: all-stagefeedback-libiberty
35260 all-libcpp: maybe-all-intl
35262 all-stage1-libcpp: maybe-all-stage1-intl
35263 all-stage2-libcpp: maybe-all-stage2-intl
35264 all-stage3-libcpp: maybe-all-stage3-intl
35265 all-stage4-libcpp: maybe-all-stage4-intl
35266 all-stageprofile-libcpp: maybe-all-stageprofile-intl
35267 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
35268 all-fixincludes: maybe-all-libiberty
35269 all-gnattools: maybe-all-target-libada
35270 configure-gdb: maybe-configure-itcl
35271 configure-gdb: maybe-configure-tcl
35272 configure-gdb: maybe-configure-tk
35273 configure-gdb: maybe-configure-sim
35274 all-gdb: maybe-all-libiberty
35275 all-gdb: maybe-all-opcodes
35276 all-gdb: maybe-all-bfd
35277 all-gdb: maybe-all-readline
35278 all-gdb: maybe-all-build-bison
35279 all-gdb: maybe-all-build-byacc
35280 all-gdb: maybe-all-sim
35281 install-gdb: maybe-install-tcl
35282 install-gdb: maybe-install-tk
35283 install-gdb: maybe-install-itcl
35284 install-gdb: maybe-install-libgui
35285 configure-libgui: maybe-configure-tcl
35286 configure-libgui: maybe-configure-tk
35287 all-libgui: maybe-all-tcl
35288 all-libgui: maybe-all-tk
35289 all-libgui: maybe-all-itcl
35290 configure-bfd: configure-libiberty
35292 configure-stage1-bfd: configure-stage1-libiberty
35293 configure-stage2-bfd: configure-stage2-libiberty
35294 configure-stage3-bfd: configure-stage3-libiberty
35295 configure-stage4-bfd: configure-stage4-libiberty
35296 configure-stageprofile-bfd: configure-stageprofile-libiberty
35297 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
35298 all-bfd: maybe-all-libiberty
35300 all-stage1-bfd: maybe-all-stage1-libiberty
35301 all-stage2-bfd: maybe-all-stage2-libiberty
35302 all-stage3-bfd: maybe-all-stage3-libiberty
35303 all-stage4-bfd: maybe-all-stage4-libiberty
35304 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
35305 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
35306 all-bfd: maybe-all-intl
35308 all-stage1-bfd: maybe-all-stage1-intl
35309 all-stage2-bfd: maybe-all-stage2-intl
35310 all-stage3-bfd: maybe-all-stage3-intl
35311 all-stage4-bfd: maybe-all-stage4-intl
35312 all-stageprofile-bfd: maybe-all-stageprofile-intl
35313 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
35314 all-binutils: maybe-all-libiberty
35316 all-stage1-binutils: maybe-all-stage1-libiberty
35317 all-stage2-binutils: maybe-all-stage2-libiberty
35318 all-stage3-binutils: maybe-all-stage3-libiberty
35319 all-stage4-binutils: maybe-all-stage4-libiberty
35320 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
35321 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
35322 all-binutils: maybe-all-opcodes
35324 all-stage1-binutils: maybe-all-stage1-opcodes
35325 all-stage2-binutils: maybe-all-stage2-opcodes
35326 all-stage3-binutils: maybe-all-stage3-opcodes
35327 all-stage4-binutils: maybe-all-stage4-opcodes
35328 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
35329 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
35330 all-binutils: maybe-all-bfd
35332 all-stage1-binutils: maybe-all-stage1-bfd
35333 all-stage2-binutils: maybe-all-stage2-bfd
35334 all-stage3-binutils: maybe-all-stage3-bfd
35335 all-stage4-binutils: maybe-all-stage4-bfd
35336 all-stageprofile-binutils: maybe-all-stageprofile-bfd
35337 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
35338 all-binutils: maybe-all-build-flex
35340 all-stage1-binutils: maybe-all-build-flex
35341 all-stage2-binutils: maybe-all-build-flex
35342 all-stage3-binutils: maybe-all-build-flex
35343 all-stage4-binutils: maybe-all-build-flex
35344 all-stageprofile-binutils: maybe-all-build-flex
35345 all-stagefeedback-binutils: maybe-all-build-flex
35346 all-prebootstrap: maybe-all-build-flex
35347 all-binutils: maybe-all-build-bison
35349 all-stage1-binutils: maybe-all-build-bison
35350 all-stage2-binutils: maybe-all-build-bison
35351 all-stage3-binutils: maybe-all-build-bison
35352 all-stage4-binutils: maybe-all-build-bison
35353 all-stageprofile-binutils: maybe-all-build-bison
35354 all-stagefeedback-binutils: maybe-all-build-bison
35355 all-prebootstrap: maybe-all-build-bison
35356 all-binutils: maybe-all-build-byacc
35358 all-stage1-binutils: maybe-all-build-byacc
35359 all-stage2-binutils: maybe-all-build-byacc
35360 all-stage3-binutils: maybe-all-build-byacc
35361 all-stage4-binutils: maybe-all-build-byacc
35362 all-stageprofile-binutils: maybe-all-build-byacc
35363 all-stagefeedback-binutils: maybe-all-build-byacc
35364 all-prebootstrap: maybe-all-build-byacc
35365 all-binutils: maybe-all-intl
35367 all-stage1-binutils: maybe-all-stage1-intl
35368 all-stage2-binutils: maybe-all-stage2-intl
35369 all-stage3-binutils: maybe-all-stage3-intl
35370 all-stage4-binutils: maybe-all-stage4-intl
35371 all-stageprofile-binutils: maybe-all-stageprofile-intl
35372 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
35373 install-binutils: maybe-install-opcodes
35374 install-opcodes: maybe-install-bfd
35375 all-gas: maybe-all-libiberty
35377 all-stage1-gas: maybe-all-stage1-libiberty
35378 all-stage2-gas: maybe-all-stage2-libiberty
35379 all-stage3-gas: maybe-all-stage3-libiberty
35380 all-stage4-gas: maybe-all-stage4-libiberty
35381 all-stageprofile-gas: maybe-all-stageprofile-libiberty
35382 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
35383 all-gas: maybe-all-opcodes
35385 all-stage1-gas: maybe-all-stage1-opcodes
35386 all-stage2-gas: maybe-all-stage2-opcodes
35387 all-stage3-gas: maybe-all-stage3-opcodes
35388 all-stage4-gas: maybe-all-stage4-opcodes
35389 all-stageprofile-gas: maybe-all-stageprofile-opcodes
35390 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
35391 all-gas: maybe-all-bfd
35393 all-stage1-gas: maybe-all-stage1-bfd
35394 all-stage2-gas: maybe-all-stage2-bfd
35395 all-stage3-gas: maybe-all-stage3-bfd
35396 all-stage4-gas: maybe-all-stage4-bfd
35397 all-stageprofile-gas: maybe-all-stageprofile-bfd
35398 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
35399 all-gas: maybe-all-intl
35401 all-stage1-gas: maybe-all-stage1-intl
35402 all-stage2-gas: maybe-all-stage2-intl
35403 all-stage3-gas: maybe-all-stage3-intl
35404 all-stage4-gas: maybe-all-stage4-intl
35405 all-stageprofile-gas: maybe-all-stageprofile-intl
35406 all-stagefeedback-gas: maybe-all-stagefeedback-intl
35407 all-gprof: maybe-all-libiberty
35408 all-gprof: maybe-all-bfd
35409 all-gprof: maybe-all-opcodes
35410 all-gprof: maybe-all-intl
35411 all-ld: maybe-all-libiberty
35413 all-stage1-ld: maybe-all-stage1-libiberty
35414 all-stage2-ld: maybe-all-stage2-libiberty
35415 all-stage3-ld: maybe-all-stage3-libiberty
35416 all-stage4-ld: maybe-all-stage4-libiberty
35417 all-stageprofile-ld: maybe-all-stageprofile-libiberty
35418 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
35419 all-ld: maybe-all-bfd
35421 all-stage1-ld: maybe-all-stage1-bfd
35422 all-stage2-ld: maybe-all-stage2-bfd
35423 all-stage3-ld: maybe-all-stage3-bfd
35424 all-stage4-ld: maybe-all-stage4-bfd
35425 all-stageprofile-ld: maybe-all-stageprofile-bfd
35426 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
35427 all-ld: maybe-all-opcodes
35429 all-stage1-ld: maybe-all-stage1-opcodes
35430 all-stage2-ld: maybe-all-stage2-opcodes
35431 all-stage3-ld: maybe-all-stage3-opcodes
35432 all-stage4-ld: maybe-all-stage4-opcodes
35433 all-stageprofile-ld: maybe-all-stageprofile-opcodes
35434 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
35435 all-ld: maybe-all-build-bison
35437 all-stage1-ld: maybe-all-build-bison
35438 all-stage2-ld: maybe-all-build-bison
35439 all-stage3-ld: maybe-all-build-bison
35440 all-stage4-ld: maybe-all-build-bison
35441 all-stageprofile-ld: maybe-all-build-bison
35442 all-stagefeedback-ld: maybe-all-build-bison
35443 all-prebootstrap: maybe-all-build-bison
35444 all-ld: maybe-all-build-byacc
35446 all-stage1-ld: maybe-all-build-byacc
35447 all-stage2-ld: maybe-all-build-byacc
35448 all-stage3-ld: maybe-all-build-byacc
35449 all-stage4-ld: maybe-all-build-byacc
35450 all-stageprofile-ld: maybe-all-build-byacc
35451 all-stagefeedback-ld: maybe-all-build-byacc
35452 all-prebootstrap: maybe-all-build-byacc
35453 all-ld: maybe-all-build-flex
35455 all-stage1-ld: maybe-all-build-flex
35456 all-stage2-ld: maybe-all-build-flex
35457 all-stage3-ld: maybe-all-build-flex
35458 all-stage4-ld: maybe-all-build-flex
35459 all-stageprofile-ld: maybe-all-build-flex
35460 all-stagefeedback-ld: maybe-all-build-flex
35461 all-prebootstrap: maybe-all-build-flex
35462 all-ld: maybe-all-intl
35464 all-stage1-ld: maybe-all-stage1-intl
35465 all-stage2-ld: maybe-all-stage2-intl
35466 all-stage3-ld: maybe-all-stage3-intl
35467 all-stage4-ld: maybe-all-stage4-intl
35468 all-stageprofile-ld: maybe-all-stageprofile-intl
35469 all-stagefeedback-ld: maybe-all-stagefeedback-intl
35470 all-opcodes: maybe-all-bfd
35472 all-stage1-opcodes: maybe-all-stage1-bfd
35473 all-stage2-opcodes: maybe-all-stage2-bfd
35474 all-stage3-opcodes: maybe-all-stage3-bfd
35475 all-stage4-opcodes: maybe-all-stage4-bfd
35476 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
35477 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
35478 all-opcodes: maybe-all-libiberty
35480 all-stage1-opcodes: maybe-all-stage1-libiberty
35481 all-stage2-opcodes: maybe-all-stage2-libiberty
35482 all-stage3-opcodes: maybe-all-stage3-libiberty
35483 all-stage4-opcodes: maybe-all-stage4-libiberty
35484 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
35485 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
35486 all-dejagnu: maybe-all-tcl
35487 all-dejagnu: maybe-all-expect
35488 all-dejagnu: maybe-all-tk
35489 configure-expect: maybe-configure-tcl
35490 configure-expect: maybe-configure-tk
35491 all-expect: maybe-all-tcl
35492 all-expect: maybe-all-tk
35493 configure-itcl: maybe-configure-tcl
35494 configure-itcl: maybe-configure-tk
35495 all-itcl: maybe-all-tcl
35496 all-itcl: maybe-all-tk
35497 install-itcl: maybe-install-tcl
35498 configure-tk: maybe-configure-tcl
35499 all-tk: maybe-all-tcl
35500 all-sid: maybe-all-libiberty
35501 all-sid: maybe-all-bfd
35502 all-sid: maybe-all-opcodes
35503 all-sid: maybe-all-tcl
35504 all-sid: maybe-all-tk
35505 install-sid: maybe-install-tcl
35506 install-sid: maybe-install-tk
35507 all-sim: maybe-all-libiberty
35508 all-sim: maybe-all-bfd
35509 all-sim: maybe-all-opcodes
35510 all-sim: maybe-all-readline
35511 all-sim: maybe-configure-gdb
35512 all-fastjar: maybe-all-zlib
35513 all-fastjar: maybe-all-build-texinfo
35514 all-fastjar: maybe-all-libiberty
35515 all-autoconf: maybe-all-m4
35516 all-autoconf: maybe-all-build-texinfo
35517 all-automake: maybe-all-m4
35518 all-automake: maybe-all-build-texinfo
35519 all-automake: maybe-all-autoconf
35520 all-bison: maybe-all-intl
35521 all-bison: maybe-all-build-texinfo
35522 all-diff: maybe-all-intl
35523 all-diff: maybe-all-build-texinfo
35524 all-fileutils: maybe-all-intl
35525 all-fileutils: maybe-all-build-texinfo
35526 all-flex: maybe-all-build-bison
35527 all-flex: maybe-all-build-byacc
35528 all-flex: maybe-all-intl
35529 all-flex: maybe-all-m4
35530 all-flex: maybe-all-build-texinfo
35531 all-gzip: maybe-all-intl
35532 all-gzip: maybe-all-zlib
35533 all-gzip: maybe-all-build-texinfo
35534 all-hello: maybe-all-intl
35535 all-hello: maybe-all-build-texinfo
35536 all-m4: maybe-all-intl
35537 all-m4: maybe-all-build-texinfo
35538 all-make: maybe-all-intl
35539 all-make: maybe-all-build-texinfo
35540 all-patch: maybe-all-build-texinfo
35541 all-make: maybe-all-build-texinfo
35542 all-prms: maybe-all-libiberty
35543 all-recode: maybe-all-build-texinfo
35544 all-sed: maybe-all-build-texinfo
35545 all-send-pr: maybe-all-prms
35546 all-tar: maybe-all-build-texinfo
35547 all-uudecode: maybe-all-build-texinfo
35548 configure-target-boehm-gc: maybe-configure-target-qthreads
35549 configure-target-fastjar: maybe-configure-target-zlib
35550 all-target-fastjar: maybe-all-target-zlib
35551 all-target-fastjar: maybe-all-target-libiberty
35552 configure-target-libjava: maybe-configure-target-zlib
35553 configure-target-libjava: maybe-configure-target-boehm-gc
35554 configure-target-libjava: maybe-configure-target-qthreads
35555 configure-target-libjava: maybe-configure-target-libffi
35556 all-target-libjava: maybe-all-fastjar
35557 all-target-libjava: maybe-all-target-zlib
35558 all-target-libjava: maybe-all-target-boehm-gc
35559 all-target-libjava: maybe-all-target-qthreads
35560 all-target-libjava: maybe-all-target-libffi
35561 all-target-libobjc: maybe-all-target-libiberty
35562 all-target-libstdc++-v3: maybe-all-target-libiberty
35563 all-target-libgloss: maybe-configure-target-newlib
35564 all-target-winsup: maybe-all-target-libiberty
35565 all-target-winsup: maybe-all-target-libtermcap
35568 # Non-toplevel bootstrap rules must depend on several packages, to be built
35569 # before gcc. Another wart that will go away, hopefully soon.
35570 @if gcc-no-bootstrap
35572 all-prebootstrap: maybe-all-bfd
35573 all-prebootstrap: maybe-all-opcodes
35574 all-prebootstrap: maybe-all-binutils
35575 all-prebootstrap: maybe-all-gas
35576 all-prebootstrap: maybe-all-intl
35577 all-prebootstrap: maybe-all-ld
35578 all-prebootstrap: maybe-all-libcpp
35579 all-prebootstrap: maybe-all-libiberty
35580 all-prebootstrap: maybe-all-zlib
35581 @endif gcc-no-bootstrap
35583 GDB_TK = @GDB_TK@
35584 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
35586 # Serialization dependencies. Host configures don't work well in parallel to
35587 # each other, due to contention over config.cache. Target configures and
35588 # build configures are similar.
35589 @serialization_dependencies@
35591 # --------------------------------
35592 # Regenerating top level configury
35593 # --------------------------------
35595 # Multilib.out tells target dirs what multilibs they should build.
35596 # There is really only one copy. We use the 'timestamp' method to
35597 # work around various timestamp bugs on some systems.
35598 # We use move-if-change so that it's only considered updated when it
35599 # actually changes, because it has to depend on a phony target.
35600 multilib.out: maybe-all-gcc
35601 @r=`${PWD_COMMAND}`; export r; \
35602 echo "Checking multilib configuration..."; \
35603 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
35604 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
35606 # Rebuilding Makefile.in, using autogen.
35607 AUTOGEN = autogen
35608 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
35609 cd $(srcdir) && $(AUTOGEN) Makefile.def
35611 # Rebuilding Makefile.
35612 Makefile: $(srcdir)/Makefile.in config.status
35613 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
35615 config.status: configure
35616 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
35618 # Rebuilding configure.
35619 AUTOCONF = autoconf
35620 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
35621 cd $(srcdir) && $(AUTOCONF)
35623 # ------------------------------
35624 # Special directives to GNU Make
35625 # ------------------------------
35627 # Don't pass command-line variables to submakes.
35628 .NOEXPORT:
35629 MAKEOVERRIDES=
35631 # end of Makefile.in